Skip to Content
0
Jul 13, 2007 at 03:04 PM

Hiding Subscreen

125 Views

HI Guys ,

i have a screen in which i have 2 subscreens.i am trying to hide the subscreen based on a condition. i am using the following code

MODULE subcreen_hide OUTPUT.

if p9667-subty = '1'.

CALL SUBSCREEN SUBSCREEN_9667 INCLUDING 'MP966700' '0200'.

endif.

if p9667-subty = '2'.

CALL SUBSCREEN SUBSCREEN_TC9667 INCLUDING 'MP966700' '0100'.

endif.

ENDMODULE. " subcreen_hide OUTPUT

i get the following error.

"." or "ID ... FIELD ..." expexted after "SUBSCREEN".

Can some one tell me what syntax should i be using to hide the subscreen