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

Update Bapi for Vendor Master Characterstic & Classification

Former Member
0 Likes
1,598

Dear All,

I am using the Bapi "BAPI_OBJCL_CREATE" While updating, in return parameter i got the following the message "Assignment exists and is valid" and is not update as well...

Thanks in advance..

Dear All,

I am using the Bapi "BAPI_OBJCL_CREATE" While updating, in return parameter i got the following the message "Assignment exists and is valid" and is not update as well...

Thanks in advance..

2 REPLIES 2
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
916

Using bapi BAPI_OBJCL_EXISTENCECHECK check if the assignment exists already. If exists then use BAPI_OBJCl_CHANGE instead of BAPI_OBJCl_CREATE

Read only

Former Member
0 Likes
916

Hai

check the standard include "LCLBPAU14" this is using the following F.M

call function 'BAPI_OBJCL_CREATE'

exporting

objectkeynew = l_object

objecttablenew = l_objecttable

classnumnew = classnum_new

classtypenew = l_classtype

status = status

standardclass = standardclass

changenumber = changenumber

keydate = keydate

no_default_values = no_default_values

importing

classif_status = classif_status

tables

allocvaluesnum = allocvaluesnum

allocvalueschar = allocvalueschar

allocvaluescurr = allocvaluescurr

return = return.

Regards

Manjunath M