‎2007 Sep 20 3:02 PM
ABAP'ers
I am trying to use BAPI's to complete class assignments (mimicking CL20N).
I am using BAPI_OBJCL_GET_KEY_OF_OBJECT to get the internal object key that is needed for BAPI_OBJCL_CHANGE_KEY, which I am using to complete the classification.
When I execute BAPI_OBJCL_GET_KEY_OF_OBJECT for class type 002 I get the internal key needed for the second BAPI.
When I execute the same BAPI for class type 001 I get the following error:
"CL669 - Class type 001 requires additional objects"
I have seen other posts on the forums on how to do this for class type 023, but I need to complete this for class type 001.
What are the additional objects needed?
Can I use this feature if a material HAS NOT been extended to a plant or storage location?
I have looked in table INOB and there are no entys for this class type - is this normal? Is there something that I am missing?
I have already tried internal and external values, concatenating with the client number and plant number but still get the same error.
‎2007 Sep 23 10:42 AM
Hey Chris,
You cannot use the BAPI for class type 001, This BAPI can only be used with class types which have multiple objects enabled.
For changing the characteristics of material try using BAPI_OBJCL_CHANGE.
Here the key of the object will be your material number
‎2007 Sep 23 10:42 AM
Hey Chris,
You cannot use the BAPI for class type 001, This BAPI can only be used with class types which have multiple objects enabled.
For changing the characteristics of material try using BAPI_OBJCL_CHANGE.
Here the key of the object will be your material number