03-11-2009 7:25 AM
i would like to call subscreen, codes as follow:
call subscreen subarea including sy-repid '101'.
but get syntax error 'include block not specified, not defined spelt incorrectly'. i have dropped subscreen area in main screen, please guide me the other step.
03-11-2009 7:30 AM
HI,
Declare the varibale for '100' and pass to the call subscreen statement
NUMBER1 = '0101'.
CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,
Edited by: Avinash Kodarapu on Mar 11, 2009 1:03 PM
03-11-2009 7:33 AM
I did it using this syntax:
CALL SUBSCREEN subscreen_insert INCLUDING sy-cprog '0013'.
where subscreen_insert is the name of container in layout for subscreen and 13 is the number of the subscreen itself.
regards
Gabriele
03-11-2009 7:33 AM
hi,
Declara a variable in top include
Data dynnr type sy-dynnr value '101'.
in your flow logic.
PROCESS BEFORE OUTPUT.
call subscreen subarea including sy-repid dynnr "---> replace '101' with dynnr
PROCESS AFTER INPUT.
call subscreen subarea .
Hope it solves ur issue.
Thanks & Regards
Always Learner
03-11-2009 7:34 AM
03-11-2009 7:54 AM
how to define subscreen area, in layout i drag subscreen area to screen, is it enough? would i define the area in code?
03-11-2009 8:02 AM
You need to put a name for subscreen area in the layout and same should be used in flow logic (PBO & PAI).
03-11-2009 7:58 AM
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN subscreen INCLUDING sy-repid '0101'.
PROCESS AFTER INPUT.
CALL SUBSCREEN subscreen.
06-04-2009 7:22 AM
hi i am getting same error ,
I follow your suggestion Still the error coming
Coding
PROCESS BEFORE OUTPUT.
MODULE STATUS_0100.
call SUBSCREEN ts INCLUDING sy-repid screeno.
PROCESS AFTER INPUT.
MODULE USER_COMMAND_0100.
call SUBSCREEN ts.
In report
CONTROLS:ts type TABSTRIP.
data screeno.
Data dynnr type sy-dynnr value '101'.
screeno = dynnr.
call screen 100.
how to get subscreen area and how to solve this problem??
Thanks
Dharma