11-27-2008 4:55 PM
Hi Gurus,
I'm looking for a badi or user exit that allows me to modify the Basic Finish Date in the IW31/IW32 transactions just before saving.
I've tried the following ways without any succes:
- IWO10009 - Function Module --> EXIT_SAPLCOIH_009
This user exit is treggered before saving (as I would like to) but I'm not able to modify any field. It is used to active the automatic order release when saving the order.
- IWO10012 - Function Module --> EXIT_SAPLCOIH_012
It allows me to modify the CAUFVD-GLUZP, CAUFVD-GLTRP fields, but this user exits is triggered when the priority field is modified.
- BAdi WORKORDER_UPDATE --> I've tried to implement this BAdi but all parameters in the methods AT_SAVE, BEFORE_UPDATE are type = IMPORTING so SAP does not allow to modify them. I've tried it using field symbols but I thing that I've done something wrong.
Is there another way to do it?
Thanks and regards,
Sergi.
P.D.: I've looked for it in the forum threads but I could not find any valid answer.
11-27-2008 6:21 PM
You can use function module CO_IH_SET_HEADER in user-exit IWO10009 (at save).
Search for more details using "CO_IH_SET_HEADER"
Be very careful when using this technique as it caould cause data inconsistencies.
PeteA
11-27-2008 6:21 PM
You can use function module CO_IH_SET_HEADER in user-exit IWO10009 (at save).
Search for more details using "CO_IH_SET_HEADER"
Be very careful when using this technique as it caould cause data inconsistencies.
PeteA
11-28-2008 11:39 AM
I've looked for more info about this function module.
It works as I want.
Many thanks!
Sergi.