Hierarchy
⤷ PY-NPO (Application Component) Non Profit Organizations
⤷ PUNC (Package) Customizing: Non Profit Organizations (NPO)
IMG Activity
ID | PAY_XX_PA_02 | BAdI: Set Validations for Personnel ID Number |
Transaction Code | S_L7D_24002309 | (empty) |
Created on | 20091023 | |
Customizing Attributes | PAY_XX_PA_02 | BAdI: Set Validations for Personnel ID Number |
Customizing Activity | PAY_XX_PA_02 | BAdI: Set Validations for Personnel ID Number |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRPADUN_0002 |
Title
Add-In: Set Personnel ID Validations
Use
This Business Add-In is used in the Personnel Administration (PY-NPO) component.
You can use this BAdI to set validations for Personnel Identification Number as per your requirements.
The default implementation for this BAdI performs validation for Social Security Number (SSN). To set the customer specific validations, you use the following methods in this BAdI:
- FORMAT_PERID
Use this method to format the Personnel Identification number for display in Personnel Details (0002) infotype.
- VALIDATE_PERID
Use this method to validate the Personnel Identification number entered in Personnel Details (0002) infotype screen.
Prerequisites
You should only carry out this step if both of the following points apply:
- The SAP standard processes do not suit your needs
- You are a competent ABAP/4 programmer
Default
In the standard system, the BAdI Implementation for SSN Validation (HRPADUN _0002_SSN) that performs validation for SSN is activated.
Activities
After calling up the IMG activity, a dialog box appears, in which the existing implementations are displayed. Choose Change, and proceed as follows:
- From the tab index, choose Interface.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the coding for the implementation between the statements
method
if_ex_hr_in_cco_processing ~ <Name of method>
andendmethod
. - Save and implement your coding. Return to the Edit Implementation screen.
- Save the entries on the Edit Implementation screen.
Note: You can also change the implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
- Choose Activate
The coding you stored in the method will be run when the application program is executed.
Example
To display the sample code, choose Goto -> Sample Code -> Display.
See also
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 2 | Optional activity |
Critical / Non-Critical | 2 | Non-critical |
Country-Dependency | A | Valid for all countries |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20091023 |
SAP Release Created in |