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

field validations

Former Member
0 Likes
389

in dialog programming how r we giving field validations.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
364

Hi Jaya,

Field Vaildations can be Done under the PAI event

Ex:

<u>for a group of fields :</u>

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.

<u>for a single field :</u>

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 .

Regards,

Usha

2 REPLIES 2
Read only

Former Member
0 Likes
364

If it is useful please give me reward points...

Read only

Former Member
0 Likes
365

Hi Jaya,

Field Vaildations can be Done under the PAI event

Ex:

<u>for a group of fields :</u>

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.

<u>for a single field :</u>

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 .

Regards,

Usha