2007 Aug 27 9:07 PM
Hi,
We have a requirement to print driving directions from Google automatically as soon as Sales Order is saved. We can supply From Address as the address of Sales Office and TO address from Ship-To customer. I was looking at API provided by Google. http://www.google.com/apis/maps/documentation/#Driving_Directions
Has one tried getting driving directions or even maps from SAP ? I saw some posts on Google maps in SAP Netwever area but I just wanted to know if it is possible to use like Client proxy (Web Services) and get driving directions using ABAP coding.
Niranjan
Hi,
We have a requirement to print driving directions from Google automatically as soon as Sales Order is saved. We can supply From Address as the address of Sales Office and TO address from Ship-To customer. I was looking at API provided by Google. http://www.google.com/apis/maps/documentation/#Driving_Directions
Has one tried getting driving directions or even maps from SAP ? I saw some posts on Google maps in SAP Netwever area but I just wanted to know if it is possible to use like Client proxy (Web Services) and get driving directions using ABAP coding.
Niranjan
2007 Aug 27 9:12 PM
Check out this weblogs -:)
<a href="/people/gregor.wolf3/blog/2006/06/27/geocode-business-partner-with-google-maps">Geocode Business Partner with Google Maps</a>
<a href="/people/oliver.mainka/blog/2007/05/30/new-google-maps-feature-street-view">New Google Maps Feature: Street View</a>
<a href="/people/frederic-pascal.ahring/blog/2007/05/24/developing-composite-applications-with-php--google-maps">Developing composite applications with PHP - Google Maps</a>
Greetings,
Blag.
2007 Aug 27 9:40 PM
I dont think so, I might be wrong but the maximum interfacing I have seen OOPS ABAP coding do with ITES is setting up a desired homepage, I dont know the name of the class and the method but I will try to find it out for you, as a matter of fact FM call_web_browser can also call a web browser. But if you have a complex req such as printing maps , I guess you will need XI for that.
Again its just my point of view.
This is an interesting req though , please keep everyone posted in case you make it thriugh classic ABAP.
Good Luck
2007 Sep 11 7:52 PM
Hi,
We came up with a simple solution of using URL http://maps.google.com/maps?ie=UTF8&h1=en&q=' and appending FROM and TO address and calling CALL_BROWSER Function module. The FROM address is where the office is located and TO is taken from SHIP-TO Customer. It will open a new browser window and show Map and Driving directions in Internet explorer.
Niranjan
2007 Sep 11 8:48 PM
congrats !
but how did u map the sap from and to fields with the google from and to fields?? I am sure u didnt use set parameter id
2007 Sep 11 10:24 PM
Sammer,
We just get FROM and TO address and concatenate using %20 and append after the URL that I gave in previous posting.
51%20BELAMOSE%20AVE%20ROCKY%20HILL%2006067%20CT%20<b>to</b>%20FIRST%20AVENUE%20NEWYORK%2010020
Look for 'to' in URL that separates from FROM address.
Niranjan
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |