06-09-2015 8:39 AM
Hi all,
I am trying to display map inside report by referring to this document Javascript and HTML in ABAP report - ABAP Development - SCN Wiki.
In its HTML section i tried static HTML code with success.
but when i try to use code with google API , output comes as blank screen.
(note : google maps API needs to go online, is it supported in report? )
06-09-2015 9:38 AM
Hi Saurabh,
Please try this.
1. Generate the URL in your program code using street, house no, postcode/Pin/Zip code. Check help like in the browser . It always follows a pattern.
e.g : Google Maps
2. Then call that URL via CL_ABAP_BROWSER
CALL METHOD cl_abap_browser=>show_url
EXPORTING
url = <URL>
** title =
** size = CL_ABAP_BROWSER=>MEDIUM
** modal = ABAP_TRUE
** printing = ABAP_FALSE
** buttons = NAVIGATE_OFF
** format = CL_ABAP_BROWSER=>LANDSCAPE
** position = CL_ABAP_BROWSER=>TOPLEFT
** container =
** context_menu = ABAP_FALSE
R .
06-09-2015 9:54 AM
Hi Saurabh,
You have to create a new service in SICF with respect to Google Map.
The customized service should be in
SICF-->DEFAULT_HOST-->SAP-->BC-->
It’s HTTP based service.Create a customized class and pass in Handler List Tab. Use IF_HTTP_EXTENSION interface and write the code inside the IF_HTTP_EXTENSION~HANDLE_REQUEST Method.
You can refer below blog, where i have displayed the Google Map and explain the all respective steps which needs to be consider.
Praveer.