Ansicht
Dokumentation
EXIT_SAPLSTAG_001 - Shipment Stage: Determine Distance
Addresses (Business Address Services) General Data in Customer MasterThis documentation is copyright by SAP AG.
Functionality
You can define your own distance determination in this function module.
This function module is called up in transportation processing when:
- Stage data was changed and
- Either the Distance field (VTTS-DISTZ) or the Unit of distance field (VTTS-MEDST) is blank.
This module has the following input parameters:
- I_XVTTS: The transportation stage's work area
- I_DEPARTURE_ADDRESS: Address data for the point of departure
- I_DESTINATION_ADDRESS: Address data for the destination
If the distance determination was successful, the system indicates this by reporting back with the export parameter
- E_DISTANCE_DETERMINED = X.
The distance and its unit of measure appear in
- E_DISTANCE and
- E_DISTANCE_UNIT
Please note:
For performance reasons, this function module is only called up when the distance or distance unit fields are blank and not each time data is changed.
If changes that relate to distance are made (changes to the address, for example), the user should delete the distance information, so that the system will redetermine the distance.
Parameters
E_DISTANCEE_DISTANCE_DETERMINED
E_DISTANCE_UNIT
I_DEPARTURE_ADDRESS
I_DESTINATION_ADDRESS
I_XVTTS
Exceptions
Function Group
XV56PERFORM Short Reference CL_GUI_FRONTEND_SERVICES - Frontend Services
This documentation is copyright by SAP AG.
Length: 1749 Date: 20240523 Time: 080612 sap01-206 ( 24 ms )