Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_OBJCL_GET_KEY_OF_OBJECT - Class type 001 requires additional objects

Former Member
0 Likes
1,517

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
811

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

1 REPLY 1
Read only

Former Member
0 Likes
812

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