Difference between call Screen and Set Screen ?
Answers were Sorted based on User's Feedback
Answer / mouse
http://sap.ittoolbox.com/groups/technical-functional/sap-
dev/difference-between-setleave-and-call-screen-commands-
395437
&
also see this.
With SET SCREEN the current screen simply specifies the next
screen in the chain , control branches to this next screen
as sonn as th e current screen has been processed .Return
from next screen to current screen is not automatic .It does
not interrupt processing of the current screen.If we want to
branch to the next screen without finishing the current one
,use LEAVE SCREEN.
- With CALL SCREEN , the current (calling) chain is
suspended , and a next screen (screen chain) is called .The
called can then return to the suspended chain with the
statement LEAVE SCREEN TO SCREEN 0 .Sometime we might want
to let an user call a pop up screen from the main
application screen to let him enter secondary
information.After they have completed their enteries, the
users should be able to close the popup and return directly
to the place where they left off in the main screen.Here
comes CALL SCREEN into picture .This statement lets us
insert such a sequence intp the current one.
If we use SET SCREEN without LEAVE SCREEN, the program
finishes processing for the current screen before branching
to <scr no>. If we use LEAVE SCREEN without a SET SCREEN
before it, the current screen process will be terminated and
branch directly to the screen specified as the default next-
screen in the screen attributes.
-
LEAVE TO SCREEN 0 or (SET SCREEN 0 and LEAVE SCREEN) .When u
return to the suspended chain execution resumes with the
statement directly following the original CALL SCREEN
statement.The original sequence of screens in a transaction
(that is , without having stacked any additional call
modes),you returned from the transaction altogether.
LEAVE TO SCREEN 0 or (SET SCREEN 0 and LEAVE SCREEN) .When u
return to the suspended chain execution resumes with the
statement directly following the original CALL SCREEN
statement.The original sequence of screens in a transaction
(that is , without having stacked any additional call
modes),you returned from the transaction altogether
Thankyou.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / narasareddy
call screen:
-------------
when ever call screen exicutes then the cursour immediatly
goes to pariculer screen and process it and then comes back
to the program.
set screen:
--------------
When ever set screen exicutes the cursour goes to the
particuler screen after complte the processing of the
current program.
Is This Answer Correct ? | 2 Yes | 0 No |
What are different tools to report data in SAP? What all have you used ?
hi, can you please tell me some thing about "Worksoft Certify Tool"? how it is useful??
what is the use of label
What does the smartforms development class start with ?
You want to display top 5 records from an internal table. How will you do that?
Why the Main window Triggers first in Scripts ?
I want to create an additional windows in standard sapscript Like 'Medruck'.Is it possible? If yes, then how?
What are Change Pointers ?
How many main windows are allowed for sapscript?
8. You can link a search help to a parameter using syntax
/: ADDRESS PARAGRAPH AS /: NAME &LFA1-NAME1& . . /: COUNTRY &LFA1-LAND1& THIS CODE IS NOT GENERATING ANY ADDRESS ON THE OUTPUT FORM. IF I NEED TO PRINT THE ADDRESS THEN,WAT CODE I NEED TO FOLLOW?EVEN I READ THE DATA THRU THE SELECT STATEMENT IN MY OWN DRIVER PROGRAM!
Can we write code(Select Queries) in SAP-Script? Not to use Driver Program.