Ansicht
Dokumentation

CBRC_OR_BD_DATA_CHECK_ENH - Check Only Representative Roles

CBRC_OR_BD_DATA_CHECK_ENH - Check Only Representative Roles

BAL Application Log Documentation   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module executes the extended data check with regard to only representative roles. This check corresponds to the specified regulation in each case. In particular, the function module checks whether a component contained in a material (as a rule, pure or listed substances) already has a different only representative role assigned. For this, the components of the relevant material must be determined. The functions modules specified in the Customizing activity Specify Scenarios for Substance Determination and Component Explosion are used to determine the components. If an RFC destination for the the environment parameter SVT_EHS_RFCDEST is specified in the Customizing activity Specify Environment Parameters, the explosion is remote. After the components are determined, the system checks whether each component already exists in different relevant materials with an only representative assignment. If this is the case, the export parameter E_ERROR_TAB is filled with an error message. The corresponding data record does not contain an error indicator.

The following constellations are not permitted and cause an error message:

External Business Partner Material Only Representative Valid From Valid To
Supplier A Mat 1 OR 1 2008 2009
Supplier A Mat 1 OR 2 2008 2009

External Business Partner Material Only Representative Valid From Valid To
Supplier A Mat 1 OR 2 2008 2009
Supplier A - OR 2 2008 2009

Internal Business Partner Material Only Representative Valid From Valid To
Company Code A Mat 1 OR 1 2008 2009
Company Code A Mat 1 OR 2 2008 2009

Internal Business Partner Material Only Representative Valid From Valid To
Company Code A - OR 1 2008 2009
Company Code A - OR 2 2008 2009

  1. Pure or listed substance S1 is contained in Mat 1 and in Mat 2:
Internal Business Partner Material Only Representative Valid From Valid To
Company Code A Mat 1 OR 1 2008 2009
Company Code A Mat 2 OR 2 2008 2009

  1. Pure or listed substance S1 is contained in Mat 1 and in Mat 2:
Internal Business Partner Material Only Representative Valid From Valid To
Company Code A Mat 1 OR 1 2008 2009
Company Code A - OR 2 2008 2009

The following constellations are permitted, but cause an information message:

  1. Pure or listed substance S1 is contained in Mat 1 and in Mat 2:
External Business Partner Material Only Representative Valid From Valid To
Supplier A Mat 1 OR 1 2008 2009
Supplier A Mat 2 OR 2 2008 2009

  1. Pure or listed substance S1 is contained in Mat 1 and in Mat 2:
External Business Partner Material Only Representative Valid From Valid To
Supplier A Mat 1 OR 1 2008 2009
Supplier A - OR 2 2008 2009

Example

Notes

In the standard system, the function module is called from the BAdI method Validation of the Only Representative Data. In the standard implementation, the function module is only called when the BAdI method is called from the program Validate the Only Representative Basis Data or the function Extended Data Check (Ctrl+F2) is executed in the transactions Only Representative: External Business Partners or Only Representative: Internal Business Partners.

Further information





Parameters

E_ERROR_TAB
E_FLG_ERROR
I_ACTYPE
I_OR_DATA_TAB
I_REPID
I_TCODE
I_UCOMM
X_OR_MOD_TAB

Exceptions

INTERNAL_ERROR
PARAMETER_ERROR

Function Group

CBRC_OR

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.

Length: 8730 Date: 20240523 Time: 100725     sap01-206 ( 91 ms )