05-28-2008 5:23 AM
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.
05-28-2008 5:27 AM
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..
05-28-2008 6:29 AM
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.
05-28-2008 6:39 AM
Hi,
BAPI ALM_ORDER_MAINTAIN is for PM order, you want to change PP order.
Regards
05-28-2008 6:42 AM
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.
05-28-2008 7:08 AM
05-28-2008 5:53 AM
05-28-2008 7:13 AM
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.