Ansicht
Dokumentation
BAPI_OBJCL_GETCLASSES - Classification BAPI: Classes for Object
CPI1466 during Backup Vendor Master (General Section)This documentation is copyright by SAP AG.
Functionality
This BAPI returns all classes where an object (for example, material) is classified. Usually, this is exactly one class, but multiple classification means that there can be several.
The object is determined by the object key (ObjectKey) and the object table (ObjectTable). You must also enter the class type (ClassType).
Table AllocList contains the classes (ClassNum), class type (ClassType), classification status (Status), and object information. Error messages are logged in table RETURN. If the BAPI runs successfully, table RETURN contains no messages of type 'E'.
Example
Notes
The object key (ObjectKey) must be transferred in internal format, before conversion exits. For example, a material number must be transferred with leading zeros.
This BAPI can only be used with objects that are not classes.
Further information
Parameters
ALLOCLISTALLOCVALUESCHAR
ALLOCVALUESCURR
ALLOCVALUESNUM
CLASSTYPE_IMP
KEYDATE
LANGUAGE
OBJECTKEY_IMP
OBJECTKEY_IMP_LONG
OBJECTTABLE_IMP
READ_VALUATIONS
RETURN
Exceptions
Function Group
CLBPAFill RESBD Structure from EBP Component Structure CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 2281 Date: 20240523 Time: 173745 sap01-206 ( 32 ms )