04-01-2014 5:39 AM
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.
04-01-2014 6:23 AM
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
04-01-2014 6:23 AM
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
04-01-2014 1:39 PM
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