Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

screen painter attributes

Former Member
0 Likes
2,637

can u give me the function of screen painter attributes and tools which r used in layout editor??????

2 REPLIES 2
Read only

Former Member
0 Likes
1,259

Hi,

Setting Attributes Dynamically

Each field on a screen has a set of attributes that are fixed when you define the screen in the Screen Painter. During runtime of the ABAP program, a part of the attributes of every screen field can be read to a predefined structure screen using specific statements. These attributes can then modify the screen fields.

Check this sap link for sample program.Setting Attributes Dynamically

http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbab6f35c111d1829f0000e829fbfe/content.htm

Also check this link for information abt screen attributes.

http://help.sap.com/saphelp_nw04/helpdata/en/17/5bf1b22ba211d2954f0000e8353423/frameset.htm

Read only

Former Member
0 Likes
1,259

Hi Srinivas

· Screen number

A four-digit number, unique within the ABAP program, that identifies the screen within the program. If your program contains selection screens, remember that the screen numbers of selection screens and Screen Painter screens both use the same namespace. For example, if you have a program with a standard selection screen, you may not create any further screens with the number 1000. Lists, on the other hand, have their own namespace.

· Screen type

- A normal screen occupies a whole GUI window.

- Modal dialog boxes only cover a part of a GUI window. Their interface elements are also arranged differently. - Selection screens are generated automatically from the definition in the ABAP program. They cannot be generated using the Screen Painter.

- A subscreen is a screen that you can display in a subscreen area on a different screen in the same program.

· Next screen

Statically-defined screen number, specifying the next screen in the sequence. By entering zero or leaving the field blank, you define the current screen as the last in the chain. If the next screen is the same as the current screen, the screen will keep on calling itself. You can override the statically-defined next screen in the ABAP program.

· Cursor position

Static definition of the screen element on which the cursor is positioned when the screen is displayed. By default, the cursor appears on the first input field. You can overwrite the static cursor position dynamically in your ABAP program.

· Screen group

Four-character ID, placed in the system field sy-dyngr while the screen is being processed. This allows you to assign several screens to a common screen group. You can use this, for example, to modify all of the screens in the group in a uniform way. Screen groups are stored in table TFAWT.

· Holding data

If the user calls the screen more than once during a terminal session, he or she can retain changed data as default values by choosing System

Layout Editor

We use layout editor to place screen element in screen layout. There are two modes in editing layout: Graphical and alphanumeric. Both modes offer the same functions but use different interfaces. In graphical mode, you use a drag and drop interface similar to a drawing tool. In alphanumeric mode, you use your keyboard and menus. It is easier to work in graphical mode, to toggle beetween this mode, in SE51 go to: Utilities->Settings: in screen painter tabs check graphical layout editor.

Layout editor contains these tools:

i. Element pallete

On left screen you will find list of element (textbox, label, checkbox) you can use. Drag and drog element to put it on screen.

ii. Name & Text

Aftef put element on screen, write its name and text (in textbox, text will set default value).

iii. Attributes Window

Double click the element to display its attributes, or select it then click :Goto->Secondary window->attributes. For example, in textbox element, we can set its length, read only mode, in this window.

iv. Dictionary/program field.

If we want to create a field refer to field in data dictionay or field already declared in program, use this menu to create text field with the same type compared to its referral.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Jan 11, 2008 6:04 PM