on 2020 Jul 14 6:06 PM
Hello,
For our US Employees we can enforce SAP S/4 so all employees must have a unique Social Security Number. We do this by using the PE03 feature SSNCK (Social Security Number Audit). We are looking for a way to enforce unique Social Insurance Numbers for our Canadian Employees. We want it to be a hard error like the US one.
Does anyone know how this can be done?
it is done here
CL_HRPA_INFOTYPE_0002_CA, With the new infotype framework, the SIN validation is performed on METHOD AUDIT_SIN
did you maintain the feature for canada as well?
https://launchpad.support.sap.com/#/notes/2332745 IT0002: Incorrect error message for duplicated SIN when using new infotype framework
CLASS: CL_HRPA_INFOTYPE_0002_CA
METHOD: AUDIT_SIN
TRY.
HAS_EXCEPTION = FALSE.
CALL METHOD cl_hrpa_feature=>get_value
EXPORTING
feature = 'SSNCK'
struc_content = pme04
IMPORTING
return_value = SSNCK.
CATCH CX_HRPA_VIOLATED_ASSERTION.
HAS_EXCEPTION = TRUE.
ENDTRY.
IF SSNCK = 'N' AND HAS_EXCEPTION = FALSE. EXIT. ENDIF.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Janice....check infotype configuration (specifically in the Decoupled Infotype Framework...DCIF.... section) and check that you have the use of DCIF turned "on" for that infotype. I forget the exact node but you essentially will configure if it is "on", "only in ESS/HCM Processes and Forms" or "off".
Thank-you Christopher! Turns out it was my mistake - I had set a different user as the external debugger :(. The breakpoint works now
User | Count |
---|---|
92 | |
8 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.