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 / FM for IO change

Former Member
0 Likes
1,047

Guys,

I need a Bapi / Fm for Internal order change which one should i use

1. custom FM with KAUF_ORDER_CHANGE_BAPIFIELDS and KAUF_ORDER_SAVE to change and then save the order

OR

2. ALE_INTERNALORDER_DB_CHANGE

or there is any other option

Ravi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
808

This message was moderated.

Guys,

I need a Bapi / Fm for Internal order change which one should i use

1. custom FM with KAUF_ORDER_CHANGE_BAPIFIELDS and KAUF_ORDER_SAVE to change and then save the order

OR

2. ALE_INTERNALORDER_DB_CHANGE

or there is any other option

Ravi

3 REPLIES 3
Read only

Former Member
0 Likes
808

ALE_INTERNALORDER_DB_CHANGE is directly updating SAP tables. so it should not be used unless all the data validation is handled before calling this FM. Or data is coming from another system where it is already validated.

Read only

tarangini_katta
Active Contributor
0 Likes
808

Hi,

You can use ALE_INTERNALORDER_DB_CHANGE

Thanks,

Read only

Former Member
0 Likes
809

This message was moderated.