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: 

customer material number in BAPI_SALESORDER_CREATEFROMDAT2

former_member504446
Participant
0 Kudos

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

1 ACCEPTED SOLUTION

former_member504446
Participant
0 Kudos

Dear gurus,

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


Problem solved.


Cheers anyway

Alicia

1 REPLY 1

former_member504446
Participant
0 Kudos

Dear gurus,

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


Problem solved.


Cheers anyway

Alicia