It stores the value of a variable or field at the time the line is being written to the list. Later, when that line is clicked (e.g., in an AT LINE-SELECTION event), the hidden values are automatically restored. How ...
SAP EWM Help Latest Questions
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 ...
Convert any structure to Internal table format, Field text and values data: stru_descr type ref to cl_abap_structdescr. data: dummy. data: data_structure type abap_abstypename. data: lt_components type abap_compdescr_tab. data: ls_email_data ...
SAP R/3 is based on a 3-tier client-server architecture, which separates presentation, application, and database layers. This design provides scalability, flexibility, and better performance. Three-Tier Architecture: 1. Presentation Layer (Client Tier) Interface between the user and SAP system Usually a SAP ...
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 ...
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 ...
Automatically from a Dictionary Structure/Table The easiest way — ALV can build the field catalog from the DDIC (Data Dictionary). You just pass the internal table reference. ALV uses the metadata (field labels, data type, length) from DDIC. Example: CALL ...
An Update Function Module is a special type of function module that executes update tasks (like DB changes, inserts, updates, deletes) asynchronously, after a COMMIT WORK. They are processed in update work processes (type UPD or UP2) instead of dialog work ...
In SAP ABAP, a TMG (Table Maintenance Generator) is used to create a standard maintenance screen for a table (so that users can create, update, or delete table entries easily). Now, TMG Events are hooks (user-exits) provided by SAP within the ...
It returns a filtered internal table based on a condition—no need for loops or APPEND. *&---------------------------------------------------------------------* *& Report ZREP_LCLCLASS *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT zrep_lclclass. TYPES: BEGIN OF ty_user, name TYPE string, status TYPE string, END OF ty_user. DATA: lt_users TYPE STANDARD TABLE OF ty_user WITH EMPTY KEY, lt_active_users TYPE STANDARD TABLE OF ty_user WITH EMPTY KEY. lt_users = VALUE #( ( name = 'Alice' status = 'ACTIVE' ) ( name = 'Bob' status = 'INACTIVE' ) ( name = 'Charlie' status = 'ACTIVE' ) ). lt_active_users = FILTER #( lt_users WHERE status = 'ACTIVE' ). LOOP AT lt_active_users INTO DATA(user). WRITE: / user-name, user-status. ENDLOOP. Output : Alice ACTIVE Charlie ACTIVE