Symptom
- An error occurs when attempting to calculate the route of a technician on the service map.
- Error message: "route cannot be calculated because either the technician does not have a home address or the activity does not have a service address"
Fig. 1: clicking 'show route', and displays an Error message: "route cannot be calculated because either the technician does not have a home address or the activity does not have a service address" - Confirm that both the technician and the activity have valid addresses on the UI and in the database
Query:
SELECT up.firstName, up.lastName, ac.businessPartner, ac.supportingPersons, ac.subject, ac.responsibles, ac.address, sc.id, ac.id,ac.code,sc.code FROM ServiceCall sc JOIN Activity ac ON ac.object=sc.id JOIN UnifiedPerson up on up.refId IN ac.responsibles WHERE sc.code='XXXXXX';
SELECT ad.id, ad.city, ad.country, ad.defaultAddress, ad.location.latitude, ad.location.longitude, ad.object.objectId, ad.object.objectType, ad.state, ad.street, ad.streetNo, ad.subType, ad.type, ad.zipCode FROM Address ad WHERE ad.object = 'XXXXXX';
SELECT ad.city, ad.country, ad.defaultAddress, ad.location.latitude, ad.location.longitude, ad.object.objectId, ad.object.objectType, ad.state, ad.street, ad.streetNo, ad.subType, ad.type, ad.zipCode FROM Address ad WHERE ad.id = 'XXXXXX';
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
- SAP Field Service and Asset Management
- FSM Service Map
Product
SAP Field Service and Asset Management 1.0
Keywords
service map, route cannot be calculated, technician route, home address missing, service address missing, show route, arcgis, 403, world/route.mapserver, permissions, routing credits, activity address, show route , KBA , CEC-SRV-FSM-MAP , FSM Service Map , CEC-SRV-FSM , Field Service Management , Known Error
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview