Call Browser (Google MAP)
X ve Y Koordinatları ile Browserda GOOGLE MAP açma.
*&---------------------------------------------------------------------*
*& Form F_call_map
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* -->PRM_X text
* -->PRM_Y text
*----------------------------------------------------------------------*
form f_call_map using prm_x type zz_gps_x
prm_y type zz_gps_y .
check prm_x is not initial and prm_y is not initial.
data url_string(100) type c.
url_string = `https://www.google.com.tr/maps/search/`.
"https://www.google.com.tr/maps/search/41.108858700000+29.017015700000
concatenate url_string prm_x `+` prm_y
into url_string.
call function `CALL_BROWSER`
exporting
url = url_string
exceptions
frontend_not_supported = 1
frontend_error = 2
prog_not_found = 3
no_batch = 4
unspecified_error = 5
others = 6.
if sy-subrc <> 0.
* implement suitable error handling here
endif.
endform. "F_call_map