Paramètre | Reférence | Type | Long. | Valeur par déf. | Facultatif | Description |
---|---|---|---|---|---|---|
CLASSNUM | BAPI1003_KEY-CLASSNUM | C | 18 | Class | ||
CLASSTYPE | BAPI1003_KEY-CLASSTYPE | C | 3 | Class Type | ||
DIRECT_ALLOCATION_ONLY | BAPI1003_KEY-FLAG | C | 1 | 'X' | X | Only Check Direct Assignments |
KEYDATE | BAPI1003_KEY-KEYDATE | D | 8 | SY-DATUM | X | Valid-From Date |
SUBCLASS | BAPI1003_KEY-CLASSNUM | C | 18 | Subordinate Class |
Paramètre | Reférence | Long. | Facultatif | Description |
---|---|---|---|---|
RETURN | BAPIRET2 | 548 | Return Parameters |
Functionality This BAPI checks whether a subordinate class is assigned directly to asuperior class in a class hierarchy. The superior class is transferred in field 'ClassNum', the subordinateclass in field 'Subclass', and the class type in field 'ClassType'. Youcan also specify a date (KeyDate). The 'DirectAllocationOnly' indicator determines whether the BAPI checksfor direct assignments of the subordinate class to the instance, or forindirect assignments, too. The default setting is a search for a directassignment. If one or both of the classes transferred does not exist or is notvalid on the date specified, table 'Return' contains a message of type'E'. If the subordinate class is not assigned to the superior class (butboth exist), or the assignment is not valid, table 'Return' alsocontains a message of type 'E'. If the assignment exists and is valid, table 'Return' contains amessage of type 'S'. Description Description Description Default Description Default Description Description |