09-28-2008 9:11 AM
Folks,
I've learned that EXIT_SAPLCOIH_009 (ZXWOCU07) should trigger on the "SAVE" event in IW31/32 but I just couldn't get it to work.
I've added a simple code(perform xxxx) in ZXWOCU07, activated, set the breakpoint and then saved a few changes via IW32 but it just wouldn't stop on the perform statement.
Any idea?
BTW, I'm on 4.6C.
Thank You.
09-29-2008 8:50 AM
Hi,
The exit should always be called when the order is saved.
Debug just before the exit is called at this point in program LCOIHF05:
*** 3. Userexit zum Zeitpunkt sichern
CLEAR sy-subrc.
CLEAR xrc.
CLEAR l_release_order.
CALL CUSTOMER-FUNCTION '009'
......
If the call to CUSTOMER-FUNCTION '009' does not happen then exit is not recognised as active.
Try activating enhancement IWO10009 directly in transaction SMOD.
-Paul
09-28-2008 9:43 AM
Did you create the Project in CMOD,included the enhancement component and activated the project.check it once.
i am thinking that you added the code directly with out creating the project ....etc in CMOD.
09-28-2008 4:08 PM
Vijay,
I've already used IWO10018(EXIT_SAPLCOIH_018/19) to add an enhancement screen and that piece is working fine. My intention is that when the user saves the order, I need to check to make sure all the required fields are filled.
I've tried to debug but it's going thru too many processes...
Thanks for replying!
09-29-2008 8:50 AM
Hi,
The exit should always be called when the order is saved.
Debug just before the exit is called at this point in program LCOIHF05:
*** 3. Userexit zum Zeitpunkt sichern
CLEAR sy-subrc.
CLEAR xrc.
CLEAR l_release_order.
CALL CUSTOMER-FUNCTION '009'
......
If the call to CUSTOMER-FUNCTION '009' does not happen then exit is not recognised as active.
Try activating enhancement IWO10009 directly in transaction SMOD.
-Paul