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: 

PA0002-PERID (Personnel ID Number) eg.SSN Validation

Former Member
0 Kudos
1,574

Hi folks

I have a requirement to validate the field PA0002-PERID in my custom Module Pool Program.

It should validate like the standard infotype program.

I got the standard validation subroutine, which validates when the field is SSN for US.

But for other countries I did not find any solution. Any suggestions?

Regards.

vim.

1 ACCEPTED SOLUTION

Former Member
0 Kudos
503

Fo Canadian SINs, use FM HR_CA_VERIFY_SI_NUMBER

Rob

5 REPLIES 5

Former Member
0 Kudos
504

Fo Canadian SINs, use FM HR_CA_VERIFY_SI_NUMBER

Rob

0 Kudos
503

Thanks Rob

Actually I ws specifically looking for Netherlands and UK

0 Kudos
503

That's the sort of thing it would have been good to know at the beginning.

Maybe

HR_GB_PERID_CHECK

HR_GB_PERID_EXIST_CHECK

Would help.

Rob

Edited by: Rob Burbank on Nov 11, 2010 11:55 AM

0 Kudos
503

>

> Thanks Rob

>

> Actually I ws specifically looking for Netherlands and UK

Please check the FM 'TAX_NUMBER_CHECK', I believe this can be used for both NL and U.S and for GB you can check the subroutine 'GB_NINUM_Validation' in the include program MP00024G.

-Rajesh.

Former Member
0 Kudos
503

Additionally, you can go to the Class Builder, enter CL_HRPA_INFOTYPE_0002* and press F4.

You will get a list of classes. Each class has a method CHECK_PERID.

You will probably find what you need there.

Rob