11-14-2007 5:33 PM
I need to do a modification to the work order program. Tcode IW31
When creating a work order with reference to an old work order, we want to clear any PRT data that might be in any item of the operations tab of the old order.
My question is: Which method should I use to get this change done?
I looked at the badi = IWO1_ORDER_BADI --> the method REFERENCE_ORDER_CHK, but I do not think this is the right one.
Please help me...
Thanks.
Regards,
Francisco.
Message was edited by:
Francisco Alonzo
11-14-2007 5:38 PM
To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas
11-14-2007 5:38 PM
To check for the suitable badi, Go to transaction SE24 and give the Object type as CL_EXITHANDLER and click on Display button.
Double click on method GET_INSTANCE, put a break point on case statement.
Execute your transaction and look for variable EXIT_NAME at your scenario then It will show the available badi's.
Reward if it is useful.
Thanks,
Srinivas
11-14-2007 8:45 PM
Srinivas, thanks for your response.
However, I know that the badi that it is called by the transaction is IWO1_ORDER_BADI. But I am having problem trying to figure out which method from that badi is the one that could prevent copying the PRT Data from an existing order.
If anyone has worked with this before, please help me....
Thanks
Francisco