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: 

how to use BAPI Program for change workcenter in co02?

Former Member
0 Kudos

Hi Abapers.

Anybody please tell me how to change the workcenter in CO02 using BAPI Programe.

Please give me sample of this.

I will give urs reward of points.

Thanks

Regards,

S.Muthu.

7 REPLIES 7

Former Member
0 Kudos

Check with CO2H_PROD_ORDER_CHANGE.

It it doesn't work, you have to go for a BDC.

try with BAPI 'BAPI_ALM_ORDER_MAINTAIN'.

Reward points..

0 Kudos

Hi Murali Poli,

Thanks for urs reply.

I am using BAPI ALM_ORDER_MAINTAIN. But the Work center not updated. what is the problem?

can u tell me?

Thanks

S.Muthu.

0 Kudos

Hi,

BAPI ALM_ORDER_MAINTAIN is for PM order, you want to change PP order.

Regards

0 Kudos

Hi Shrikant,

How to I use BAPI_ALM_ORDER_MAINTAIN in PP Order?.

Can u please explain to me and give me sample.

Thanks

Regards,

S.Muthu.

0 Kudos

Hi,

In my opinion you should be using BAPI_PRODORD_CHANGE.

Regards

Former Member
0 Kudos

Hi,

Use BAPI_PRODORD_CHANGE

Regards

Former Member
0 Kudos

Hi,

Use the Function module CR_WORKCENTER_UPDATE

for workcenter change.

It is an update function module so you have to call it in update mode with a COMMIT statement to trigger it.

CALL FUNCTION CR_WORKCENTER_UPDATE IN UPDATE TASK

exporting...

imporing..

COMMIT WORK.

Note: only after the commit statement the function module will be called in update mode.

Regards,

Raj.