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

Similar Messages

  • Launching webdynpro ABAP application from workflow task  (without UWL)

    Hello,
    How can i start webdynpro ABAP application from workflow without portal?
    Workflow and webdynpro ABAP are located on the same system.
    I assume it must be possible without transaction SWFVISU.
    thanks
    Regards
    Paul

    First you need to define a external service then you have to generate a task from this external service and then you need to include this task id in you workflow for a ACTIVITY step then this step can be either background or can be assigned to any agent
    you have to make use the below two Txn
    WF_HANDCUST and WF_EXTSRV

  • 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

  • Problems in triggering webdynpro application from Workflow using SWFVISU

    Hi everybody,
    We have created a webdynpro application which we are linking to our task using transaction SWFVISU .
    The method for the task is WEBSERVICE-DISPLAY.
    SWFVISU has been configured with parameters :
    application name : ZXXXXXXXXXXXXX
    and namespace  : sap.
    When i create a workitem in the UWL , and click on it, i get a dump with the following description : 'Exception condition "URL_CREATION_FAILURE" raised.'
    Now the strange thing is that if i use a standard SAP Webdynpro application , this works properly.
    Could anybody advise us on whether we are missing something ?
    Thanks,
    Joe

    Hi Raja,
    Thank you for your reply.
    I tried changing the method but it still throws the same error. i dont think this error is related to the Task method , since it can also be a dummy method (as is the case with the leave approval workflow 12300111) .
    Any other helpful suggestions ??
    Thanks,
    Joe

  • 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

  • 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 ABAP WebDyn Pro from Workflow task

    Hi All;
    Is there a way to call WebdynPro view from Workflow task?
    Regards
    Devraj

    hi,
    In the workitem text, you can provide HTTP link of your adobe interactive form, so this workitem will go to user with the hyperlink and when he will click, it will redirect it to your interactive form .
    regards,
    sirisha

  • 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.

  • Calling JAVA webdynpro applications from SAP Business workflow

    Experts,
    Is it possible to call JAVA webdynpro application as a task from SAP Business workflow? If yes, please pass on any links to relevant documents.
    Thanks,
    Deepak

    Hello,
    You would probably want to use UWL in the portal. From UWL you can launch tasks from portal, and with proper configuration (for example with the help of transaction SWFVISU) you can easily start web dynpro applications from UWL.
    I suggest you go trough the SAP documentation about UWL. Start for example here:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/39/a1bb5c4c0d4ab4a417e87ef35f1efa/frameset.htm
    Regards,
    Karri

  • 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

  • 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..

  • Calling BSP Application from Business Object?

    Hi,
    Can any one tried to call BSP Application from Business Object for showing in the Portal.
    I have the following Scenario:
    1. BSP Page: User will input the Date and Submit to store in the Database. and in this page the Workflow will be truggered and a Work item will be sent to the Next Level User.
    2. When he executes the Work Item it has to trigger the BSP Application and has to show in the Enterprise Portal.
    All this has to happen in the Enterprise Portal.
    If any one knows how to triggere from business object, please let me know.
    Thanks & Regards
    Sumanth

    Hi Vijay,
    Thanks for the information. Its long back i was working on this, but not successful,
    Now the similar requirement i need to develope in R/3.
    I checked the mentioned class in R/3 4.7, This class is not available. I hope this is only in CRM because of PC-UI.
    Any Suggesions how can i achieve this execution of BSP.
    In one of the document i saw the Business Object BUS1006 as an example but i could not locate the way to reutilize the similar way.
    Thanks & Regards
    Sumanth

  • Calling WD application from external browser

    Hi Experts,
    How to call a webdynpro application from an external browser.
    Say i have a url 'http://sapep3.utf.sskgroup.local:51000/index.html'.
    After i enter this URl in browser i want my webdynpro application to be called.
    Thanks in advance
    SSK

    Hi,
    Confused on html / sap?
    to create link in index.html:
    <a href="https://****:8210/sap/bc/webdynpro/sap/zwd_rk_test_dates?sap-client=500&sap-language=EN">Check Dates </a>
    The URL of your WD application you  may copy from SE80 t-code.
    Regards,
    Rama

  • 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,

Maybe you are looking for

  • What are the uses for AW?

    I have yet to find a use for AW that excel or word or pages or keynote could not do. So i was wondering what is the program being used for?

  • Automator script search document for file name, and rename file to date

    Hi all, I'm having a hard time with Automator... and I can't figure out how it's done! Searched the web for it a couple of times, spend hours with Automator already, but I guess my need is random! The thing is: I got a folder with 1066 files, all the

  • Having issues with one page of a website when viewed on the iPad?

    We recently created a 6 page website through Adobe Muse. When we view the published website on our desktop, everything seems to be working fine. However, when we view the website on our iPad, one of the pages (the "about us" page) seems to be "left a

  • 50HP95 cant get tv to turn on

    My power light keeps flashing on my tv. I cant get it to turn on now. I've tried to disconnected from a power source but it just doesn't work... any suggestions?

  • How to configre IM and mailing services in adf portlet .

    Hi All, We have some specific requirement like we want to integrate mailing and IM services in my custom Adf Portlet . I thought of creating connection for mailing & IM from jdeveloper and drop the connection as a taskflow . First of all i am not abl