Ansicht
Dokumentation

PIC01_CHECK_RECURSIVITY - NOTRANSL: Prüfe Zirkelbeziehungen in bedingten Austauschbarkeiten

PIC01_CHECK_RECURSIVITY - NOTRANSL: Prüfe Zirkelbeziehungen in bedingten Austauschbarkeiten

TXBHW - Original Tax Base Amount in Local Currency   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module checks whether an invalid circular relationship would result from the creation of a one-way interchangeability. The three parameters transferred to this module represent the new one-way interchangeability that is to be created: a one-way interchangeability is created starting from the material I_MATNR and pointing to the I_SUBSTMAT. The condition is described by the I_EXCHTYP parameter.

The purpose of the check is to trace all the one-way interchangeabilities back to the material I_MATNR. If one of the materials read during the check is identical to the material in the I_SUBSTMAT parameter, a circular relationship (recursion) would arise as a result of the new interchangeability. In this case, the exception RECURSIVITY_FOR_INPUT would be generated.

In addition, any circular relationships that may already exist in the database are revealed during the check. This recursion is determined in essentially the same way as described above. Should any existing circular relationship be found, the exception RECURSIVITY_ON_DATABASE is generated. In this case, the incorrect interchangeability-relationship must be deleted using transaction PIC01.

Once recursion has been determined, the incorrect path is calculated in the routine store_recursivity_chain and returned to the T_RECUR table. The path that caused recursion can be outputted using the graphic composer DISPLNET.

Example

Notes

Further information





Parameters

I_EXCHTYP
I_MATNR
I_SUBSTMAT
T_RECUR

Exceptions

MISSING_PARAMETERS
RECURSIVITY_FOR_INPUT
RECURSIVITY_ON_DATABASE

Function Group

PIC01

TXBHW - Original Tax Base Amount in Local Currency   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2052 Date: 20240605 Time: 110600     sap01-206 ( 60 ms )