Hierarchy

⤷

⤷

IMG Activity
ID | /MRSS/OPT_GEOCODE_TR | BAdI: Determination of Geocoordinates and Travel Times |
Transaction Code | /MRSS/92000065 | (empty) |
Created on | 20080731 | |
Customizing Attributes | /MRSS/OPT_GEOCODE_TR | BAdI: Determination of Geocoordinates and Travel Times |
Customizing Activity | /MRSS/OPT_GEOCODE_TR | BAdI: Determination of Geocoordinates and Travel Times |
Document
Document Class | SIMG | Hypertext: Object Class - Class to which a document belongs. |
Document Name | /MRSS/OPT_GEOCODE_TRAVEL_TIME |
Use
This Business Add-In (BAdI) allows you to implement alternative methods for the following functions:
- Determination of geocoordinates
- Calculation of distance and travel time
To activate the BAdI for the alternative determination of geocoordinates, call the IMG activity Define Profile for Geocoding of Addresses in Customizing for SAP Multiresource Scheduling and select the BAdI option in the Geo Cod. column. The geocoordinates determined by the BAdI must have the format WGS84.
To activate the BAdI for the alternative calculation of distances, call the IMG activity Specify Profile for Distance Calculation Type in Customizing for SAP Multiresource Scheduling and select the BAdI option in the Deter Type column.
Once you have activated the BAdI, it is called in the following cases:
- If you manually change assignments in the planning board
- If you work with the optimizer and the system changes assignments
Requirements
Standard settings
The BAdI provides the following methods:
- GET_ASSIGNMENT_TRAVEL_TIME
You use this method to recalculate travel times. It is used if an assignment has been changed manually in the planning board. The system also checks whether there are parallel, previous, or subsequent assignments and also provides these in addition to the changed assignment.
You use the method to recalculate the following data: - Arrival and departure of the changed assignment
- Departure of the previous assignment
- Arrival of the subsequent assignment
- In addition, the planning horizon of the resource planning board can be changed.
- GET_DISTANCE
You use this method to recalculate distances for optimization if resource planning is changed by the optimizer. - GET_GEOCOORDINATES
This method provides the latitude and longitude of an address (the GPS coordinates). - GET_TRAVEL_TIME
You use this method to recalculate travel times for optimization if resource planning is changed by the optimizer.
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
Business Attributes
ASAP Roadmap ID | 257 | Create User Exits |
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 | 20090928 |
SAP Release Created in | 700 |