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 ...
SAP EWM Help Latest Questions
In SAP ABAP, pass by value and pass by reference are two methods of passing data to methods, function modules, or forms. They determine how the data is handed over and whether changes to the data affect the original variable.
Memory id is a place holder or memory location which stores the data. We need to specify the name of the memory location in a way to access it. In code below, the memory location is CID where the value of c ...
BAPI stands for Business Application Programming Interface. It is a standardized programming interface that allows external applications to communicate with the SAP system and perform business operations like creating a sales order, retrieving customer data, or posting invoices. What ...
A subroutine is a block of reusable code defined using FORM and called using PERFORM. It is a procedural method of modularization mainly used in classical ABAP programming. When to use: In classic procedural ABAP programs. For logic reuse in the same or ...
Aspect Enhancement 🚀 (Safe) Modification ⚠️ (Risky) Definition Extend standard SAP without changing its code Change SAP standard code directly Upgrade Impact Upgrade-safe ✅ Upgrade issues ❌ (need rework) Where Used User Exits, BAdIs, Enhancements Direct changes in SAP standard objects Maintainability Easy to maintain Hard to maintain Example Add custom field validation Change standard pricing logic ...
Purpose of TMG Events Events in TMG are used to: Validate data before it’s saved. Set default values when creating entries. Restrict access to rows based on user roles. Log changes or trigger custom logic. Enforce complex business rules beyond field-level checks. Where You Configure TMG Events Transaction: ...
Dynamic Internal Tables are tables created at RUN TIME Using Field Symbols. It’s useful in creating a program where you don’t know name of table till run time. In other words, it’s very useful in creating Dynamic Programs. Dynamic internal tables can ...
Hierarchical ALV allows you to display header–item relationships (like parent–child data). Example: One material (MARA) is the header, and its plant details (MARC) are the items. Useful for showing 1:N relationships in a single ALV output. In the SAP function module world, this ...
In-App Extension involves customizing or extending SAP standard applications within the SAP core system itself (e.g., within SAP S/4HANA). Where it runs: Inside the same SAP S/4HANA system Uses SAP tools like Key User Extensibility tools, ABAP in Eclipse, or Fiori App Customization Typical ...