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

Search of BAPI for classification view

Hi All,

I use bapi_material_savedata for creating a material.

1) I need to update datas for the classification view.

Do we have any BAPI or any other way to update.

2) For updating datas in foreign trade import / export views in that BAPI, I'm unable to see a provision that would allow me to update them separately.

Please let me know.

Regards,

Sundaressh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2008 at 04:42 AM

    Check the below BAPI for material classification

    BAPI_OBJCL_GETDETAIL

    BAPI_OBJCL_CHANGE

    Also check the fun module:

    CLAF_CLASSIFICATION_OF_OBJECTS.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2008 at 04:42 AM

    Also chk this thread..

    i want recording of mm01.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2008 at 05:02 AM

    Hi Mahalakshmi,

    I know about these .

    CLAF_CLASSIFICATION_OF_OBJECTS - reads all classifications for an object

    BAPI_OBJCL_GETDETAIL - returns detailed information on a classification

    BAPI_OBJCL_CHANGE - changes an existing classification, or creates the classification if it does not yet exist.

    This one can be checked but if there are some more inputs on this, it would be helpful.

    Thanks for your reply.

    Regards,

    Sundaresh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2008 at 04:08 AM
    • create classification view for the new material

    CALL FUNCTION 'BAPI_OBJCL_CREATE'

    EXPORTING

    objectkeynew = matnr

    objecttablenew = 'MARA'

    classnumnew = class name

    classtypenew = '001' (mat class)

    TABLES

    allocvaluesnum = ialloc_num

    allocvalueschar = ialloc_char

    allocvaluescurr = ialloc_curr

    return = ireturn.

    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

    EXPORTING

    wait = 'X'.

    By default all the characteristics for the class appear and if you need to fill a particular value, fill ialloc_char

    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.