Hierarchy
⤷ PA-PD (Application Component) Personnel Development
⤷ PP2C (Package) HR Development - Customizing
IMG Activity
ID | SIMG_CFMENUOHP2BAD04 | BAdI: Fill Appraisal Tables |
Transaction Code | S_AC0_52000531 | (empty) |
Created on | 20050222 | |
Customizing Attributes | SIMG_CFMENUOHP2BAD04 | Attribute for SIMG HRPDV00APPRAISAL0004 |
Customizing Activity | SIMG_CFMENUOHP2BAD04 | Maintenance Object for SIMG HRPDV00APPRAISAL0004 |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRPDV00APPRAISAL0004 |
Use
You can use this Business Add-In (BAdI) to implement additional functions at the time an appraisal is created.
Requirements
Standard settings
The BAdI is not implemented in the SAP standard system. If you do not create an implementation, the SAP system does not run the BAdI Fill Appraisal Tables.
Activities
After you call the IMG activity, the system displays a dialog box where you enter a name for the implementation.
If implementations of this Business Add-In have already been created, the system displays them in a dialog box. You then choose one of them by choosing Create, and continue as follows:
- In the dialog box, enter a name for the implementation of the Add-In and choose Create.
The system displays the initial screen for creating Business Add-In implementations. - On this screen, enter a short description for your implementation in the Implementation Short Text field.
- If you choose the Interface tab, you will notice that the system has populated the Name of the Implementing Class field automatically, by assigning a class name based on the name of your implementation.
- Save your entries and assign the Add-In to a package.
- To edit a method, double-click its name.
- Enter your implementation code between the
method <Interface Name>~<Name of Method>.
andendmethod.
statements. - Save and activate your code. Navigate back to the Change Implementation screen.
Note: You can also create an implementation for an Add-In and not activate it until later. If you want to do this, do not perform the following step: - Choose Activate.
When the application program is executed, the code you created is run through.
If the system returns the Export Parameter SUBRC as not equal to zero, changed appraisal tables are not taken into account in the implementation. The update includes the appraisal data that was first entered in the tables and the buffer is reset (cleared).
For more information, see the documentation for the BAdI interface IF_EX_HRPDV00APPRAISAL0004 and the documentation for the methods it calls FILL_APPRAISAL_TABLES.
Example
appraisers:
PLVAR |OTYPE |SOBID |SHORT |STEXT
1 |P |00001000 |Nielsen |Thor Nielsen
appraisees:
PLVAR |OTYPE |SOBID |SHORT |STEXT
1 |P |11111111 |Mann |Thomas Mann
app_pt1045:
PLVAR |OTYPE |OBJID |RANK |SLEVL |APP_OTYPE |APP_OBJID |APP_STEXT
1 |BA |50014375 |0001 |01 |BS |50011238 |Test 1
1 |BA |50014375 |0002 |02 |Q |50004480 |Agriculture Certificate
1 |BA |50014375 |0003 |03 |BG |50005614 |US 37 Alex
1 |BA |50014375 |0004 |04 |BK |50005903 |Outcome: Wolfgang
app_endda:
20031231
app_begda:
20030101
app_active:
<SPACE>
app_stext:
Test 1
EXT_NUMBER:
00000000
appscheme_id:
50011238
Plvar:
01
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
Mandatory / Optional | 3 | Nonrequired 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 | 20050222 |
SAP Release Created in | 600 |