‎2007 Dec 15 9:45 AM
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
‎2007 Dec 15 10:15 AM
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.
‎2007 Dec 15 10:05 AM
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.
‎2007 Dec 15 10:15 AM
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.