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.

Similar Messages

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

  • 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

  • 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

  • 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 &#8243;APP&#8243;, 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]

  • Portal eventing between bsp and VC

    Hi everybody
    I need to use portal eventing to have a bsp and a VC iview communicate.
    The bsp iview should be displayed within the VC iview as html view, raise a portal event with some sort of parameters inside, and then be dynamically hidden by the main iview.
    I have often read about VC and bsp exchanging signals when belonging to the same page, but will this work even with bsp iview within VC iview? Has anyone ever achieved this?
    thanks
    Vincenzo

    Hello Vincenzo,
    It won't work, since the html view is implemented as an iframe on top of the model. If you want to use portal eventing, you should have the iViews inside a portal page which acts as a container and you also have the entire portal framework working for you.
    Regards,
    Natty

  • Portal Eventing in WebDynpro Java Pros and Cons

    Does anyone have a link to an article that discusses th epros and cons of using portal eventing between dynpro development components between iViews rather than using one larger web dynpro application.  I am clear that reuse can be an issue if you don't make each view t's own development component but I also find portal eventing to be very lacking.  What do others think about on this issue and is that an SAP recommendation?
    Shawn

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a3c57e19-0d01-0010-ad8b-9edde6d1fae7
    Please read the restriction section.
    I will make much more sense if we need a high degree of data interchange between WDP components, to use context mapping and thus internal WDP calls rather than portal eventing.
    hth

  • 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

  • Portal eventing between WD java and BSP popup

    Hi guys,
    I have a WebDynpro application that opens a BSP popup like that :
    WDPortalNavigation.navigateAbsolute(
              wdContext.currentURLElement().getEvaluationURL(),
              WDPortalNavigationMode.SHOW_EXTERNAL,
              "directories=no location=no menubar=no resizable=yes status=no toolbar=no",
              "evaluationdeformation",
              WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
              urlParam.toString()
    When the popup is closed, I want to update the content of my webdynrpo application. I tried using portal eventing but it didn''t worked because the popup doesn't seem to know its opener....
    Is anybody have an idea ?
    Thanks in advance.
    Julien.

    Hi Julien,
    have you made sure that your BSP application is using EPCF? There is a flag you need to set to X in your BSP app for this to take effect. Also, you can not add javascript to a WD app, so calling the window.opener will not make any difference. However, you can subscribe to an event raised by another application in your WD app. It is possible to raise events between windows, one being a bsp and the other a WD or portal application. Check the following threads.
    [Portal Eventing: EPCMPROXY calls between two browser windows;
    [Client side eventing between MSS teamviewer and BSP application;
    Cheers,
    Dion

  • Portal Eventing between Web DynPro Java iView and non-Web DynPro iView

    Dear Experts,
    I have 1 Web DynPro Java iView and 1 non-Web DynPro (using JSPDynPage and JSP) iView, both attached to a page. When Web DynPro Java iView fire a portal raise event, the portal iView did not execute the javascript function tied to the event subscribed.
    Here is the code snippet which reside in the Web DynPro Java iView that is used to fire the event
    String param = "test";
    WPortalEventing.fire("urn:com.company.Test1", "TestEvent", param);
    This the code snippet that is in the jsp page
    function notifyTest(param)
         // Code to print param value here
    EPCM.subscribeEvent("urn:com.company.Test1", "TestEvent", notifyTest);
    Note:
    1. When Web DynPro Java iView fire the portal event the entire page is refreshed, including the non-WDP iView.
    2. When EPCM is replaced with window.top.EPCM, the page is refreshed, it is totally hanged with progress bar.
    Can anyone help to solve this problem?

    hi
    Please write the below code snippet in ur jsp for notifyTestjavascriptfunction
    function notifyTest( eventObj ) {
         eventParameter=eventObj.dataObject;
         // code to print the parameter "eventParameter"
    Thanks
    Harsimran

  • Portal Event name and namespace (ECM)

    Hi Experts
    I want to register for the Portal Event that gets triggered when an employee is selected.
    In the Compensation Information page, there is an employee search iview. I need to know what Portal Event name and namespace is triggered when an employee is selected.
    Does somebody already know what the name and namespace is?
    thanks in advance
    Anton Kruse

    Found the solution here: Parameter Passing from WDJ iview to WDABAP Iview
    call function 'HR_ASR_WDA_GET_EMPLOYEE'
       exporting
          id = 'MSS01'   "ABAP Memory ID To get the PERNR Selected.
       importing
          pernr = gv_pernr.

  • Portal Eventing or FPM - navigate to diff comp controller view and ....

    Hi,
       The query is simple, i guess -
    From a particular component controller ( not from its view ) how can i navigate to a view of different component controller.
    Also how can i navigate to diff view ( within the same controller ) by the same controller.
    I tried Portal Eventing and FPM -
    WDPortalEventing.fire( "urn:com.sap.xss.hr.per.tw.bank.overview.Vc...Overview.Eventing","send","N");
    and at receiver
    WDPortalEventing.subscribe("urn:com.sap.xss.hr.per.tw.bank.overview.VcPerBankTWOverview",
         "send", wdThis.wdGetPortalEventAction() );
    it didn't worked.
    Also tried FPM after creating an FPM view , but need inputs from you to link it in event links as target.
    ECC6.0 - mysaperp2005.
    EP7
    THanks,
    Regards,
    Ankit

    Vishwas.. / Chaitanya -
    Thanks for the reply -
    -   I want to navigate to CompB's view from Component Controller A ( not frm the view ).
    - Another query was - how can i get to View2 of comp controller A via Comp Controller A itself. 
    Your answers were helpfull but i need some more info..
    The forums link u mentioined had some body mentioned this -
    " 2 ways to do this...
    The first way:
    1) Create a separate window in Comp B for each view that you need to navigate directly to (an interface view is created for each window)
    2) Embed the multiple interface views of Comp B into Comp A
    3) Use a separate outbound plug in Comp A for each Comp B interface view
    AFTER STEP 2 ON STEP 3 HOW CAN I HAVE AN OUTBOUND PLUG FROM COMP CONTROLLER A ( not from the view ). i.e., outbound plug from Comp A to the Comp B inteface view
    Lokesh -
    Trying same namespace didn't worked , - i guess Portal eventing might work between views , but here i have a component controller and a view.

  • Difference between portal component and portal service?

    Hi I am kishore...
             I worked on portal components but not on portal services... Would anybody tell the difference between the portal components and portal services...? What is a portal service..?
               How we know which one to choose in the scenario.?
        Thanks in adavance

    Hi kishore,
    A portal component is custom Java code that is executed according to user requests, and generates HTML output for display on the client.
    Portal components:
    Page builder, which assembles pages
    Admin tools, such as logger, which is comprised of user interface messages.
    Pages
    Technically, the page is also an iView. A page includes iViews or pages (nested) and Layout components
    iViews
    There are two different isolation levels (iView types)
    Embedded: iViews’ html is embedded as part of page html. iViews are called synchronically on the server, and retrieved in one response, to  the client (this is the page response)..  Each iView reloading reloads all iViews on page.
    URL (Isolated): iViews are fetched by an IFRAME element in an “own” request. One response for the page followed by additional request-response for each iView (depending on browser 2-4 requests simultaneously).
    Portal Services:
    A portal service is a component that offers a globally accessible function in the portal. 
    A portal service act as the middleware, that is, interfaces that are enabled to exchange procedures and data. They offer functionality to portal components, and other services.
    There are two groups of portal services:
    Portal services (part of the PRT)     
    Caching                     
    Notification
    iView service
    Application Repository
    System Landscape
    Role, pages, worksets
    Web Services
    Unification service
    Portal services (external to the PRT)     
    Client Eventing                 
    URL generator
    Logger
    JCO client service
    Hope this helps.
    Regards
    Atul Shrivastava

  • Portal Eventing Parent-Child Explorer window

    Hi experts,
    I have a problem using the portal eventing.
    A WebDynpro Abap application, embedded into the EP, opens a new browser window. I want to fire an event in the new browser window and handle it in the first one. So far so good. This works fine.
    However if I want to close the new browser window in the same server round trip I fire the Portal Event, the event handler in the first window is not called. My question is: Is it possible to handle a portal event from a child browser window which closes itself in the server round trip, when the event is fired?
    Thanks,
    Thomas

    Does sound like the child window is not propagating the portal event when it is also closing...
    I'd suggest a work around (as I have no idea why that behaviour is occurring) perhaps firing the update event and also listening for it yourself? and then closing once the event has been received? If the child component receives the portal event, you'd assume that the parent would also.
    Alternatively set a timed trigger after you fire the event - it shouldn't trigger until a screen refresh is done (which you'd hope would mean that the portal event was successfully fired) and close your window on the event fired by this UI element.
    Do let us know if you find any other way around the problem!
    Cheers,
    Chris

Maybe you are looking for

  • FTP  receiver adapter does not transfer (STORE) file

    Hello gurus, In my scenario I want to transfer files from server X to server Y using FTP. To get the files from server-X I use the FTP sender adapter, to put the files on server-Y I user the FTP receiver adapter. Getting the file (QoS = EOIO) is not

  • How can I get rid of album artwork in lists?

    I cannot view my song catalog by album or genre in iTunes 11 without artwork - images of albums, or, more often, a blank square witha treble clef. This makes scrolling through lists very difficult. Is there a way to shift to a simple text list?

  • Eclipse Boot Problem

    My system was running fine until a few days ago.  When I power up now I get 3 long beep tones and no video at all.  I've connected another computer to the monitor and it works fine.  I've swapped memory around, installed a new video card and still ha

  • Need query help

    Hi Trying to get this to work (excerpt of FMS): SELECT ((CEIL(@OrdQty / T0.[U_NF_Supp_VPE])) * T0.[U_NF_Supp_VPE]) Any help to get this to work appreciated? Thanks Franz

  • TrackPoint Middle button behavior for SketchUp

    When using a wheel mouse with SketchUp, pressing the wheel allows to orbit the drawing. But when I use the trackpoint, pressing the middle button zooms in/out. How can I change the behavior to be like a wheel mouse? I tried changing TP4table.dat, add