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

Problem in Sales Order BAPI

ak_upadhyay
Contributor
0 Likes
770

Hi All,

M using BAPI_SALESORDER_CREATEFROMDAT2 to create Sales Order. It is working fine & creating sales order. But i also want to give Order Quantity in sales order. What is the field name for that in BAPI.

Thanks in advance....

Regards

AK

5 REPLIES 5
Read only

Former Member
0 Likes
743

Hi,

You have to pass the data in the following structure.

ORDER_SCHEDULES_IN - Fields are ITM_NUMBER and

REQ_QTY.

Hope that helps.

Regards,

Surinder

Read only

Former Member
0 Likes
743

in table tab:

BAPISDITM-TARGET_QTY

Read only

Former Member
0 Likes
743

Hi,

ORDER_ITEMS_IN-TARGET_QTY is the field for order quantity.along with this field you have to pass unit of measurment also in the field ORDER_ITEMS_INTARGET_QU.

Thanks,

radha.

Read only

Former Member
0 Likes
743

Hi AK....

You can assign the quantity in table

ORDER_SCHEDULES_IN

you have to assign REQ_QTY in this table for material....

....

Here For each material you have to assign Item no....

like

010

020

with ref to that material gets identified in this table.......

eg.

in item table

item 010 and material no is 0000000001

and if u wan to give quantity then

ORDER_SCHEDULES_IN

itme no 010 and REQ_QTY = 10

...

That will solve your problem

Regards

Ashish

Read only

Former Member
0 Likes
743

table :- bapisditem

target_qty

schedule lines

table:- bapischdl

lt_schedules_in-req_qty