Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

URL problem with class CL_GUI_HTTP_VIEWER

Former Member
0 Likes
545

Hi guys,

I am using class CL_GUI_HTTP_VIEWER to display html pages which was loaded by LOAD_DATA method. For each page, system assign a random unique URL to it. But I need a fixed URL.

How should I do? Thanks a lot.

5 REPLIES 5
Read only

athavanraja
Active Contributor
0 Likes
520

why do you need fixed url? with the method i explained in the previous post, you cannot do that.

if you let me know whats that you are trying to do - the bigger picture - may be we can come up with different approach

Regards

Raja

Read only

0 Likes
520

Hi Raja,

Thank you for your helps.

I was trying to embed Google map into dynpro. Google map's API needs a key. We can apply the key on Google 's site. This key is related to the URL of page which contains Google map. If the URL changes every time, it doesn't work.

Another side is, because I need to send data from R/3 to Google map website via HTTP POST, so I have to use LOAD_CDATA method to read HTTP response and display it using http viewer as you mentioned in the previous post. But this way leads random URL.

Any advice? Thank you.

Read only

0 Likes
520

ok i understand that, in such a case, its better to use bsp application and build the google map in bsp application and load the bsp url into sap gui html viewer.

Regards

Raja

Read only

0 Likes
520

Oh...I don't have any knowledge of BSP. So I have to turn to Yahoo map. Thank you.

Read only

0 Likes
520

BSP is very simply and offer lot more flexibility.

check this weblog, its about google map with bsp.

/people/gregor.wolf3/blog/2006/06/27/geocode-business-partner-with-google-maps

Regards

Raja