Hierarchy
⤷ PA-PM-PB (Application Component) Position Budgeting and Control
⤷ PAOC_FPM_FTE_CUSTOMIZING (Package) Position Management: Customizing FTEs
IMG Activity
ID | PBC_FTE_1070 | BAdI: Adjust Availability Control Messages |
Transaction Code | S_ALN_01002447 | (empty) |
Created on | 20031126 | |
Customizing Attributes | PBC_FTE_0010 | General Settings |
Customizing Activity | PBC_FTE_1070 | Availability Control Messages |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | PBC_FTE_1070 |
Use
This Business Add In (BAdI) is used in the component Position Budgeting and Control (PA-PM-PB).
Using this BAdI, you can override the messages issued in availability control checks on full-time equivalents during the assignment of positions.
An individual implementation can be required, for example, if you want to enter your individual message when the available full-time equivalents are exceeded in dialog processing or in the maintenance of the organizational structure or personnel master data. This can be different to the definition in the message in the check report.
Requirements
Standard settings
SAP delivers the standard implementation HRFPM_AVC_MSGS. You can find out whether the check should be carried out in dialog or in the check report in the parameter I_REPORT.
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.
Example
You can find code examples in the implementation delivered by SAP.
You want to switch the holders of two positions. To do this, you have to assign both holders to a position in the short term which means that the position is overstaffed. A warning can be issued in dialog processing. However, an error should appear in the check report if the position is overstaffed for a long period.
Business Attributes
ASAP Roadmap ID | 204 | Establish Functions and Processes |
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 | 20040310 |
SAP Release Created in | 500 |