SAP / SAP Beginner (0 to 2 yrs) Interview questions
What is a report program in ABAP?
A report program (declared with the REPORT statement) is the classical, most common type of
standalone ABAP program — typically used to select, process, and display data, often ending with output
in a list format on the screen or as a downloadable file.
REPORT z_customer_list. DATA: lt_customers TYPE TABLE OF kna1. START-OF-SELECTION. SELECT * FROM kna1 INTO TABLE lt_customers. LOOP AT lt_customers INTO DATA(ls_customer). WRITE: / ls_customer-kunnr, ls_customer-name1. ENDLOOP.
Report programs are executed directly via a transaction code or the ABAP editor, and they're the type of program most beginners write first, since their structure (selection screen, then processing, then output) is straightforward and doesn't require understanding SAP's more complex screen-flow programming model used by module pool programs.
More Related questions...