Skip to Content

customer material number in BAPI_SALESORDER_CREATEFROMDAT2

Dear gurus,

we create SD orders by BAPI_SALESORDER_CREATEFROMDAT2.

This works fine, but when we try to create an item by just giving a customer material number (cust_mat35) instead of our material number (material), we get the error message "E No item category available (Table T184 ZAPO TEXT )".

The error message is correct, there is no entry for text items in that table, BUT we are not trying to create a text item!

In VA01, when we enter the same customer material number, SAP automatically determines our material, finds the correct item category group (NORM) in material master and creates an item with item category TAN, which is correct.

Any idea why this automatic determination does not work when using the BAPI?

Cheers

Alicia

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Aug 24, 2015 at 12:44 PM

    Dear gurus,

    please ignore my last post! We forgot to set cust_mat35 in bapisditmxto 'X'. 😔


    Problem solved.


    Cheers anyway

    Alicia

    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.