Ansicht
Dokumentation

CBRC_PUR_DATA_SEP_OR - Check: Import to EU (Purchase Order) and Only Representative Role

CBRC_PUR_DATA_SEP_OR - Check: Import to EU (Purchase Order) and Only Representative Role

Fill RESBD Structure from EBP Component Structure   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module determines the country of origin or recipient country by calling the standard function module CBRC_PUR_DATA_SEP_BY_VA and checks whether there is an import to the validity area of the regulatory list in the current logistics document (purchase order or purchase requisition). An import to the validity area exists when the recipient country of the document is in the validity area and the country of origin is outside it.

When this function module is used in a scenario for data separation, only logistics documents for which an import to the validity area of the regulatory list exists are relevant for the regulatory list in this scenario. Other documents are not checked or tracked.

Furthermore, this function module checks whether a material-specific or a material-independent only representative is assigned to the corresponding supplier. If an only representative exists that was maintained via transaction Only Representative: External Business Partners or Only Representative: Internal Business Partners, the change variable X_PUPL_WA is initialized. As a result, the corresponding quantity is not tracked.

Example

Notes

The module can be customized for each scenario type in the Data Separation field in the Customizing activity Specify Scenarios.

Further information





Parameters

E_ERROR_TAB
E_FLG_ERROR
E_REG_TAB
I_EBAN_WA
I_EKET_WA
I_EKKO_WA
I_EKPO_WA
I_FLG_NO_EU
I_FLG_RESOLVE
I_MKPF_WA
I_MSEG_WA
I_REG
I_SCEN
I_VALFR
I_VALTO
X_PUPL_WA

Exceptions

Function Group

CBRC_PUR

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 2117 Date: 20240523 Time: 105743     sap01-206 ( 51 ms )