Call a ABAP webdynpro application from a standard transaction.

Hi Gurus,
Can we trigger a webdynpro application on a click of button from a standard transaction as IW31 and pass some of the parameters?
If so, how do we do that?
Please let me know.
Thanks,
Das

Hi,
You can trigger the webdynpro application on click of a button.
construct the URL dynamically or you can use the URL of the application present in WebDynpro application(if you are sure that if this application run only in this system).
We can display the application either in standard screen using HTML control or we can also open the browser on click of a button on standard screen using the code:
call method cl_gui_frontend_services=>execute
exporting
application = 'www.google.com'
exceptions
others = 1.
For passing the parameters to the application:
1. Create the parameters in the default interface plug of the application.
2. Associate the parameters to the WebDynpro application
3. Pass the parameters to the application by appending to the URL like (&para1=abc&para2=def).
Best regards,
Suresh
P.S. we can define the parameters in the Webdynpro component by defining the importing parameters in the default interface view's inbound plug's method. If we define the importing parameters in the inbound plug (for example DEFAULT plug of the window) then they are visible in the parameters tab in the WD application.
We can receive the parameters in the inbound plug method (HANDLE<plugname>) of the window (interface view associate in application).
Message was edited by:
        Suresh Honnappanavar

Similar Messages

  • Calling an ABAP WebDynpro Popup from a BSP view

    I need to know if the following is possible.
    I have a requirement to call an ABAP WebDynpro Popup from a BSP view.
    When the Popup is triggered (eg via pushbutton) the BSP will pass data to the Popup, before the Popup is closed the Popup will pass data back to the BSP to be displayed in the BSP view.
    I do not want to rely on Portal Events as Portals may not be used, would really appreciate a clean simple solution.

    Hi,
    any webdynpro application has a URL behind it. Haven´t you tried to call that URL with Javascript code ??
    script language="Javascript"
          url = "test_page.htm" + "?field=" + param;
          window.open(url, "F4window", "width=400, height=400");
    /script
    You can pass data to the WD application using parameters as I show you after the "?".

  • Calling an ABAP Webdynpro URL from ESS Overview Bizcard

    Hi All,
    We are having a requirement of calling a url of Abap Webdynpro application on click of a Button for a overview screen of ESS  Family application .So i have created an action button for that but i am not able to find out how to call a url in that action methode. Please Suggest me.
    Thanks
    Ravi Sunkara
    Edited by: Ravi Sunkara on Aug 26, 2009 4:45 PM

    Hi Ravi,
    Just a suggestion.If somehow you crate one more iveiw and add it to the bzcard page then i think you could dispaly both the bizcard and the other wd application on the same ui.
    hope this helps.
    Regards,
    Sunny

  • Need to open an ABAP WebDynpro application from Portal UWL work item

    Hi All
    I need some suggessions on how to navigate to an ABAP WebDynpo application iview from a mail(Work Item) in portal UWL.
    Requirement in detail:
    Agreements will be created from portal( Agreement Creation Application is developed in ABAP webDynpro and iview has been created with in the portal for this WD application). as and when the agreement is created a mail (ECC Workitem) should trigger to the approver, who has access to portal and check the mail(Work Item) from the portal UWL.
    The mail body should consist the link to the Agreement created in portal ( Link to navigate to the Agreement Creation ivew).
    So, the main requirement is user should navigate to the Agreement creation iview when he open the mail from UWL.
    Mail can be sent from ECC by using ABAP Function modules or by creating a workflow
    Please advice me on how can we achieve this requirement.
    Thanks & regards
    Vijay Bedamsetty
    Edited by: VIJAY BEDAMSETTY on Apr 19, 2011 5:42 PM

    Hi,
    You can call the iView directly by using NavigationTarget..
    http://myServer:50000/irj/portal?
    NavigationTarget=ROLES://portal_content/myFolder/myRole/myIview
    Plz note that the iView you are calling should be part of a Role.
    And the PCD location of the iView in the Role must be given for Navigation Target.
    Check this URL
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/014421d21d6fade10000000a11466f/frameset.htm
    Thanks
    Prashant

  • Calling Java webdynpr application in ABAP webdynpro application

    Hi All,
    I have a requirement to call a Java webdynpro application from ABAP Webdynpro application. Is it possible? If any of you have done, please let me know how to do it.
    Regards,
    Basha.

    Hi,
    And as you said it Java Webdynpro application, it should be possible to generate the URL for the Application at runtime.
    I also haven't tried, but it should work. Please let me know if LinkTOURL doesnt suffice, we can try and check if it works.
    Thanks,
    Anand

  • User ID executing ABAP WebDynpro Application

    Hello,
    If we are running a ABAP WebDynpro application from a portal and we don´t want to create user ID both in portal and in SAP machine. Is it possible to have a system-user executing the applikation instead of the portal user ID ?
    Many users will run this web Dynpro report and it would help a lot if they only needed authorization to the portal and not to the SAP machine.
    Thanksful for your help.
    Best Regards
    Andreas

    Hi Andreas,
    it is absolutely possible to provide access to WDA applications from the portal using a specific generic user rather than a named SAP user. Within the SICF logon data tab for your application you can specify the user to be used.
    However, be careful with this approach as it may breach the terms of your SAP license agreement - generally all WDA should be via a named user. That said SAP are normally quite flexible about this sort of thing - but I would be approaching your SAP client manager to discuss the particular situation and if they would be happy for you to do this. Especially given the description of your requirement I would be especially vigilant with getting prior approval from SAP, as this does look like the sort of situation where they would normally be wanting you to pay license fees for those users.
    Good luck,
    Chris

  • Calling Javascript from ABAP webdynpro application

    Hai All,
    I want to call a Javascript from ABAP-Webdynpro application. If anyone has done this. Please let me know.
    Thanks & Regards,
    H.K.Hayath Basha.

    go to window
    create suspend outbound plug and resume inbound type
    when create an outbound plug of Suspend type a parameter Url is automatically created,
    fire the outbuond plug with the Url to a BSP page where you have JavaScript.
    and fromt he BSP navigate back to WDA again which you can do using by reading the url parameter sap-wd-resumeurl, which contains the WDA URL
    Abhi

  • 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

  • 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

  • Cannot save the Interactive form downloaded from abap webdynpro application

    Hello Everyone,
    Can anyone help me here.
    I have created an interactive form in SFP tcode and used in abap webdynpro application.
    scenario is i can downloade the form,fill it, sign it,save it and submit the form.
    Some thing is going wrong when i try to sign the form downloaded from the application.It is giving the error ->
    The document could not be saved. there was a problem in reading the document(26).
    When i try to sign the form save as dialog box will come where we can save the filled form.but here when itry to save it is giving above error.and also i cannot save thye form form file option.
    but form is working fine from sfp tcode not form application link.
    What is going wrong.Can somebody please help me here.
    Regards,
    Menaka.H.B

    Check the enabled and readOnly property of the InteractiveFormUI element in your application.
    enabled should be true and readOnly should be false.
    Also just FYI interactive forms are licensable in Productive environment for which you need Adobe Credentials. You may contact SAP Account Manager and Note 736902 for it.
    Chintan

  • 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

  • ASR_PROCESS_EXECUTE - ABAP Webdynpro application keeps looping

    Hi,
    We are implementing HCM Processes and Forms framework and trying to use the standard ABAP
    Webdynpro application ASR_PROCESS_EXECUTE to be able to Start HR Personnel related processes.
    Start Processes iview available with the HR Administrator package on the portal when clicked seems to be getting stuck in a loop.
    When I try to test the application from SE80 on the backend, it seems to be going in some sort of loop and flashing message appears repeatedly 'Logon is being prepared.....logon is starting'.  Looks like it keeps attempting to switch between http and https. The URL that appears in SE80 for the application is
    http://servernmame.domainname.com/sap/bc/webdynpro/sap/asr_process_execute.
    Instead of http...if I replace this URL with https://servernmame.domainname.com:443/sap/bc/webdynpro/sap/asr_process_execute it works fine
    When I go to SICF and execute this Web dunpro application, it uses https in the URL and that works fine too.
    We are on EhP3. How can i fix this issue? I want to be able to use standard iviews that will call this Webdynpro application using appropriate protocols.
    Any ideas will be much appreciated
    Thanks,
    Saurabh
    PS: this also sound like a portal issue, so posting in Portal forum too.

    Its not the cache, i just wanted to let people know with similar problems.
    It may be a problem with the parameters,
    in RZ10, search for icm* parameters and search in SAP Help about each parameter and what should be their value. You will find that parameters are taking HTTPS
    Also, one more thing, STRUSTSSO2, check if certificate is added in ACL and in production client as well..
    This will solve all this kind of problems.

  • ASR_PROCESS_EXECUTE - ABAP Webdynpro application - http/https

    Hi,
    We are implementing HCM Processes and Forms framework and trying to use the standard ABAP
    Webdynpro application ASR_PROCESS_EXECUTE to be able to Start HR Personnel related processes.
    Start Processes iview available with the HR Administrator package on the portal when clicked seems to be getting stuck in a loop.
    When I try to test the application from SE80 on the backend, it seems to be going in some sort of loop and flashing message appears repeatedly 'Logon is being prepared.....logon is starting'. Looks like it keeps attempting to switch between http and https. The URL that appears in SE80 for the application is
    http://servernmame.domainname.com/sap/bc/webdynpro/sap/asr_process_execute.
    Instead of http...if I replace this URL with https://servernmame.domainname.com:443/sap/bc/webdynpro/sap/asr_process_execute it works fine
    When I go to SICF and execute this Web dunpro application, it uses https in the URL and that works fine too.
    We are on EhP3. How can i fix this issue? I want to be able to use standard iviews that will call this Webdynpro application using appropriate protocols.
    Any ideas will be much appreciated
    Thanks,
    Saurabh
    PS: this also sound like a portal issue, so posting in Portal forum too.

    Its not the cache, i just wanted to let people know with similar problems.
    It may be a problem with the parameters,
    in RZ10, search for icm* parameters and search in SAP Help about each parameter and what should be their value. You will find that parameters are taking HTTPS
    Also, one more thing, STRUSTSSO2, check if certificate is added in ACL and in production client as well..
    This will solve all this kind of problems.

  • Error while trying to call a ABAP webdynpro appl. as a link on html form

    Hi,
      When I am trying to call a ABAP Webdynpro aplication as a link on html form. I get the following error
    Error when processing your request
    What has happened?
    The URL http:///sap/bc/webdynpro/form_ap/ (Path of ABAP webdynpro application) was not called due to an error.
    Note
    The following error text was processed in the system DRD : Error in Web Dynpro Runtime System
    The error occurred on the application server DRD_06 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: GET_REQUEST_INPLUG_PARAMETERS of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: INIT of program CL_WDR_CLIENT_APPLICATION=====CP
    Method: IF_WDR_RUNTIME~CREATE of program CL_WDR_MAIN_TASK==============CP
    Method: HANDLE_REQUEST of program CL_WDR_CLIENT_ABSTRACT_HTTP===CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_WDR_MAIN_TASK==============CP
    Method: EXECUTE_REQUEST_FROM_MEMORY of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    Module: %_HTTP_START of program SAPMHTTP 
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DRD in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server DRD_06 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server DRD_06 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 102 -u:  -l: E -s: DRD -i: DRD06 -w: 0 -d: 20081002 -t: 032939 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Any help will be greatly appreciated.
    Thanks
    RM

    RM,
    url clearly shows that it is unable to get host and port.check how you are building that url in html page
    Thanks
    Bala Duvvuri

Maybe you are looking for

  • In xml import flow , how to define atomic paragraph?(not split on more pages?)

    Hi all, when i import my xml data file into indesign with xml flow method all works:  indesign clone (correctly) the layout of master page on others page but on one page there is space for more than one record data of my xml data file and last record

  • BB Link does not recognize Outlook as a source for calendar and contact sync

    When setting up BB Link for my BB Classic it does not recognize Outlook 2013 (on Windows 7) as a source for calendar and contacts.

  • Table data type

    I have TYPE LinQty IS RECORD ( LqLin VARCHAR2(50), LqQTY NUMBER := 0 TYPE LinQty_table IS TABLE OF LinQty INDEX BY BINARY_INTEGER; QtyTablecount BINARY_INTEGER := 1; QtyTable LinQty_table; I like to loop thru and assign value to the fields FOR i IN 1

  • Procedure created with compilation errors. help?

    SQL> create or replace procedure p_update_audit_log 2 ( p_audit_id audit_log.audit_id%type 3 p_grade_update audit_log.grade_update%type 4 p_grade audit_log.grade%type 5 sys_date 6 p_user_id audit_log.user_id%type 7 is 8 BEGIN 9 insert into audit_log

  • Map 9.2 software inventory

    software inventory shows only 8 teams my network has over 200 teams, there are some port debea enabled in order to report the inventory of all equipment