cancel
Showing results for 
Search instead for 
Did you mean: 

¿How to obtain the latitude and longitude coordinates selected in google map in a mashup in sap c4c?

luis_montalti
Explorer
0 Kudos
175

Hello experts,
Create an EC with 2 custom fields (Latitude and Longitude) where that EC will be placed in the tickets object.
What I need is to create a mashup with Google Map and when selecting it I can obtain the latitude and longitude that was marked.
Is it possible to do that?
Could you help me?

Thank you so much

View Entire Topic
clovismuller
Active Participant
0 Kudos

Hi friend!
To keep the latitude and longitude information without having to do it manually, you can create an ABSL code in "Customer -> Address -> Before-Save" that will get the address lines and send them to any Geocoding API, for example, Google Geocoding, returning the latitude and longitude, and filling in the system's standard fields.
If you already have many customers and do not have this information, use an MDR (Mass Data Run) to update the customer information.

Clóvis Müller