SAP Reports / Programs | Master Data | SAP Utilities | Master Data(IS-U-MD) SAP IS

EMDGEN_TEMPLATE_TYPES_CHECK SAP ABAP Report - Consistency Check on Master Data Template Categories







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


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 EMDGEN_TEMPLATE_TYPES_CHECK. "Basic submit
SUBMIT EMDGEN_TEMPLATE_TYPES_CHECK AND RETURN. "Return to original report after report execution complete
SUBMIT EMDGEN_TEMPLATE_TYPES_CHECK 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: 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


INCLUDES used within this REPORT EMDGEN_TEMPLATE_TYPES_CHECK

INCLUDE IECCLOG.


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:

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.



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