Profit center substitution in IW31/ IW32.
I want to delete the entries if any for Profit center and responsible cost center in Additional data tab and replace the profit center with the entries in Cost center from Location tab in iw31/iw32. Just need to know which userexit is helpful. Can i use IWO10005 for the same.
Wolfgang Valtin replied
the IWO10001 is only triggered for sub-orders.
In IW010009 you'll get the workarea Order header via CAUFVD_IMP as an import parameter.
So you could define a local workarea let's say ZZ_CAUFVD.
DATA: ZZ_CAUFVD type CAUFVD.
ZZ_CAUFVD = CAUFVD_IMP.
... then you can do your changes to the workarea ZZ_CAUFVD
... when it's done,
PERFORM CAUFV_UPD(SAPLCOBH) USING ZZ_CAUFVD.
Edited by: Wolfgang Valtin on May 13, 2009 3:59 PM