SAP Reports / Programs | Logistics Execution | Shipping(LE-SHP) SAP LE

MV50RF02 SAP ABAP INCLUDE - form routines for ALV







MV50RF02 is a standard ABAP INCLUDE 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 MV50RF02 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 MV50RF02. "Basic submit
SUBMIT MV50RF02 AND RETURN. "Return to original report after report execution complete
SUBMIT MV50RF02 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: form routines for ALV


INCLUDES used within this REPORT MV50RF02

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_EVENTS_GET CALL FUNCTION 'REUSE_ALV_EVENTS_GET' EXPORTING I_LIST_TYPE = 0 IMPORTING ET_EVENTS = LT_EVENTS.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING * I_PROGRAM_NAME = * I_INTERNAL_TABNAME = I_STRUCTURE_NAME = STRUCT * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = P_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = ITAB * i_structure_name = * I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = P_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'ALV_PF_STATUS_SET' I_CALLBACK_USER_COMMAND = 'ALV_FCODE_BEARBEITEN' * i_structure_name = 'LIMTV' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = ' ' I_SAVE = G_SAVE_SW IS_VARIANT = G_VARIANT * it_events = gt_events[] * IT_EVENT_EXIT = * IS_PRINT = * 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 = TABLES T_OUTTAB = ILIMTV EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_HIERSEQ_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'ALV_PF_STATUS_SET' I_CALLBACK_USER_COMMAND = 'ALV_FCODE_BEARBEITEN' IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT * IT_EXCLUDING = * IT_SPECIAL_GROUPS = IT_SORT = GT_SORT * IT_FILTER = * IS_SEL_HIDE = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 I_DEFAULT = 'X' I_SAVE = G_SAVE_SW IS_VARIANT = G_VARIANT * IT_EVENTS = * IT_EVENT_EXIT = I_TABNAME_HEADER = 'HTAB' I_TABNAME_ITEM = 'ILIMTV' * i_structure_name_header = 'LIMTV' * i_structure_name_item = 'LIMTV' IS_KEYINFO = GS_KEYINFO * IS_PRINT = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES T_OUTTAB_HEADER = HTAB T_OUTTAB_ITEM = ILIMTV EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

REUSE_ALV_VARIANT_MAINTAIN CALL FUNCTION 'REUSE_ALV_VARIANT_MAINTAIN' EXPORTING I_TABNAME_HEADER = STRUCT * I_TABNAME_ITEM = I_SAVE = 'X' IS_LAYOUT = P_LAYOUT * IT_SPECIAL_GROUPS = * IMPORTING * E_SAVE = CHANGING CT_FIELDCAT = P_FIELDCAT EXCEPTIONS NO_CHANGE = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_VARIANT_ALL_MAINTAIN CALL FUNCTION 'REUSE_ALV_VARIANT_ALL_MAINTAIN' EXPORTING IS_VARIANT = G_VARIANT I_DEFAULT = 'X' * I_USER_SPECIFIC = ' ' I_TABNAME_HEADER = STRUCT * I_TABNAME_ITEM = * IS_LAYOUT = IT_DEFAULT_FIELDCAT = P_FIELDCAT[] EXCEPTIONS FOREIGN_LOCK = 1 PROGRAM_ERROR = 2 OTHERS = 3.

REUSE_ALV_VARIANT_SELECT CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT' EXPORTING I_DIALOG = ' ' I_USER_SPECIFIC = 'X' I_DEFAULT = 'X' I_TABNAME_HEADER = STRUCT I_TABNAME_ITEM = STRUCT IT_DEFAULT_FIELDCAT = P_FIELDCAT I_LAYOUT = P_LAYOUT * IMPORTING * E_EXIT = ET_FIELDCAT = P_FIELDCAT * ET_SORT = * ET_FILTER = CHANGING CS_VARIANT = P_VARIANT EXCEPTIONS WRONG_INPUT = 1 FC_NOT_COMPLETE = 2 NOT_FOUND = 3 PROGRAM_ERROR = 4 OTHERS = 5.



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