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 IWO10018 for order types

brent_morrison
Explorer
0 Kudos

I'm currently using enhancement IWO10018 to display a new tab on a maintenance order but I only want it displayed for certain work order types. Does anyone know how this can be done?

1 ACCEPTED SOLUTION

Former Member
0 Kudos
  • Disable the new tab

IF screen-name = 'BTN_XXXX' AND sap_caufvd_imp-auart = 'XXXX'.

screen-input = 0.

screen-output = 1.

ELSE.

*Enable the new tab

screen-input = 0.

screen-required = 0.

ENDIF.

MODIFY SCREEN.

Here auart will be the order type where you don't need the tab and BTN_XXXX will be the screen name when you click on the tab.

2 REPLIES 2

Former Member
0 Kudos
  • Disable the new tab

IF screen-name = 'BTN_XXXX' AND sap_caufvd_imp-auart = 'XXXX'.

screen-input = 0.

screen-output = 1.

ELSE.

*Enable the new tab

screen-input = 0.

screen-required = 0.

ENDIF.

MODIFY SCREEN.

Here auart will be the order type where you don't need the tab and BTN_XXXX will be the screen name when you click on the tab.

Former Member
0 Kudos

Brent,

Once you activate EXIT_SAPLCOIH_018 & EXIT_SAPLCOIH_019 and assign to a project, enhancement tab automatically comes. You can not restrict that based on Order Type.

Regards,

Satish