2009 Oct 28 2:17 PM
Hi ,
REGUH-LAUFD field has to be validate on selection screen parameter, for this filed no check table available in REGUH.
Finally date should be validate through any table as per my concern.
Could please anyone tell me that which table i have to go for validate the above field.
Regards,
sud
2009 Oct 28 4:27 PM
how about something like:
select-options: so_date for syst-datum.
....
at selection-screen.
if not so_date[] is initial.
select * from reguh into table ireguh where laufd in so_date.
if lines( ireguh ) eq 0.
message e016(gr) with
'Payment Date or date range not found.'.
endif.
else.
message e016(gr) with
'Payment Run date entry is required.'.
endif.
2009 Oct 28 2:23 PM
>
> Hi ,
>
> REGUH-LAUFD field has to be validate on selection screen parameter, for this filed no check table available in REGUH.
>
> Finally date should be validate through any table as per my concern.
>
> Could please anyone tell me that which table i have to go for validate the above field.
>
>
> Regards,
> sud
REGUH-LAUFD is the date that the payment run has created. There is no such foreign key check for this date. If you want, you create your own table and do your checks but not advisable.
What is your requirement anyway?
2009 Oct 28 2:49 PM
Maybe table REGUV can serve as check table, in conjunction with the payment run ID. Should be easy to code a check yourself.
Thomas
2009 Oct 28 4:27 PM
how about something like:
select-options: so_date for syst-datum.
....
at selection-screen.
if not so_date[] is initial.
select * from reguh into table ireguh where laufd in so_date.
if lines( ireguh ) eq 0.
message e016(gr) with
'Payment Date or date range not found.'.
endif.
else.
message e016(gr) with
'Payment Run date entry is required.'.
endif.
2009 Oct 28 5:51 PM
1st thing: date questions are not very welcomed as per the forum rules. please search.
2nd thing: date comes with its own validations.. like format and all.. there is no check table.. it validates itself..
if you definitely want to put any check for a date field.. then in the at selection-screen output verify the date with some table which you want...