Calling webdynpro application in standard POWL

Hi Experts,
I have a requirement  I need to call a webdynpro application from the POWL ALV list when I click on the one of the cell whihc contains the link, it triggers the Feeder_class->handle_action method, Here I am creating the URL ,
COuld you please any one suggested me to use the URL, to call the webdynpro application, When calling he function module to execute the link I am getting the error like ,HTML_ERROR.
Thanks in Advance'
Swamy

Try This:
DATA:
  lv_val  type <type of parameter>,
  lv_url_string TYPE string,
  lv_url_c(250) TYPE c.
get absolute URL of Application, first try HTTPS
CALL METHOD cl_wd_utilities=>construct_wd_url
  EXPORTING
    application_name = <App_Name>
    in_protocol      = 'HTTPS'
  IMPORTING
    out_absolute_url = lv_url_string.
Try without HTTPS
IF lv_url_string IS INITIAL.
  CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
      application_name = <App_Name>
    IMPORTING
      out_absolute_url = lv_url_string.
ENDIF.
append client and logon language to URL
CONCATENATE lv_url_string
            '&sap-client=' sy-mandt                         "#EC NOTEXT
            '&sap-language=' sy-langu                       "#EC NOTEXT
  INTO lv_url_c.
append parameter to pass variable
CONCATENATE lv_url_c '&abcd=' lv_val INTO lv_url_c.
start browser with URL
CALL FUNCTION 'CALL_BROWSER'
  EXPORTING
    url                    = lv_url_c
  EXCEPTIONS
    frontend_not_supported = 1
    frontend_error         = 2
    prog_not_found         = 3
    no_batch               = 4
    unspecified_error      = 5
    OTHERS                 = 6.
.. SY-SUBRC CHECK..

Similar Messages

  • Calling WebDynpro Application and Passing parameters

    Hi,
    I want to call a webdynpro application from another application and also i want to pass parameters to the called webdynpro application.
    Is there an example on SDN which shows how this can be done. If not please advise how this can be done.
    Thanks and Regards
    Sidharth

    Hi Sidharth,
    until the tutorial is available, here's a step by step guide.
    1. Create an outbound exit plug, for example "CallApp" in an interface view controller belonging to the calling component.
    2. Add a string parameter 'Url' to the plug "CallApp". It's important that the parameter starts with uppercase 'U'.
    3. Declare a controller usage of the interface view controller for the view controller, which will fire the plug.
    4. Add an action to the calling view controller.
    5. Add the following code snippet to the method body of the action handler. Change the application name "CalledApp" to the name of your called application and the wdThis.wdGet<YourInterfaceView>Controller().wdFirePlugCallApp(url) so that it matches the names you defined. The example will not work, if the application is not part of the deployable object the calling component resides in.
    IWDDeployableObject componentDPO = wdComponentAPI.getDeployableObjectPart().getDeployableObject();
    String appName = "CalledApp";
    WDDeployableObjectPart[] applicationParts = componentDPO.getParts(WDDeployableObjectPartType.APPLICATION);
    WDDeployableObjectPart appPart = null;
    for (int idx = 0; idx < applicationParts.length; idx++) {
      appPart = applicationParts[idx];
      if (appPart.getShortName().equals(appName)) {
        break;
      appPart = null;
    if (appPart == null) {
      throw new WDRuntimeException(
        "The application: " + appName + " is not a part of: " + componentDPO.getName());
    Map urlParameters = new HashMap(1);
    urlParameters.put(ClientConstants.APPLICATION_PREFIX + "Param1", "Parameter sent by caller.");
    try {
      String url = WDURLGenerator.getApplicationURL(appPart, urlParameters);
      wdThis.wdGet<YourInterfaceView>Controller().wdFirePlugCallApp(url);
    } catch (WDURLException e) {
      throw new WDRuntimeException(e);
    6. Add a string value attribute named "ReceivedParameter" to the context of the component controller owning the target interface view.
    7. Declare a controller usage of this component controller for the target interface view controller.
    8. Add a startup plug to the target interface view controller. Add a parameter ("Param1" in this example) to the plug. It's important, that the name of the plug parameter is the same (case sensitive) as used for the URL generation.
    9. Add the following to the method body of the startup plug handler:
    wdThis.wdGet<YourComponent>Controller().wdGetContext().currentContextElement().setReceivedParameter(Param1);
    10. To check, if the parameter passing works, map a value attribute in a view controller to the component controller context and bind e.g. the text property of a TextView to that attribute.
    Hope that helps.
    Regards
    Stefan

  • Calling webdynpro application

    Hi,
    Is it possible to call webdynpro component by using <Frame> tag? If so is it possible to get the values from webdynpro browser to sapcrm browser? I have a button in WEBUI, when I click on the button it has to call webdynpro application? Is it possible through Frame tag in .html? after opening webdynpro application after doing some calculations, I need to get some data back to webui screen
    s it possible?
    Regards,

    Hi,
    Is it possible to call webdynpro component by using <Frame> tag? If so is it possible to get the values from webdynpro browser to sapcrm browser? I have a button in WEBUI, when I click on the button it has to call webdynpro application? Is it possible through Frame tag in .html? after opening webdynpro application after doing some calculations, I need to get some data back to webui screen
    s it possible?
    Regards,

  • WebDynpro Application is Using POWL Table

    Hello Expert,
    I have a query. We have a Standard Webdynpro application "HAP_START_PAGE_POWL_UI" which is using a POWL component . The output table in screen comes.
    We have a requirement we need to add some extra columns to the table and also need to hide some existing columns.
    As far as I know we can achieve this by changing the POWL query. But i am not able to find which query is being used for this application.
    Please help me!
    Thanks In Advance
    Pradeep

    Hello Manus,
    I understand that " If I need to add extra columns to my table in this "HAP_START_PAGE_POWL_UI_MSS" application I have to add those in the structure HAP_T_WD_DOCUMENTS and to populate those columns we need to add code in IF_POWL_FEEDERGET_OBJECT_DEFINITION and IF_POWL_FEEDERGET_OBJECT methods. And If I have a column with radio button then I have to define the action in IF_POWL_FEEDER~GET_ACTIONS method.
    Please let me know if I am wrong anywhere in my understanding.
    Also I think we can the existing columns from the POWL table without any coding via admin personalization.
    And I am not able to see the link for change query when I am executing the application in admin mode.
    Please suggest.
    Thanks
    Pradeep

  • Calling Webdynpro application from report program

    Hi All,
    I am working with report program which displays ALV grid and if i select a row and click the button in application toolbar it should navigate to webdynpro application.
    This webdynpro application should get loaded with the datas that i ve selected in the ALV output.
    for eg., in alv display
    select carrid connid
    X        10      10
               20      20
    Webdynpro Application
    carrid   10
    connid  10  
    Kindly help me in acheving this.

    Hi,
    SET/GET parameters wont work in WD Envoirment, because WDA programs are executed in browser and that doesnt has a connection to SAP GUI.
    You may use the shared memory to transfer work area from the report program, and import the work area agin in the WDA in the WDDOINIT method of the controller where you want to set the fields.
    data: send type string.
    send = 'enter file name here'.
    export send TO shared memory indx(XY)  id 'wda'.
    CALL FUNCTION 'CALL_BROWSER'
    EXPORTING
       URL                          = 'http://SSR11S07.8000/sap/bc/webdynpro/sap/ztest_wda1 '.
    And in the WDDOINIT method of the controller, you may import the variable.
    data receive type string.
    import send = receive from shared memory indx(xy) id 'wda'.
    Then you may use the method set_attribute to set the value to respective UI element on the screen.
    Regards,
    Runal

  • Calling Webdynpro application from Workflow Task

    Hi All,
    How do i call a custom Java WebDynPro Application from my task? How to pass the container values to the Webdynpro application.
    Can some one help me out?
    Thanks,
    Sarath

    Hi sarath,
    u see this thread, u get more information
    calling web dynpro from workflow - SWFVISU
    Calling Java code from Webdynpro Abap UI
    WebDynpro application that can work with SAP workflow work items?
    WebDynpro in Workflow
    Regards,
    vino

  • Reg:call  webdynpro application in another webdynpro application

    Dear All,
         I created a Webdynpro component which on execution displays the Table output.I got a requirement to call the same Webdynpro
    component in another webdynpro component which contains a BUTTON UI element on click of it i should call the first webdynpro application output.
    How can it be done?

    you can check my wiki in SDN, link for the same is given below:
    https://wiki.sdn.sap.com/wiki/display/WDABAP/Example%20for%20passing%20values%20from%20one%20Application%20to%20another%20Application%20in%20WebDynpro%20ABAP.
    With luck,
    Pritam.

  • How to call webdynpro applications from outside

    Hi
    I have a requirement where i need to call below webdynpro application from outside (for ex CRM,ISA..) environments
    http://test.com/webdynpro/dispatcher/test/eomp~eompapp/EmpDisp?EmpNo=0500002203.  When i am running this application from
    browser , my application working fine and i am able to see call to the backend BAPI's.  But when I configure this url
    in the configurations of the above environment.  I am unable to run this application.
    Any Idea?
    Thanks
    Prasad

    Hi
    I am not getting any error, but the backend call not hapening.  I put a debugger in the backend BAPI and run the webdynpro application , no input parameters came or call came to the the backend BAPI.
    Thanks
    Prasad

  • How to call WebDynpro application from an external application

    Hi All,
    I have an external application, from which an existing webdynpro application should be accessed.
    Is there any way i can access WebDynpro application through an URL, so that i can access the same from the external application.
    I have to pass a parameter also in the url from extrenal application for which that data should be displayed.
    Thanks
    Supriya

    You can call a web dynpro application from an external app by using the web dynpro application url.
    Go to WD application in studio and look at the properties tab, you will find the url.
    It should be something like this:
    http://<host>:<port>/webdynpro/dispatcher/<namespace>/<dc name>/<application name>
    MLS

  • Calling Webdynpro Application using WDPortalNavigation.navigateAbsolute

    Hi All
    I have created a custom application for address in Personal Information. The application contains Overview, Edit, Review and Save , Completed view (Same as in standard ESS components)
    There is a link <b>Back to Overview</b>. On click of the link, i need to go back to <b>Overview</b> view.
    How can i perform this ?
    I am using
                   WDPortalNavigation.navigateAbsolute(
                        urlToTargetApp,
                        WDPortalNavigationMode.SHOW_INPLACE,
                        WDPortalNavigationHistoryMode.NO_HISTORY,
                        null
    What should be the value of  urlToTargetApp ?
    Pls help.
    Regards
    Sonal Mangla

    Hi Satyajit.
    Thanks for the inputs
    Actually i need to refresh the application so that it takes me to the first view.
    Previously i was using Exit plug to URL to go back to first view.
    But after upgrade from EP6 to EP7 and ESS 100 to ESS600, i am getting
    <b>com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application</b>.
    Can u tell me what is the replacement of exit to URL plug ?
    Please guide me further.
    Message was edited by:
            Sonal Mangla

  • FPM Navigation - asking for Log on when calling WebDynpro ABAP Application

    Hi Experts,
    I want to call a Non FPM based WebDynpro ABAP Application from a FPM Component.
    I have followed the method showed in the following thread by Rajkumar to call WebDynpro Application using URL.
    [Launch transaction without launchpad|Re: Launch transaction without launchpad]
    I could successfully call my WebDynpro ABAP application using this approach,
    However when the application opens in new Browser , it asks for log on again.
    Can anyone help me to avoid this log in screen.
    P.S. --> Both the applications are in the same server.
    Regards,
    Ashish Shah

    Hi Ashish ,
    I am also facing the same problem , did you find any solution ?
    Thank You,
    Aman

  • Navigate from WebDynpro Application to BPS Layout and vice versa

    Hi,
    Please see the following Problem Statement:
    We have WebDynpro applications and BPS applications in our project. All the applications are published via SAP Portal. Both areas (WebDynpro and BPS) have same selection screen (Selection fields are common). Is it possible to call
    WebDynpro application from BPS layout (on click of button)and also passing the selection parameters to the WebDynpro application and vice-versa.
    - Sujal Shah

    Hi,
    You can you free tool from Oracle called OMWB (Oracle Migration Workbench) for SQL Server to Oracle.
    For more details, visit http://www.oracle.com/technology//tech/migration/workbench/index.html
    From Oracle to SQL Server, there are third party tools available.
    Cheers,
    Harshw
    Message was edited by:
    [email protected]

  • Transaction code to WebDynpro application

    Hi,
    i want to create a webdynpro application which is started from a transaction. Has anybody an idea how the application can get information about the transaction code?
    Example:
    Transaction mm02 -> call webdynpro application, want to know which transaction "called" the application
    Thanks in advance
    Dominik

    i have no answer for this , but do let me know , if u found solution for this....
    Thanks
    Ramesh

  • How to call WD Application from another WD Appliction

    Hi all,
    how can we call webdynpro application from another wbdynpro application on click of a button in the same browser.
    pls suggest
    regards
    vishal

    Hi Vishal,
    Just try to Embed the another WD Component into Component Controller first.
    And then Create a View and map it to window as U regularly do,
    then in Window- Explore the tree until that View, now open Context Menu for Embed View Option and from the scroll U get search for that WD Component U wanna Embed.
    U also have to handle Plugs here, Because the result application required some parameters to be passed that U do from ur first application by passing  those values through Plugs.

  • 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

Maybe you are looking for

  • More than one key in a Characteristic

    Hi there, I was wondering if it was possible to have more than one key in a characteristic? I have one with the main key, but then two more, and the text for the characteristic is dependent on all of these. At the moment when i run the DTP to the tex

  • "table type" result from stored procedure (Oracle 10g) for physical service

    Hello, I'm trying to create a physical service based on a stored procedure which returns a table type like this: SQL -- create table create table myTable ( "col1" VARCHAR2(250) not null enable, "filtercol1" VARCHAR2(250), "filtercol2" VARCHAR2(250),

  • Need Solution For Motorcyclist, GPS, Music, BB 8830 and Intercom.

    Hello, here is a real hands free scenario that I and many other Motorcyclists would pay bucks for; most of the long distance riders would love to have GPS with Voice Response, Phone, Music (XM or Sirius) and Intercom all in one wireless package commu

  • Breaking in bugs or Faults?

    Hi, first post on the forums so want to say hi to all i have had a N96 for about a week now (well since Monday and have had a few problems, most of them have disappeared like slowness and lag but i have been faced with a few persistent problems that

  • How to open nat type

    my xbox 360 NAT type is moderate i wish to make it open it also told me to open port 3074 can anybody help?