SAP Reports / Programs | Environment, Health and Safety | Basic Data and Tools | Specification Management(EHS-BD-SPE) SAP EHS

ENHE_R_SYNCSUB SAP ABAP Report - SAP Environmental Compliance - Match Up Specification Data







ENHE_R_SYNCSUB is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You use this report to transfer specification data from SAP Environment, Health, and Safety (SAP EHS) to materials created in SAP Environmental Compliance (SAP EC)...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 ENHE_R_SYNCSUB into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

ENHE_SYNCSUB - Match Up Specification Data


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 ENHE_R_SYNCSUB. "Basic submit
SUBMIT ENHE_R_SYNCSUB AND RETURN. "Return to original report after report execution complete
SUBMIT ENHE_R_SYNCSUB 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: VALAREA = D .
Selection Text: SUBCAT = D .
Selection Text: RFCDEST = D .
Selection Text: RATING = D .
Selection Text: LANGUAGE = D .
Selection Text: KEYDATE = D .
Selection Text: DELTADAY = D .
Selection Text: UPDATEVA = Update Values and Identifiers
Selection Text: UPDATECO = Update Compositions
Selection Text: UPDATECL = Update Phrase-Enabled Chars.
Selection Text: UPDATEC2 = Update Compositions - Delete
Title: SAP Environmental Compliance - Match Up Specification Data
Text Symbol: 043 = Phrase-Enabled Characteristic
Text Symbol: 042 = Composition
Text Symbol: 041 = Identifier
Text Symbol: 040 = Characteristic Value
Text Symbol: 030 = Target Sys
Text Symbol: 020 = Function Selection
Text Symbol: 010 = Selection Criteria
Text Symbol: 009 = Result - Match Up Specification Data
Text Symbol: 005 = Successful
Text Symbol: 004 = WithErrors


INCLUDES used within this REPORT ENHE_R_SYNCSUB

INCLUDE SYNCSUBTOP . " GLOBAL DATA


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:

ENHE_ADM_GET_PROPERTIES CALL FUNCTION 'ENHE_ADM_GET_PROPERTIES' DESTINATION rfcdest "#EC FB_NO_RFC TABLES e_subprop_tab = l_subprop "#EC ENHOK e_subs_tab = l_substances EXCEPTIONS communication_failure = 1 system_failure = 2 OTHERS = 3.

C14K_CLSYS_DEF_READ CALL FUNCTION 'C14K_CLSYS_DEF_READ' EXPORTING i_scenario = espap_info_only_scenario i_flg_character = esp1_true * IMPORTING * E_FLG_LOCKFAIL = * E_FLG_ERROR = * E_FLG_WARNING = TABLES x_api_character_tab = l_char_api_tab EXCEPTIONS no_object_specified = 1 parameter_error = 2 convmode_set_failed = 3 OTHERS = 4.

C1F2_SUBSTANCES_FIND_BY_CHANGE CALL FUNCTION 'C1F2_SUBSTANCES_FIND_BY_CHANGE' EXPORTING i_upddat_from = l_upddat_from i_upddat_to = l_upddat_to i_subcat = subcat TABLES e_recn_tab = l_recn_tab.

C1I0_TCGENV_UPDATE CALL FUNCTION 'C1I0_TCGENV_UPDATE' EXPORTING i_param = lc_xem_subsync_lastrun_par i_value = sy-datum EXCEPTIONS param_not_found = 1 OTHERS = 2.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING i_program_name = sy-repid * i_internal_tabname = i_structure_name = 'ENHES_RCGSUBOUTPUT' * I_CLIENT_NEVER_DISPLAY = 'X' * I_INCLNAME = * I_BYPASSING_BUFFER = * I_BUFFER_ACTIVE = CHANGING ct_fieldcat = l_fieldcat_tab EXCEPTIONS inconsistent_interface = 1 program_error = 2 OTHERS = 3.

REUSE_ALV_GRID_DISPLAY CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BYPASSING_BUFFER = ' ' * I_BUFFER_ACTIVE = ' ' * I_CALLBACK_PROGRAM = ' ' * I_CALLBACK_PF_STATUS_SET = ' ' * I_CALLBACK_USER_COMMAND = ' ' * I_CALLBACK_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_TOP_OF_PAGE = ' ' * I_CALLBACK_HTML_END_OF_LIST = ' ' * I_STRUCTURE_NAME = * I_BACKGROUND_ID = ' ' i_grid_title = text-009 * I_GRID_SETTINGS = is_layout = l_layout it_fieldcat = l_fieldcat_tab it_excluding = l_extab * IT_SPECIAL_GROUPS = it_sort = l_sortinfo[] * IT_FILTER = * IS_SEL_HIDE = i_default = 'X' i_save = 'A' * is_variant = l_variant * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 * I_HTML_HEIGHT_TOP = 0 * I_HTML_HEIGHT_END = 0 * IT_ALV_GRAPHICS = * IT_HYPERLINK = * IT_ADD_FIELDCAT = * IT_EXCEPT_QINFO = * IR_SALV_FULLSCREEN_ADAPTER = * IMPORTING * E_EXIT_CAUSED_BY_CALLER = * ES_EXIT_CAUSED_BY_USER = TABLES t_outtab = lg_output_tab EXCEPTIONS program_error = 1 OTHERS = 2.

C1I0_TCGENV_UPDATE CALL FUNCTION 'C1I0_TCGENV_UPDATE' EXPORTING i_param = lc_xem_subsync_lastrun_par i_value = sy-datum EXCEPTIONS param_not_found = 1 OTHERS = 2.



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