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

Former Member
0 Likes
254

HAI GURUS,

i have one doubt in bapi in bapi_objcl_create,by using this i was upload the data of characterstic values, my doubt is in feature in change charactestic values its getting error, how can i use this probl.plz send urgent

1 REPLY 1
Read only

Former Member
0 Likes
236

BAPI_OBJCL_CREATE is the required FM.

OBJECTKEY_IMP = Your Matnr of MM01

OBJECTTABLE_IMP = 'MARA'

CLASSTYPE_IMP = Class type you want to create for the material under consideration

READ_VALUATIONS = There is no such parameter in the above mentioned FM

And,

CALL FUNCTION 'BAPI_OBJCL_CREATE'

EXPORTING

objectkeynew = P_L_T_CLASS-objnum

objecttablenew = 'MARA'

classnumnew = P_L_T_CLASS-class

classtypenew = P_L_T_CLASS-ctype

STATUS = '1'

STANDARDCLASS =

CHANGENUMBER =

KEYDATE = SY-DATUM

TABLES

allocvaluesnum = l_it_num

allocvalueschar = l_it_mkml

allocvalueschar = l_t_class

allocvaluescurr = l_it_curr

return = l_t_ret2.

Reward if found helpful.