EANP_SIMULATE_GTIN is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report program allows you to enter a Global Trade Item Number (GTIN) along with some additional criteria; and then provides the result of GTIN mapping in accordance with the customizing and master data available in the system...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 EANP_SIMULATE_GTIN into the relevant SAP transactions such as SE38 or SE80
Below is a list of transaction codes which are relevant to this SAP report
EANSIMULATE - Simulate GTIN Mapping
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: P_AUART = D .
Selection Text: P_DATE = Date
Selection Text: P_PROTO = Detailed Protocol
Title: GTIN Mapping Simulation
Text Symbol: 001 = Enter Key Fields
Text Symbol: F01 = General
Text Symbol: F02 = Options
Text Symbol: F03 = Result
No INCLUDES are used within this REPORT code!
No SAP DATABASE tables are accessed within this REPORT code!
GTIN_MAPPING_SELECTION CALL FUNCTION 'GTIN_MAPPING_SELECTION' EXPORTING i_date = p_date i_header_communication = ls_komkd i_item_communication = ls_kompd i_scheme = gv_kalgt i_protocol = p_proto IMPORTING e_smatn = ls_smatn TABLES kondd_data = lt_kondd_data.
EANC_TVAK_KALGT_GET CALL FUNCTION 'EANC_TVAK_KALGT_GET' EXPORTING i_auart = iv_auart IMPORTING e_kalgt = lv_kalgt EXCEPTIONS no_procedure_found = 1 input_initial = 2 OTHERS = 1.
FREE_SELECTIONS_DIALOG CALL FUNCTION 'FREE_SELECTIONS_DIALOG' EXPORTING selection_id = gv_selection_id title = text-001 status = 1 as_window = 'X' tree_visible = ' ' IMPORTING field_ranges = gt_fieldranges TABLES fields_tab = gt_selected_fields EXCEPTIONS no_action = 0 OTHERS = 1.
FREE_SELECTIONS_INIT CALL FUNCTION 'FREE_SELECTIONS_INIT' EXPORTING kind = 'F' restriction = lv_restriction IMPORTING selection_id = gv_selection_id TABLES fields_tab = gt_selected_fields 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.