Hierarchy
⤷ PT-SP-PS (Application Component) Shift Planning for Public Sector
⤷ PP08_PS_DE (Package) Shift Planning (Germany)
IMG Activity
ID | SIMG_PBS_PTSP_BADI | BAdI: Adhoc Update of Info Columns |
Transaction Code | S_L6B_69000351 | (empty) |
Created on | 20030103 | |
Customizing Attributes | SIMG_PBS_PTSP_BADI | BAdI: Adhoc Update of Info Columns |
Customizing Activity | SIMG_PBS_PTSP_BADI | BAdI: Adhoc Update of Info Columns |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | HRSPPBS_ADD_CHECKS |
Use
This Business Add-In (BAdI) is used in the Personnel Shift Planning (PT-SP) component.
It provides the following:
- Immediate update of info columns and the hourly balance line on the planning board. If you make entries or changes in the shift plan the system outputs the updated values directly.
- Immediate check on work or rest period violations.
Requirements
- For the immediate update of info columns:
You have activated the functionality in the Customizing for Shift Planning in activity Information Columns and Default Determination -> Immediate Valuation of Time Information (Public Sector DE) -> Activate Immediate Valuation of Time Information. - For the immediate update of hourly balance line:
You have activated this line in the Customizing for Shift Planning in activity Additional Lines in Shift Plan (Public Sector DE) -> Hourly Balance Line -> Activate Hourly Balance Line. - For the immediate check of work and rest period violations: You have activated the functionality in the Customizing for Shift Planning in activity Activation of Additional Checks for Shifts (Public Sector DE) -> Activate Adhoc Check of Working Time Laws.
Standard settings
SAP provides the sample implementation HRSPPBS_IMP_PSG for the methods mentioned below.
Activities
After calling up the IMG activity, a dialog box appears, in which you can enter a name for the implementation.
If you have already made other implementations for this BAdI, another dialog box appears, in which the existing implementations are displayed. In this case, choose Create, and proceed as follows:
- In the dialog box, enter a name for the BAdI implementation in the Implementation field, and choose Create.
The screen for creating BAdI implementations is now displayed.
- Enter a short text for the implementation in the Short text for implementation field.
- From the tab index, choose Interface.
The Name of implemented class field is already filled on the tab page, as a class name was automatically assigned to the implementation when you named it.
- Save your entries, and assign the implementation to a development class.
- Place the cursor on the method, and double-click to enter method processing.
- Enter the code for the implementation between the statements
method <Interface name> ~ <Name of method>
andendmethod
. - Save and implement your code. Return to the Edit Implementation screen.
- Save the entries on the Edit Implementation screen.
Note: You can also create an implementation, and then activate it at a later time. In such a case, end the processing stage at this point.
- Choose Activate
The code you stored in the method will be run when the application program is executed.
Example
See also
Methods
You can use the following method for the immediate valuation of the information columns:
DO_INFOCOLUMN_UPDATE .
For the immediate valuation of cells of the hourly balance line you can use the method
DO_BALANCE_LINE_UPDATE .
For the additional checks of work and rest period violations, you can use the method
DO_ADD_CHECKS.
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 |
---|---|---|
SIMG_PBS_PTSP_BADI | DE | Germany |
Maintenance Objects
Maintenance object type | E | Business Add-In - Definition |
History
Last changed by/on | SAP | 20030103 |
SAP Release Created in |