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: 

A FM or BAPI to update the status of a Production Order

Former Member
0 Kudos

Hello, does anybody know if there is an interface FM or BAPI to update the status of a production order. Specifically I want change the status of PP order to LKD (locked). I want to do it programmatically from an external system.

Thank you

Ernesto

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

I believe you can use the FM I_CHANGE_STATUS to update the status..

where JEST-OBJNR = AUFK-OBJNR

Thanks,

Naren

6 REPLIES 6

Former Member
0 Kudos

Try BAPI_BUS2054_SET_STATUS

Thanks,

Santosh

Former Member
0 Kudos

Hi,

I believe you can use the FM I_CHANGE_STATUS to update the status..

where JEST-OBJNR = AUFK-OBJNR

Thanks,

Naren

0 Kudos

Hi Narendran!, thank you for your help! this solve my problem.

jest-objnr = OR<aufk-objnr>.

/Ernesto

0 Kudos

Hi Naren,

Thanks for the answer.

Could you please let me know where can we pass the status in the FM. if you've a sample code that can be shared, it would be much helpful. i belive passing the object number to this FM I_CHANGE_STATUS wouldn't be sufficient. i tried the same, but no success. i need to change the status at this particular point as shown below.

Regards

Sri Ram

ferry_lianto
Active Contributor
0 Kudos

Hi,

Please check this BAPI BAPI_PRODORD_SETUSERSTATUS.

Regards,

Ferry Lianto

0 Kudos

Thank you, I don't have this FM on my system R/3 4.7

/Ernesto