Skip to Content
author's profile photo Former Member
Former Member

parameters in BAPI_OBJCL_CREATE

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 !!

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 09: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.