EMDGEN_TEMPLATE_TYPES_CHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Consistency Checks for Master Data Templates Categories Checks the formal consistency of master data template categories...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 EMDGEN_TEMPLATE_TYPES_CHECK 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.
Selection Text: XATTR = Check Attributes
Selection Text: XHIER = Check Hierarchy
Selection Text: XMANDT = D Client
Selection Text: XTOPTYP = D Intial Template Cat.
Selection Text: XTYPE = D MD Template Category
Title: Consistency Check on Master Data Template Categories
Text Symbol: 001 = No inconsistencies found
Text Symbol: 002 = Function Module
Text Symbol: 003 = Lower-Level Master Data Template Category
Text Symbol: 004 = Check Attributes
Text Symbol: 005 = Check Hierarchy
INCLUDE IECCLOG.
No SAP DATABASE tables are accessed within this REPORT code!
EMDGEN_DB_EPDTYPE_ALL_RFC CALL FUNCTION 'EMDGEN_DB_EPDTYPE_ALL_RFC' EXPORTING x_client = p_obj-mandt TABLES t_epdtype = iepdtype t_epdtypea = p_obj-iepdtypea_all t_epdtypeh = p_obj-iepdtypeh t_epdtypeht = p_obj-iepdtypeht.
GUID_CREATE CALL FUNCTION 'GUID_CREATE' "#EC * IMPORTING ev_guid_32 = p_obj-log_id.
ECCLOG_SELECT CALL FUNCTION 'ECCLOG_SELECT' EXPORTING x_logid = p_obj-log_id x_log_object = 'IUCSMDT_CHECK' "#EC NOTEXT x_initialize = 'X' "#EC NOTEXT IMPORTING y_handle = p_obj-log_handle EXCEPTIONS logid_invalid = 1 log_object_invalid = 2 OTHERS = 3.
ECCLOG_SAVE CALL FUNCTION 'ECCLOG_SAVE' * EXPORTING * X_HANDLE = * X_DEL_DATE = * X_DEL_BEFORE = EXCEPTIONS invalid_handle = 1 not_selected = 2 system_error = 3 OTHERS = 4.
ECCLOG_S_DISPLAY CALL FUNCTION 'ECCLOG_S_DISPLAY' EXPORTING x_log_object = 'IUCSMDT_CHECK' "#EC NOTEXT x_logid = p_obj-log_id EXCEPTIONS OTHERS = 1.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_epdtypea-datatype all_types = 'X' "#EC NOTEXT IMPORTING dfies_wa = wdfies EXCEPTIONS OTHERS = 1.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_epdtypea-refstruct fieldname = p_epdtypea-reffield all_types = 'X' "#EC NOTEXT IMPORTING dfies_wa = wdfies EXCEPTIONS OTHERS = 1.
DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = p_epdtypea-db_struct fieldname = p_epdtypea-db_field all_types = 'X' "#EC NOTEXT IMPORTING dfies_wa = wdfies ddobjtype = ddobjtype EXCEPTIONS OTHERS = 1.
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.
EMDGEN_TEMPLATE_TYPES_CHECK - Consistency Check on Master Data Template Categories EMDGEN_TEMPLATE_TYPES_CHECK - Consistency Check on Master Data Template Categories EMDGEN_EPDTYPE_DOWNLOAD - INTERNAL: Download of Tables EPDTYPE* EMDGEN_EPDTYPE_DOWNLOAD - INTERNAL: Download of Tables EPDTYPE* EMDGEN_EPDTYPE_CROSS_COMPARE - Cross-System Comparison of Master Data Template Categories EMDGEN_EPDTYPE_CROSS_COMPARE - Cross-System Comparison of Master Data Template Categories