01-11-2007 9:51 AM
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 !!
01-11-2007 9:55 AM
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
01-11-2007 10:21 AM
01-11-2007 10:27 AM
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