Google Maps inside Web Dynpro

I've been trying to run Google Maps inside Webdynpro ABAP but I'm faced with a problem.
In a normal HTML page with flash component I use Flashvars to send the API key to the component, but in SAP I can't use them. The result is API key error.
I've got the key inside the SWF but it doesn't work without Flashvars. Is there a way to use them?
EDIT: So, I put the HTML file in the root of the site, instead of a subfolder and now it works....weird. The question then is, to use google maps in a Webdynpro which URL to I need to register the API key for.
EDIT2: It was a cache problem....the "folder site" was store in cache. It works fine now.

Hi
I have seen no documentation supporting Google Chrome for SAP WD applications
Therefore end user issues may occur
However if you have evidence to the contrary let me know
Best wishes
Stuart

Similar Messages

  • Google map inside the spry collapsible panel

    So this time I've bumped into interesting 'bug'. I've placed the google map inside the spry collapsible panel. Panel is set to the closed mode on load of page. When I open the tab, map appears, but address marker is hidden behind the top left corner. If I place the same map outside the collapsiple panel it renders all well.
    So my  question is whether there is any way around this issue. When I know where the marker is hidden I can simply move the map and see it, but customer who's not aware of the problem will see only blank map with not marked address which is not acceptable.
    cheers,
    Simon

    Sure mate. Here you go:
    <div id="CollapsiblePanel1" class="CollapsiblePanel">
                  <div class="CollapsiblePanelTab" tabindex="0">SHOW MAP</div>
                  <div class="CollapsiblePanelContent">
                  <cfmap  width="242" height="200" zoomlevel="12" name="mainMap" markercolor="333444" showscale="false"
    typecontrol="none"  showcentermarker="true" centeraddress="#get_event.event_address1#, #get_event.event_address2#, #get_event.event_city#,#get_event.event_county#, #get_event.event_postcode#, #get_event.event_country#  "
    ></cfmap>
                  </div>
                </div>
    And this bit goes at the bottom of the code :
    <script type="text/javascript">
    var CollapsiblePanel1 = new Spry.Widget.CollapsiblePanel("CollapsiblePanel1", {contentIsOpen:false});
      </script>
    And that would be the preview that I get once the panel is open:
    And that is the preview of how it should look:
    As you can see the map marker sticks to the top left corner. I was wondering whether there is any way to re-focus it once the panel is open.
    cheers,
    Simon

  • Creating Client-side Image Map in Web Dynpro

    Hi,
    How can I create a client-side Image Map in Web Dynpro application?
    My application consists of a screen-size image in which several areas will have to link to URLs and actions. I have browsed through the "Web Dynpro UI Element Reference Guide," but could not find anything appropriate.
    Can someone give me an advice? Thanks.
    Teecheu

    It doesn't, there is no corresponding UI control for this.
    There is only onAction event on BusinessGraphics (have not working with them since SP5, eventing did not work at that time) and onObjectAction in GeoMap (never see it in action, probably an option for you if your map is geographic map
    WBR,
    VS

  • Type Mapping in Web Dynpro

    Hi there,
    rather a Web Dynpro newbie, I have scanned the documentation and forum threads to find whether there is something like a type mapping mechanism (say, your web service automatically creates Calendar attributes from xsd:dateTime elements, and you want to display them as dates in your view), but it seems there isn't.
    I have to do such type conversions by myself (by providing additional value attributes to my context node and populate them after executing the service call), right? Or did I overlook something?
    Regards
    Nils

    Hi Nils,
    define calculated context attributes of type readOnly=false for this purpose. In the generated getter and setter methods you can implement your own format (getter) and parse (setter) logic (or type mapping like you call it).
    Excerpt from the Web Dynpro Help:
    <i>Application-specific validations: You can use the setter and getter methods that are generated for writable calculated context attributes to format as well as parse and validate data application-specific. You can check the user input in the mutator method and save it in a separate, non-calculated context attribute. An error message is displayed if this is not successful. If you want to display the input value in the case of errors as well, then first you have to save the incorrect value in an additional usual context attribute, from which the access method of the calculated attribute is then supplied.</i>
    Also read thread Re: Problem with time input field about problems with time input fields.
    Regards, Bertram

  • Geo MAP in Web dynpro Application

    Hi all,
       we are trying to test the GeoMap Functionality in SAP Help we found that some Software Component is required to run the Geo Map Web Dynpro Application as given below
    "The GeoMap UI element can only be used with a special software component that is provided by the geographical maps.
    This software component which you can use to expand the Internet Graphics Service (IGS) is not included in the delivered SAP Web Application Server package. It must be purchased from a third-party provider. The GeoMap UI element cannot be displayed without this complementary software component. "
    can u help me with some pointers to these third party providers.
    Regards
    Sai Krishna Reddy

    Hi Sai,
    you can see the following tutorial
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on using geo services with web dynpro - 22.htm
    for GeoService information you can visit the following sites
    1.  http://www.geomap.com/
    2.  http://www.nacgeo.com/geoservices.asp
    Regards,
    Shubhadip

  • How to see google maps in webi through ipad ?

    i just created a webi link to a google maps through url but in the ipad I can not see the map. any suggestion ?

    Hi Héctor Ramón Santos Anaya,
    Check the below link
    http://scn.sap.com/docs/DOC-19232
    It will help you.
    Regards,
    Anish

  • Find direction for address using google map using web Applet.

    Hi all,
    Please help me solve this .
    i want to see the (way)direction from office to account address in google map below each each contact details.
    i created a Account Web Applet, it is showing account address correctly
    http://maps.google.com/?q=%%%Bill_To_ADDR_Address1%%%,+%%%Bill_To_CITY_City%%%,+%%%Bill_To_COUNTRY_Country%%%
    But i want to see the direction from office, ..
    Thanks in Advance.
    [email protected]
    Uthaya.

    Hello,
    This is what you have to use as an example
    http://maps.google.com/maps?f=d&source=s_d&saddr=Collins+Street,+Melbourne,+Victoria,+Australia&daddr=Elizabeth+Street,+Melbourne,+Victoria,+Australia
    h5. This is the from address
    Collins+Street,+Melbourne,+Victoria,+Australia
    h5. This is the end location
    Elizabeth+Street,+Melbourne,+Victoria,+Australia
    What you will need to do is relace these values with %%%Bill_To_Addr_Address1%%% and so on

  • Error in running Adobe forms inside Web DynPro in CE3

    Hi
    I have used Adobe Interactive form in a Web DynPro DC after doing the necessary configuration for ADS in CE SP3. But when I run the application I receive an exception somethis like this
    com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Interactive Form Operation Failed
    Caused by: com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process RenderRequest...
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:89)
         at com.sap.tc.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:112)
         at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:567)
         ... 61 more
    Caused by: com.sap.tc.adobe.pdfobject.core.PDFObjectRuntimeException: Processing exception during a "UsageRights" operation.
    Request start time: Wed Feb 27 19:55:39 IST 2008
    com.adobe.ProcessingException: Credential login error while applying usage rights to PDF: /usr/sap/CE1/J01/j2ee/cluster/server0/temp/adobewa_CE1_18726550/DM-6001642253044533767.dir/DM-5495524542707707125.tmp
    Specific error information:
    error while logging into credential ^0
    GeneralError: Operation failed.
    SecurityHandler.login:-1:
    Non-empty file name required
    Caused by: com.adobe.document.pdf.CredentialLoginFailure: IDL:com/adobe/document/pdf/CredentialLoginFailure:1.0.
    I have done all the configuration by following the blog in
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/7290. [original link is broken] [original link is broken] [original link is broken]
    Below file has been used for installing ADS credential
    P12 File: 20070730_0004205_P14.pfx
    Also the server has been restarted after all the configurations are done.
    What would be required more to overcome this error.
    Thanks & Regards
    Sudip

    Hello,
    are you sue the Alias name for the credential is exactly:
    ReaderRights
    What OS do you have?
    Regards,
    Dezso

  • Using Room API inside Web DynPro

    Hello,
    I've developed a Web DynPro Application which uses the Room API of the KMC.
    Unfortunately I can not set the Service Reference variable "com.sap.netweaver.coll.shared" as mentioned in the guide.
    A Deploy Exception will be thrown ("Missing Arguments...")
    If i do not set this variable the following Exception will be thrown:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.xy.demo.kmc.room.RoomManagerView. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:487)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:524)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:374)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:593)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:249)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:385)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:263)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:340)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:318)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:821)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:239)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 31 more
    Caused by: java.lang.NoClassDefFoundError: com/sap/ip/collaboration/room/api/IRooms
         at com.xy.demo.kmc.room.wdp.InternalRoomManagerView.<init>(InternalRoomManagerView.java:97)
         ... 36 more
    Greetings
    Florian

    Hi Valery,
    thanks for the reply.
    I have feared that you say exactly this.
    First I have to mention that I of course added the reference variable at the right place (the entry has successfully added to the portalapp.xml)
    I looked to the services and do NOT find anything about "com.sap.netweaver.coll.shared" so my next question is:
    Where to get it and how to deploy it?

  • Context Mapping in web dynpro

    Hi,
    Steps which I underwent for context mapping is:
    1. Opened view designer for start view .
    2. Choose the context tab.
    3. Opened the context menu for the root node context n choosed the option New->Value attribute.
    4. entered the name for the attribute such as name n choosed finish.
    5. From the context menu for the attribute Name choose Edit Context Mapping.
    Problem is in my case "edit context mapping" is disable.
    Regards

    Hi
    u have to add the Component Controller In the required Controllers List of the view
    thwn u fill find the it enabled.
    Suppose u want to map the value Attribute in the view to that of the Attribte in the Component Controller then add that ComponentContolle Name in the required Controllers of the view
    ur Component controler shuld also have the Value Attribute of same data type.
    u can go properties of the View there u have required Controllers and Add Button click on that and add ur controller Name

  • Dynamic Context Mapping in Web Dynpro ABAP

    Hi Experts,
    How can I create two dynamic Context nodes, one in ViewController and the other in Component Controller and finally create a context mapping between them?
    Regards,
    Johan Kriek.

    Hi Johan,
    I found a method IF_WD_CONTEXT_NODE_INFO~ADD_NEW_MAPPED_CHILD_NODE that seems to be the one that I am looking for.
    I do have same idea but i have been trying to give solution by using above method,unfortunately here my server is down.check the below code. i didnt check this code due to server down.
    DATA: lo_nd_purchase_header TYPE REF TO if_wd_context_node,
          lo_el_purchase_header TYPE REF TO if_wd_context_element,
    ls_purchase_header TYPE wd_this->element_purchase_header,
          lo_node_info type ref to if_wd_context_node_info,
          lo_child_node_info type ref to if_wd_context_node_info,
          MAPPING_INFO type WDR_CONTEXT_MAPPING_INFO.
    * navigate from <CONTEXT> to <PURCHASE_HEADER> via lead selection
      lo_nd_purchase_header = wd_context->get_child_node( name = wd_this->wdctx_purchase_header ).
                  CALL METHOD LO_ND_PURCHSE_HEADER->GET_NODE_INFO
                    RECEIVING
                      NODE_INFO = lo_node_info.
           MAPPING_INFO-controller = 'ZWDC_ALV'. "conponent name
           MAPPING_INFO-path = 'PURCHASE_HEADER'. "Controller context node name
          CALL METHOD LO_NODE_INFO->ADD_NEW_MAPPED_CHILD_NODE
            EXPORTING
              CHILD_NAME      = 'PURCHASE_HEADER'
              MAPPING_INFO    =  MAPPING_INFO
    *          IS_STATIC       = ABAP_TRUE
            RECEIVING
              CHILD_NODE_INFO = lo_child_node_info

  • Extranal contex mapping in web dynpro java 7.0

    hi,
    how to declare the usage of other webdynpro DC,how to pass data between the two DCs and Difference between External Context mapping and Normal mapping with working example.can any one send pdf
    G.srinu

    Hello Srinu,
    Refer the followings:
    For External Mapping and Context Mapping
    External Context Mapping
    context mapping
    For Used DC Context Mapping
    How to pass data to a used DC.
    Regards
    Nizamudeen SM

  • Google Map Integration with Map Viewer is not working

    Hi Team,
    My MapViewer Version: Ver11_1_1_7_B130111
    I have created a Google Map (with Type of Map Source as "Google Maps") in Oracle Map Viewer and i could see google map in Oracle Map Viewer(using "show Map").
    I wanted to show a village map theme over the above google map in a web page and i am using Jdeveloper to integrate map viewer with Village data. I could see the google maps inside Jdeveloper however when i run the Jdeveloper code google map is not shown inside the web page.
    I tried with Oracle Maps, Bing Maps as the "map source" in map viewer and tried integrating inside Jdeveloper and got same result (blank screen). However when i tried a different mapviewer ( Base Map ELOCATION.WORLD_MAP from OracleFMW MapViewer Home ) i could see the map in the web page.
    I could get all other base maps (created with "internal" as the map source") in the web page, so there is some thing that i am missing with Google Maps, Bing Maps, Oracle Maps. Could you please help me what is that i am missing or point to a help resource?
    Thanks
    Nag

    Hi Jayanth,
    Issue is solved after creating the web page using latest JDeveloper (11.1.2.4). Thanks a lot for your help
    With Regards
    Nag

  • Calling session bean's business method through web dynpro component

    Hi All,
    Can anybody tell me how to call a session bean's methods through a web dynpro WITHOUT java-model or web service model ??
    I have following scenario:-
    1. Stateless Session bean having two business methods
    2. Web Dynpro component
    3.Now i want to call business methods without using any model. I have got following piece of code but I dont know how to go about it.
    4.Where do i have to set JNDI name for session bean? which interface will be looked for?
    5. Do I have to declare public part for EJB DC? If yes, how?
    //This is inside web dynpro component
    InitialContext   context = new InitialContext();
    o = context.lookup(JNDIName);
    TestSessionbeanHome homeRef = (TestSessionbeanHome) PortableRemoteObject.narrow( o,                                                                               
    TestSessionbeanHome.class);
    TestSessionbean beanRef = homeRef.create();
    <returnValue> = beanRef.<ejb method name>
    Please help to get a step-by-step approach to this case.
    Thanks and regards,
    Amey Mogare

    Hi,
    If  I comment out the part that is using session bean's business method, DC is building fine.
    And if I uncomment, then compiler is unabl eto resolve business method(s).
    And i would like to mention that my EJB + J2EE App DC is building properly, but it havent yet deployed properly as I am waiting for data-source-alias name prefix to be configured by ERP team. So will this be a reason why Web Dynpro DC is not able to resolve business methods ??
    Because Web Dynpro DC is able to resolved all interfaces of Session bean and entity bean. But when it comes to business method, its not able to resolve.
    Any more ideas why it is not happening?
    Pls help.
    Now i went through some forum posts regarding this and found that we also need to add EJB DC to Java Build Path for WebDynproDC>Properties>Java Build Path.
    I did this and now it is able to resolve business methods and DTOs as well. So to summarize I did following:-
    1. Added EJB DC (complete DC) as a Used DC to Web Dynpro DC with Buid-n-Deploy-n-Run time dependency
    2. Added Sharing reference of J2EE application DC to Web Dynpro DC -->Properties
    This reference I constructed as follows:-
    <vendorname>/<name of j2ee application as appearing under display name tag in application.xml (replacing '/' with '~')>
    So my Sharing Reference becomes:- <vendorname>/reqpstapscreqpstapja_reqid
    3. Added EJB DC to Java Build Path in Web Dynpro DC's properties
    4. Then I added following piece of code to get object of SessionBean class
    InitialContext context = new InitialContext();
    Object o = context.lookup("java:comp/env/ejb/SessionRequestIDBean");
    SessionRequestIDHome homeRef = (SessionRequestIDHome) PortableRemoteObject.narrow(o, SessionRequestIDHome.class);
    SessionRequestID beanRef = homeRef.create();
    beanRef.<business method>
    But After doing this I am facing another problem :-
    The build fails saying it is not able find the package for DTOs. But when I see the Component Controller's code it is not showing any red or yellow marks.
    Can anybody pls help me out here?
    Thanks and regards,
    Amey Mogare

  • Mime mapping in web.xml not working for csv/excel

    I am using the weblogic 8.1 app server. I want to serve up some static content
    from an "exploded" web application (dir structure instead of a war file). This
    static content includes html files and csv files that cause the browser to give
    an option to the user to open the file in excel or download to disk. I have inserted
    the following mapping inside web.xml in the exploded directory structure...
    <web-app>
    <mime-mapping>
    <extension>csv</extension>
    <mime-type>application/vnd.ms-excel</mime-type>
    </mime-mapping>
    </web-app>
    I redeployed the "web application". When I try to access a csv file, instead of
    giving me the save/open dialog, the browser displays the ASCII contents of the
    csv in the browser like an HTML file. Am I missing a step? Is the xml above not
    for the functionality that I am trying to implement here?
    Thanks.

    Hi All:
    Thanks for all your help regarding the adfAuthentication success_url. Now I am able to configure to make this work. But now I am facing another issue i.e. I am getting 401 Not authorized message when the success_url is pointed to the jspx page.
    Note: I am using custom login module similar to DBProcOraDataSourceLoginModule so my roles are stored in the custom Role class. So I am not sure how to pass this role info to the security in ADF in order to authorize the page to be viewed.
    Could you please help and can you point me to any specific link.
    Thanks & Regards
    Sridhar Doki

Maybe you are looking for

  • Having problems with iphone 3g, can anyone help!!

    I bought a secondhand iphone 3G and i am having trouble setting it up, didn't get the booklet that would off come with the phone, the problem is. when the phone is switched on and when the apple logo dissapears the next screen has a usb cable with an

  • Referencing a "checked record" from my ADDT Dynamic List using a SPRY Menu

    I have just posted a Beta of my site to: http://www.clearwave.biz/Beta/T1COElogin.cfm - Username is: Beta - Password is: 123 - Once you are logged in you should see the ADDT list w/one order listed. - Click on the Printer icon & the Order Agreement w

  • [SOLVED] HP LaserJet 1020 Installation impossible... yet

    By following Arch wiki instructions, I've installed CUPS, and related packages for my printer. I've configured CUPS (Adding user to lp group and setting SystemGroup root lp) and restarted it. First, I've tried to install drivers using hp-setup method

  • Photo album: enlarged thumbnails' layer

    This problem appears only in IE6 and 7, not Firefox or Safari. When I mouseover a thumb it enlarges, but instead of the enlarging OVER the adjoining thumbs, it enlarges UNDER its neighboring thumbs' layer. Here's the sample (slavishly copied from the

  • Call another program in first program

    hi, i need to perform to call another report in my current report. so how am i going to do so? how report work: the report are going to run as background job. once the report run, it will send out the report in text file to user. and then i want it t