Fonction SAP CBRC_PUR_DATA_SEP_PO - Customizing: Determine Whether an Import to EU Exists (Purchase Order)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_EKET_WA EKET u 456 X Sch. Agmt Sched. Lines
I_EKKO_WA EKKO u 765 X Purchasing Document Header
I_EKPO_WA EKPO u 1560 X Purchasing document item
I_FLG_NO_EU ESEBOOLE C 1 SPACE X Obsolete: Indicator: Do not Check for Import to EU ('X' - no Check)
I_MKPF_WA MKPF u 290 X Header: Material Document
I_MSEG_WA MSEG u 1156 X Document Segment: Material
I_REG ESESLSTID C 10 Regulatory list
I_SCEN CCRCE_SCEN C 10 Scenario
I_VALFR SYST-DATUM D 8 X Start Date of Current Tracking Period
I_VALTO SYST-DATUM D 8 X End Date of Current Tracking Period

Paramètre Reférence Type Long. Description
E_ERROR_TAB CCRCTT_MSG h 642 Message Table for Application Log
E_FLG_ERROR ESEBOOLE C 1 Error Indicator

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
X_PUPL_WA CCRCT_PUPL u 216 Current Record

Functionality
This function module determines the country of origin and recipientcountry and checks whether the current purchase order is an import tothe European Union (EU). An import to the EU exists when the recipientcountry of the document is in the EU but the country of origin is not.
When this function module is used in a scenario for data separation,only logistics documents for which an import to the EU exists arerelevant for the regulatory list in this scenario. Other documents arenot checked or tracked.
INCLUDE CBRC_BW_RELEVANT_IMPORT OBJECT DOKU ID TX
INCLUDE CBRC_IMPORTER_RELEVANCE OBJECT DOKU ID TX

Notes
The module can be customized for each scenario type in theData Separation field in theCustomizing activity Specify Scenarios
.

1172607SVT: Implementing customer-specific requirements
1085551Modules for data separation in purchasing and sales