Quantcast
Channel: SCN : Blog List - ABAP Development
Viewing all articles
Browse latest Browse all 943

Back to basics - Screen Flow and Screen Sequences .

$
0
0

I was a little bit hesitant if there is a place for such a post but then I decided lets the public be the Judge....


Some time we have to create a program that involve multiple screens .

 

Program Y_R_EITAN_TEST_08_21 (attached) is a sample program for demonstration purpose .

 

The program navigation is done by using statements "SET SCREEN dynnr","LEAVE TO SCREEN dynnr" and "LEAVE TO SCREEN 0"
(There are other options please refer to the online help) .

 

The program will start with "selection screen" and then screen 0100 will be called using "CALL SCREEN 100" .

 

The program use two levels of "screen sequence":
- 0100,0200,0300,0400 .
- 1100,1200,1300,1400 .


Screens 0100,0200,0300,0400 navigation is done using "SET SCREEN dynnr" and "LEAVE TO SCREEN dynnr" .


Screen 0100 will use "LEAVE TO SCREEN 0" to terminate the "screen sequence" and return to the "selection screen" .

 

From screens 0100,0200,0300,0400 we can (Using "Function code") "go down" to screen 1100 so "CALL SCREEN 1100" is used
(a new "screen sequence" is started )

 

Screens 1100,1200,1300,1400 navigation is done using "SET SCREEN dynnr" and "LEAVE TO SCREEN dynnr" .

 

From screens 1100,1200,1300,1400 we can "go back" to the caller of this "screen sequence" so "LEAVE TO SCREEN 0" is used .

 

Screens:

 

screenshot_01.png

 

screenshot_02.png

 

screenshot_03.png

 

screenshot_04.png

 

 

screenshot_05.png

screenshot_06.png

Happy navigation .

 

Due to the site limitation:

- Screens 0200,0300,0400 are a copy of screen 0100
- Screens 1200,1300,1400 are a copy of screen 1100

 

The user interface:

Title text
TITLE_COMMON&1
Status
STATUS_COMMONSTATUS_COMMON
Function CodeFunctional TypeFunction TextIcon NameIcon TextInfo TextFast Path
BACKEBack
CANCELECancel
EXITEExit
LWR_LEVELELower level screensICON_NEXT_HIERARCHY_LEVEL

Viewing all articles
Browse latest Browse all 943

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>