Fonction SAP BAPI_HIERA_REMOVESUBCLASS - Class Hierarchy BAPI: Delete Assignment

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 X Change number
CLASSNUM BAPI1003_KEY-CLASSNUM C 18 Class
CLASSTYPE BAPI1003_KEY-CLASSTYPE C 3 Class type
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 parameter

Functionality
This BAPI deletes the assignment of a subordinate class to a superiorclass.
The superior class is specified in field 'ClassNum', the subordinateclass in field 'Subclass', and the class type in field 'ClassType'. Theclassification status is set in field 'Status'. You can also specify adate ('KeyDate'). The characteristics and their values are in table'HierarchyValues'.
If the BAPI runs successfully, table RETURN contains no messages oftype 'E'.

Notes
This BAPI only deletes the individual assignment - not the entiresubstructure of the class hierarchy.
This BAPI does not change the database. To do this, call BAPIBapiService.TransactionCommit afterward.

Description
Change number

Description
Class

Description
Class type

Description
Valid-from date

Default
System date

Description
Subordinate class

Description
Return parameters