on 06-09-2008 7:04 AM
Hi ABAPers,
can u please tell the difference between set screen and leave to screen.
venkatesh
hi venkat
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 .
points if use ful
regards
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
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
Regards,
Priyanka.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
When SET SCREEN is encountered, the system temporarily ignores the value in The u2018next screenu2019 attribute and uses the value specified instead. The current screenu2019s PAI processing is not terminated.
Syntax:
SET screen <screen number>.
When LEAVE TO SCREEN is encountered, the system terminates the current screenu2019s PAI event and immediately goes to the PBO event of the screen specified in the statement.
Syntax:
Leave to screen <screen number>.
please reward me if helpful.
gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eeranti,
CALL SCREEN 200
If we write this statement in screen 100 ,it will goto screen 200 and it will retain screen 100(ie u can come back)
and moreover u have options using this
CALL SCREEN 200 STARTING AT x1 y1 ENDING AT x2 y2
SET SCREEN 200
with the above statement , it will goto screen 200 and screen 100 no more remains
And no additional options for this
LEAVE SCREEN
Leaves the current screen and processes the next screen.
LEAVE TO SCREEN 200
it leaves the current screen and processes screen 200.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.