Show TOC Start of Content Area

Function documentation Dictionary Attributes  Locate the document in its SAP Library structure

Use

You use this function to maintain dictionary attributes for screen elements in the Screen Painter.

Features

To change the dictionary attributes for screen elements, in the Layout Editor of the Screen Painter, choose the Attributes pushbutton. In the Dict. group box, you can set the following attributes:

Attribute

Description

Format

This attribute specifies a data type. The data type determines which system checks (valid date, numeric values) are performed upon input, and how the contents of the field are converted for input and output. This field is always blank for text fields. For more information about available data types, see Defining the Field Format.

From Dict.

The system sets this attribute if you have created the field by copying it from the ABAP Dictionary. If the name of an element contains a dash, the system offers you an option to automatically refer to the dictionary.

Modified

The system sets this attribute if it detects a difference between the ABAP Dictionary definition for the field and the way it is used on the screen. You set this attribute if you do not want to copy all field properties from the dictionary definition.

ConvExit

If you want the system to use a nonstandard conversion routine for the conversion of field input, specify a four-character code here. The following conversion routines are supported: CONVERSION_EXIT_<name>_INPUT

CONVERSION_EXIT_<name>_OUTPUT

For more information, see the SAPCNVE program documentation.

Search help

This attribute allows you assign search helps either statically or dynamically.

      Static assignment: Enter the name of the search help file name.

      Dynamic assignment: Enter a colon (:) followed by the name of a (program) field. The content of the field is interpreted at runtime as the name of a search help.

For more information about search helps, see the ABAP Dictionary documentation and the field help.

Reference Field

This reference field creates a link to another screen element. It is only relevant for the following screen elements:

      Screen elements with type CURR (currency amount) or QUAN (quantity)

      Tab title in a tabstrip control

      Pushbutton for dialog help

For more information, see the F1 help of the field.

Parameter ID

ID for the SET/GET parameter attribute (up to 20 characters long).

SET parameter

GET parameter

If you choose SET Parameter, in the corresponding Parameter ID the system stores the value entered by the user. If you choose GET Parameter, instead of the initial value, the system displays the value from the Parameter ID.

Foreign key check

This attribute specifies whether the system performs foreign key checks for the corresponding field. The definition of the field in the ABAP Dictionary defines the foreign key check.

Upper/Lower case

Set this attribute if your program handles the user input as a literal. If not, the input is converted to upper case.

Recommendation

We recommend that you use this attribute to improve readability.

With Sign

If you set this attribute, the first position in a field is reserved for an algebraic sign. If the attribute is not set and the field contains negative values, the program is terminated. This attribute is valid only for screen elements having a numeric data type: DEC,  INT2, INT4, D34D, D34S, D34R, D16D, D16S, D16R, QUAN or CURR.

If the screen element is linked to the ABAP Dictionary, the system takes the Sign attribute from the corresponding domain and it is not possible to change that setting in the Screen Painter.

For more information about screen element attributes, see General Attributes.

End of Content Area