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 fields

Former Member
0 Likes
458

1.What is element list in screen painter?Why we give 'ok' in that?

2.what are other screen field conditions like screen-input,screen-name..etc?I want to know all valid screen fields validations?

Thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
436

Hi Gopi,

Why we give 'ok' in that?

ok_code acts just as a temporary variable that stores the value of sy-ucomm.

When user interacts with the screen elements, the function code that you have assigned is filled in the sy-ucomm field which is turn gets reflected in OK_CODE.

want to know all valid screen fields validations?

Field Vaildations can be Done under the PAI event

Ex:

for a group of fields :

CHAIN.

FIELD: ZVXX-event_type,

w_rb1,

w_rb2,

w_rb3.

*Module for validating the IDoc section

MODULE mo_validate_route_1000 ON CHAIN-INPUT.

for a single field :

FIELD vbak-vbeln.

*Check/Populate the field Sales order.

MODULE mo_order_selection.

ENDCHAIN.

Note :

The Field names shld be the same as the name in the Screen.

and the validation against a table can be carried out in the MODULE .

Kindly Reward Points If You Found The Reply Usefull,

Cheers,

Chaitanya.

2 REPLIES 2
Read only

Former Member
0 Likes
436

The Screen table has following fields. Each of these fields are used to manipulate the screen appearance related to that particular field.

NAME

GROUP1

GROUP2

GROUP3

GROUP4

REQUIRED

INPUT

OUTPUT

INTENSIFIED

INVISIBLE

LENGTH

ACTIVE

DISPLAY_3D

VALUE_HELP

REQUEST

VALUES_IN_COMBO

COLOR

Reward points if useful.

Read only

Former Member
0 Likes
437

Hi Gopi,

Why we give 'ok' in that?

ok_code acts just as a temporary variable that stores the value of sy-ucomm.

When user interacts with the screen elements, the function code that you have assigned is filled in the sy-ucomm field which is turn gets reflected in OK_CODE.

want to know all valid screen fields validations?

Field Vaildations can be Done under the PAI event

Ex:

for a group of fields :

CHAIN.

FIELD: ZVXX-event_type,

w_rb1,

w_rb2,

w_rb3.

*Module for validating the IDoc section

MODULE mo_validate_route_1000 ON CHAIN-INPUT.

for a single field :

FIELD vbak-vbeln.

*Check/Populate the field Sales order.

MODULE mo_order_selection.

ENDCHAIN.

Note :

The Field names shld be the same as the name in the Screen.

and the validation against a table can be carried out in the MODULE .

Kindly Reward Points If You Found The Reply Usefull,

Cheers,

Chaitanya.