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, ...
SAP EWM Help Latest Questions
*&---------------------------------------------------------------------* *& 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 ...
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: ...
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 ...
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 ...
The ABAP List Viewer (ALV) is a powerful reporting tool in SAP that displays data in a structured grid or table format. It comes with many built-in features such as sorting, filtering, subtotals, totals, column resizing, and even options to ...
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 company wants to generate a Sales Order Confirmation that prints both header data (from VBAK: Sales Order Number, Customer, Date) and item details (from VBAP: Material, Description, Quantity).The business expects a simple printable document that can be given ...
SAPscript is the oldest SAP form development tool, mainly used for printing business documents such as invoices, purchase orders, delivery notes, and payment advices. It provides a way to design, format, and print text-based documents directly from SAP. How it works: The ...
An Interactive Report in ABAP is a report that lets users interact with the list (usually by clicking on a line or hotspot). When the user clicks, the program reacts to the event and shows secondary details (like drilling down). Classic mechanism: ...