MGTRAF02 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 MGTRAF02 into the relevant SAP transactions such as SE38 or SE80
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.
Title: Include for Validation/Substitution Transport
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
G_VSR_SET_USAGE_GET CALL FUNCTION 'G_VSR_SET_USAGE_GET' EXPORTING BOOLID = BOOLID_PATTERN USE_PATTERN = 'X' TABLES SETS_USED = SETS_USED EXCEPTIONS OTHERS = 0.
G_VSR_SET_USAGE_GET CALL FUNCTION 'G_VSR_SET_USAGE_GET' EXPORTING BOOLID = BOOLID_PATTERN USE_PATTERN = 'X' TABLES SETS_USED = SETS_USED EXCEPTIONS OTHERS = 0.
G_VSR_SET_USAGE_GET CALL FUNCTION 'G_VSR_SET_USAGE_GET' EXPORTING BOOLID = BOOLID_PATTERN USE_PATTERN = 'X' TABLES SETS_USED = SETS_USED EXCEPTIONS OTHERS = 0.
G_VSR_SET_USAGE_GET CALL FUNCTION 'G_VSR_SET_USAGE_GET' EXPORTING BOOLID = BOOLID TABLES SETS_USED = SETS_USED EXCEPTIONS OTHERS = 0.
G_TRANS_HEADER CALL FUNCTION 'G_TRANS_HEADER' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSGID_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' ' KORRNR = KORRNR_TO_USE EXCEPTIONS CORRECTION_USED = 1 NOT_OWN_CORRECTION = 2 SYSTEM_ERROR = 3.
G_TRANS_HEADER_DELETE CALL FUNCTION 'G_TRANS_HEADER_DELETE' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSGID_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' '.
G_TRANS_HEADER CALL FUNCTION 'G_TRANS_HEADER' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSG100_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' ' KORRNR = KORRNR_TO_USE EXCEPTIONS CORRECTION_USED = 1 NOT_OWN_CORRECTION = 2 SYSTEM_ERROR = 3.
G_TRANS_HEADER_DELETE CALL FUNCTION 'G_TRANS_HEADER_DELETE' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSG100_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' '.
G_TRANS_HEADER CALL FUNCTION 'G_TRANS_HEADER' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSG_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' ' KORRNR = KORRNR_TO_USE EXCEPTIONS CORRECTION_USED = 1 NOT_OWN_CORRECTION = 2 SYSTEM_ERROR = 3.
G_TRANS_HEADER_DELETE CALL FUNCTION 'G_TRANS_HEADER_DELETE' EXPORTING PGMID = C_MSG_TRAN_PROG OBJECT = C_MSG_TRAN_OBJ OBJ_NAME = OBJ_NAME OBJFUNC = ' '.
TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING WI_SEL_E070 = 'X' WI_TRKORR = P_KORRNR IMPORTING WE_E070 = KORR_ATTRIBUTES TABLES WT_E071 = T_E071 WT_E071K = T_E071K EXCEPTIONS NOT_EXIST_E070 = 1 NO_AUTHORIZATION = 2 OTHERS = 3.
POPUP_TO_CONFIRM_WITH_MESSAGE CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE' EXPORTING DIAGNOSETEXT1 = TEXT_LINE DIAGNOSETEXT2 = TEXT-205 DIAGNOSETEXT3 = TEXT-210 TEXTLINE1 = TEXT-215 TEXTLINE2 = TEXT-217 TITEL = TEXT-220 IMPORTING ANSWER = NEW_ORDER_ASK.
G_TRANS_DELETE CALL FUNCTION 'G_TRANS_DELETE'.
G_TRANS_NUMBER CALL FUNCTION 'G_TRANS_NUMBER' EXPORTING CATEGORY = P_KORR_TYPE IMPORTING KORRNR = P_KORRNR_RESULT.
G_TRANS_READ CALL FUNCTION 'G_TRANS_READ'.
TR_ORDER_CHOICE_CORRECTION CALL FUNCTION 'TR_ORDER_CHOICE_CORRECTION' EXPORTING IV_CATEGORY = P_KORR_TYPE IV_CLI_DEP = 'X' IMPORTING EV_TASK = P_KORRNR_RESULT EXCEPTIONS INVALID_CATEGORY = 01 NO_CORRECTION_SELECTED = 02.
G_RULE_ELEMENTS_GET CALL FUNCTION 'G_RULE_ELEMENTS_GET' EXPORTING RULE = P_BOOLID TABLES ALL_EXITS = EXIT_LIST EXCEPTIONS CHECK_FAILED = 1 NOT_FOUND = 2 OTHERS = 3.
POPUP_DISPLAY_TEXT CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-225 TEXT_OBJECT = 'FI_SL_31H_VSR_USER_EXIT_WARN'.
CALL FUNCTION 'POPUP_DISPLAY_TEXT' EXPORTING LANGUAGE = SY-LANGU POPUP_TITLE = TEXT-225 TEXT_OBJECT = 'FI_SL_31H_VSR_USER_EXIT_WARN'.
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 MGTRAF02 or its description.