SAP Reports / Programs | Basis Components | ABAP Workbench, Java IDE and Infrastructure | F4 Help(BC-DWB-DIC-F4) SAP BC

MCMIGRAT SAP ABAP Report - Matchcode migration program







MCMIGRAT is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This program migrates customer matchcodes into search helps...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter MCMIGRAT 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 MCMIGRAT. "Basic submit
SUBMIT MCMIGRAT AND RETURN. "Return to original report after report execution complete
SUBMIT MCMIGRAT VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Matchcode migration program
Text Symbol: 001 = SAP search helps and associated selection methods


INCLUDES used within this REPORT MCMIGRAT

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:

TR_FLUSH_LOG CALL FUNCTION 'TR_FLUSH_LOG'.

DD_SHLP_ACT CALL FUNCTION 'DD_SHLP_ACT' EXPORTING SHLPNAME = DD30V_WA-SHLPNAME DD30V_WA_N = DD30V_WA WITH_SHLP = 'M' ACTMODE = 50 IMPORTING RC = SUBRC TABLES DD32P_TAB_N = DD32P_TAB EXCEPTIONS OTHERS = 1.

CLM_INSERT_PROT_ONLY CALL FUNCTION 'CLM_INSERT_PROT_ONLY' EXPORTING PROT_OBJECT = ONE_PROT EXCEPTIONS INSERT_FAILED = 1 OTHERS = 2.

DD_SHLP_TO_COMPLEX * CALL FUNCTION 'DD_SHLP_TO_COMPLEX' * EXPORTING * DD30V_WA = DD30V_WA * IMPORTING * SHLP = CHANGED-SHLP * TABLES * DD31V_TAB = DD31V_TAB * DD32_TAB = DD32P_TAB * DD33V_TAB = DD33V_TAB * EXCEPTIONS * OTHERS = 2.

CLM_DD_MOD_SAVE * CALL FUNCTION 'CLM_DD_MOD_SAVE' * EXPORTING * TRANSPKEY = TRANSPKEY * MDF_LANGU = SY-LANGU * USER = 'DDIC' * DATE = SY-DATUM * TIME = SY-UZEIT * OBJ_MODPROT = OBJ_MODPROT * CHANGED = CHANGED * EXCEPTIONS * OTHERS = 2.

CLM_SET_PROT_ONLY * call function 'CLM_SET_PROT_ONLY' "Prot-only-Objekt * exporting * transpkey = transpkey.

DD_SHLP_ACT CALL FUNCTION 'DD_SHLP_ACT' EXPORTING SHLPNAME = DD30V_WA-SHLPNAME DD30V_WA_N = DD30V_WA WITH_SHLP = 'M' ACTMODE = 50 IMPORTING RC = SUBRC TABLES DD31V_TAB_N = DD31V_TAB DD32P_TAB_N = DD32P_TAB DD33V_TAB_N = DD33V_TAB EXCEPTIONS OTHERS = 1.

DDIF_SHLP_GET CALL FUNCTION 'DDIF_SHLP_GET' EXPORTING NAME = SHLP_NAME IMPORTING GOTSTATE = GOT_STATE DD30V_WA = DD30V_WA TABLES DD31V_TAB = DD31V_TAB DD32P_TAB = DD32P_TAB DD33V_TAB = DD33V_TAB EXCEPTIONS OTHERS = 1.

TRINT_MOVE_TADIR_ATTRIBUTES CALL FUNCTION 'TRINT_MOVE_TADIR_ATTRIBUTES' CHANGING IT_MOVE = TADIR_MOVE.

TRINT_MOVE_TADIR_ATTRIBUTES CALL FUNCTION 'TRINT_MOVE_TADIR_ATTRIBUTES' CHANGING IT_MOVE = TADIR_MOVE.

TR_APPEND_LOG CALL FUNCTION 'TR_APPEND_LOG' EXPORTING ACCEPT_NOT_INIT = 'X' TABLES XMSG = PROT_TAB EXCEPTIONS OTHERS = 1.

TR_INSERT_NEW_COMM CALL FUNCTION 'TR_INSERT_NEW_COMM' EXPORTING WI_KURZTEXT = LS_E07T-AS4TEXT WI_TRFUNCTION = LS_E070-TRFUNCTION * WI_STRKORR = ' ' * WI_CATEGORY = ' ' * IV_TARSYSTEM = ' ' * WI_CLIENT = ' ' * WI_TARGET_CLIENT = ' ' * IV_TARDEVCL = ' ' * IV_DEVCLASS = ' ' * IV_TARLAYER = ' ' * WI_PROTECT = ' ' * IV_SIMULATION = ' ' IMPORTING WE_TRKORR = LV_TRKORR WE_E070 = LS_E070 WE_E07T = LS_E07T * WE_E070C = * ES_E070M = EXCEPTIONS CLIENT_RANGE_FULL = 1 E070L_INSERT_ERROR = 2 E070L_UPDATE_ERROR = 3 E070_INSERT_ERROR = 4 E07T_INSERT_ERROR = 5 E070C_INSERT_ERROR = 6 E070M_INSERT_ERROR = 7 NO_SYSTEMNAME = 8 NO_SYSTEMTYPE = 9 SAP_RANGE_FULL = 10 UNALLOWED_TRFUNCTION = 11 UNALLOWED_USER = 12 ORDER_NOT_FOUND = 13 INVALID_TARGETSYSTEM = 14 INVALID_TARGET_DEVCLASS = 15 INVALID_DEVCLASS = 16 INVALID_TARGET_LAYER = 17 INVALID_STATUS = 18 NOT_AN_ORDER = 19 ORDER_LOCK_FAILED = 20 NO_AUTHORIZATION = 21 WRONG_CLIENT = 22 FILE_ACCESS_ERROR = 23 WRONG_CATEGORY = 24 INTERNAL_ERROR = 25 OTHERS = 26.

TR_READ_COMM CALL FUNCTION 'TR_READ_COMM' EXPORTING WI_TRKORR = LV_TRKORR WI_DIALOG = ' ' * WI_LANGU = SY-LANGU WI_SEL_E070 = 'X' * WI_SEL_E071 = ' ' * WI_SEL_E071K = ' ' * IV_SEL_E071KF = ' ' WI_SEL_E07T = 'X' * WI_SEL_E070C = ' ' * IV_SEL_E070M = ' ' IMPORTING WE_E070 = LS_E070 WE_E07T = LS_E07T * WE_E070C = * ES_E070M = * WE_E07T_DOESNT_EXIST = * WE_E070C_DOESNT_EXIST = * EV_E070M_DOESNT_EXIST = TABLES WT_E071 = LT_E071 WT_E071K = LT_E071K * ET_E071KF = EXCEPTIONS NOT_EXIST_E070 = 1 NO_AUTHORIZATION = 2 OTHERS = 3.

TR_MODIFY_COMM CALL FUNCTION 'TR_MODIFY_COMM' EXPORTING WI_E070 = LS_E070 WI_E07T = LS_E07T WI_SEL_E071 = 'X' * WI_SEL_E071K = ' ' WI_SEL_E07T = ' ' * WI_SEL_E070C = ' ' * WI_E070C = ' ' * IMPORTING * WE_E070 = * WE_E07T = * WE_E070C = TABLES WT_E071 = E071_TAB WT_E071K = LT_E071K EXCEPTIONS * db_access_error = 1 CHOSEN_PROJECT_CLOSED = 2 LOCKED_ENTRIES = 3 LOCKED_OBJECT_NOT_DELETED = 4 ORDERNAME_FORBIDDEN = 5 ORDERNUMBER_EMPTY = 6 ORDER_CHANGE_BUT_LOCKED_OBJECT = 7 ORDER_RELEASED = 8 ORDER_USER_LOCKED = 9 TR_CHECK_KEYSYNTAX_ERROR = 10 TR_ENQUEUE_FAILED = 11 NO_AUTHORIZATION = 12 WRONG_CLIENT = 13 UNALLOWED_SOURCE_CLIENT = 14 UNALLOWED_USER = 15 * unallowed_trfunction = 16 * unallowed_trstatus = 17 * no_systemname = 18 * no_systemtype = 19 * invalid_change_of_types = 20 OTHERS = 21.

CLM_INSERT_PROT_ONLY CALL FUNCTION 'CLM_INSERT_PROT_ONLY' TABLES PROT_OBJECT_LIST = PROTS EXCEPTIONS INSERT_FAILED = 1 OTHERS = 2.

COMM_TABLE_SORT CALL FUNCTION 'COMM_TABLE_SORT' TABLES SORT_TAB = E071_tab.



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