cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI / FM to Change Control Key In Production Order Operation

Former Member
0 Kudos

Hi Exports,

Does someone have experence on change production order operation control key via BAPI or FM?

I have tried BAPI as below but no answer.

BAPI_ALM_ORDER_MAINTAIN
IBAPI_ORDER_OPERATION_CHANGE
CO_SE_PRODORD_CHANGE
CO2O_ACT_SET_CONTROL_KEY

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

ameya_beri
Active Contributor
0 Kudos

Hello Daen,

I had this same query a few days back and after a lot of search I came to the conclusion that best way to do this is manually via CO02 if volume of changes is less or by BDC method in a LSMW or a custom program using BDC recording of CO02.

Hope this helps .

Best Regards,

Ameya Beri

Former Member

Hi Ameya Beri,

The same result I got...

Actully I created YBAPI_ALM_ORDER_MAINTAIN by reomving some coding, and it works.

But I still prefer to BDC.

I wonder if someone has better solution.

Thanks for your answer.

Answers (1)

Answers (1)

emmanuel_miret
Explorer
0 Kudos

Hi,

It's been quite a while that you have done the YBAPI_ALM_ORDER_MAINTAIN but I wonder if you could share the code?

Because I have the same requirement.

Thanks and best regards,

Emmanuel.