SAP ABAP IMG Activity HRPAYAT_KSB_B2A_PERS (BAdI: Determine Correct Personnel Number)
Hierarchy
SAP_HRCAT (Software Component) Sub component SAP_HRCAT of SAP_HR
   PY-AT (Application Component) Austria
     P03C (Package) HR Customizing: Austria
IMG Activity
ID HRPAYAT_KSB_B2A_PERS BAdI: Determine Correct Personnel Number  
Transaction Code S_L4H_49002322   (empty) 
Created on 20110707    
Customizing Attributes HRPAYAT_KSB_B2A_PERS   BAdI: Determine Correct Personnel Number 
Customizing Activity HRPAYAT_KSB_B2A_PERS   BAdI: Determine Correct Personnel Number 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRPAYAT_KSB_B2A_PERS    

Use

This Business Add-In (BAdI) is used in the Payroll Austria (PY-AT) component. You can use this BAdI to determine the correct personnel number if multiple personnel numbers with the same SI number are found when you consolidate the Illness Reporting from ELDA A (3248) infotype.

You consolidate the illness notifications in infotype 3248 using the data that you have created using the report Create TemSe File from ELDA Sick Leave Certificates (RPCKSBA0_B2A). This data contains the SI number to identify specific persons. During the consolidation process, the system therefore has to determine the correct personnel number for each SI number. Some companies, however, assign different personnel numbers for the same person, for example, if that person has left the company and returns again. This means that multiple personnel numbers can exist for the same SI number in the system.

This BAdI is called only if multiple personnel numbers with the same SI number exist. If you do not implement this BAdI or if the BAdI does not return a personnel number, you have to enter the correct personnel number manually for this particularly consolidation case.

Requirements

Standard settings

Activities

For information about implementing BAdIs as part of the Enhancement Concept, see SAP Library for SAP NetWeaver under BAdIs - Embedding in the Enhancement Framework.

Example

You can find a sample implementation on the Enh. Spot Element Definitions tab page of the BAdI Builder under Implementation Example Classes.

The sample implementation CL_EXM_IM_HRPAYAT_KSB_B2A_PERS returns (from multiple personnel numbers) the first personnel number that was actively employed at the start of the incapacity to work period.

See also

BAdI method documentation:

Business Attributes
ASAP Roadmap ID 257   Create User Exits 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
HRPAYAT_KSB_B2A_PERS AT Austria
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG HRPAYAT_KSB_B2A_PERS 0 HLA0003815 Subsequent Activities 
Maintenance Objects
Maintenance object type E   Business Add-In - Definition 
History
Last changed by/on SAP  20120313 
SAP Release Created in