11-29-2007 6:36 PM
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?
11-29-2007 7:07 PM
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.
11-29-2007 7:07 PM
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.
11-29-2007 7:24 PM
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