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.
Add a comment