Control Break Statements in SAP ABAP
Control Break Statements in ABAP There are enormous uses of control break statements in ABAP development, these control break statements are very useful in reports with multiple table usage and reporting calculations like sum.Control break statements are used to control the sequence data flow inside loops in SAP ABAP. The below is the example report of using control break statements. REPORT ZCONTROL_BREAK NO STANDARD PAGE HEADING. DATA: BEGIN OF ITAB OCCURS 1, MATNR LIKE MARA-MATNR, MAKTX LIKE MAKT-MAKTX, WERKS LIKE MARD-WERKS, LGORT LIKE MARD-LGORT, LABST LIKE MARD-LABST, END OF ITAB. SELECT-OPTIONS: S_MATNR FOR ITAB-MATNR. START-OF-SELECTION. PERFORM GET_DATA. IF NOT ITAB[] IS INITIAL. PERFORM SHOW_LIST. ENDIF. *&---------------------------------------------------------------------* *& Form GET_DATA *&---------------------------------------------------------------------* * ...