2010 Nov 11 3:16 PM
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.
2010 Nov 11 3:39 PM
2010 Nov 11 3:39 PM
2010 Nov 11 4:51 PM
Thanks Rob
Actually I ws specifically looking for Netherlands and UK
2010 Nov 11 4:54 PM
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
2010 Nov 11 5:08 PM
>
> 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.
2010 Nov 11 5:26 PM
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