2008 Feb 07 6:08 PM
Hi
Can anybody explain me what is a screen? and what is the difference between screens, selection screens , and lists.?
Hi
Can anybody explain me what is a screen? and what is the difference between screens, selection screens , and lists.?
2008 Feb 07 6:41 PM
Hi,
Will try to explain it in simple words rather than the some links.
Selection Screen : A special screen where the input parameters are entered.
Screen : Any screen that is intended for an input and / or output.
List : A special type of output only screen where the output is written using WRITE statements.
Regards,
Nirmal
2008 Feb 07 6:41 PM
Screen is a frame when referring to module pool program where you can insert the other sub-screens,table control or input parameters..
selection screen is in regards to the executable program, where the user need to interfere with our program and give his inputs.
[lists|http://help.sap.com/saphelp_nw70/helpdata/en/32/f26f73d81e11d1a26f0000e8a5a614/content.htm]
2008 Feb 07 6:48 PM
2008 Feb 07 6:52 PM
Screen Fields
Screen fields are fields in the working memory of a screen. Their contents are passed to identically-named fields in the ABAP program in the PAI event, and filled from the same identically-named fields in the program in the PBO event. The screen fields are linked with the input/output fields on the screen and with the OK field. Input and output fields must have a unique name (element attribute Name). This assigns them to a screen field with the same name, which allows you to work with their values in an ABAP program.
Check this link for more details.
http://help.sap.com/saphelp_nw70/helpdata/en/06/4c78e72c2f11d295500000e8353423/content.htm
Input/Output Fields
Input/output fields can be either conventional fields in which the user can enter values using the keyboard or by selecting from a value list, or checkboxes or radio buttons, for which the mouse is required. All input/output fields have a name linking them to a screen field. The data type of the screen field determines the input format. For example, you cannot enter letters in a numeric field. The screen recognizes when you try to enter invalid values. Radio buttons and checkboxes always have the data type CHAR and length 1. A selected radio button or checkbox has the value X, when empty, both have the value SPACE.
The ABAP program must contain identically-named data objects that correspond to the screen fields, otherwise data may be lost (see also Linking ABAP Strings to Screen Fields). The ABAP data types that correspond to the screen data types are listed in a table in the Data Types in the ABAP Dictionary section. The ABAP fields for checkboxes and radio buttons must have type C and length 1.
After the PBO event has been processed, the screen fields are filled with the values from the ABAP fields. Before or during the PAI event, the values from the screen fields are written to the ABAP fields. Note that only one radio button within a group can be selected. If more than one of the fields contains the value X, the program terminates.
Check this link for more details. and sample code
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba9e735c111d1829f0000e829fbfe/content.htm
2008 Feb 07 7:04 PM
hit SE51> create a screen > layout . On the side you will have options to drag and drop the various screen elements, which will make up a screen. of those elements you will have input/output , pushbotton, radio button etc...
2008 Feb 07 6:48 PM
Hi,
List ---used to display data involved minimum amount of programming. i.e. program's o/p.
Selection Screens -- allow users to enter data or selection criteria required by the program for it to continue.
Selection screens are generated by using Key words 'Parameters, select-options'.
Screens -- These screens are created by the users, which include input and output fields, etc. They also have their own processing logic (PBO, PAI).
These screens can also be call in the program by 'Call screen <screen number>'.
Regards,
Ahmed.
2008 Feb 07 6:51 PM
Screens
Screens are the most general type of user dialog that you can use in ABAP programs. You do not define them in ABAP programs, but instead in the Screen Painter. A screen consists of the input/output mask and the screen flow logic. Screens can be defined for every executable program, every module pool and every function group.
The screens in a single ABAP program can be combined to form screen sequences. You can call single screens or screen sequences either using a transaction code from outside the ABAP program, or by using the CALL SCREEN statement in the corresponding ABAP program. When you call a screen or screen sequence, the screen flow logic takes control of the ABAP program execution. You can define screen sequences dynamically by setting the next screen attribute for a screen dynamically in the ABAP program.
A screen consists of the input/output mask and the flow logic. The screen flow logic is divided into the Process Before Output (PBO) event, which is processed before the screen is displayed, and the Process After Input (PAI) event, which is processed after a user action on the screen.
Check this link for more details.
http://help.sap.com/saphelp_nw70/helpdata/en/e4/2adbef449911d1949c0000e8353423/content.htm
Selection screens
Selection screens are special screens that are defined with the help of ABAP statements. As programmers do not have access to the flow logic of selection screens, they cannot define dialog modules for selection screens. The ABAP runtime environment fully controls the processing flow of selection screens. To allow programmers to modify the selection screen before it is called (PBO) and react to user actions on the selection screen (PAI), the ABAP runtime environment generates a number of special selection screen events before the selection screen is displayed and after the user has executed actions on the selection screen. Programmers can define event blocks in the program to react to these events.
The basic form of the selection screen events is the AT SELECTION-SCREEN event. This event occurs after the runtime environment has passed all input data from the selection screen to the ABAP program. The other selection screen events allow programmers to modify the selection screen before it is sent and specifically check user input.
Selection screen events occur both during standard and user-defined selection screen processing. The SY-DYNNR system field contains the number of the active selection screen and helps you to determine which selection screen is currently being processed in the event blocks.
Check this link for more details.
http://help.sap.com/saphelp_nw04/helpdata/en/56/1eb6c705ad11d2952f0000e8353423/content.htm
Lists
The ABAP List Viewer standardizes and simplifies the use of lists and reports in the R/3 System. The ABAP List Viewer provides you with standardized interfaces and list formats for all lists and reports.
Check this link for more details.
http://help.sap.com/saphelp_470/helpdata/en/cf/6fe971414f11d182b10000e829fbfe/content.htm a
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |