Program Type Code Purpose Executable? Typical Usage Executable 1 Reports, standalone programs ✅ Yes Reports, jobs, selection screens Include I Reusable code ❌ No Shared FORM routines, definitions Module Pool M Dialog screens, GUI transactions ✅ Yes Custom SAP GUI apps Function Grp F Group of function modules ❌ No BAPIs, reusable logic Subroutine S Collection of FORM routines ❌ No Old-style code reuse Class Pool K Global class definitions ❌ No OO programming, ...
SAP EWM Help Latest Questions
Table Delivery Classes define how a table is delivered by SAP, and how data in that table is handled during client copies, upgrades, and transports. Every table in SAP must have a delivery class, and it’s set in SE11 under ...
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
A macro is a text replacement technique defined using DEFINE … END-OF-DEFINITION. It’s similar to a preprocessor directive and is expanded at runtime. When to use: · For short code blocks with similar patterns (e.g., logging or repetitive output). · Used mainly in ...
Here in this example, We are going to create CDS view with Case statement, here new field “DocText” will be added and value will be calculated based on below. case vbtyp ...
In ABAP, system fields are predefined fields provided by the SAP runtime environment. They hold important contextual information about the program’s current state — like the current date, time, user, or return codes of statements. These fields start with SY- and ...
Buffering in SAP refers to storing table data in application server memory to reduce repeated database access. It enhances performance by retrieving frequently accessed data from memory instead of querying the database every time. Why Buffer Tables? Speeds up data ...
Feature OLTP OLAP Full Form Online Transaction Processing Online Analytical Processing Purpose Run daily operations Analyze and report on business data Operation Type Short, frequent transactions Complex queries, aggregations Data Volume Large number of small transactions Smaller number of large queries Performance Focus Speed of write operations Speed of read/analysis Data Structure Highly normalized Often denormalized (e.g., star schema) Examples Insert/update orders, ...