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

Using BAPI_SALESORDER_CHANGE

Former Member
0 Likes
505

Hi Forum,

What are the structures in BAPI_SALESORDER_CHANGE that I need to populate to change the requred delivery date for all the items

and to add a new item level pricing condition?

Example code will be more helpful.

Helpful suggestions will be rewarded.

Thanks,

Jaleel

3 REPLIES 3
Read only

shishupalreddy
Active Contributor
0 Likes
461

Hi ,

You can see the following structures to be populated for your requirement.

1.ORDER_HEADER_IN LIKE BAPISDH1 Order Header

2.set the flag nidicator for item level changes ;

using

INT_NUMBER_ASSIGNMENT LIKE BAPIFLAG-BAPIFLAG SPACE Internal Item Number Assignment

regards,

Read only

uwe_schieferstein
Active Contributor
0 Likes
461

Hello Mohammed

In ORDER_HEADER_IN (BAPISDHD1)there is field REQ_DATE_H (desired delivery date) which is probably not what you are looking for.

In ORDERS_ITEMS_IN (BAPISDITM) there is no appropriate date field.

In <b>ORDERS_SCHEDULES_IN</b> (BAPISCHDL) there is field <b>REQ_DATE</b> which is probably the one you are looking for.

Pricing conditions have to be provided using ORDERS_CONDITIONS_IN (BAPICOND). The link between item and condition is ITM_NUMBER.

Regards

Uwe

Read only

Former Member
0 Likes
461

I did try what ever ur saying in the above post but unfourtunately it didn't work.

Just need exactly what are the fields that i need to populate.

Can you please help with some sample code.

Thanks in advance,

Jaleel.