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

Checking date field

Former Member
0 Likes
925

Hi folks,

I need to validate date field in my internal table. I need to check two conditions here.

1. I need to check whether data feild, has all numeric values.

2. whether the data is in correct format. for eg, date with value 32.07.2008 should be shown as a error.

Do we need to perform string operations to do this, or is there any other better alternative to do so. Thanks in advance.

Shyam.

2 REPLIES 2
Read only

Former Member
0 Likes
597

Check this FM - DATE_CHECK_PLAUSIBILITY

Cheers ,

Kothand

Read only

Former Member
0 Likes
597

Hi,

1. for this check use this:

if <field> CN '0123456789'.

error.

endif.

2. For this check use this FM: RP_CHECK_DATE.

bye.