SAP Testing Screen Flow - SAP Testing

What is the Screen flow logic in SAP testing?

Screen flow logic in SAP Testing can be compared to an ABAP program that holds the processing blocks. It contains the procedural part of the screen. It is created in screen painter and is similar to an ABAP editor. Screen flow logic involves no external data declaration and each processing block is defined with a prefix ‘PROCESS’. For example,

  • PROCESS AFTER INPUT
  • PROCESS BEFORE OUTPUT
  • PROCESS ON HELP-REQUEST
  • PROCESS ON VALUE-REQUEST

Each screen flow logic should contain appropriate keywords like PROCESS AFTER INPUT and PROCESS BEFORE OUTPUT.

The following are the keywords which can be used with the event blocks:

S.No. Screen keyword & Description
1
MODULE
Calls a dialog module in an ABAP program
2
FIELD
Specifies the point at which the contents of a screen field should be transported
3
ON
Used in conjuction with FIELD
4
VALUES
Used in conjunction with FIELD
5
CHAIN
Starts a processing chain.
6
ENDCHAIN
Ends a processing chain.
7
CALL
Calls a subscreen.
8
LOOP
Starts processing a screen table.
9
ENDLOOP
Ends processing a screen table.

How to create the Screen Flow

Screen Flow Logic is created in the Flow Logic Editor of the Screen Painter. Double click the name of a screen and it will display the flow logic of the screen from the Repository Browser. The Flow Logic Editor of the Screen Painter will open up and you edit the screen flow logic. You can use any of the available ABAP source code editors to define the flow logic.

The following keywords can be used to create the screen flow logic −

S.No. Keyword and description
1
CALL
Calls a subscreen.
2
CHAIN
Starts a processing chain.
3
ENDCHAIN
Ends a processing chain.
4
ENDLOOP
Ends loop processing.
5
FIELD
Refers to a field. Can be combined with the keywords MODULE and SELECT.
6
LOOP
Starts loop processing.
7
MODIFY
Modifies a table.
8
MODULE
Identifies a processing module.
9
ON
Used with FIELD assignments.
10
PROCESS
Defines a processing event.
11
SELECT
Checks an entry in a table.

What are testing screens?

This procedure is used to test the appearance of a screen as it will appear at runtime. If you have already programmed the flow logic, you can choose whether to simulate the screen with or without it.

Procedure to perform Screen test

  • Select Screen and then, Test. Now you can see a dialog box for the runtime simulation.
  • Change the window coordinates, if required.
  • Define the scope of simulation.
  • Select 'Complete Flow Logic' to include the flow logic in the simulation.
  • Click Continue to see the screen simulation.

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

SAP Testing Topics