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: 

User Exit EXIT_SAPLCOIH_009 (ZXWOCU07)

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

paul_meehan
Advisor
Advisor
0 Kudos

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

3 REPLIES 3

former_member188685
Active Contributor
0 Kudos

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.

0 Kudos

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!

paul_meehan
Advisor
Advisor
0 Kudos

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