Ansicht
Dokumentation

BAPI_HIERA_CHECKSUBCLASSALLOC - Class Hierarchy BAPI: Check Existence

BAPI_HIERA_CHECKSUBCLASSALLOC - Class Hierarchy BAPI: Check Existence

RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This BAPI checks whether a subordinate class is assigned directly to a superior class in a class hierarchy.

The superior class is transferred in field 'ClassNum', the subordinate class in field 'Subclass', and the class type in field 'ClassType'. You can also specify a date (KeyDate).

The 'DirectAllocationOnly' indicator determines whether the BAPI checks for direct assignments of the subordinate class to the instance, or for indirect assignments, too. The default setting is a search for a direct assignment.

If one or both of the classes transferred does not exist or is not valid on the date specified, table 'Return' contains a message of type 'E'.
If the subordinate class is not assigned to the superior class (but both exist), or the assignment is not valid, table 'Return' also contains a message of type 'E'.
If the assignment exists and is valid, table 'Return' contains a message of type 'S'.

Example

Notes

Further information





Parameters

CLASSNUM
CLASSTYPE
DIRECT_ALLOCATION_ONLY
KEYDATE
RETURN
SUBCLASS

Exceptions

Function Group

CLBPH

General Data in Customer Master   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 1830 Date: 20240523 Time: 104627     sap01-206 ( 32 ms )