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

Order quantity not being created from BAPI_SALESORDER_CREATEFROMDAT2

Former Member
0 Likes
515

Hi Experts,

I am able to create the sales order but , quantity in the item is blank and ultimately no schedule line item is created even though i am passing the data into BAPI.

I tried some OSS notes and also tried some of the suggestions given in other threads but still not able to solve the issue.

Could sombody give an exact reason or solution for this proble.

Regards,

Praveen.

4 REPLIES 4
Read only

Former Member
0 Likes
486

HI,

Refer to this link....

Read only

Former Member
0 Likes
486

you can pass value X in below strctures

if not ORDER_ITEMS_IN-ITM_NUMBER is initial.

ORDER_ITEMS_INX-ITM_NUMBER = ITM_NUMBER.

endif.

like check your assing values and put the condtion.....

ORDER_ITEMS_INX = ORDER_ITEMS_IN1X

ORDER_SCHEDULES_INX = ORDER_SCHEDULES_IN1X

Read only

Former Member
0 Likes
486

Hi,

Pouplate all the field in ORDER_SCHEDULES_INX as 'X' for all the fields that you have pouplated in ORDER_SCHEDULES_IN, the same goes for ORDER_CONDITIONS_IN & ORDER_CONDITIONS_INX.

Regards,

Prashant.

Read only

Former Member
0 Likes
486

I have got my answer, thanks.