Functionality This BAPI changes an existing classification, or creates it if it doesnot yet exist. The classification is defined by the required inputfields object key (ObjectKey) and class name (AllocDetail-ClassNum).The default value for optional parameter date (KeyDate) is the systemdate, on which all classifications are valid. The new characteristicsand/or values are transferred in different tables according to type.Numeric, time, and date characteristics are transferred in tableAllocValuesNumNew, character and boolean characteristics in tableAllocValuesCharNew, and currency characteristics in tableAllocValuesCurrNew. Notes The object key ObjctKey can be generated from key fields object, objecttable, and class type, by using BAPIObjectClassification.GetKeyOfObject If these fields are defined and only one function module is to be used,used function module BAPI_OBJCL_CHANGE. This skips conversion to theobject key. Results If the BAPI runs successfully, table Return contains no messages oftype 'E'. Assignment was created:,,,,Message CL735 Assignment was changed:,,,,Message CL737 Assignment was not changed:,,,,Message CL738 Caution This BAPI only changes the parameters of an existing assignment (orcreates a whole new assignment), but does not delete the assignment toa class and replace it with an assignment to another class. If you wantto reassign an object, the old assignments must be read byBAPI_OBJCL_GETCLASSES and deleted by BAPI_OBJCL_DELETE. Then you createthe new assignments with BAPI_OBJCL_CREATE. The information transferred in this BAPI replaces the old informationcompletely. An empty field means "delete entry", not "no change". This BAPI does not change the database. To do this, BAPIBapiService.TransactionCommit must be called afterward. You can only use this BAPI for objects that are not classes. This BAPI only processes assigned values for classification, not forconfiguration. Description This is the classification status (standard 1,2,3, or 5) of theprocessed class-to-object assignment. If the BAPI has not transferredthe update due to an error, this parameter is empty. Description Change number Description Class number Description Date Default System date Description If the object to be classified does not yet have any assignedcharacteristic values, NO default values are set for new values. Description Standard class indicator Description Classification status Description Assigned values of type CHAR and BOOLEAN Description Assigned values of type CURR Description Assigned values of type NUM, DATE, and TIME Description Return parameters |