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

Sales order BAPI

Sharadha1
Active Contributor
0 Likes
522

hi,

How to pass the condition for header ( say the shipping charges, header discount ) to the sales order

bapi, BAPI_SALESORDER_CREATEFROMDAT2.

i know that there is a table parameter ORDER_CONDITIONS_IN, but it takes at item level, how can i pass

a condition for header level.

Regards,

Sharadha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
497

Don't give the Item number there..

hi,

How to pass the condition for header ( say the shipping charges, header discount ) to the sales order

bapi, BAPI_SALESORDER_CREATEFROMDAT2.

i know that there is a table parameter ORDER_CONDITIONS_IN, but it takes at item level, how can i pass

a condition for header level.

Regards,

Sharadha

3 REPLIES 3
Read only

Former Member
0 Likes
498

Don't give the Item number there..

Read only

alpesh_saparia3
Active Contributor
0 Likes
497

For header level try passing item no (BAPICOND-ITM_NUMBER) as '00000'.

-Alpesh

Read only

Former Member
0 Likes
497

Isn't it possible to pass them via structure ORDER_HEADER_IN?