SAP Reports / Programs | Client-System Adapter | Client-System Adapter(MDM-CLT) SAP MDM

MDM_METADATA_MAINTAIN SAP ABAP Report - MDM Metadata Maintenance







MDM_METADATA_MAINTAIN 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 MDM_METADATA_MAINTAIN 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 MDM_METADATA_MAINTAIN. "Basic submit
SUBMIT MDM_METADATA_MAINTAIN AND RETURN. "Return to original report after report execution complete
SUBMIT MDM_METADATA_MAINTAIN 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_CVERS = Content Version
Selection Text: P_DELT = Delta Session
Selection Text: P_EXTR = Extraction Object
Selection Text: P_FUNC = Function Module
Selection Text: P_MNAME = IDOC Basis Type/DDIC Structure
Selection Text: P_MODE = Processing Mode
Selection Text: P_MTYPE = Message Type
Selection Text: P_OVERS = Object Version
Title: MDM Metadata Maintenance
Text Symbol: 001 = Extraction Object
Text Symbol: 002 = Processing Type


INCLUDES used within this REPORT MDM_METADATA_MAINTAIN

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:

MDM_METADATA_MAINTAIN CALL FUNCTION 'MDM_METADATA_MAINTAIN' EXPORTING I_WORKMODE = MDM01_C_WORKMODE-DELETE I_S_HEAD = I_S_EXTR EXCEPTIONS OTHERS = 1.

MDM_METADATA_MAINTAIN CALL FUNCTION 'MDM_METADATA_MAINTAIN' EXPORTING I_WORKMODE = MDM01_C_WORKMODE-READ I_S_HEAD = I_S_EXTR * IMPORTING * E_S_HEAD = * TABLES * C_T_GRP = * C_T_FLD = EXCEPTIONS OTHERS = 1.

FUNCTION_EXISTS CALL FUNCTION 'FUNCTION_EXISTS' EXPORTING FUNCNAME = I_S_EXTR-EXTRACTOR * IMPORTING * GROUP = * INCLUDE = * NAMESPACE = * STR_AREA = EXCEPTIONS FUNCTION_NOT_EXIST = 1 OTHERS = 2.

RSAN_FUNCTION_CHECK * CALL FUNCTION 'RSAN_FUNCTION_CHECK' * EXPORTING * I_FUNCNAME = I_S_EXTR-EXTRACTOR * EXCEPTIONS * SYNTAX_ERROR = 1 * OTHERS = 2.

IDOCTYPE_READ CALL FUNCTION 'IDOCTYPE_READ' EXPORTING PI_IDOCTYP = L_IDOC * PI_CHECK_AUTHORITY = 'X' * PI_READ_DEVC = 'X' * importing * pe_attributes = l_s_attr TABLES PT_SYNTAX = L_T_SYNTAX * pt_pre_syntax = l_t_presyntax * pt_extensions = l_t_extensions EXCEPTIONS OBJECT_NOT_FOUND = 1 DB_ERROR = 2 NO_AUTHORITY = 3 OTHERS = 4.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING TABNAME = L_TABNAME * FIELDNAME = ' ' * LANGU = SY-LANGU * IMPORTING * X030L_WA = TABLES DFIES_TAB = L_T_DFIES EXCEPTIONS NOT_FOUND = 1 INTERNAL_ERROR = 2 OTHERS = 3.

MDM_METADATA_MAINTAIN CALL FUNCTION 'MDM_METADATA_MAINTAIN' EXPORTING I_WORKMODE = MDM01_C_WORKMODE-SAVE I_S_HEAD = L_S_EXTRHEAD * IMPORTING * E_S_HEAD = TABLES C_T_GRP = L_T_EXTRGRP C_T_FLD = L_T_EXTRFLD EXCEPTIONS OTHERS = 1.

DYNP_VALUES_READ CALL FUNCTION 'DYNP_VALUES_READ' EXPORTING DYNAME = 'MDM_METADATA_MAINTAIN' DYNUMB = SY-DYNNR TRANSLATE_TO_UPPER = 'X' * PERFORM_CONVERSION_EXITS = ' ' * PERFORM_INPUT_CONVERSION = ' ' TABLES DYNPFIELDS = L_T_DYNPFIELDS EXCEPTIONS INVALID_ABAPWORKAREA = 1 INVALID_DYNPROFIELD = 2 INVALID_DYNPRONAME = 3 INVALID_DYNPRONUMMER = 4 INVALID_REQUEST = 5 NO_FIELDDESCRIPTION = 6 INVALID_PARAMETER = 7 UNDEFIND_ERROR = 8 DOUBLE_CONVERSION = 9 OTHERS = 10.

HELP_VALUES_GET_NO_DD_NAME CALL FUNCTION 'HELP_VALUES_GET_NO_DD_NAME' EXPORTING CUCOL = 2 CUROW = 4 SELECTFIELD = 'EXTROBJECT' TITEL = 'Extraktionsobject'(001) IMPORTING IND = L_TABLE_INDEX TABLES FIELDS = L_T_FIELDS FULL_TABLE = L_T_SELECT EXCEPTIONS FULL_TABLE_EMPTY = 1 NO_TABLESTRUCTURE_GIVEN = 2 NO_TABLEFIELDS_IN_DICTIONARY = 3 MORE_THEN_ONE_SELECTFIELD = 4 NO_SELECTFIELD = 5 OTHERS = 6.

DYNP_VALUES_UPDATE CALL FUNCTION 'DYNP_VALUES_UPDATE' EXPORTING DYNAME = 'MDM_METADATA_MAINTAIN' DYNUMB = SY-DYNNR TABLES dynpfields = l_t_dynpfields EXCEPTIONS invalid_abapworkarea = 1 invalid_dynprofield = 2 invalid_dynproname = 3 invalid_dynpronummer = 4 invalid_request = 5 no_fielddescription = 6 undefind_error = 7 OTHERS = 8.



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