Link to another WD application

hi all,
By using link to action UI element how to call another webdynpro application? I have used  create_external_window()
but it is showing null pointer reference error.can anyone help me regarding this?
thanks in advance,
regards,
Anusha

HI,
below is my code where am passing application name.
DATA: lt_parameters TYPE tihttpnvp,
ls_parameters TYPE ihttpnvp,
lv_url_string TYPE string.
DATA lo_window_manager TYPE REF TO if_wd_window_manager.
DATA lo_api_component TYPE REF TO if_wd_component.
DATA lo_window TYPE REF TO if_wd_window.
DATA lo_controller TYPE REF TO if_wd_controller.
ls_parameters-name = 'WDCONFIGURATIONID'.
ls_parameters-value = 'ZLINKACTION1'.
APPEND ls_parameters TO lt_parameters.
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'ZLINKACTION1'
in_parameters = lt_parameters
IMPORTING
out_local_url = lv_url_string.
lo_window = lo_window_manager->create_external_window(
url = lv_url_string
title = 'Profile'
modal = abap_false
has_menubar = abap_true
is_resizable = abap_true
has_scrollbars = abap_true
has_statusbar = abap_true
has_toolbar = abap_true
has_location = abap_true ).
lo_window->open( ).
Edited by: anusha sabbineni on Jun 24, 2008 1:33 PM

Similar Messages

  • When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    When I click on an active link from another application, it opens the firefox application, but won't open open the page - it just opens Firefox or takes me to Firefox. No new tab or window is opened and the link is not displayed.

    Firefox sent an email to me to confirm that I had asked the above question. The email had a link to click. When I clicked it from Firefox, nothing happened. Then I opened IE, signed into Comcast, opened the email, clicked the link, and it brought me here.

  • FF windows goes blank white and freezes if I click a link in another application when Print Preview is open in FF (Win 7 64-bit)

    Possible bug: FF dumps my session if I try to open an external link without closing print preview view. I had left the Print Preview screen open in FF after printing a web page, and I clicked a web link in another application, which would have normally opened in a new tab in FF. However, only the Print Preview window was displayed and when I clicked "Close", the FF window when all white. Back/backspace wouldn't work and I had to close FF and start a new session. I tested this a few times and it happens every time. I didn't think to test whether this happens in Safe Mode.

    Troubleshooting extensions and themes
    * https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes
    Check and tell if its working.

  • How to link to another page in same application?

    I think I have a brain fog right now. Cause I can't figure this out.
    I would like to link to another page in the same application by way of just an arbitrary word in a paragraph.
    I am not trying to pass any values. I am not using a button or a text item.
    How can I make a link out of a word?
    Thanks much,
    Maggie

    Hi Maggie!
    I imagine myself, that you have a html text and you want to have a hyperlink to another page in your application.
    For instance you have a text like: "I want to create a hyperlink to a page"
    Now, if your mouse passes the word "hyperlink", you want to see that magic 'hand'.
    First copy the URL of the target page: something like this -> "http://127.0.0.1:8080/apex/f?p=100:2:3122716493255005::NO:::"
    Than change your html text in this way:
    I want to create a hyperlink to a page
    I hope, it helps
    Gerhard

  • How to Start/Launch another WD application using a link.

    Hi, I've been trying to see if there's an official way that I can launch another WD application using a link from within an application where the applications are not in the same deployable object.
    P.S.  I've seen the other thread of how to do it when the applications are within the same deployable object.
    Thanks in advance as always,

    Hi Michael,
    of course it does, so the question should be:
    "Hey, how do it get the application URL of a WD application without hardcoding the server name, port or whatever?"
    This is simple:
       * Return is the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getApplicationURL(WDDeployableObjectPart)
      public static String getApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getApplicationURL(deployableObjectPart, urlParameters);      
    or if you would like to get it load balanced:
       * Return is the workload balanced application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the workload balanced application URL for the specified
       * <code>deployableObjectPart</code> with appended URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getWorkloadBalancedApplicationURL(WDDeployableObjectPart)
      public static String getWorkloadBalancedApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getWorkloadBalancedApplicationURL(deployableObjectPart, urlParameters);     
    Before i forget it to mention, these are two methods of the WDURLGenerator API. There are others where you don't have to specify the deployableObjectPart, you can use DPO name and name of application as parameters instead.
    Hope that helps.
    Best regards
    Stefan
    PS: This was my 2nd attempt, i hope i got you right now...

  • Can Firefox be configured to open most-recenlty-active Firefox window when you click a link in another application? Am using multiple profiles.

    I think this is really a feature request, but I didn't see a forum for that. I used to use firefox almost exclusively, but switched to chrome when I started freelancing for a couple of different companies -- the identities feature of chrome really helps me keep my sanity by having a unique identity for each company. However, an issue has recently developed with chrome that made me switch back to firefox. The profiles feature in firefox seems to have gotten a lot better since I made the first switch, and I'm pretty happy with how it works ... with one exception:
    With firefox, clicking on a link in a different application always opens in the default profile. With Chrome, it would always open in the browser window that was most recently active. This is a very intuitive behavior, as whatever I am doing in the other application (e.g. thunderbird, evernote, skype) is almost always related to whichever browser window I had opened last.
    Any chance of this getting implemented? Or maybe there's already a way to do this? I found the following related topics, but neither helped with this question:
    https://support.mozilla.org/en-US/questions/981608?esab=a&as=aaq
    https://support.mozilla.org/en-US/questions/983341?esab=a&as=aaq

    I just switched back to Fx from Chrome after using Chrome for about 2 years.
    I use two profiles with Chrome, one for work and another one is personal. They don't share anything which is exactly why I have two profiles and not just two windows. I found an extension for Fx to easily open two instances of Fx with different profiles but all links open in the same instance, which is not how it worked with Chrome.
    With Chrome, whichever window was active last is getting the link which makes it perfect for multi-desktop use (on Mac OS X). I'm quite upset and annoyed that Firefox cannot do that. Isn't there *some* way?

  • How can I make links in another application (say thunderbird) open with a specific Firefox profile

    Having several different Firefox profiles, clicking a link in another application (for instance,a link in Thunderbird,or in a email message,generally speaking) brings up the profile manager:is there a way to bypass it and force all links to open with a specific Firefox version\profile?

    A way to do that is to edit the registry and add the -p "profile" switch to those protocol links. There is however no guarantee that such a change stays after an update and Firefox may complain.<br />
    Another way is not to use the profile manager, but select the profile for the default browser once in the PM to set the profile for the default browser, so that profile is marked as Default=1 in profiles.ini. Then place a checkmark in the box to never ask and use a desktop shortcut to start each Firefox version with its own profile, so you do not have to use the PM as that would set another profile with Default=1
    * http://kb.mozillazine.org/Shortcut_to_a_specific_profile
    * http://kb.mozillazine.org/Using_multiple_profiles_-_Firefox

  • Creating Ejb link to another Weblogic server

    I am trying to create a EJB jndi link to another weblogic server from a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do a remote
    lookup and rather created a link at the server level and allowed me to do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun

    "Varun Garg" <[email protected]> wrote:
    >
    I am trying to create a EJB jndi link to another weblogic server from
    a weblogic
    server.
    Basically I have a web application that uses an EJB that is deploed on
    another
    weblogic server and I would like to connect to it.
    One way I can do is the remote lookup using the Hashtable and the context
    factory,
    something like this
    Hashtable props = new Hashtable();
    props.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
    props.put(Context.PROVIDER_URL, "t3://localhost:7001/");
    Context context = new InitialContext(props);
    I used a jndi-link in resin previously, that did not require me to do
    a remote
    lookup and rather created a link at the server level and allowed me to
    do a direct
    InitialContext() lookup.
    <jndi-link>
    <jndi-name>java:comp/env/ejb/test</jndi-name>
    <jndi-factory>weblogic.jndi.WLInitialContextFactory</jndi-factory>
    <init-param java.naming.provider.url="t3://xx.x.x.x:7001"/>
    <jndi-lookup>ejb.test</jndi-lookup>
    </jndi-link>
    Can I do something similar in Weblogic? If yes, how can I do it.
    Appreciate your help.
    Thanks,
    Varun
    hi,
    Yes, it is possible in weblogic for more info visit this url,
    http://e-docs.bea.com/wls/docs70/ejb/reference.html#1221067
    u have the description of how to use the below tags
    <initial-context-factory>weblogic.jndi.WLInitialContextFactory</initial-context-factory>
    <provider-url>WeblogicURL:Port</provider-url>
    <indi-name>jndiweb</jndi-name>
    hope it help u
    regards,
    Elango TR

  • I just had to have my toshiba laptop hard drive replaced and I am unable to move my itunes library from my ipad back to the laptop.  It says it is linked to another library  and I can only transfer purchased music etc and not the rest of the library.Help!

    I have just had my Toshiba laptop hard drive replaced. This has resulted in all previous content held on the laptop to be lost.   I wanted to try and transfer my music library from my ipad to the laptop, but it will not allow me to do so.  The message is that the ipad is linked to another computer and it will only allow the transfer of the items purchased on through the ipad and nothing else.  Does anyone know if the full library can be transferred back to the computer?

    You need to transfer the iTunes Library from the most recent backup you made before the hard drive was replaced.
    You can't transfer the full iTunes Library from the iPad back to iTunes.
    There are third-party Windows applications that will transfer data from an iOS device, but they don't re-create the iTunes Library exactly as it was before.

  • Won't sync purchased items, "linked to another library on computer ****"

    I keep getting an error message that says I can't sync videos to my iPod as this iPod is linked to another library (and gives a computer code in a lot of digits and letters).
    How do I sync the video across without losing the content already on the iPod?
    I have the manually manage music and video boxes tagged - and I have purchased videos and songs, transferred them to my iPod then deleted them off the hard drive (backed up to disk, but disk in storage). I just want to add to the files already on the iPod - I don't want to lose what's already on there. I've tried changing my iPod to disk mode, I have deauthorised then authorised the 2 accounts I use on the computer, and it still won't work.
    Can anyone help me with an idea or suggestions please?

    Andrew J wrote:
    Try selecting "check for purchases" in iTunes>store menu.(Make sure you're signed up and logged in to your account). As for library location go to preferences>advanced>general and select your music folder location there.
    That's the kicker. I did all that stuff in regards to checking for purchases, authorizing the computer, etc.
    My "library" is now where I told iTunes to deal with it, yet, it still deals with my library in the old location (iTunes Library and XML files as well as Mobile Applications).
    I haven't rebooted my PC, but I sure hope that's not the reason.

  • Can I add a text link to another place in a Pages v5 file?

    Simple question:
    Can I add a text link to another place in a Pages v5 file?
    My client would like to include a visible, inline Table of Contents in his ePub. Apple Pages v5 deletes the visible Table of Contents. Can I manually create a Table of Contents with clickable links to the appropriate chapters?

    Pages 5's greatest claim to fame is its general inability to do anything much, aka "simplification".
    So the answer is No! and because this is also Apple, You don't want to do that!
    Luckily however, should you still have Pages '09 in your Applications/iWork folder, you can use that instead.
    Peter

  • Calling FPM application from another FPM application

    Hello Experts,
    I've created 2 FPM configurations, one displays the list of POs created by the user through a List UIBB and the other displays the Header and Item of the PO when selected.
    Scenario is that when I should click on the PO (which is a link) in my 1st application, I need to pas the PO number and some other details to my 2nd application and display the PO header and Item. My all Config is purely UIBB based and I'm not using webdynpro at all for designing any views, everything is designed using FPM UIBBs and feeder classes only.
    what I need to know is:-
    1) how can I pass the data between 2 different FPM applications?
    2) how to call and display my 2nd Application on the same page when I click on the link of 1st application? I need the BACK functionality as well.
    3) how to get the data into my 2nd application from 1st application?
    Plz suggest.
    Best Regards
    Jitin Kharbanda

    Jitin,
    The best option in your case would be to open a new browser window with the second application and pass an URL parameter along with the document number.
    Then you can read the URL parameter in the second application. Please see Re: Determining Edit/Display Mode from Within Freestyle Component how this can be achieved.
    Embedding another FPM application into an already opened FPM application (e.g. by embedding a freestyle UIBB and loading the second FPM application from there) won't work as the FPM runtime will cause a dump saying that two instances ofthe FPM are not allowed.
    If you MUST embedd your second application into the first one, the only chance that comes to my mind is the merge the configurations of both applications and pass the data via singleton / wires / events. Please see Data exchange possibilities in Floorplan Manager
    Regards, Uwe

  • Calendar Day Link to Another Page

    I have a Page which has Date as LOV with Submit With Select (This is Page 10)
    e.g. User selects a date, report is displayed based on date selected. This is done using Select list with Submit. Date is populated using LOV based on query. The default value of date is Maximum of date in on of my date column.
    The above think works great. No problem so far.
    I want to create calendar view which is another page (This is Page 20) .
    Calendar is created using Calendar wizard. In Calendar, I want to link Day to above Page. I can create day link which links back to Page 10 and also report data is displayed based on date selected in Calendar.
    Now, the problem: The problem is value of Date field on above page (Page 10) is always set to default value. Although, I have said that default value should only set when session state is NULL.
    So my question is why Date (Display value) is not set to value passed from Calendar Page. I have checked Session info and correct value of date is present.
    What should I do to correct this problem ?
    The other question is :
    How to disable calendar day link when there is no data to be displayed ? At present, as soon as I create a Day link, all the Days in Calendar are linked, what I want is, to hightlight/clickable which has only some data.
    How should I do this ?
    Thanks
    Sanjay

    Sanjay,
    Instead of using the Day Link feature, you can create a link in the SQL query for the calendar region. This will accomplish both of your goals: It will pass the value to your other page, and it will only appear for days where there is a value.
    If you look at the Orders page of the sample application, you'll see that the SQL for the calendar is :
    select '<a title="Order Detail" href="f?p=&APP_ID.:29:' || :APP_SESSION || '::::P29_ORDER_ID:' || order_id || '">' || to_char(order_total, '$999,999') || '</a>
    ' ord, order_timestamp
    from demo_orders o, demo_users u
    where o.user_id = u.user_id and (u.user_name = :APP_USER
    or :APP_USER = 'ADMIN')
    The query returns two columns: The value to display, and a date. In this case, the value to display is a link to another page. The link passes a value for the P29_ORDER_ID value.
    Documentation for the link syntax is available here: http://download-west.oracle.com/docs/cd/B14117_01/appdev.101/b10992/mvl_fund.htm#sthref446

  • Passing value from one mxml application to another mxml application

    I am stuck up with a problem.
    what i am doing is i have created a mxml application which has user sign form ,
    this form accepts username and password and calls a remote object method checklogin()
    when it finds correct it must jump to another mxml file after succesful login .
    i have created remote object and i want to know how can we pass the username to another mxml application from the resulthandler function which handles the result for that function. Further i would like to ensure that session is handled correctly , whenever i press F5 or Refresh button after login i redirected to the state where i need to login again.
    plz Sugeest me some solutions..

    hi rajesh......
                       for using 2 components... you should go for component usage.... here is a God given tutorial which will guide you.
    [link|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f ]
    ---regards,
       alex b justin

  • Enquiries on whether fla can be linked to another fla, swf to flv or other video format and buttons to an animation

    I have 3 enquiries.
    1) How do I embed another fla within fla.
    For example, I am working on a fla, is it possible to create
    a link to another fla via a button?
    2) How do i convert a swf file into a flv file or any other
    video format like avi, mp4, etc?
    I am asking this because I realized when I try to import a
    swf into my fla file, I could only bundle it for mobile. Neither
    the progressive nor the streaming nor the embeding options could be
    checked.
    3) After adding tweening motion to an animation, is it
    possible to add buttons to play/pause? Do I have to write a script
    to enable the buttons to work?
    I tried adding buttons (Windows>components>video),
    however, the buttons were not functioning like the case when I
    imported a video. I think it's because adding tweening to an
    animation doesn't really dismiss it as a video file.
    I would greatly appreaciate if anyone could post a solution
    to my problems.
    Thanks.

    I am not so sure that this is a bug, and I have not been able to reproduce this behavior that you are describing. 
    But you can lock it from editing by right-clicking on the graph and go to Properties>>Appearance>>Enabled State --> Disabled
    Also, word of advice for the future: You will get more replies from the community with shorter posts and keeping it to one question per post. Summarize what the issue is, and put the detailed documentation and instructions to reproduce in the actual VI. 
    Huntington W
    National Instruments
    Applications Engineer
    ***Don't forget to give Kudos and Accepted as Solution where it is deserved***

Maybe you are looking for