Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Screens

Former Member
0 Likes
593

Distinguish between callscreen and setscreen?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
566

Hi,

Pls Go through following-

1.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 .

2.

In the case of setscreen the entire processing of the current screen takes place and then the system branches out to next screen.if u want to branch out to the next screen without processing the current screen then LEAVE SCREEN should be used along with SET SCREEN.

CALL SCREEN is usually used for pop up screens.

Regards,

Sujit

6 REPLIES 6
Read only

Former Member
0 Likes
566

Hi ,

Refer the following link ,

Read only

Former Member
0 Likes
567

Hi,

Pls Go through following-

1.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 .

2.

In the case of setscreen the entire processing of the current screen takes place and then the system branches out to next screen.if u want to branch out to the next screen without processing the current screen then LEAVE SCREEN should be used along with SET SCREEN.

CALL SCREEN is usually used for pop up screens.

Regards,

Sujit

Read only

Former Member
0 Likes
566

hi,

We use CALL SCREEN when we have to display another screen after the processing of the Current screen or during the processing the current screen. It is mostly used for pop-up windows. Control comes to main screen while processing the CALL SCREEn statement.

SET SCREEN is used when we want to move from one screen to another without actually coming back to the previous screen.

This will help.

Sumit Agarwal

Read only

Former Member
0 Likes
566

Hi,

CALL SCREEN will terminates current screen process and control goes to next screen

and conrol can comes back by using

statement LEAVE TO SCREEN 100.

but in SET SCREEN control goes to next called screen after complete the process of current screen control nver comes back to calling screen

LEAVE SCREEN terminates the process of the current screen.

Thanks

Vikranth

Read only

Former Member
0 Likes
566

Hi Sravanthi,

There are many posts regarding your question in the SDN.

SET SCREEN:

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.

CALL SCREEN:

With CALL SCREEN , the current chain is suspended , and a next screen 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 .

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
566

Thanks

sravanthi