Application Development 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: 

FM to change routing ?

Former Member
0 Kudos

Dear All,

We want to update 3 fields in routing - SORTL, PREIS, PEINH.

Is there any BAPI to update fields in Routing ?

We found some FMs in old threads on SDN and tried to use them :-

- CP_CL_S_OPR_CHANGE

- BAPI_ALM_ORDER_MAINTAIN

But, we are still not able to change the field values. Any suggestions?

Or should we use BDC recording instead ?

Regards,

Ashish

3 REPLIES 3

aabhas_wilmar
Contributor
0 Kudos

BAPI_ALM_ORDER_MAINTAIN should work just make sure you go through it's documentation and pass all the required values, specially METHODS and keys in it.

Don't forget to COMMIT using BAPI_TRANSACTIION_COMMIT after you call this BAPI to update the changes.

Thanks,

Aabhas.

0 Kudos

Hi Aabhas,

Can you pls. give an example code.... somehow I am not able to figure out as to how do we use FM BAPI_ALM_ORDER_MAINTAIN

Also, I have specified BAPI_TRANSACTION_COMMIT.

Regards,

Ashish

Former Member
0 Kudos

BAPI_ALM_ORDER_MAINTAIN works only for operation and not routing