Fonction SAP CBRC_PUR_DATA_SEP - Customizing: Determine Whether an Import to the EU Exists (PO and PReq)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
I_EBAN_WA EBAN u 980 X Purchase Requisition
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 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 logistics document (purchaseorder or purchase requisition) is an import to the European Union (EU).An import to the EU exists when the recipient country of the document isin 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_IMPORTER_RELEVANCE OBJECT DOKU ID TX

Example

Notes
The module can be customized per scenario type in theData Separation field in the Customizingactivity Specify Scenarios.

1259051Taking the overwritten delivery address into account
1085551Modules for data separation in purchasing and sales