Webdynpro proxy page and portal event

Hello there,
is it possible to capture the event from employee search iview into my custom webdynpro ABAP iview?
Since it occurs to me that when a portal page is developed as a "Default page template" I am able to capture the event whenever manager clicks on any employee in the list.  But when i create a page with "Web dynpro proxy page" template, I cannot subscribe to the event.
We are trying to use employee search ivew and general data iview provided by SAP plus a custom WDA iview.  But when I do a default page template, I am able to caputre the event but general data iview does not show any data...and when I use the proxy page template...I get data in general data iview but I am not able to capture the event....and my custom WDA iview does not show anything...
Employee search iview (previously known as team viewer) and general data iview are standard SAP iviews.
any ideas...
appreciate the help!
Thanks....
J.

Hi Srivastava,
The scenario is like this....
page lay out:
Team viewer iview here----provided by SAP
General data iview here-----provided by SAP
my WDA iview here-----custom iview
if the page template is default template....I get data in my WDA iview for selected employee in the team viewer...but I go not get any data in General data iview
if the page template is web dynpro proxy page...i do not get any data in my WDA iview...but i get data in general data iview...
after debugging this thing...i found that for webdynpro proxy page...the portal event is not getting caught in my WDA iview...
how to subscribe to a portal event if the iview is embedded in  a page which is using web dynpro proxy page template...
Just want to share this...that portal eventing is working fine...if the my iview is embedded in a page which is using default page template...
any ideas????
anyone???
Thanks...

Similar Messages

  • WebDynpro proxy page with Webdynpro iView and SAP Gui for html iView

    Hello,
    I have a requirement to have a page that has at the top of it a webdynpro for java iView screen with several links that when pressed pop-up various data pulled from the back-end. This part is fine and presents no problem. Beneath this the requirement calls for a SAP Gui for HTML iView to be displayed. Which is no problem either. The problem occurs when one of the links in the java webdynpro application at the top of the screen is pressed it causes the SAP Gui for HTML portion to refresh and come back to the beginning. So for example you first navigate to this screen and you go into the sap gui for html portion and drill into 2 or 3 screens in the sap gui for html transaction. If you then press one of the webdynpro links the sap gui for html (which is a separate iView) refreshes and you are taken back to the initial screen. This only occurs when using a web dynpro proxy page. If I use a standard page the SAP Gi for html does not refresh. Unfortunately there are other things not mentioned here that require us to use the webdynpro proxy page.
    Any help is greatly appreciated,
    Bert

    Use System admin -> System Config and find your system in the PCD (under portal content). Right click and open -> permissions. Find a user or group or role and give it the end user permission. I'd suggest the group Everyone.
    Cheers

  • Webdynpro Application Page in portal in CE7.1

    Hi,
        I have created a webdynpro application with property u201Csap.canBeSplitInIviewsu201D set to u201Ctrueu201D.I have deployed the application  and in Portal Content I have created a webdynpro page out of this application.So now my webdynpro page is having two iviews.
    Now I want to know the answers for below questions
    1)Can we  embed a url iview it in to the above created Webdynpro Application page in portal.I tried for it but couldnu2019t do so.
    2)So,as an alternative I created a Page,added the above created Webdynpro Application page and a url iview to that page.Now that url iview is displayed along with the Webdynpro iview.Bot the problem is url iview is getting refreshed when ever I click a button in the webdynbpro application view .It even refreshes when I select a table row in webdynpro.
    Please let me know if we can prevent url iview to refresh.
    Regards,
    Sudhir

    Hi,
    >1)Can we embed a url iview it in to the above created Webdynpro Application page in portal.I tried for it but couldnu2019t do so.
    No, I don't think so.
    >Please let me know if we can prevent url iview to refresh.
    For the parent page which hosts both the WD and the URL iview, set the property Isolation Method to URL. You can find this property under the property category Load.
    Regards,
    Satyajit.

  • Custom Webdynpro Proxy Page Layout

    We recently upgraded from NW04 to NW04s.  We see the new Webdynpro Proxy Page template. 
    I successfully created custom page layouts with the default page layouts in NW04. 
    However, our custom page loyouts do not appear in the drop down list for the webdynpro proxy page, but they do appear in the list for the default page layout.
    How do we create a custom page layout for the webdynpro proxy page template?

    Yes, you can validate the fields using jquery. Check the status of each field before the validation. Refer to the following post for more information
    http://sharepoint.stackexchange.com/questions/97831/client-side-date-validation-in-sharepoint-list-form-using-jquery
    http://www.gsoft.com/en/blog/sharepoint-form-validation-jquery
    http://stackoverflow.com/questions/23573520/validating-form-fields-on-sharepoint-using-jquery
    --Cheers

  • WebDynpro iViews and Portal Eventing

    Hi All,
    I am planning to prepare a proof of concept with following requirements.Can you please give me hints and resources to prepare this in 2 days?
    1)Interaction between iViews using EP eventing.
    2)Exploring how and what kind of data can be passed from one iView to the another (String , Java Objects etc)
    3)Keeping track of various events of EP especially finding out if we can track when the user session is invalidated by the Portal so that we can free objects from memory.
    4)The sample code should have 2 to 3 iViews interacting with each other and passing data.With detailed description of each steps from coding till deployment to the EP.
    Thanks & Regards,

    Hi Noaman,
    You can use EPCM for eventing between iviews in portal. Also we can use the same for communication between Webdynpro and EP applications.
    You can pass parameters using client data bag. The code for sender ....
    var an='Hello';
    EPCM.storeClientData("urn:namesapce","key",an);
    EPCM.raiseEvent("urn:namesapce","eventname");
    Code at the reciver....
    function fn_selection()
    var info=EPCM.loadClientData("urn:namesapce","key");
    document.myform.name.value=info;
    EPCM.subscribeEvent("urn:namesapce","eventname",fn_selection);
    This is the javascript code for triggering and subscribing  events in between iviews.
    Hope this Helps
    gEorgE

  • Webdynpro for ABAP and Portal Integration

    Hi Experts,
    we created a WebDynpro  for ABAP application for portal. The application will modify/update few fields in backend sap HR table PA0006 (infotype 6) . The end user (portal user) should be able to update his data in backend with the iview created on this application.
    I have below two questions in my mind.
    1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro  for ABAP application.
    2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
    Thanks
    Ajay

    1. Do we need portal eventing for this? It's a single iview in portal which will fetch and update his data through this WebDynpro for ABAP application.
    Answer: If you use, for exemple ITS to access this Webdympro, you will not need any action on portal for sure. Actually you will just need actions on portal, if you want to make some customization on portal side. If you want just show the Webdympro how it is, your action are all on backend..
    2. It is for 10 countries of almost 1000 users (with same userid in portal and backend). How can I make sure that the enduser updates and fetch his records only. The SSO is already set up between Portal and Sap ECC system. Do I need to again pass the enduser portal id to the sap in coding to fetch and update the data or sso will take care of itself.
    If you access via ITS, te custome will acess the backend with the user you have set on the SSO or user-mapping. The portal there is nothing to do in this regards, you must just take care of this on backend.
    Please evaluating the answer you are contributing for the SDN keep growing.
    Edited by: Fabio Sarmento on Sep 19, 2011 2:41 PM

  • Abap web dynpro and portal events

    First off, a little introduction: My name is Martin Kroppen, I am an Abap developer for SAP Netherlands, and I am currently involved in a project for hospitals to built a portal. For this, I have created 2 Abap web-dynpros, and then impemented the views as iviews in an EP. What I want to achieve is that the input view triggers the display view on a second page, and the data is shown for the values in the input view (all in the same browser window).
    I am using the portal integration manager for this,  with the method for relative navigation.
    The navigation is working fine, only problem is that I don't know how to handle the business parameters that I send over.
    My questions are:
    1. is this the correct way for navigating between abap webdynpro iviews in the portal?
    2. what is the correct way to read the business parameters into my context of the second Abap WD application?
    I tried the solution that is described below, I could not get it to work correctly.
    If you define BUSINESS_PARAMETERS as application parameters in your Web
    Dynpro application and the parameter names start with ″APP″, they will
    automatically be forwarded to the startup plugs of the Web Dynpro application –
    provided they are marked as startup parameters. In this case, keep in mind that
    the iView/page used as the navigation target must be assigned to the user role.
    If it is not, navigation cannot be triggered.
    Hope someone can help me…
    Regards
    Martin Kroppen

    Hi,
    please refer to this link for portal integration
    Web Dynpro for ABAP Portal Integration [original link is broken]

  • How authentication and authorization works in webdynpro for abap and portal

    Hi Experts,
    I have to create an webdynpro abap application for portal which will update the user information in the backend HR standard table.
    The SSO  (certificate)setup is already doen between portal and backend sap system . Do I need to pass the portal userID to the webDynpro ABAP application, via IView created to update the table. OR SSO will take care itself.
    Thanks and regards,
    Ajay

    Dear Ajay
    If SSO is configured as you have mentioned, then all is ok and you don't need do pass the user ID.
    It will be done automatically.
    Just try for yourself - create a simple WD ABAP and put it inside an iView.
    Then have this WD to write the SY-UNAME on the screen.
    That way you will confirm what I'm saying
    Kind Regards
    /Ricardo Quintas

  • Embedded WD and portal eventing

    Hi,
    In MSS-> Equipment I have the standard Employee Search wd component and a custom web dynpro component that displays obejcts on loan(pa0040) embedded in an iView. The PERNR is being successfully passed to the custom application when the user clicks on the employee name. Is there any way I can clear the objects displayed if a user clicks on anything else in the standard wd component. For example, if they click on a company name in the Organisation structure?

    Probably the whole thing works based on Portal events. I assume they have no other means to know what is being selected. Best way forward is subscribe in custom component  to other events such as Organisation. If there are no events fired in that cases then you may have problem here. You can try enhance the existing component and fire a clear event. Subscribe this event in your custom component.
    Handle this clear event in your custom component and invalidate the node for loan.

  • WSRP and portal eventing

    Hello,
    we have a remote portlet running on JBoss-portal (producer). The portlet is accessed from the SAP EP 7.0 (consumer) via WSRP.
    Now the question: Is it possible to forward portal events to the remote portlet?
    I know the WSRP 1.0 standard doesn't support this, but I thought about writing a portal component which receives the event and passes it on to the remote portlet as a "normal" parameter. But I'm not sure how to trigger the WSRP-calls form my component.
    Any suggestions/ideas?
    Thanks a lot for your help!
    Heiko

    Hi Heiko,
    Here is the response I got from development:
    Client side eventing is indeed not supported in WSRP.
    It is technically possible to extend our ProxyPortalComponent but it requires deap knowledge in the architecture.
    The concept of WSRP is to propagate the portlet's functionality using WSRP protocol logic, i do not fully understand the question in that case. it is eaither:
    a. to reflect the portlet's functionality (URLS) as they are (with the modification of URL rewriting done by the protocol)
    b. alter the portlet functionality to contain the event as a request parameter.
    in both cases straight forword usage is required and no 'hacking' can do the work.
    Let me know if the developer did not understand your question, or if you need some more information.
    Hope this helps.
    Daniel

  • Portal PDK and Portal Events

    Hello
    does the portal pdk for vstudio.net supports the Portal Eventing feature (fire and subscribe)?
    Regards

    There are no server side APIs for generating the client-side code.
    You need to write the JavaScript code and to add it to the iView. See example below:
    <script>
         EPCM.subscribeEvent("urn:SAP.Demo.Event", "DataChange", onChange);
         function onChange(eventData)
              alert(eventData.dataObject);
    </script>
    Regards,
    Yossi

  • Cannot get Help URL to work on WebDynpro Proxy page

    Hello
    I have created a WebDynpro iView with the show tray and show help URL enabled. I have entered the help URL as required.
    When I add this WebDynpro iView to a normal page, the help URL works as required.
    When I add this WebDynpro iView to a WebDynpro page, the help URL does not work.
    Can anyone explain how I can get this enabled on EP 7.0 SP 10?
    Points will be awarded for a correct solution.
    Many thanks
    Mike

    Hello Lakshmi
    I have already got the Show Tray and Show Help radiobuttons switch to on. The problem I have is that the "Help" option is not appearing in the drop down list at all. This is odd because "Refresh", "Open in NEw Window" etc. all appear ok.
    I have flushed system navigtaion cache and location cache to no avail.
    If you can find the answer to this dilemma all points will be yours :o)
    Many thanks
    Mike

  • Simple WD4A Portal Eventing does not work

    Hello togehter,
    I'm trying to get a simple Portal Eventing to work with two WebDynpro ABAP components. I read several threads as well as a blog from Thomas Jung about this but still have no eventing. What am I doing wrong? I think that it might be only a little obstacle but I can't get it. So what I didi is:
    1.) Created 1st WD4A application with a button and an action behind that button:
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
      l_portal_manager->fire(
        portal_event_namespace = 'urn:my.namespace'
        portal_event_name      = 'test_event'
        portal_event_parameter = 'testValue' ).
    2.) Created 2nd WD4A application with the following code in the WDDOinit-Method:
    DATA: l_api_component  TYPE REF TO if_wd_component,
            l_portal_manager TYPE REF TO if_wd_portal_integration,
            view TYPE REF TO if_wd_view_controller.
      l_api_component = wd_comp_controller->wd_get_api( ).
      l_portal_manager = l_api_component->get_portal_manager( ).
      view ?= wd_this->wd_get_api( ).
      l_portal_manager->subscribe_event(
        portal_event_namespace = 'urn:my.namespace'
        portal_event_name      = 'test_event'
        view                   = view
        ACTION                 = 'CATCH_EVENT' ).
    and an action.
    method ONACTIONCATCH_EVENT .
      data: EVT_NAME type STRING,
            evt_parameter type string.
      EVT_NAME = WDEVENT->GET_STRING( NAME = 'PORTAL_EVENT_NAME' ).
      if EVT_NAME = 'test_event'.
        evt_parameter = WDEVENT->GET_STRING( NAME = 'PORTAL_EVENT_PARAMETER' ).
        DATA:
          ls_text TYPE if_main=>element_main,
          node_main TYPE REF TO if_wd_context_node,
          elem_main TYPE REF TO if_wd_context_element.
        node_main = wd_context->get_child_node( name = `MAIN` ).
        evt_parameter = 'IT WORKED'.
      else.
        evt_parameter = 'did not work'.
      endif.
      ls_text-text_receiver = evt_parameter.
      node_main->bind_element( ls_text ).
    endmethod.
    3.) FInally I created two iViews (for each WD4A application) and a page, linked the iViews in the page and made a preview. Unfortunately nothing happend in the second iVIew with the 2nd WD4A application in it.
    Any help?
    Thanx in advance
    Matthias

    Hello,
    thanks for your answers. But the problem is not yet solved, the link gives nothing new for me.
    To amend my first post:
    After having created and activated my both small WD4A applications, I created 2 similar iViews (iViews for WebDynpro -> and chose WD ABAP) in my portal. Both iViews have the same namespace (which is SAP - is this ok?) and no application parameter.
    Then I created both a Standard SAP page and a WebDynpro proxy page and added the 2 iViews as deltalink. The page and the iViews have the same prefix (but this is not important, isn't it?).
    --> In both pages the portal eventing does not work
    The ABAP server and the Portal server are the same machine and I call the portal with the full qualified domain name:
    http://<servername>.<domain>:50000/irj/portal
    When I test my WD4A applications in se80 I get the path http://<servername>.<domain>:8000/sap/bc/webdynpro/sap/z_event_receiver?sap-language=EN
    so this is the same domain.
    I even have an entry in my hosts-file for
    <myInternalIp>  <servername>.<domain>
    - Do I have to specify the domain explicitly in addition when integration the WD4A applications in the portal?
    - Is there a correlation between the Portal Event namespace, the namespace of my iViews and page and the domain name of my server?
    - Does the portal event namespave to have the prefix urn: or not?
    Thanks again in advance

  • Portal eventing and Navigation in Federated portal environment

    Hello Experts,
    We have developed our portal content in Web Dynpro Java and it has been used in portal framework.In Some of custom web Dynpro applications,we are using portal eventing for communication between different iViews on a same  Page and Portal Navigation APIs to navigate to different portal object.
    Now We want to integrate all these portal objects(Mainly Custom web Dynpro applications without EP masthead,TLN,Desktop inner page ..etc) with Oracle portal.I want to know if we can use portal eventing when applications are integrated with Oracle porta or an other non-SAP portal or is there any other way to achieve the same.
    I have gone through some of the SAP documentation and it is stated that Portal eventing will not work when applications are integrated with non-EP portals.
    Any thoughts??
    Thanks in advance.
    Thanks,
    Naidu

    Hello Koti Raddy,
    Thanks  for your quick replay.I didn't understand exactly about custom framework page that you have mentioned.I am not sure what is purpose of framework page when i want to integrate all  portal Pages(consists of Web Dynpro based iViews) in non-SAP portal.
    We are going to use Navigation panel of non-sap portal and i want to integrate SAP portal pages in Oracle portal.
    I could able to use individual web Dynpro applications Urls in Oracle portal using iFrame portlet,but portal eventing is not working with this approach.
    As far as Authentication is concerned,we dont have any issues.it is already in place.
    Thanks in advance.
    Thanks,
    Naidu

  • Custom Layout for Web Dynpro Proxy page

    Hey all
    I have a requirement to display 4-5 Web Dynpro for ABAP iViews on a page. 
    I have the option of using the standard PRT page to display these iViews for which I can create a custom layout using com.sap.portal.layouts.default.par and the simple JSP layout file in it.
    However, they should really be on a Web Dynpro Proxy page but custom layouts created using above component wont work. 
    In the document [Integrating Web Dynpro and SAP NetWeaver Portal|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0c7b2f25-0c01-0010-f2a2-f8a65a9dcad9] it says -
    Within the SAP NetWeaver 04s release it is not possible to define application specific page layouts for Web Dynpro pages. Within the SAP NetWeaver 07 release this will be possible. Layouts for Web Dynpro page are implemented then as Web Dynpro components implementing a special ILayout Web Dynpro component interface.
    Has this been released as yet?
    Anyone find the APIs or workaround for this?
    Cheers

    I have the same question, but can't find any good solutions for this.
    For standard portal applications you can use com.sap.portal.design.layouts and modify layouts via JSP. But all webdynpro proxy pages are using their own layout.
    I'd like to change that layout too.
    Anyone?
    Cheers,
    Noel
    I am using NW 701

Maybe you are looking for