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

how to validate time stamp after passing it to a function module

Former Member
0 Likes
839

Hi experts,

I am creating a report wherein I need a time stamp in the selection screen. I am not sure how to perform validation for this time stamp . I have used the select option s_time in which the table's timestamp value is present. In order to perform validation, I have passed s_time into the FM IB_CONVERT_FROM_TIMESTAMP. I got the output as date and time. In order to throw an error message to the user, what do I have to do with the date and time?

Hi experts,

I am creating a report wherein I need a time stamp in the selection screen. I am not sure how to perform validation for this time stamp . I have used the select option s_time in which the table's timestamp value is present. In order to perform validation, I have passed s_time into the FM IB_CONVERT_FROM_TIMESTAMP. I got the output as date and time. In order to throw an error message to the user, what do I have to do with the date and time?

2 REPLIES 2
Read only

former_member189779
Active Contributor
0 Likes
652

This message was moderated.

Read only

former_member222709
Contributor
0 Likes
652

Hi Neena,

Use the standard FM 'DATE_CHECK_PLAUSIBILITY' and 'TIME_CHECK_PLAUSIBILITY'.

These are self explanatory & easy to use FM. You can also refer to the FM Documentation or use the Where Used List to check it's application.

Regards,

Pranav.