Core ABAP Fundamentals
Core ABAP fundamentals involve understanding the 3-tier architecture, Dictionary objects (DDIC), OpenSQL, and modularization techniques. Key topics include Internal Tables (Standard, Sorted, Hashed), Work Areas, Data Elements/Domains, and reporting concepts. Key skills include Debugging, Module Pool, and Enhancements/Modifications.
Core ABAP Fundamentals Interview Questions & Answers:
What is SAP ABAP?
It stands for Advanced Business Application Programming, a high-level 4th-generation language used to develop and customize applications within the SAP ERP system.What is the SAP 3-Tier Architecture?
It consists of three layers: the Presentation Layer (User Interface/SAP GUI), the Application Layer (where ABAP programs execute), and the Database Layer (where data is stored).Differentiate between 'Type' and 'Like'.
'Type' is used to assign a data type directly to a data object, while 'Like' is used to assign the data type of an existing data object to a new one.What are the different ABAP/4 editors?
The two main editors are SE38 (standard editor for creating and viewing programs) and SE80 (Object Navigator, used for managing complex projects, packages, and classes).
What is the Difference between Table Type and Structure?
A Structure holds a single row of data (similar to a work area).
A Table Type defines the structure of an internal table, including its line type, key, and access method.
What are Internal Table Types?
Standard Table: Linear search, accessed via index or key.
Sorted Table: Automatically sorted, binary search.
Hashed Table: Fastest, hash algorithm, no index.
What is the difference between APPEND and COLLECT?
APPEND adds a line to an internal table as-is.
COLLECT sums up numeric fields if the non-numeric key exists; otherwise, it appends.
What is a Work Area?
A work area is a temporary storage location for a single row of data, used for processing data within an internal table.
What are Data Elements and Domains?
Domain: Defines technical characteristics like data type and length.
Data Element: Defines semantic characteristics, such as field descriptions.
What is a Lock Object?
Used to manage data consistency by locking records during concurrent access (e.g., ENQUEUE, DEQUEUE).
What are the Differences between Transparent, Pooled, and Cluster Tables?
Transparent: One-to-one with the database, used for transactional data.
Pooled/Cluster: Multiple tables stored in one, used for SAP control/system data. Note: S/4HANA supports only transparent tables.
How to optimize SQL queries?
Use SELECT with specific fields rather than SELECT *.
Use WHERE clauses to reduce data transfer.
Avoid nested SELECT queries.
Ensure proper indexing.
What are Smart Forms/Adobe Forms?
Tools for creating and managing formatted business documents (e.g., invoices).
What is the difference between a Function Module and a BAPI?
Function Module: A procedural routine in a function group.
BAPI (Business Application Programming Interface): A standardized, object-oriented function module used for integration.
