Calling WDA from BSP

Hi all,
Is it possible to call WDA from a BSP via a hyperlink and pass parameters that the WDA would need? How could I go about doing this?

Hi Alexander,
   You can't pass the information(Context Data) from WDA to BSP directly so you just store the information in some variables or internal tables use the normal user paramenters like EXPORT & IMPORT or SET and GET parameters. Thgoruhg this way only you can communicate the data between these 2 technologies otherwise you need to save the data in some ztable and use the same table in both technoloes.
you can also use Server Side Cookies.
Perhaps take a look into this blog from Koen Labie:
/people/koen.labie2/blog/2006/11/29/eating-cookies-with-webdynpro-and-bsp
The blog shows how to pass the data from BSP to WD.
Transfering data between WD and BSP via Server side Cookies can also be used for your requirement.
For that you have to set the Data Cookie in the WD and then get the Cookie in the BSP.
Please keep in mind that if you mix two different technologies you will have to deal with integration. WD and BSP will run in two different sessions at the server. Handling data exchange, login, logoff, data transfer at the server and client, etc can be challenging. You might end up with recreating enterprise portal-like software. So depending on the scope of the project, it might be more advisable to stay within the BSP environment or to reuse the SAP enterprise portal to integrate these two technologies at the client.
Hope this will help you.
Cheers,
Darshna.

Similar Messages

  • Call ITS from BSP Application

    i have created a ITS screen which in turn calls a Abap report
    I want to call this ITS screen from a BSP application .
    Could you please provide some sample code which is used to call ITS from BSP application..
    Useful answers will be rewarded
    Thanks

    Since it is related to both ITS and BSP i thought i can post it in both. and also i didnt get answers for the queries..... for a long time. Anyhow i will take your suggestion for my future query.
    i hv done using iframe to call my ITS application.
    I can able to call the Bsp application whichin turn calls its screen abap program.
    while executing ,  the selecting the directory from the file browse pop up doesnt work for downloading the file
    becos the client , they will not change the settings related to applet in the internet browser for security reasons.
    I hav to make it some how to make it work in the portal which calls this BSP application..
    at the moment i mapped this BSP application to the user role in the SUS Portal . but it appears in the SUS portal . but i m not able to click the application and also handsymbol is not seen while bringing the mouse to that area.
    Could you please tell me , how to use Action_id for that particular application, Authorisation profile settings.
    Kindly  give your suggestions asap.

  • OrgChart: calling WDA from Details

    Hi guys,
    I have a specific need: call WDA from employee Detail. It should be able also to pass personnel number into WDA like parameter.
    Any idea, how to do that?
    Best regards,
    Sergey Aksenov

    Hi Sergey,
    Do you have any experience of using XSL or customizing VSN solutions? If not this might prove a bit tricky. You should try and use existing examples in the application. Meanwhile, I will try to help.
    2. Create file 'zhr_tmc_employee_profile.xsl' with content:
    <a href="http://myhost:myport/sap/bc/webdynpro/sap/zhr_tmc_employee_profile?PERNR={/cds/data/record/field[@name=PERNR]}&sap-rtl=&sap-accessibility=&sap-wd-configid=ZHR_TMC_EMPLOYEE_PROFILE">Press here</a>
    If this is the only code in the document then the document will not work. Look at other XSL documents in the Templates folder to understand how they work.
    4. Edit PresentationResources.xml in my build (.delta folder, and root folder of build as well). Added this:
    <presentation name="zhr_tmc_employee_profile">
    <file name="MyTemplates\zhr_tmc_employee_profile.xsl">
    Did you add the </presentation> tag after it?
    5. Change 'presentation' tag in my detail xml in folder Detailconfiguration, replace content with 'zhr_tmc_employee_profile'.
    What detail configuration are you using? The change should look something like this:
    <section enable="true" name="647308B3-0C68-4829-50AF-30C5668EDC40">          <fieldsetname>6abf642e58534f80942731270cb37b67</fieldsetname>
         <presentation>zhr_tmc_employee_profile</presentation>
    </section>
    Can you check the cds.log file after you open the details panel? The problem is likely to be the XSL file is not a correct XSL file.
    Best regards,
    Luke

  • CNTR_ERROR While calling BDC from BSP

    Hi ALL
    I am calling a RFC from BSP which in turn call a BDC for the transaction TP04.
    When i run the BSP in debugging mode its posting data and  working fine.
    But otherwise also it doesn't throw any error on browser. but when i check ST22 it throws exception CNTL_ERROR.
    My function is remote enabled and i am using destination 'NONE' as well.
    I have also checked the Blog by Brian.
    suggestions are welcome
    Naresh

    Hi
    Browser is not giving any error,Friendly HTTP is turned off.
    I am calling my own fucntion module like this
    CALL FUNCTION 'ZTM_FM_TP04' destination 'NONE'
              EXPORTING
                emplno  = employeeno
                STARTDATE   = strtripbegin
                STARTTIME   = strstarttime
                ENDDATE     = strtripend
                ENDTIME     = strendtime
                FIRSTDEST   = strfirstdest
                COUNTRY     = strcountry1
                REASON      = strreason
                CASHADVANCE = strcashadvance
                CASHCURR    = strcashcurr
                BANKADVANCE = strbankadvance
                BANKCURR    = strbankcurr
              TABLES
                ADDDEST     = adddest.
    and within the function module i am calling Call Transaction like this
    CALL TRANSACTION 'TP04' USING BDCDATA
                         MODE   'N'.
    But its not posting any data and while checking thru ST22 its giving following error
                                                                                    A RAISE statement in the program "CL_GUI_CUSTOM_CONTAINER=======CP " raised th 
    exception                                                                     
    condition "CNTL_ERROR".                                                        
    Since the exception was not intercepted by a superior program                  
    in the hierarchy, processing was terminated.

  • Call WDA from ABAP via function module

    Hi WDA experts,
    is there any possibility to call a WDA within a ABAP report AND include it in the process.
    The best would be to call a WDA via a function module - make some inputs on the WDA side - press submit and the function module gives me the data from the webdynpro back to my application.
    I know that I can call a WDA via the function CALL_BROWSER, but in this case the WDA application is fully independent from the report and I am not able to post any data back to the report.
    I also know FM WDY_EXECUTE_IN_PLACE, but in this case I need a HTML container to display the WDA and there it seems that I also never get back any data back to the report.
    Any hints are appreciated.

    Not too hard:
    CALL WDA passing in a KEY on start plug.
    write the data to a shared memory object using the key passed as the
    key to a shared memort object on the submit.
    (see blogs on writing Shared maemory objects in ABAP)
    Then simply exit APP.
    On return read the data from the Shared memory Object.
    The shared memory object lives across the 2 sessions.
    cheers
    Phil.

  • Calling WDA from Microsoft .

    Hi Every body ,
    I want to call a WDA applcation from from Non- SAP portal .
    I want to call a WDA applcation from microsoft portal .
    Is it possible to call WDA in internet not in intranet .
    Thanks in advance ,
    Sethu

    Hi,
    Same req but,here i have to call the WDA application in the portal log on customization par file.
    com.sap.portalLogon.par --- bottonarea.txt i have a link i want to call the WDA application.
    here the link href="I have the application URL" but here we have to give host and port
    if that transfer to quality agin i have to chage... like that...production.
    Can you please provide me how to call WDA.
    how to get the host and port dynamically.if transport to quality dynamically to fetch that host and port by coding.
    i am thinking that is the way.
    If there is any solution please let me know.
    Thanks
    Ramkumar

  • How to call WDA from PCUI link.............

    Hi friends,
    I want to call a custom WDA from a standard PCUI button. Can someone tell me how to call this.
    Once the stndard button in PCUI view is clicked, my WDA has to be displayed.
    thanks in advance,
    Niraja

    Hi,
    As said by Thomas, the WDA is just like another HTML page with URL. So what you can do is Put an entry for the button in the action list. Then in application layout  put an entry for the new WDA application(specify it as popup). select the page type as HTML.
    This is more PCUI work than a WDA work.
    Thanks,
    selvakumar M.

  • Call webdynpro from BSP (MVC)

    Hi, gurus!
    I have simple bsp created using MVC. I have my own component which includes MainWindow with controller class by default and a view with controller class and model class. Everything was created using Wizard.
    I need to call webdynpro app from this BSP in WEB UI. I have a code that get WD url, then I'm trying to use navigation in DO_REQUEST method whih I redefine for a view controller class:
      data: l_wd_url type string.
      call method cl_wd_utilities=>construct_wd_url
        exporting application_name = 'Z_XR_BP_COURCES'
        importing out_absolute_url = l_wd_url .
        navigation->goto_page( l_wd_url ).
    In test mode it's working fine, but when I call this BSP through WEB UI I recieve an error message:
    "Business Server Page (BSP) error
    What happened?
    Calling the BSP page was terminated due to an error."
    Sorry, if my question a little bit stupid =), but i'm new in BSP.
    Could anyone help me?

    Hi,
    Please check in SDN before posting the questions.
    Check with the following link [Webdynpro from BSP (MVC)|Call Webdynpro Application from BSP Application;
    Hope this helps you.
    Regards,
    Rajani

  • Call VB from BSP

    Hi,
    anyone know if it's posible to call a VB app from within a BSP...? Or even, more generally, executing Windows commands (including starting applications) from a BSP?
    trond

    Hi Trond,
    Microsoft provided the feature of starting desktop applications from within the IE for a while (without being aware of it). But people didn't really like it and were considering it as a security hole. How bad for us developers, isn't it?
    However, if you really want to scare your users, you can still do the following in your BSP app:
    1) create a string which looks like the command line of starting the windows app. This one here e.g. starts the SAP GUI and connects to system XXX with TA SE80:
    CONCATENATE 'cd Program FilesSAPFrontEndSAPgui' cl_abap_char_utilities=>newline
                  'sapshcut.exe -sid=XXX -clt=150  -cmd=SE80 type=Transaction -l=en' INTO lv_htm.
    2) create an url including a file name ending with a '.bat' extension
    3) create a response object and add the string as data, set header cdata/status etc. & upload everything into the server cache
    4) use the url as reference in a link element or something
    Now you just have to convince your users to push the 'Open' button on the download window after they have selected the link and the batch file is executed.
    Disclaimer: it wasn't me
    regards, Ulli

  • Calling WDA from IC Webclient

    Hi All:
    We are planning to build a WDA application and integrate with CRM IC Webclient application (BSP app).
    Any ideas on how to integrate and pass the context data between the two applications?
    Thanks a million!!

    Actually I am planning on calling the WDA thru a url link in BSP (ICWC Nav bar). When users pick data in WDA that needs to be communicated back and trigger an event.
    We already have BSP view(Agent Inbox ) doing what WDA is intended for, but users complain about performance, we think with WDA we can improve performance significantly.
    Any suggestions?

  • Calling DLL from BSP

    hi,
    Can anyone suggest me how to call a dll in a bsp. if you can help me with a sample code it'll be helpful.
    Thnx in Advance
    Vinodh

    What exactly do you mean by calling a DLL?  Do you want to host an ActiveX Control?  Do you want to call a DCom Object or a .Net Object?  Or perhaps you are wanting to call a WebService writting in .Net?
    For a Native DCom Object or .Net Object your would need the SAP DCom Connector or .Net Connector respectively.  For an ActiveX control, BSP is no different than any other Web environment - Client Side JavaScript or VBScript should do the trick.  I'm sure you can google many an example from the Web. 
    If I am off base here, just let me know.  Also this question might be better suited to the BSP forum instead of the ABAP one.

  • Calling Iview from BSP Iview

    Is it possible to call a transaction iview from a BSP iview .
    i want to trigger a transaction iview when i click a button in my BSP iview .
    thanks in advance .
    J

    hi,
    The URL that you get on previewing your Transaction iView is the one that needs to be used in your BSP as:
    <a href = "http://sgssmcepdv:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0" >hello </a>
    Te get the url correctly,open the Transaction iView,in the properties look for the property PCD Location
    It will be something like
    portal_content/com.hcl.FLD001/SiddharthaID/iViewsID/Misc/epcmID_0
    Now in place of the '/' replace !2f .
    portal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0
    Now the complete URL would be
    http://sgssmcepdv:52000/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fcom.hcl.FLD001!2fSiddharthaID!2fiViewsID!2fMisc!2fepcmID_0
    Ok.
    Then test the BSP Iview.
    Regards,
    Siddhartha

  • Calling a webdynpro URL in new window from BSP

    Hi experts,
      i am calling a URL from BSP application by creating a link and on the 'onclick'  event of the link ,using following code
    navigation->goto_page( URL = l_wd_url session = 'NEW' ).
    My problem is ,i have to open this page in a new window(the Page is basically a webdynpro URL) ,so far it is only opening in same window.I have tried different other options.
    navigation->next_page( URL = l_wd_url session = 'NEW' ).
    CALL METHOD runtime->server->response->redirect( url = l_wd_url ).
    navigation->call_application( URL = l_wd_url ).
    I tried using call_browser FM also but it is dumping.
    href tag will not work in my case as i have to capture the event and write some code inside  that event..
    Please suggest what i can do now?

    Hello Graham,
    I am trying to get the windows user id in webdynpro abap.
    I am unable to get,
    So I used BSP application to get the windows user id.
    I using java script to get that.
    After that I don,t know how to  assign that java variable to ABAP variable. the
    Insted of calling the WDA using the following way
    <a href="<%=l_wd_url%>" target="_blank">Click Here</a>
    is there any other way to call WDA from BSP based on some action.
    Regards
    Srini

  • Pass URL parameters from BSP to WDA for ABAP (via Post   )

    Dear Gurus,/ Joerge,
    I am unable to post my Code here, but with the guidance provided by Joerge i am able to solve this
    i Have been through the Below thread
    Pass URL parameters from WD to BSP via Post
    Dear Gurus,
    "Since I am unable to Post new thread i am Continuing this thread, though this Issue has been
    " resolved,i need some more info on the following issue, Kindly guide me,
    I have gone through the below thread but left with no clue
    Pass URL parameters from WD to BSP via Post
    Here i have 2 Issues
    First one is --->
    " After pressing the Button I am calling this URL which is WDA for ABAP
          action="http://company/sap/bc/webdynpro/sap/zuser"> " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    Second one is -->
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    " And how to Capture this Value in Webdynpro INIT method
    "Here am using Form and method = post , I am removing this as it is causing some problem while posting
          action= my WDA For ABAP URL here " I am calling WDA for ABAP URL here
    " Kindly guide me how to pass the Value
    " This value need to be passed to the URL above and
    " How to capture the Same in WINDOWINIT method of WDA for ABAP
    Thanks and Regards
    Ramchander Rao.K

    Hi,
    let me see if I understand you well.
    BSP -
    You wrote the code for catching the user name in the event OnCreate, which means that you know who´s working with the BSP application when it starts.
    Somewhere you must have a button or something with text like "Call WDA application". When user presses the button, it triggers events OnInputProcessing. Here you must write the code for the cookie that "sends" the parameter(s), something like:
    CALL METHOD cl_bsp_server_side_cookie=>set_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_value            = PAGE_DATA
        data_name             = 'PAGE_DATA'
        EXPIRY_TIME_REL       = 3600.
    you call then the URL for the WDA application.
    WDA -
    probably in method WDDOINIT of the component controller you´ll write the code for reading the "content" of the cookie:
    CALL METHOD cl_bsp_server_side_cookie=>get_server_cookie
      EXPORTING
        name                  = 'MY_COOKIE'
        application_name      = 'ZUSER_NAME_GET'
        application_namespace = 'ZUSER_NAME_GET'
        username              =  sy-uname
        session_id            = 'SAME_FOR_ALL'
        data_name             = 'PAGE_DATA'
    CHANGING
        data_value            = PAGE_DATA.
    read more about the cookies in SDN, because I am not sure if this is the correct example for transmiting values. I´ve used it in conjunction of instructions IMPORT and EXPORT for transmiting an internal table.
    if this is not working properly, then try with IMPORT TO MEMORY and EXPORT FROM MEMORY.

  • How to call a Webdynpro view from BSP page (MVC) in a new window?

    Dear Experts,
    kindly advise how to call a webdynpro view from BSP application after performing an event (through button or hyper link).
    Regards,
    Sarat.

    Hi,
    This has been discussed many times in several forums.
    Please check the method CL_WD_UTILITIES=>CONSTRUCT_WD_URL, to create a runtime url for your WD Application and call this URL.
    Refer thread: Call Webdynpro Application from BSP Application
    Hope this will be useful!
    Regards,
    Meganadhan S

Maybe you are looking for

  • How to use @jws:sql call Stored Procedure from Workshop

    Is there anyone know how to use @jws tag call Sybase stored procedure within Workshop, Thanks,

  • Online Video Editing Courses/Videos, Adobe PP, Help?

    Hello, I really want to learn how to create films like this type of style/editing: https://www.youtube.com/watch?v=q9hxz0Kb-n0 I am a traveller, and photographer, so my style is pretty much travelling, capturing scenery and cutting video and music to

  • Help : Sending Jar file using bluetooth.

    Hi I have done till below... Midlet will search available bluetooth device in range. I want to do below. 1. Search available bluetooth device in range 2. User will see list of devices. 3. when user will select a device, i want to send the jar file it

  • Calling an EJB from a JSP

    Hi, I have this strange problem getting an EJB home object in a JSP page. I use JDeveloper 9i Beta as development tool and 9iAS as Application Server. The EJB works just fine if I connect with a client, but when I use the exact same code for lookup i

  • Reg: UTA ports FCoE, 10GbE flow control settings

    Could someone shed some light on the flow control settings for UTA ports, below is the scenario.I am working on  the configutation of 4 node 3220 custer. We are using this 4 node cluster for FC and NFS traffic. each UTA port on the node used to serve