Application Development and Automation 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: 
Read only

BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
320

I'M TRYING TO CREATE A SALES ORDER USING BAPI_SALESORDER_CREATEFROMDAT2. sales_header_in is being processed successfully but the order_item_in is giving errors. I'v supplied the material number an quantity only for order_item_in and its returning the following error:

SALES UNIT IS NOT DEFINED FOR ITEM 000.

Is there any additional information that i need to supply to order_item_in

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
292

Looks like you are not passing the Unit OF Mesasurement for the material number you are passing. Its like you are saying you want 10 Qty, but you are not saying its 10 PCS, 10 POUNDS etc

Regards,

Ravi

Note - Please makr all the helpful answers

1 REPLY 1
Read only

Former Member
0 Likes
293

Looks like you are not passing the Unit OF Mesasurement for the material number you are passing. Its like you are saying you want 10 Qty, but you are not saying its 10 PCS, 10 POUNDS etc

Regards,

Ravi

Note - Please makr all the helpful answers