cancel
Showing results for 
Search instead for 
Did you mean: 

Validate DateOfBirth Field

Former Member
0 Kudos

Hi Expert,

I want to enhance create personal info screen , by add validation on date of birth field , so please how can do it ???

thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

raghu_c
Active Contributor
0 Kudos

What kind of validations are to be incorporated?

Raghu

Former Member
0 Kudos

Thanks Raghu

I want to check if age less than 18 , error message appear.

raghu_c
Active Contributor
0 Kudos

You can incorporate the logic in user exit PBAS0001.

Raghu

Former Member
0 Kudos

Hi Ghadeer,

There is no any standard funtionality to check this validation in IT0002.

What you have to do is, write a user exite for IT0002 when you enter date of birth in IT0002 system should check the age for the current system date. if its less than that 18 then error msg should appear in status bar without allowing you to save.

ABAP er has to do this accroning to your logic.

Thanks,

Dinesh.

Former Member
0 Kudos

Thanks Alot Raghu but you mean program exit not user exit , right?

Former Member
0 Kudos

Thanks Shan

you mean I couldnt do it in spro ??

so I have to implement enhancement using program exit?

raghu_c
Active Contributor
0 Kudos

It is user exit and not program exit. Please use Tcode SMOD to access the same

Raghu

Answers (0)