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: 

IW31 - Modify Basic Finish Date

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

peter_atkin
Active Contributor
0 Kudos

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

2 REPLIES 2

peter_atkin
Active Contributor
0 Kudos

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

0 Kudos

I've looked for more info about this function module.

It works as I want.

Many thanks!

Sergi.