Calling a Web Dynpro Application from POWL feeder class

Hi,
I know this question is asked before but never answered, but I try again......
I have a own POWL feeder class where I defined a button in method IF_POWL_FEEDER~GET_ACTIONS.
I know that this action can be handled in method IF_POWL_FEEDER~HANDLE_ACTION.
When pressing the button I want do call another web dynpro application.
How can I do this? -> Any Example Coding?
Thank you and best regards, Edgar

Hi Vineet,
it works, thanks a lot!!!!  Best Regards, Eddy
P.S.: Here is the coding for triggering the event and passing parameters for the selected POWL table line:
METHOD if_powl_feeder~handle_action.
  DATA: ls_parameter TYPE powl_namevalue_sty.
  DATA: lt_flights TYPE ty_flights.
  DATA: ls_flight TYPE sflight.
  DATA: ls_selected TYPE rstabix.
  FIELD-SYMBOLS: <lt_fligts> TYPE STANDARD TABLE.
  IF i_actionid = 'EDIT'.
*   Important: this triggers the event
    e_portal_actions-fire_wdevent = abap_true.
*   Pass parameters to event
    ASSIGN c_result_tab TO <lt_fligts>.
    lt_flights = <lt_fligts>.
*   Determine the first selected row
    READ TABLE c_selected INTO ls_selected INDEX 1.
*   Read selected POWL data
    READ TABLE lt_flights INDEX ls_selected-TABIX INTO ls_flight.
    CHECK sy-subrc = 0.
*   Pass parameters
    ls_parameter-key = 'ACTIONID'.
    ls_parameter-value = 'I_ACTIONID'.
    APPEND ls_parameter TO e_portal_actions-parameters.
    ls_parameter-key = 'CARRID'.
    ls_parameter-value = ls_flight-carrid.
    APPEND ls_parameter TO e_portal_actions-parameters.
    ls_parameter-key = 'CONNID'.
    ls_parameter-value = ls_flight-connid.
    APPEND ls_parameter TO e_portal_actions-parameters.
    ls_parameter-key = 'FLDATE'.
    ls_parameter-value = ls_flight-fldate.
    APPEND ls_parameter TO e_portal_actions-parameters.
  ENDIF.
ENDMETHOD.

Similar Messages

  • Calling a Web Dynpro application from a web application

    Hi everyone, I've got a problem I hope someone can help me resolve.
    What I wanna do is to show a login form, which is part of a J2EE web application (contained in a SAP Web AS), an after the user submits the required information, I have to redirect the user to a Web Dynpro application, which is contained in the same Web AS, but I have to redirect this user using single sign on.
    I'm not sure about what I have to do, I'm new in these technologies, I think I need to use UMFactory, but I have made some investigation and I'm not so sure about what I have to do yet, can anyone give me a hand with this?

    Hi Joel,
    Please follow the documents below
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/80fbc690-0201-0010-1aba-93d5c8232b4a
    http://help.sap.com/saphelp_nw04s/helpdata/en/b0/4d2b418a3edb2be10000000a1550b0/content.htm
    Hope this helps.
    Regards,
    Kiran Kandepalli.

  • FPM Form Scripting - How to call a web dynpro application as pop up

    Hi All,
    I want to call a web dynpro application as a pop up from FPM form scripting.
    Like click on button -Maintain Approval Routing in a FPM form i want to open a web dynpro pop up..
    Thanks In Advance.

    Refer to the post How to show pop up’s in WDA HCMPF by Yugandhar Reddy - on some hints
    Hope this helps.
    Regards,
    Sahir.

  • Not able to run web dynpro application from portal.

    Hi portal experts,
    I want to run my web dynpro application from portal.
    So created a seperate iview  and a role  for the purpose.
    Assigned the iview to the role and also mapped a abap user id to the new role created.
    But when I click on 'preview'  the iview , getting the following dump.
    Error when processing your request
    What has happened?
    The URL http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ was not called due to an error.
    Note
    The following error text was processed in the system HRM : Die URL enthält keine vollständige Domainangabe (mnghcmsap statt mnghcmsap.<domain>.<ext>).
    The error occurred on the application server mnghcmsap_HRM_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: CHECK of program CX_FQDN=======================CP
    Method: STARTUP_CHECKS of program CL_WDR_CLIENT_ABSTRACT_HTTP===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 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 HRM 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 mnghcmsap_HRM_00 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 mnghcmsap_HRM_00 . 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: 200 -u: INF51515 -l: E -s: HRM -i: mnghcmsap_HRM_00 -w: 0 -d: 20110209 -t: 121224 -v: RABAX_STATE -e: UNCAUGHT_EXCEPTION
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Please let me know if I am doing the process correctly and also let me know if I am missing somthing.
    Thanks,
    Aditya.

    Are you able to run teh web dynpro application independtly i.e. without creatin an iview.
    http://mnghcmsap:8000/sap/bc/webdynpro/sap/zhr_cp_admin/ by using this link.
    or there also you are getting the error.
    i guess there also you should be gettign the error.
    this is some problem with the FQDN settings in the abap system.
    in the host name of the web dynpro applciation server one .(dot) is must.
    so you might have to change the host name to some thing like mnghcmsap. from mnghcmsap
    thanks
    sarbjeet singh

  • Examples of 'calling a web dynpro application with parameters'

    Hi!!
    I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'.
    Is there some example where these terms are seen.
    Thanks in advance.

    Hi Ana,
    a window inbound plug can have parameters.
    These parameters are automatically fished out of the URL by the framework.
    So your inbound plug handler method has easy access to the parameters.
    URL
    http://<host>:port/sap/bc/webdynpro/sap/<your application>?param1=xyz&param2=abc
    The application is configured to call an inbound interface(window) and plug.
    The plug can be declared with parameters.
    Double click on window inbound plug and add your parameters.
    The parameters are made available by framework if present in Launch URL.
    You can also call an application that has parameters  directly entered on the parameters tab.
    ie Parameters can be part of the application launch.
    regards
    Phil

  • Passing a parameter while calling a web dynpro application on portal

    hi
    I am having a web dynpro application which retrieves data from R/3 system via RFC using Jco destinations define in the Portal.
    Now we have different kinds of portals running on the same WAS, now I want the application to run which access data from different R/3 systems thru different JCo destinations.
    I need to create a logic such that mu application runs fine on any portal with any Jco destination.
    Is there any provision to achieve this.
    kindly let me know about this.
    Thanks and regards
    kris

    Gopi,
    there's an parameter called "sap-wd-arfc-useSys" you can pass to the application, to change the used JCo-Connection (read more at http://help.sap.com/saphelp_erp2005/helpdata/en/f4/651741f163f023e10000000a155106/frameset.htm)
    so, if you're running the WD-aaplication on <b>one</b> WAS and call it from different portals, you have to create three (or six with the META-connections) JCo-Connection on your WD-WAS.
    In a WD-application you can access URL-Parameters with:
    WDWebContextAdapter.getWebContextAdapter().getRequestParameter("<your URL Parameter-Name>");
    kr, achim

  • Cannot deploy Web dynpro application from NWDS

    Hi,
    I am new to EP. I created a web dynpro application in nwds and tried to deploy it. But it gives the following error .
    Settings
    SDM host : nw04
    SDM port : 50118
    URL to deploy : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Result
    => deployment aborted : file:/E:/WINDOWS/TEMP/temp12188WelcomeWebDynproprj.ear
    Aborted: development component 'WelcomeWebDynproprj'/'local'/'LOKAL'/'0.2007.05.02.19.35.01'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool</b>. For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: Wrong security credentials detected while trying to obtain connection to the J2EE Engine.
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    I have even configured J2EE server in the nwds through preferences. I have used the default passwords during installing sneak preview.
    What should i do to deploy my application  successfully??????

    My Server settings are fine in preferences of NWDS. Every thing is showing green
    I get the same problem even when i delpoy through SDM.
    This is the error when i deploy through SDM
    Deployment started Thu May 03 06:27:27 PDT 2007
    ===========================================================================
    Starting Deployment of MyFirstWebDynProPrj
    Aborted: development component 'MyFirstWebDynProPrj'/'local'/'LOKAL'/'0.2007.04.14.22.37.46'/'0':
    <b>Cannot login to the SAP J2EE Engine using user and password as provided in the Filesystem Secure Store. Enter valid login information in the Filesystem Secure Store using the SAP J2EE Engine Config Tool.</b> For more information, see SAP note 701654.
    com.sap.sdm.serverext.servertype.inqmy.extern.DeployManagerAuthExceptionWrapper: <b>Wrong security credentials detected while trying to obtain connection to the J2EE Engine.</b>
    (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.checkLoginCredentials.DMAUTHEXC)
    Deployment of MyFirstWebDynProPrj finished with Error (Duration 6656 ms)
    It seems like a configuration issue in SAP J2EE Engine Config Tool.What should i do.
    Highest points will be awarded if some one can help me in this

  • Calling a web dynpro application via portal using SSO

    Hello Expert,
    i have a requirement where i need to call a web dnpro application via portal.
    But it is asking for user name and password.
    i want to call using single sign on.
    Can u please suggest a way.
    i did the coding like this:-
    CALL METHOD cl_wd_utilities=>construct_wd_url
    EXPORTING
    application_name = l_c_appl_name
    IMPORTING
    out_absolute_url = l_v_gv_url_string.
    l_v_icf_url = l_c_icf_url_val.                      "#EC SYNTCHAR
    CALL METHOD cl_icf_tree=>if_icf_tree~service_from_url
    EXPORTING
    url             = l_v_icf_url
    hostnumber      = l_c_0
    authority_check = space
    IMPORTING
    icfactive       = l_v_m_sso_active.
    IF l_v_m_sso_active = l_c_x .
    CREATE OBJECT o_viewer
    EXPORTING
    parent = o_empty_co.
    CALL METHOD o_viewer->enable_sapsso
    EXPORTING
    enabled = l_c_x
    EXCEPTIONS
    OTHERS  = 0.
    l_v_gv_url_c = l_v_gv_url_string .
    CONCATENATE l_v_gv_url_c l_c_url_string p0022-pernr INTO l_v_gv_url_c.
    CALL METHOD o_viewer->detach_url_in_browser
    EXPORTING
    url        = l_v_gv_url_c
    EXCEPTIONS
    cntl_error = 1
    OTHERS     = 2.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
    RAISING error_occured.
    ENDIF.
    cl_gui_cfw=>flush( ).
    ENDIF.
    but it is not working
    thanks
    Mahesh

    Hi Mahesh,
    You need to setup a Single Sign On between SAP Portal and ECC system where yoy are doing the development.
    Ask basis team to setup the single sign on and usually this is the job done by Basis teams. Refer the below link to get some idea on SSO setup:
    http://scn.sap.com/community/enterprise-portal/blog/2013/12/15/sso-configuration-between-sap-portal-73-and-ecc-60-ehp-6
    Thanks
    Krishna

  • Abap trial version - see a web dynpro application from an external network

    Hi gurus,
    I'm testing web dynpro using SAP Netweawer 7.01 trial version.
    I would like to show a web dypro application to someone that is not in my local network.
    If the URL generated is
    http://localhost:8000/sap/bc/webdynpro/sap/<zapplication>
    visible from my notebook, what should be the URL visible from someone that is not me?
    Is it possible? Or I'am too optimistic?
    Thanks
    Guido

    >I think you can not run the Application of trial version from other Systems .
    Sure you can.  The URL that gets generated is for localhost.  This allows for access to the trial system from the local laptop only - but bypassing the Fully Qualified Domain Name check. You can alter this setting by changing the icm/hostname_full instance profile parameter. You should change this to a fully qualified domain name that is registered for the machine that the system is installed on within your DNS.  The rest is up to how you have your machine configured on the network. In some networks, workstation names are not registered into DNS and you would have to setup a hosts file entry for the IP address of the trial version system onto the client you want to connect from.  Other networks do allow the hostname of all client machines to register into their DNS.  You would have to check and see how your particular network is setup.

  • Calling a Web Dynpo appl from POWL gives error

    Hi,
    I have created a custom webdynpro application integrating  with POWL using the document provided by Saurav Mago .Refer the link below
    But I get the following error 'Parameter APPLID contains an invalid value.
    '[Integrating POWL with WebDynpro ABAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60f1d5ee-84ab-2c10-ce97-97dfd89bc238?quicklink=index&overridelayout=true]
    I have searched  SDN , debugged my application and checked the configuration and compared with the standard powl components, as well. But I am not able find out what the issue is.
    I have tested the standard webdynpro apps and my app as well , services are active , the break point also stops in the window/view. But not sure what I am missing.
    Can you please let me know if you got any idea regarding this. Appreciate your response.
    Thanks
    Saujanya

    Hi Thomas,
    Thanks for your response. Please find
    How are you building the URL to test?
    I am using the custom webdynpro application to test it . When I test it using the standard POWL, it works. But if I test from my custom webdynpro application , it gives the dump with this error message.
    Are you sure you Application ID is correct?
    If it works with the standard, I think the config is right
    I have created POWL appli, type , , powl query , mapped the query to the powl applid, activated it, mapped query to the powl type.
    Declared the powl_ui_component in the component usage , view container in the view and  an out bound plug to the view with parameters and code as mentioned below :
    code :
    wd_this->fire_out_plg(
        applid =  'ZTEST_APPLID'                         " string
        forallq =   ''                                   " powl_xflag_ty
        qname =  'ZPOWL_QUERY'                      " powl_query_ty
        qselpara =  ''                        " string
        refresha =  'X'                       " powl_xflag_ty
        refreshq =  ''                        " powl_xflag_ty
        srvgroup =  ''                       " powl_xflag_ty
        powldeltarendering = 'X'
    Can you share the full URL you are testing with here?
    http://cis0440.g2t1.XXXgen.com:8040/sap/bc/webdynpro/sap/ztest_applid
    Please let me know if I am missing something.
    Thanks
    Saujanya

  • Call a ABAP Web-Dynpro-application via a BSP-Application

    We have a BSP-Framework, that call several applications among other things other BSP-Applications, ITS-Application and other systems. Now I want to integrate a ABAP Web Dynpro-Application.
    For the moment I can call the ABAP Web Dynpro-Application from our application.
    This application runs in the same session as the Framework (verify in transaction sm04).
    When I want to call another application in the Framework, the session will be killed (no more sessions in sm04). This happens also, when I want to call the ABAP Web Dynpro-Application a second time.
    I guess, that the ABAP-Framework thinks I want to go outside the system (for example www.google.de) and close the session. I found out, that this wouldn't happen, if the application were suspended. But I found no way to tell the application via a url-parameter to suspend.
    Can someone help me?

    Thx for the tip,
    but I can't firea suspend plug. Because I'm in BSP. I understand the docu so, that you have the option to call a other apllication like BSP from a ABAP Web Dynpro.
    I want to call the ABAP Web Dynpro form BSP like this way.
    1. Start BSP-Framework
    2. Call ABAP Web-Dynpro-Application from BSP
    3. Call another Application from BSP without automatically logout by unload ABAP Web Dynpro. (I have a chance to call the ABAP Web Dynpro again via url to suspend before I call the other app.)
    Regards Stefanie

  • Call another Web Dynpro with Configuration

    HI to all
    I have a Web Dynpro Components, and i have made Application configuration.
    So I want call this Web Dynpro Application from an other Web Dynpro Application with the configuration I have made before.
    Is this possible if so what have I to that this works, has some one a code example for me.
    Thanks & Regrets
    Hermann

    Hi Hermann,
    When you run an application with a special configuration, you may notice the additional URL-parameter
    &sap-wd-configId=my_configid
    . Just add this as a parameter to the application URL, and it will work.
    Ciao, Regina

  • Calling Web Dynpro application or URL from POWL

    Hi Friends,
    I need to call a Web Dynpro appl from a custom POWL. In my feeder class's method HANDLE_ACTION, i am not getting how to use e_portal_actions parameter for calling a URL of WD application. Pls help me out in this.
    Regards,
    Saud

    You can create a launchpad application through tran LPD_CUST and then in repsective method of POWL class you can launch your web dynpro application like this
    DATA ls_appl_param              TYPE APB_LPD_S_PARAMS.
      DATA lt_appl_param              TYPE APB_LPD_T_PARAMS.
      DATA lt_lpd_content             TYPE apb_lpd_t_content.
      DATA lr_lpd_content             TYPE REF TO apb_lpd_s_content.
      DATA lt_lpd_appl_params         TYPE apb_lpd_t_params.
      DATA lr_lpd_handle              TYPE REF TO cl_apb_launchpad_api.
      DATA lo_component     TYPE REF TO if_wd_component.
      DATA lr_provider      TYPE REF TO if_apb_lpd_provider.
      "Get launchpad handle
    lo_component = wd_comp_controller->wd_get_api( ).
    cl_apb_launchpad_api=>read_for_display( EXPORTING id_role = cl_oif_ui_assist=>sc_lpd_roles "Role Name
                                                       id_instance = cl_oif_ui_assist=>sc_lpd_instance " Instance Name for Launchpad
                                                       id_langu = sy-langu
                                                       ir_provider = lr_provider
                                                       ir_wd_component = lo_component
                                             RECEIVING er_launchpad = lr_lpd_handle ).
      CHECK lr_lpd_handle  IS BOUND.
      lt_lpd_content = lr_lpd_handle->get_content( ).
      READ TABLE lt_lpd_content REFERENCE INTO lr_lpd_content
                                WITH KEY link_text = cl_oif_ui_assist=>sc_lpd_link_text. "Link text for launchpad
          ls_appl_param-key = cl_oif_ui_assist=>wda_config_key.  "'SAP-WD-CONFIGID'. "app conf if any
          ls_appl_param-value = cl_oif_ui_assist=>CREATE_CONFIG_ID. "'MDG_OIF_CREATE_CONF'.
          APPEND ls_appl_param TO lt_appl_param.
          lt_lpd_appl_params = lr_lpd_content->application_parameter.
          "launch application
          lr_lpd_handle->launch_application(
            id_application_id         = lr_lpd_content->application_id
            it_application_parameters = lt_lpd_appl_params
            it_business_parameters =  lt_appl_param

  • Can the role info be passed from portal to ABAP web dynpro application

    Hi,
    We have some roles in the portal. We call the ABAP web dynpro applications from the portal. Is it possible to pass on the role from the portal to the Web dynpro ABAP application so that we can use this role information in the application.
    Thanks,
    Pooja

    Hi,
    you can try to add the expression
      role=<IView.PCDUnit>
    as part of the Application Parameters in the iView. This will be the role in 99%. However not all iViews started in the Portal must belong to a role. You can start iViews using page navigation that are not part of a role. Therefore the PCD does not talk about roles but about "units" which is the superordinate term.
    the value will be the PCD path of the role - e.g:
      portal_content/myFolder/roles/myRole

  • Calling java web dynpro from ABAP

    Hi!!
    I have a double problem!
    First I want to call a java web dynpro application from ABAP. I managed to do it using :
    call method cl_gui_frontend_services=>execute
      exporting
        document = url
      exceptions
        others   = 1.
    Where url is the java application url with parameters. It's working...
    ...but here comes the second problem : i need SSO So first solution is not sufficent.
    Can anybody help?

    Ok looking for the solution i figure out that it won't be possible anyway, i need a first log to the portal in order to issue a logon ticket before any attempt of SSO authentication.

Maybe you are looking for