cancel
Showing results for 
Search instead for 
Did you mean: 

HCM Process and Forms -Error as "Date of Birth-Invalid date format"

praveen_reddy2
Active Participant
0 Kudos

Hi All,

I would require your support on this below issue.


While we checking the Z-Hire process after entering the default values in the process.


We are getting the error in IT 0002 field Date of birth error as - "Date of Birth-Invalid date format".

Attached screenshot for reference.

Please do let me know for any queries.

Thank You

Warm Regards

Praveen Reddy

+91 9618 672 671.

Accepted Solutions (1)

Accepted Solutions (1)

praveen_reddy2
Active Participant
0 Kudos

All,

Issue is resolved with the help from SAP reply.


'Date of birth – Invalid date of birth' error is due to the customizing of field P0002-GBDAT to read-only on table V_T588MFPROPC.


I changed this value to be able to edit this field and error wasn´t displayed.


As field wasn´t editable, GDBAT field was reset and error was raised on method CHECK_BIRTH_DATE of class CL_HRPA_INFOTYPE_0002.

Please change the customizing on table V_T588MFPROPC to edit the field in order to solve this error.



Hope it will useful for others.

Answers (1)

Answers (1)

former_member182426
Active Contributor
0 Kudos

it's looks like your user id date format is DDMMYYYY for your user profile.

Just try to change that date 20150101 to 01012015 and check it.

praveen_reddy2
Active Participant
0 Kudos

Hi Shankar,

Thank you very much!

For user id date format is maintained as MM/DD/YYYY in the system.

I have tried couple ways and though it is not working.

Please share your thoughts!

Warm Regards

Praveen Reddy

+91 9618 672 671

former_member182426
Active Contributor
0 Kudos

Did you check the DOB for this selected pernr in PA30.

can place the screen shot of that error and warning logs it's not clear.

praveen_reddy2
Active Participant
0 Kudos

HI Shankar,

I checked the same in Pa30 and also PA40 tried to hire new EE no error when we use this Tcodes.

I am attaching screenshot for your reference.

Former Member
0 Kudos

Check whether any custom BAdI Implementation ( HRPAD00INFTYBL ) is included to validate IT0002 data.

praveen_reddy2
Active Participant
0 Kudos

No!

we haven't implemented any Badi.

We have debugged the process and identifed that thiis error is coming form Mesagae class - HRASR00_MSGMAP and No. 11.

Former Member
0 Kudos

Hi Praveen,

Hope you are doing well

I think you are getting error Invalid Date of Birth...its not related to Format of the field. It is because you have entered date of birth from year 2015 which is not logical.

Try entering the birth year as 1980 or something from the past, it should work.

Hope it should work then .

Thanks,

Avinash.

praveen_reddy2
Active Participant
0 Kudos

Hello Buddy,

Thanks for your reply. I am fine and doing good.


Hope you are working great!

Yeah we have tried with different dates but nevertheless error is same.

Let me know for any inputs.

Thank you

Warm Regards

ChrisSolomon
Active Contributor
0 Kudos

What is your "date of birth" form field mapped to in config (ie. how is it "typed")?

Also, what is your form interface? (Adobe or FPM) I only ask because if Adobe, you will have to handle date formatting there too (not fun!) in your binding/field properties.

conor_memery
Explorer
0 Kudos

Hi Praveen,

Please check as Christopher described.

If applicable in your circumstance maybe try the following to maintain the date format as DD/MM/YYYY :

For the form element patterns. Click on the 'Edit' tab and add pattern as : date{DD/MM/YYYY}.

The 'data' tab add the pattern :  date{YYYYMMDD}

The 'display' tab add the pattern : date{DD/MM/YYYY}

The 'validate' tab add the pattern :  date{DD/MM/YYYY}

Activate the form and try again. The user should now be able to also enter the data manually as dd/mm/yyyy.

Best Regards,

Conor

praveen_reddy2
Active Participant
0 Kudos

Hi Christopher,

Date of birth field is mapped to I0002_GBDAT to the config field.

Portal we used to key in the date as "07/01/1986" format "MM/DD/YYYY".

From SAP, we used to key in the date as "19860701" format as "YYYYMMDD".

We are using Adobe form, i have check the date of the birth filed properties and seen in the binding tab, data format as " Date" in the Adobeform.

Thanks

Regards

Praveen

praveen_reddy2
Active Participant
0 Kudos

Hi Conor,

Thank You!

In my scenario, Business is following the MM/DD/YYYY format.

For date of birth field properties in the form patterns:


'display' tab  : date{MM/DD/YYYY}


'Edit' tab' - date{MM/DD/YYYY}

'validate' tab  :  date{YYYY-MM-DD}

'Data' tab : date{YYYYMMDD}

Please let me know if any changes are required.

Regards

Praveen