*&---------------------------------------------------------------------* *& 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 ...
SAP EWM Help Latest Questions
A segment in IDocs (Intermediate Documents) is a structure that groups related data fields. Each segment has: A unique name (e.g., E1KNA1M for customer master data). Defined fields with fixed length and data types. A hierarchy (segments can have child segments). Create a segment. (WE31) Create ...
The secret is Adobe Document Services (ADS) – the backbone of Adobe Forms. 🔹 ADS runs on the SAP NetWeaver Java stack and acts as the PDF rendering engine.🔹 It takes two inputs: the form template (designed in Adobe LiveCycle ...
Synchronous RFC (sRFC) Default type when you call a function module via RFC. The caller program waits until the remote system has completed the function execution and returned the result. Example use: Real-time data retrieval (e.g., fetching stock from another SAP system). FM execution: ...
In SAP Module Pool programming (Dialog Programming, using ABAP), the concepts of CHAIN and ENDCHAIN are used in screen programming for grouping input fields together when you want to validate or check them collectively. CHAIN … ENDCHAIN It is a block statement ...
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 ...
ALV (ABAP List Viewer) is used to display reports in a structured, interactive way. A Block List means you display multiple ALV lists one below another in the same output. Example: You want to show MARA (Material Master general data) and then, ...
Traditional data warehouses are designed mainly for storing and querying large volumes of structured data, often requiring complex ETL processes. SAP Datasphere takes a modern approach by combining warehousing with advanced features such as federation, virtualization, and semantic modeling. Federation allows organizations ...