SAP ABAP Reports

Share |

BALVBT01 SAP Report - Testprogram ALV: Block list

BALVBT01 is a standard ABAP report available within your SAP system (depending on your version and release level). Below is the standard documentation available for this report and a few details of other objects it interacts with such as tables, function modules, includes etc. If you would like to see the full code listing simply enter the object name( BALVBT01 ) into the relevant SAP transaction such as SE38 or SE80

Within the comments section below there is also an opportunity for anyone to be able add useful hints and information specific to this SAP object. This means that you and other users will be able to find these details quickly by simply searching on the object name.


TRANSACTION CODE: N/A

Includes used within report:

No INCLUDES are used within this report code!


Tables used within report and the associated select statement:

SCARR SELECT * FROM SCARR INTO CORRESPONDING FIELDS OF TABLE XDATA WHERE CARRID IN CARRID.

SPFLI SELECT * FROM SPFLI INTO TABLE GT_SPFLI FOR ALL ENTRIES IN XDATA WHERE CARRID = XDATA-CARRID.

SBOOK SELECT * FROM SBOOK UP TO 50 ROWS. "#EC CI_NOWHERE


Function Modules used within report and the associated call statement:

REUSE_ALV_BLOCK_LIST_INIT CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT' EXPORTING I_CALLBACK_PROGRAM = REPID I_CALLBACK_USER_COMMAND = 'USER_COMMAND' I_CALLBACK_PF_STATUS_SET = PFSTATUS.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IT_FIELDCAT = XFIELD IS_LAYOUT = X_LAYOUT I_TABNAME = 'XDATA' IT_EVENTS = GT_XEVENTS I_TEXT = TEXT-0B1 TABLES T_OUTTAB = XDATA.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IT_FIELDCAT = YFIELD IS_LAYOUT = Y_LAYOUT I_TABNAME = 'YDATA' IT_EVENTS = GT_YEVENTS I_TEXT = TEXT-0B2 TABLES T_OUTTAB = YDATA.

REUSE_ALV_BLOCK_LIST_HS_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_HS_APPEND' EXPORTING IS_LAYOUT = H_LAYOUT IT_FIELDCAT = HFIELD IS_KEYINFO = GS_KEYINFO I_HEADER_TABNAME = 'HDATA' I_ITEM_TABNAME = 'IDATA' IT_EVENTS = GT_HEVENTS I_TEXT = TEXT-0B2 TABLES T_OUTTAB_HEADER = HDATA T_OUTTAB_ITEM = IDATA.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IT_FIELDCAT = ZFIELD IS_LAYOUT = Z_LAYOUT I_TABNAME = 'ZDATA' IT_EVENTS = GT_ZEVENTS I_TEXT = TEXT-0B3 TABLES T_OUTTAB = ZDATA.

REUSE_ALV_BLOCK_LIST_APPEND CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND' EXPORTING IT_FIELDCAT = LFIELD IS_LAYOUT = L_LAYOUT I_TABNAME = 'LDATA' IT_EVENTS = GT_LEVENTS I_TEXT = TEXT-0B4 TABLES T_OUTTAB = LDATA.

REUSE_ALV_BLOCK_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY' EXPORTING IS_PRINT = GT_PRINT.


Text pool values


Selection Text: CARRID = D Airline
Title: Testprogram ALV: Block list
Text Symbol: 0B2 = 2. Block
Text Symbol: 0B3 = 3. Block
Text Symbol: 0B4 = 4. Block
Text Symbol: 0B1 = 1. Block
Text Symbol: 001 = Value
Text Symbol: 040 = Prs?
Text Symbol: 041 = NUMC_USER
Text Symbol: 043 = Comment
Text Symbol: 045 = Lug?






Share |