SAP Reports / Programs | Materials Management | Purchasing(MM-PUR) SAP MM

MM06EFDCM SAP ABAP INCLUDE - documentation and ABAP source code







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


INCLUDES used within this REPORT MM06EFDCM

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:

ME_CHANGEDOC_SELECT CALL FUNCTION 'ME_CHANGEDOC_SELECT' EXPORTING i_document_category = ekko-bstyp i_document_number = ekko-ebeln i_date_start = l_erevitem-erdat i_time_start = l_erevitem-eruhr i_all_items = 'X' i_gridhandle = c_show_handle i_revisionlist = l_revisionlist "n_828726 IMPORTING e_outtab = lt_outtab.

MM_DELIVERY_ADDRESS_READ CALL FUNCTION 'MM_DELIVERY_ADDRESS_READ' EXPORTING im_ebeln = -ebeln im_ebelp = -ebelp IMPORTING ex_address_exists = l_exist ex_cmmda = l_cmmda.

MS_DCM_CHECK_CHANGES CALL FUNCTION 'MS_DCM_CHECK_CHANGES' EXPORTING im_bstyp = ekko-bstyp IMPORTING ex_change = srv_changed.

DRAD_UPDATES_GET CALL FUNCTION 'DRAD_UPDATES_GET' TABLES new_drad_entries = lt_doktab.

MEDCMM_CREATE_REVISION_MANAGER CALL FUNCTION 'MEDCMM_CREATE_REVISION_MANAGER' EXPORTING im_bstyp = im_ekko-bstyp im_bsart = im_ekko-bsart im_ekorg = im_ekko-ekorg im_edokn = im_ekko-ebeln im_persistent = im_persistent im_activity = im_aktyp im_dcm_adapter = gl_dcm_bridge im_preisanz = im_preisanz im_version = im_ekko-revno IMPORTING ex_instance = l_mgr EXCEPTIONS OTHERS = 2.

COPY_TEXTS CALL FUNCTION 'COPY_TEXTS' TABLES texts = lt_itctc.

READ_TEXT ** CALL FUNCTION 'READ_TEXT' ** EXPORTING ** object = l_thead-tdobject ** id = l_thead-tdid ** name = l_thead-tdname ** language = l_thead-tdspras ** IMPORTING ** header = l_thead2 ** TABLES ** lines = lt_lines ** EXCEPTIONS ** OTHERS = 1.

SAVE_TEXT ** CALL FUNCTION 'SAVE_TEXT' ** EXPORTING ** header = l_thead2 ** IMPORTING ** function = l_function ** newheader = l_thead2 ** TABLES ** lines = lt_lines ** EXCEPTIONS ** OTHERS = 1.

READ_TEXT CALL FUNCTION 'READ_TEXT' EXPORTING id = ls_changedoc-textart language = ls_changedoc-textspr name = l_tdname_new object = l_tdobject TABLES lines = l_lines EXCEPTIONS OTHERS = 1.

READ_TEXT * CALL FUNCTION 'READ_TEXT' * EXPORTING * id = ls_changedoc-textart * language = ls_changedoc-textspr * name = ls_changedoc-teilobjid * object = l_tdobject * IMPORTING * header = l_thead * TABLES * lines = l_lines * EXCEPTIONS * OTHERS = 1.

RENAME_TEXT CALL FUNCTION 'RENAME_TEXT' EXPORTING object = l_tdobject name = l_tdname_tmp id = ls_changedoc-textart language = ls_changedoc-textspr newname = l_tdname_new EXCEPTIONS not_found = 0 OTHERS = 0.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = '*' language = '*' name = l_tdname_tmp object = 'EKKO' textmemory_only = 'X' "x is enough EXCEPTIONS not_found = 0 OTHERS = 0.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = '*' language = '*' name = l_tdname_tmp object = 'EKPO' textmemory_only = 'X' "x is enough EXCEPTIONS not_found = 0 OTHERS = 0.

SELECT_TEXT CALL FUNCTION 'SELECT_TEXT' EXPORTING textmemory_only = mmpur_yes name = l_tdname_tmp id = '*' language = '*' TABLES selections = lt_selections t_object = r_object EXCEPTIONS wrong_access_to_archive = 1 OTHERS = 2.

DELETE_TEXT CALL FUNCTION 'DELETE_TEXT' EXPORTING id = ls_selections-tdid language = ls_selections-tdspras name = ls_selections-tdname object = ls_selections-tdobject textmemory_only = mmpur_yes EXCEPTIONS not_found = 0 OTHERS = 0.

RV_MESSAGES_GET CALL FUNCTION 'RV_MESSAGES_GET' EXPORTING msg_objky_from = xobjky msg_objky_to = xobjky TABLES tab_xnast = xnast tab_ynast = ynast.

RV_MESSAGES_MODIFY CALL FUNCTION 'RV_MESSAGES_MODIFY' TABLES tab_xnast = xnast.



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