A friend class can access the protected and private components of another class. This is useful when you want to allow controlled access to internal details of a class without making them public. CLASS main_class DEFINITION. PUBLIC SECTION. METHODS: display. PRIVATE ...
SAP EWM Help Latest Questions
A class can implement multiple interfaces at once, which allows you to combine functionality from many sources. Example: ” First interface INTERFACE if_flyable. METHODS: fly. ENDINTERFACE. ” Second interface INTERFACE if_swimmable. METHODS: swim. ENDINTERFACE. ” A class implementing multiple interfaces CLASS cl_duck DEFINITION. PUBLIC ...
Abstract Class Defined with CLASS ... DEFINITION ABSTRACT. Can have: Attributes (data) Concrete methods (implemented) Abstract methods (declared but not implemented — must be redefined in subclass) Cannot be instantiated directly — only subclasses can be created. Supports inheritance (a subclass inherits implementation + attributes). Can implement interfaces ...
An IDoc (Intermediate Document) is SAP’s standard format for electronic data interchange (EDI) between SAP systems or between SAP and external systems. It acts as a structured container for data, ensuring that the information exchanged follows a predefined format, making ...
LSMW (Legacy System Migration Workbench) is a standard SAP tool used to migrate data from non-SAP (legacy) systems into SAP. It is mainly used during data migration projects such as SAP implementation, system upgrades, or when large volumes of master ...
A Persistence Class is a special ABAP Objects class generated by the Persistence Service that maps database tables to ABAP objects, allowing you to read, modify, and save table data in an object-oriented way instead of writing SQL manually; it ...
BDC (Batch Data Communication) is a technique in SAP used to transfer or upload large volumes of data into the system by automating transactions. It simulates manual data entry (like recording keystrokes). Commonly used during data migration or mass updates. Works by preparing ...
Call Transaction Method Executes the transaction immediately. Data is processed online in the same program run. Uses the ABAP statement: CALL TRANSACTION ‘MM01’ USING lt_bdcdata MODE ‘N’ UPDATE ‘S’. Error handling: Errors can be captured in the BDCMSGCOLL table. Faster but less reliable for large data ...
SAP defines three main types of internal tables based on their structure and access method: 1. Standard Table (STANDARD TABLE) Default type if nothing is specified. Entries are stored unsorted (in the order you append them). Index-based access (like arrays). Duplicate entries allowed. Access time: By index ...