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

date field validation

Former Member
0 Likes
732

Hai Experts,

    In ME21N, developed a screen exit at header level in that screen put date i/o field.Now my problem is to verify date i/o field based on the field under the 'Additional Data'  in that have the 'Validity End' I/o Field.

How i validate it.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
675

Hi,

in your screen exit only there is a  exit function module associate with that . in that PAI you can write ur validation.

in screen 0101 process after input(PAI) you can write ur validation.

Regards

suri

2 REPLIES 2
Read only

Former Member
0 Likes
676

Hi,

in your screen exit only there is a  exit function module associate with that . in that PAI you can write ur validation.

in screen 0101 process after input(PAI) you can write ur validation.

Regards

suri

Read only

former_member196651
Contributor
0 Likes
675

Hi Krishna,

The problem you are facing is that you are not getting the Validity End Date under the Additional Data Tab in the PAI of the exit or the BAdI where you want to write the check. Please use the following piece of code to obtain the data of the Additional Data Tab and then perform your check.

FIELD-SYMBOLS : <fs_mepo1229> TYPE mepo1229.

ASSIGN ('(SAPLMEGUI)MEPO1229') TO <fs_mepo1229>.

After this assignment  <fs_mepo1229>-kdatb will give you Validity Start date and  <fs_mepo1229>-kdate will give you Validity End Date.

Thanks & Regards,

Abijith