SAP Reports / Programs

SALV_FORM_DEMO_LAYOUTS SAP ABAP Report - Demonstration of the Use of ALV Form Elements







SALV_FORM_DEMO_LAYOUTS 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 SALV_FORM_DEMO_LAYOUTS 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 SALV_FORM_DEMO_LAYOUTS. "Basic submit
SUBMIT SALV_FORM_DEMO_LAYOUTS AND RETURN. "Return to original report after report execution complete
SUBMIT SALV_FORM_DEMO_LAYOUTS 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_1CFLOW = Grid with 1 Column with Flows
Selection Text: P_1GRID = Grid with Cells
Selection Text: P_2CFLOW = Grid with 2 Columns with Flows
Selection Text: P_2CGRID = Grid with 2 Columns with Grids
Selection Text: P_FULL = Output as Fullscreen Grid
Selection Text: P_LIST = Output as List
Title: Demonstration of the Use of ALV Form Elements
Text Symbol: 010 = Display mode
Text Symbol: 020 = Layout Forms
Text Symbol: T01 = Purchasing Group
Text Symbol: T02 = Vendor
Text Symbol: T03 = Warehouse number
Text Symbol: T04 = Storage type
Text Symbol: T05 = Storage bin


INCLUDES used within this REPORT SALV_FORM_DEMO_LAYOUTS

No INCLUDES are used within this REPORT code!


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_LIST_DISPLAY call function 'REUSE_ALV_LIST_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = ' ' i_callback_program = gs_test-repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_STRUCTURE_NAME = is_layout = ls_layo it_fieldcat = lt_fcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = lt_sort * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = it_events = lt_evts * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = tables t_outtab = gt_outtab exceptions program_error = 1 others = 2.

REUSE_ALV_GRID_DISPLAY call function 'REUSE_ALV_GRID_DISPLAY' exporting * I_INTERFACE_CHECK = ' ' * i_bypassing_buffer = * i_buffer_active = i_callback_program = gs_test-repid * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * i_callback_html_top_of_page = * i_callback_html_end_of_list = * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' * I_GRID_TITLE = * i_grid_settings = is_layout = ls_layo it_fieldcat = lt_fcat * IT_EXCLUDING = * IT_SPECIAL_GROUPS = it_sort = lt_sort * IT_FILTER = * IS_SEL_HIDE = * i_default = * i_save = * is_variant = it_events = lt_evts * it_event_exit = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * i_html_height_top = * i_html_height_end = * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = tables t_outtab = gt_outtab exceptions program_error = 1 others = 2.

REUSE_ALV_FIELDCATALOG_MERGE call function 'REUSE_ALV_FIELDCATALOG_MERGE' exporting i_structure_name = 'ALV_T_T2' i_client_never_display = gc_true i_bypassing_buffer = space i_buffer_active = space changing ct_fieldcat = ct_fcat exceptions inconsistent_interface = 1 program_error = 2 others = 3.

REUSE_ALV_EVENTS_GET call function 'REUSE_ALV_EVENTS_GET' exporting i_list_type = 4 importing et_events = ct_events exceptions list_type_wrong = 1 others = 2.



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 SALV_FORM_DEMO_LAYOUTS or its description.