‎2008 Aug 18 6:38 PM
hi,
i have a screen with a subscreen that has a tabstrip with 5 tabs.
during one of the operations i need to disable all the fields in all the screen areas of that screen inclduing the subscreen tabstrip fields.
its not working, in my PBO module i write as follows:
LOOP AT SCREEN.
SCREEN-INPUT = '0'.
MODIFY SCREEN.
ENDLOOP.
only the fields of the current screen are disabled. the fields in the tabstrip in subscreen are still in input mode !! what to do ?
thks
‎2008 Aug 18 7:16 PM
you need to do the same logic for the subscreen also.
if you placed the above logic for main screen . place the same logic for subscreens also.
main screen logic
process before output.
call subscreen sub including sy-repid '0200'.
module status_0100.
*
process after input.
module user_command_0100.subscreen logic.
process before output.
* MODULE STATUS_0200.
module status_0100.
*
process after input.
* MODULE USER_COMMAND_0200.module code.
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
loop at screen.
screen-input = 0.
modify screen.
endloop.
endmodule. " STATUS_0100 OUTPUTthis work for me, you try it from your end.
‎2008 Aug 18 6:40 PM
also i get a message in the status bar at runtime that says
"Protected tab titles are not supported...".
‎2008 Aug 18 7:16 PM
you need to do the same logic for the subscreen also.
if you placed the above logic for main screen . place the same logic for subscreens also.
main screen logic
process before output.
call subscreen sub including sy-repid '0200'.
module status_0100.
*
process after input.
module user_command_0100.subscreen logic.
process before output.
* MODULE STATUS_0200.
module status_0100.
*
process after input.
* MODULE USER_COMMAND_0200.module code.
module status_0100 output.
* SET PF-STATUS 'xxxxxxxx'.
* SET TITLEBAR 'xxx'.
loop at screen.
screen-input = 0.
modify screen.
endloop.
endmodule. " STATUS_0100 OUTPUTthis work for me, you try it from your end.
‎2008 Aug 18 9:13 PM
hey , I am able to disable the fields...but still getting the message ""Protected tab titles are not supported..." when i select every tab in the tabstrip ..any idea why is it displayed ??
thks
‎2008 Aug 18 9:18 PM
You are getting the message because you are trying the make the TABs as input disable field.
Don't change anything for tab control. Like:
loop at screen.
if screen-name NE 'TABCONTROL'
screen-input = 0.
modify screen.
endif.
endloop.
Regards,
Naimesh Patel
‎2008 Aug 18 9:35 PM
‎2008 Aug 18 8:28 PM
hiii
try using
LOOP AT SCREEN.
SCREEN-ENABLE = 0.
MODIFY SCREEN.
ENDLOOP.
regards
twinkal