Hierarchy

⤷

⤷

IMG Activity
ID | PAY_IN_FORM16_1 | BAdI: Determine Employee Designation |
Transaction Code | S_L7D_24002518 | (empty) |
Created on | 20101124 | |
Customizing Attributes | PAY_IN_FORM16_1 | BAdI: Determine Employee Designation |
Customizing Activity | PAY_IN_FORM16_1 | BAdI: Determine Employee Designation |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HR_IN_EE_DESIGN |
Title
Add-In: Determine Employee Designation
Use
This Business Add-In is used in the Form 16 (PY-IN) component.
This Add-In enables you to determine the employee designation. You can also set the Durector status using this BAdI. The BAdI has the following methods:
- EMPLOYEE_DESIGNATION
You can use this method to determine the employee designation. The system determines the employee designation by reading Organization Assignment (0001) infotype. You can use this BAdI to override this value.
The method has the following parameters:
- Personnel Number
- HR Master Record: Infotype 0001 (Org. Assignment)
- Start Date
- End Date
- Country Grouping
- Input designation
- Exporting designation
Sample code
method IF_HR_IN_EE_DESIGN~EMPLOYEE_DESIGNATION.
design = 'senior software engineer'.
endmethod.
- RETURN_DIRSTAT
You can use this method to set the director status.
This method has the following parametrs:
Personnel Number
- HR Master Record: Infotype 0001 (Org. Assignment)
- Start Date
- End Date
- Country Grouping
- Director status
Note
If you only want to change the designation of the employee and do not want to modify the director status using the BAdI then you must set the parameter status as space.
Sample code
method IF_HR_IN_EE_DESIGN~RETURN_DIRSTAT
* DIRSTAT = ' '.
endmethod.
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 Business Add-In is not 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 | I | Valid for countries specified |
Customizing Attributes | Country Key | Country Name |
---|---|---|
PAY_IN_FORM16_1 | IN | India |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20101124 |
SAP Release Created in |