SAP Reports / Programs | Sales and Distribution | Master Data | Conditions(SD-MD-CM) SAP SD

EANP_SIMULATE_GTIN SAP ABAP Report - GTIN Mapping Simulation







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


Transaction Code(s):

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

EANSIMULATE - Simulate GTIN Mapping


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


INCLUDES used within this REPORT EANP_SIMULATE_GTIN

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:

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.



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