SAP Reports / Programs

BALVEX02 SAP ABAP Report - ALV demo program: Output flights (simplest version)







BALVEX02 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter BALVEX02 into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT BALVEX02. "Basic submit
SUBMIT BALVEX02 AND RETURN. "Return to original report after report execution complete
SUBMIT BALVEX02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: P_SAVE = Save extract
Selection Text: P_NOEX = Without extract
Selection Text: P_LOAD = Read extract
Selection Text: P_EXT1 = Extract Name
Selection Text: P_EX2 = Extract
Selection Text: P_EX1 = Extract
Selection Text: FLDATE = D Flight date
Selection Text: CONNID = D Connection number
Selection Text: CARRID = D Airline
Title: ALV demo program: Output flights (simplest version)
Text Symbol: EXT = Processing control for extracts
Text Symbol: EX5 = Extract Name
Text Symbol: EX4 = Read
Text Symbol: EX3 = Save
Text Symbol: EX2 = Extract name
Text Symbol: EX1 = Without extract


INCLUDES used within this REPORT BALVEX02

INCLUDE VEX02TOP.


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

REUSE_ALV_EXTRACT_AT_INIT CALL FUNCTION 'REUSE_ALV_EXTRACT_AT_INIT' CHANGING CS_EXTRACT1 = GS_EXTRACT1 CS_EXTRACT2 = GS_EXTRACT2.

RS_SET_SELSCREEN_STATUS CALL FUNCTION 'RS_SET_SELSCREEN_STATUS' EXPORTING P_STATUS = 'SELECTION_SCREEN' TABLES P_EXCLUDE = GT_EXTAB EXCEPTIONS OTHERS = 1.

REUSE_ALV_EXTRACT_AT_SELSCREEN CALL FUNCTION 'REUSE_ALV_EXTRACT_AT_SELSCREEN' EXPORTING I_P_SAVE = P_SAVE I_P_LOAD = P_LOAD CHANGING C_P_EX1 = P_EX1 C_P_EX2 = P_EX2 C_P_EXT1 = P_EXT1 C_P_EXT2 = P_EXT2 CS_EXTRACT1 = GS_EXTRACT1 CS_EXTRACT2 = GS_EXTRACT2.

REUSE_ALV_EXTRACT_AT_F4_P_EX1 CALL FUNCTION 'REUSE_ALV_EXTRACT_AT_F4_P_EX1' * EXPORTING * I_PARNAME_P_EXT1 = 'P_EXT1' CHANGING C_P_EX1 = P_EX1 C_P_EXT1 = P_EXT1 CS_EXTRACT1 = GS_EXTRACT1.

REUSE_ALV_EXTRACT_AT_F4_P_EX2 CALL FUNCTION 'REUSE_ALV_EXTRACT_AT_F4_P_EX2' * EXPORTING * I_PARNAME_P_EXT2 = 'P_EXT2' CHANGING C_P_EX2 = P_EX2 C_P_EXT2 = P_EXT2 CS_EXTRACT2 = GS_EXTRACT2.

REUSE_ALV_EXTRACT_SAVE CALL FUNCTION 'REUSE_ALV_EXTRACT_SAVE' EXPORTING IS_EXTRACT = GS_EXTRACT1 I_GET_SELINFOS = 'X' TABLES IT_EXP01 = GT_SFLIGHT.

REUSE_ALV_EXTRACT_LOAD CALL FUNCTION 'REUSE_ALV_EXTRACT_LOAD' EXPORTING IS_EXTRACT = GS_EXTRACT2 TABLES ET_EXP01 = GT_SFLIGHT.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = GS_EXTRACT1-REPORT I_STRUCTURE_NAME = 'SFLIGHT' I_SAVE = 'A' TABLES T_OUTTAB = GT_SFLIGHT.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name BALVEX02 or its description.