Application Development 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: 

BAPI_OBJCL_CREATE_KEY problem

Former Member
0 Kudos

I have a requirement to load characteristic value of Equipment master.

The function modules tried are as follows which did not serve the purpose. It does not update the characteristic values.

1.BAPI_OBJCL_CREATE_KEY

on execution of this bapi with transaction commit. it gives error message "E CL 721 return message assignement exist and is valid".

The characteristic values are not getting updated in the table AUSP(Where the values must have been updated) . So the updating of Equipement classification characteristic values via txn IE02 is failing.

Please can anybody help on any function modules or alternate solutions that will help to update the classification char. values of the materials.

Also,for info please let know of the tables that maybe related for this updation other than AUSP.

Any input at the earliest would be of great help.

Thanks in advance.

PRAVIn

2 REPLIES 2

Former Member
0 Kudos

Pravin,

I am not sure how you are getting the KEY value for this funciton. Did you try using BAPI_OBJCL_CREATE, here you don't have to deal with the key?

However, looking at the error message it sounds like that equipment has already got the same values assigned.

Regards,

Ravi

Note : Please mark the helpful answers

ferry_lianto
Active Contributor
0 Kudos

Hi Pravin,

You can use standard SAP program <b>RCCLBI03</b> to do this. It has good documentation.

Also you can take a look this BAPI/FM.

<b>BAPI_OBJCL_CREATE

BAPI_OBJCL_CHANGE

CLVF_INSERT_AUSP

CLVF_UPDATE_AUSP

CLVF_VB_INSERT_CLASSIFICATION</b>

Hope this will help.

Regards,

Ferry Lianto

Please reward points if helpful.