Association An association is a declarative relationship between CDS entities (like foreign keys), defined using the association keyword. Key Characteristics: Lazy/Evaluated-on-demand: Data from the association is not fetched unless it is explicitly accessed using a path expression (like to_customer.name). Navigation-style ...
SAP EWM Help Latest Questions
We can use the search help in OData as an entity type. But only the elementary search help can be used. Choose a elementary search help which is used to create a service ...
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 ...
To implement an Unmanaged Query in RAP, you follow a structured approach involving several key steps. First, you create a CDS view entity that defines the data structure or projection you want to expose. Then, you define a Query Behavior ...
Method overriding allows a subclass to provide a new implementation of a method that is already defined in the superclass. The method in the subclass must use the REDEFINITION keyword. When to use it: When a general method in a ...
In SAP, the SICF node (defined in transaction SICF) is used to activate and manage ICF (Internet Communication Framework) services, which includes OData services. For SAP OData, the SICF node: Enables access to OData services over HTTP/S. Hosts the service endpoint under the ...
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 ...
*&---------------------------------------------------------------------* *& Report ZTEST_PROGRAM_2 *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT ztest_program_2. *--- Radio Buttons PARAMETERS: r_opt1 RADIOBUTTON GROUP grp DEFAULT 'X' USER-COMMAND rad, r_opt2 RADIOBUTTON GROUP grp, r_opt3 RADIOBUTTON GROUP grp. *--- Fields controlled by radio buttons PARAMETERS: p_field1 TYPE char20, p_field2 TYPE char20, p_field3 TYPE char20. *--- Screen Modification AT SELECTION-SCREEN OUTPUT. LOOP AT SCREEN. CASE screen-name. WHEN 'P_FIELD1'. screen-active = COND #( WHEN r_opt1 = 'X' THEN 1 ELSE 0 ). WHEN 'P_FIELD2'. screen-active = COND #( WHEN r_opt2 = 'X' THEN 1 ELSE 0 ). WHEN 'P_FIELD3'. screen-active = COND #( WHEN r_opt3 = 'X' THEN 1 ELSE 0 ). ENDCASE. MODIFY SCREEN. ENDLOOP. *--- Output START-OF-SELECTION. WRITE: / 'Option 1:', r_opt1, / 'Option 2:', r_opt2, / 'Option 3:', r_opt3, / 'Field1:', p_field1, / 'Field2:', p_field2, / 'Field3:', p_field3. Output: This ABAP program ZRADIO_DEMO demonstrates how to create a dynamic selection screen using radio buttons. It defines three ...