How to call a WD4A Application of another system

Hi,
I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
<html>
  <head>
    <title>IFrames - Webdynpro Test</title>
  </head>
  <body>
    <iframe src=<%= lv_url_route %>"
      width="100%" height="500" scrolling="auto" frameborder="1" transparency>
          </iframe>
  </body>
<html>
Can anybody help?!?!
Thanx & best regards,
Oliver
Edited by: Oliver Pregler on Jul 28, 2008 3:26 PM

Hi Oliver,
unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
data: lr_empty_parent type ref to cl_gui_container,
      lr_viewer       type ref to cl_gui_html_viewer.
data: lv_url(200)     type c.
lv_url = 'http://www.xyz.com'.
  create object lr_viewer
    exporting
      parent             = lr_empty_parent
    exceptions
      cntl_error         = 1
      cntl_install_error = 2
      dp_install_error   = 3
      dp_error           = 4
      others             = 5.
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
  lr_viewer->detach_url_in_browser(
    exporting
      url              = lv_url
    exceptions
      cntl_error       = 1
      dp_error_general = 2
      others           = 3 ).
  if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
               with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  endif.
  cl_gui_cfw=>flush( ).
If it helps you - fine. If not - forget it
Best regards
Jörg Racz

Similar Messages

  • EREC-BSP-How to call a bsp application from another bsp application

    Hi Experts,
    In E-Rec one of my bsp application zapp_e_ext calling another standard bsp application hrrcf_searchhlp when user click on search help button.
    i made a zcopy (zhrrcf_serchhlp) of std application hrrcf_searchhlp,and did some changes,
    now the problem is how to replace the std application with zapplication so that zapplication should be called in place of std application when user click on search button.
    Cheers,
    Amod

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to call a struts application in a portlet

    How to call a struts application in a portlet. I have two different ear's. In one ear I have my struts application and in one war i have a struts portlet. In the struts portlet provider.xml defaultAction tag can i call the action class .do which in other ear (ie my struts application ear).Can anyone suggest me whether this is the right way or else can u suggest me with some other thing.
    Waiting for ur responses.
    Thanks and Regards,
    Dhanu.

    Hi Dhanu,
    Your Struts Portlet will not be avialble via a URL as it is completely dependent on Oracle Portal Environment. The Provider for the Portlet is alone available via a URL - you would have registered your Portlet using the URL of the Provider.
    Your Struts application, which does not rely on the Oracle Portal Environment, is defeitely accessible from a URL. It's just another web application that uses the popular Struts Framework.
    Hence, you can use the URL ( the starting point - a JSP, Servlet, etc. ) of your Struts Application to "call" the application in your Struts Portlet. I don't think you need to fiddle with the parameters in Provider.xml.
    Moreover, <defaultAction> in Provider.xml should have the URL of a Struts Action Class - the mapping in the
    struts-config.xml should map the .do action to the right JSP file.
    You can have a look at Metalink Note : 331069.1 for a good insight into the <defaultAction> Tag.
    Regards,
    Sandeep

  • How to call a Java class from another java class ??

    Hi ..... can somebody plz tell me
    How to call a Java Class from another Java Class assuming both in the same Package??
    I want to call the entire Java Class  (not any specific method only........I want all the functionalities of that class)
    Please provide me some slotuions!!
    Waiting for some fast replies!!
    Regards
    Smita Mohanty

    Hi Smita,
    you just need to create an object of that class,thats it. Then you will be able to execute each and every method.
    e.g.
    you have developed A.java and B.java, both are in same package.
    in implementaion of B.java
    class B
                A obj = new A();
                 //to access A's methods
                 A.method();
                // to access A's variable
                //either
               A.variable= value.
               //or
               A.setvariable() or A.getvariable()

  • How to call a VB application from Java

    Hi,
    does anybody know how to call a VB application from java.
    Would appreciate if you can provide me with an example.
    thanks

    try exec()ing the cad program with the name of the file as a command line parameter...
    Runtime.getRuntime().exec("CADProg.exe Test.prt");
    i have no clue if this will work but it seems like it's worth a try.

  • How to call a bpel process in another

    can anyone tell me how to call a bpel process in another bpel process?
    thanks in advance.

    Hi-
    this might help
    Re: Call a BPEL process from another BPEL process
    Let us know if you need any more info..

  • How to call a exec prog in another prog

    how to call a exec prog in another prog.

    Hi,
    SUBMIT
    Basic forms:
    1. SUBMIT rep.
    2. SUBMIT (name).
    Additions:
    1. ... LINE-SIZE col
    2. ... LINE-COUNT line
    3. ... TO SAP-SPOOL List output to the SAP spool database
    4. ... USING SELECTION-SCREEN scr
    5. ... VIA SELECTION-SCREEN
    6. ... AND RETURN
    7. ... EXPORTING LIST TO MEMORY
    8. ... USER user VIA JOB job NUMBER n
    9. ...Various additions for passing parameters to rep
    10. ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    Calls report rep.
    Regards,
    Andrej.

  • Calling A Webdynpro Application From Another Webdynpro Application

    Hi,
    i want to call a webdynpro application from another webdynpro application with sending parameters.
    i used this method,
    CALL METHOD cl_wd_utilities=>construct_wd_url
        EXPORTING
          application_name = lv_webapp
        IMPORTING
          out_absolute_url = lv_url.
    CONCATENATE lv_url '?param1=' lv_param INTO lv_url.
    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.
    lo_api_component  = wd_comp_controller->wd_get_api( ).
    lo_window_manager = lo_api_component->get_window_manager( ).
    lo_window         = lo_window_manager->CREATE_EXTERNAL_WINDOW(
        URL = LV_URL
    lo_window->open( ).
    but this method shows the parameters on the address bar.
    is there a method to send the parameters to another webdynpro application without show the parameters on the address bar?
    Can somebody help me pls?
    Thanks.

    I've used a server cookie before. This was built for BSP, but it is really usable anywhere.  It just writes the data temporary into the database.  This way you can just pass one meaningless URL parameter - like a GUID and use this key to read the data (the server cookie) upon initialization of the new application.  I generally serialize all the data that I want into one server cookie by serializing a class. I can then restore whatever attributes of the class that I want on the receiving side.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/4cd23a09313b37e10000000a11405a/frameset.htm

  • How to call a pcui application

    Hi,
    i try to call a pcui application from another web application.
    i tried to call the product app for displaying a specific product like this:
    http://server:8080/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.do?appl=CRMM_PRD_SALES&blview=ZPROD_MAN&sap-syscmd=nocookie&CRM_OBJECT_TYPE=PRODUCT&CRM_METHOD=DEFAULT&CRM_OBJECT_ID=0000000000000000000000000000000010770029
    but it just shows the empty product application. there's no product selected.
    Any ideas?
    regards,
    Jens

    Hi Jens,
    You need to try to pass the following in the URL
    BORTYPE=PRODUCT
    BORKEY=0000000000000000000000000000000010770029
    I'm not sure if we need this..
    CRM_OBJECT_ID=0000000000000000000000000000000010770029
    Please have a look at CL_CRM_BSP_FRAME_MAIN
    DO_INIT method this will be reading all the query fields passed in the URL.
    DO_REQUEST search for convert_from_bor ( line 199 roughly)
    have a break point in do_init as well as do_request , you will be able the see whats happening.
    regards,
    Vijaya Kumar M.
    Message was edited by: Vijaya Kumar
    Message was edited by: Vijaya Kumar

  • How to run Application on another system via WinRS

    hi Guys
    i have setup WinRM on two PCs & it works fine.
    but when i execute the following command to open an application on the remote system (in my LAN & in my subnet)
    nothing happens & cursor continue blinking at cmd windows
    C:\winRS -r:http://10.1.1.3:5985 -u:administrator -p:P@ssw0rd mspaint    ( or notepad) 
    is it possible to open an application on another system ?
    thanks in advanced

    Hi maria.holme1,
    WinRS(Windows Remote Shell) is used to execute a “program” on a remote host. Programs with a user interface, console applications that prompt for input, and console applications that use the Win32 console API, do not work correctly in the Windows PowerShell
    remote host. Considering the notepad and paint include a user interface ,they may work incorrectly in the Winrs.
    Here are links for reference:
    WinRM (Windows Remote Management) Troubleshooting(Pay attention to “What is WinRS?” part)
    http://blogs.technet.com/b/jonjor/archive/2009/01/09/winrm-windows-remote-management-troubleshooting.aspx
    about_Remote_Troubleshooting(Pay attention to” HOW TO INTERRUPT A COMMAND” in the ending part )
    http://technet.microsoft.com/en-us/library/hh847850.aspx
    “is it possible to open an application on another system ?”
    Have you tried to use PsExec?PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications.
    PsExec v2.11
    http://technet.microsoft.com/en-in/sysinternals/bb897553.aspx
    Best regards

  • How to view the PCUI application  from CRM system

    Hi
    I am new to CRM  can anyone tell me how to open the PCUI application in CRM system  .what is the transaction code to view the PCUI application for the lead and opportunity transactions. cany anyone tell me step by step process to view.
    regards
    Rohit

    HI
    The People centic user interface is the user interface layer where the end user process the crm transactions etc.
    go to SE 80 transaction and select the application as BSP application becouse pcui is bsp based views. type crm_bsp_frame under the application field and you will get folders select the select.htm folder and right click on the mouse and click on test then you will get the popup window enter the crm system user id and password you will get the pcui floor plan for entire crm applications in the browser select the lead and opportunity transaction floor plan click on the new floor plan option. then the new popup window will open and finally you will see the lead transaction or opportunity transaction pcui view to work on . these pcui views url will inturn you can assign to the enterprise portal to log on to single sign on to EP and access the pcui application for crm marketing sales and service module areas as well along with the contact and account mangement for business partners creation screen.
    please do reward points if helpful
    Dinaker vikas

  • How to Transport a planning book to another system

    Hello,
    Can someone please let me know how to transport a planning book to another system?
    Thanks for your time.
    Sarath.

    Dear Sarath,
    Transporting Macro Books:
    You can add macro books to a transport request so that they are transported to the target system(s) when the request is released. When you transport a macro book, the system exports relevant notes directly to the target system. For this, you must specify the relevant RFC destination.
    To be able to use macro books in another system, you need to have already exported other objects such as the relevant planning object structures and planning areas to the target system. You do this in Customizing for Demand Planning or Supply Network Planning under Basic Settings -> Maintain Manual Transport Link for DP/SNP. You can also use this activity to transport macro books. If the planning area does not exist in the target system, you can transport the macro book, but you cannot open the macro book or use the macros.
    To transport a macro book, select the book and choose Tools -> Transport Macro Books. On the dialog box that appears, enter an existing transport request or create new one. The transport request determines the system to which the macro book is transported. Choose Enter.
    Regards,
    Naveen.

  • How to call an applescript application from Office 2011 Excel VBA

    All:
    I have been pounding my head how to implement a working VBA application into the Mac environment. I have tried a number of approaches calling applescript from VBA. I would like to call my applescript application and pass one argument. My applescript application is as follows:
    <code>
    on run argv
    set theURL to (item 1 of argv)
    set p_path to do shell script "echo ~"
    set m_path to POSIX file p_path
    set theName to text -((offset of "/" in (reverse of characters of theURL) as text) - 1) thru -1 of theURL
    set theFile to (p_path & "/Downloads/" & theName)
    set macPath to (POSIX file theFile)
    do shell script "/usr/bin/curl " & theURL & " -o " & quoted form of POSIX path of macPath
    end run
    </code>
    My last attempt within VBA is:
    <code>
    Sub SaveMetaDataFile(URL As String, shortFileName As String)
    Dim scriptToRun As String
    Dim posixcmd As String
    posixcmd = ThisWorkbook.Path
    scriptToRun = "tell application " & posixcmd & ":MetaDataFileDownloadScript.app " & URL
    MsgBox "[" & scriptToRun & "]"
    MacScript (scriptToRun)
    </code>
    I first tried to call the script directly without the "tell application" and I still obtain an error. I also tried the following in VBA and I get the same error with the last lane of code:
    <code>
    scriptToRun = "set theURL to " & """" & URL & """" & Chr(13)
    scriptToRun = scriptToRun & "set p_path to do shell script " & """" & "/bin/echo ~ " & """" & Chr(13)
    scriptToRun = scriptToRun & "set m_path to " & """" & posixcmd & """" & Chr(13)
    scriptToRun = scriptToRun & "set theName to " & """" & shortFileName & """" & Chr(13)
    scriptToRun = scriptToRun & "set theFile to (p_path & " & """/Downloads/""" & " & theName)" & Chr(13)
    scriptToRun = scriptToRun & "set macPath to (POSIX file theFile)" & Chr(13)
    scriptToRun = scriptToRun & "do shell script " & """" & "/usr/bin/curl " & """" & " & " & " theURL " & " & " & """" & " -o " & """" & " & " & " quoted form of POSIX path of macPath"
    MsgBox scriptToRun
    'scriptToRun = scriptToRun & "do shell script " & """/usr/bin/curl """ & " & " & " theURL " & """ -o """ & " & " & " quoted form of POSIX path of macPath"
    MacScript (scriptToRun)
    </code>
    The above code is from the applescript application. The applescript application works well using the terminal via osascript. For example:
    xenas-imac:Census Work Xena$ osascript MetaDataFileDownloadScript.app http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls
    xenas-imac:Census Work Xena$
    The whole goal is to download a file into the Download directory from Excel to allow the next step to import the file into Excel for the user. Any help here would be great!
    Thank you;
    Lori

    Update:
    Ok have the module almost working and matches the syntax within the test applescript I had created, but the VBA code via the MacScript() call is generating an invalid procedure or argument call. The following is the test applescript to compare the created string to be passed to VBA MacScript() function:
    <code>
    set appPath to quoted form of POSIX path of "Macintosh HD:Users:Xena:Desktop:Census Work:"
    do shell script "/usr/bin/osascript " & appPath & "MetaDataFileDownloadScript.app " & "http://www2.census.gove/acs20095yr/summaryfile/Sequence_Number_and_Table_numberLookup.xls"
    </code>
    The following is the VBA module that generates the above word for word as far as I can tell:
    <code>
    Sub SaveMetaDataFile(URL As String, shortFileName As String)
    Dim scriptToRun As String
    Dim posixcmd As String
    posixcmd = ThisWorkbook.Path
    posixcmd = posixcmd & ":"
    scriptToRun = "set appPath to quoted form of POSIX path of " & Chr(34) & posixcmd & Chr(34) & Chr(13)
    scriptToRun = scriptToRun & "do shell script " & Chr(34) & "/usr/bin/osascript " & Chr(34) & " & appPath & " & Chr(34) & "MetaDataFileDownloadScript.app " & Chr(34) & " & " & Chr(34) & URL & Chr(34)
    MsgBox "[" & scriptToRun & "]"
    MacScript (scriptToRun)
    End Sub
    </code>
    The message box in the above VBA code matches my test applescript file and I have taken the output of the MsgBox and used it in a test applescript and it works great, but VBA is throwing "Run-time error '5': Invalid procedure call or argument".
    Looking at Microsoft's definition it takes a string argument and I have made sure that scriptToRun is a string type, so at this point I suspect there is something wrong with the MacScript() funciton, or I am missing something above. Is there another way to call an applescript application from VBA outside the MacScript() function? Or is there something I am missing? Any help or suggestions is needed.
    Thank you;
    Lori (CodeXena)

  • Calling a BSP application from another

    Hello,
        I have not a lot experince in bsp's programming.
        I am trying to call a bsp applicattion from another one. Do you know how can I do it?.
        Thanks in advance.  Javier.

    hi Javier,
    For questions on BSP programming,you should post your questions on the bSP forum.
    For your question,it depends on how you want to call your BSP application.
    Do you want to navigate from one BSP page to other or you want some link which leads to the other BSP application.?
    You can find sufficient help on the help.sap.com
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm">http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm</a>
    For more details, you can search SDN itself.
    IF you have more queries,your'e welcome.
    Regards,
    Siddhartha

  • How to call webservice server application in jsp

    Hi Friends
    I followed this link http://www.eclipse.org/webtools/community/tutorials/BottomUpAxis2WebService/bu_tutorial.html and run the server and client web service application successfully. How to call the Webservice server application in JSP instead of using client (java main method) java appliaction. Is there any tutorial or code for accessing the webservice server application in jsp.
    Thanks and Regards
    Sherin Pooja

    797526 wrote:
    Hi
    I feel that JSP is just a view page.Not a feeling, it actually is :)
    So it is not good practise to write the scriplet code in JSP page. Absolutely right.
    Is there any other way to call the webservice server application in my client(JSP) page?
    What is it that you want to do? If despite all you have said, you still wish to call the webservice from a jsp, read my response above.
    You would do well to rephrase your question if there's something else that you are asking.
    ram.
    Edited by: ramp on Dec 27, 2010 12:35 PM

Maybe you are looking for

  • Weather on maps no longer in degrees celcius? help

    for some reason the weather on nokia maps shows temperature in degrees F, it used to be in degrees celcius, how can I get it back to degrees C?

  • Message No: F5A134

    Hi Friends, How i do solve following message? No clearing accounts specified for company codes C.Code / C.Code Message no. F5A134 Thanks, Best regards.

  • Wifi does not connect automatically after sleep

    Since installing Yosemite on my Mid 2011 iMac - when my computer wakes from sleep mode, it does not automatically connect to the wifi.  I have to select the network to join from the top menu bar.  Is there anyway to make it connect automatically like

  • Where to down load input/writ​e Chinese Simplified Pin Yin

    I bought BB Tour 9630 contract with verizon can somebody help where to find input/write chinese simplified PinYin thank you

  • .mov files from  - Canon EOS 5D Mark ll  -  iPod Nano

    I am looking at purchasing both these items with their promise to deliver video files in the .mov format. I am wondering whether anyone can confirm that is a 1-step transfer into FCP, or is there fine print I need to read ? I understand going in that