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: 

parameters in BAPI_OBJCL_CREATE

Former Member
0 Kudos

Hi friends!

I need to create some characteristics after the creation of functional locations.

But I don't know the mean of this import-parameters in BAPI_OBJCL_CREATE:

- OBJECTKEYNEW (the number of my functional location, previously created?? I dont't know certainly)

- OBJECTTABLENEW

- CLASNUMNEW

- CLASTYPENEW (this parameter is the key of TCLA table??)

Pleas, Can you help me??

Thank you in advance !!

3 REPLIES 3

Former Member
0 Kudos

Hello,

Try like this:

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.

If useful reward...

Vasanth

0 Kudos

This link may help you.

Former Member
0 Kudos

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

Sreeni