‎2008 Feb 25 1:32 PM
‎2008 Feb 25 1:33 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.
The technical attributes length and data type of a screen field are defined by the element attributes DefLg and Format. For the data type, you can select one of the predefined data types in the ABAP Dictionary. These are converted appropriately when data is passed between the screen and the ABAP program. When you use fields from the ABAP Dictionary or the ABAP program, the name, length, and data type of the screen fields are defined automatically (see Linking ABAP Strings to Screen Fields). Otherwise, you have to set these attributes in Screen Painter. Note that you need to specify the name of the OK field for each screen, so that a corresponding screen field can be defined. This makes it possible to use more than one OK field in an ABAP program.
Display elements such as text fields or boxes are not linked to screen fields, and do not necessarily need a unique field name. When you create input and output fields by using fields from the ABAP Dictionary, the system usually also creates field labels using texts from the Dictionary. The default name for these text fields is the same name as the screen fields of the input and output fields.
As well as the screen fields defined in Screen Painter, screens also recognize the same predefined system fields as the ABAP program. In contrast to the ABAP program, however, the system fields are administered in the structure SYST, and not in SY. You therefore need to address them using syst-name.
Suppose we have the following program extract:
DATA: text(10) TYPE c,
number TYPE i.
CALL SCREEN 100.
http://help.sap.com/saphelp_nw70/helpdata/en/06/4c78e72c2f11d295500000e8353423/content.htm
‎2008 Feb 25 1:33 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.
The technical attributes length and data type of a screen field are defined by the element attributes DefLg and Format. For the data type, you can select one of the predefined data types in the ABAP Dictionary. These are converted appropriately when data is passed between the screen and the ABAP program. When you use fields from the ABAP Dictionary or the ABAP program, the name, length, and data type of the screen fields are defined automatically (see Linking ABAP Strings to Screen Fields). Otherwise, you have to set these attributes in Screen Painter. Note that you need to specify the name of the OK field for each screen, so that a corresponding screen field can be defined. This makes it possible to use more than one OK field in an ABAP program.
Display elements such as text fields or boxes are not linked to screen fields, and do not necessarily need a unique field name. When you create input and output fields by using fields from the ABAP Dictionary, the system usually also creates field labels using texts from the Dictionary. The default name for these text fields is the same name as the screen fields of the input and output fields.
As well as the screen fields defined in Screen Painter, screens also recognize the same predefined system fields as the ABAP program. In contrast to the ABAP program, however, the system fields are administered in the structure SYST, and not in SY. You therefore need to address them using syst-name.
Suppose we have the following program extract:
DATA: text(10) TYPE c,
number TYPE i.
CALL SCREEN 100.
http://help.sap.com/saphelp_nw70/helpdata/en/06/4c78e72c2f11d295500000e8353423/content.htm
‎2008 Feb 25 1:35 PM
Hi,
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.
[http://help.sap.com/saphelp_nw70/helpdata/en/06/4c78e72c2f11d295500000e8353423/content.htm]
Regards
Sudheer
‎2008 Feb 25 1:36 PM
check...
[help.sap.com/saphelp_nw04/helpdata/en/06/4c78e72c2f11d295500000e8353423/content.htm]