Eventing from a PDK appln to a Webdynpro appln ! :(

Hi,
I would like to trigger an event in webdynpro and catch subscribe for it from a PDK application..
(And passing data b/w WD appln and a PDK appln ...)
How can i acheive the same..
WDPortalEventing will work only across WD applns !
Is their any API that suits my requirement !
Any help is appreciated !
Regards
Bharathwaj

Hi Bharath,
You can trigger in WD and catch it in the PDK application.
The following code is for firing an event from webdynpro.
WDPortalEventing.fire ("urn:com.sap.tc.webdynpro.test.portal", 
                       "TestEvent", 
                       "AParameter");
http://help.sap.com/saphelp_nw04/helpdata/en/5c/1d584289e59041e10000000a1550b0/frameset.htm
It can be captured in portal using EPCF
EPCM.subscribeEvent( "urn:com.sap.tc.webdynpro.test.portal",
         "TestEvent",Function_name);
http://help.sap.com/saphelp_nw04/helpdata/en/f6/aebf40b87e0366e10000000a1550b0/frameset.htm
Regards
gEorgE

Similar Messages

  • Can't pass event from WebDynPro to JspDynPage - why?

    I Created JSP project and embedded in main page script (in its title),
    which subscribes to event by EPCM API,
    EPCM.subscribeEvent("urn:ru.intertech.common.wd.component", "save",   go);
    and created WebDynPro page that fires event using, when pressing on some bution:
    WDPortalEventing.fire("urn:ru.intertech.common.wd.component", "save", navUrl);
    but first code newer receives that event...
    why so ?
    for test reason I tested firing EPCM event on same JSP page,
    and it was received,
    also
    I tested receiving Portal event  "urn:com.sapportals:navigation", "Navigate"
    it was received on same JSP page.
    both iViews is not URL isolated according their properties.
    WebDynPro package is:
    package ru.intertech.common.wd.component;
    note from else people expirence:
    Does it important that receiving and firing side must be in same package? as written there:
    https://www.sdn.sap.com/irj/scn/thread?messageID=462647
    "The problem was that I created the Sender Application in package "com.sender" and the Receiver Application in "com.receiver".
    I created them in the same package and it works."
    What means domain for JSP page or WspDynPro component?
    Does it important?
    =================
    JSP code is (changed script formattin to be able to post here, and removed else business content):
    [hbj_content  ]
      [hbj_page_title"]
      [script_type="text/javascript__"]
      //alert["title started"];
      //EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate", eventHandlingFunctionName]; 
      //EPCM.subscribeEvent["urn:ru.intertech.navigation:epcm", "Navigate",   pop];   
      //EPCMP.subscribeEvent[ "urn:ru.intertech.navigation:epcm", "Navigate", window,"eventHandlingFunctionName"];
        EPCM.subscribeEvent["urn:ru.intertech.common.wd.component", "save",   go];
         EPCM.subscribeEvent["urn:com.sapportals:navigation", "Navigate", eventHandlingFunctionName]; 
         EPCMPROXY.subscribeEvent["urn:ru.intertech.common.wd.component", "save"  , window,   go];
      function eventHandlingFunctionName[ eventObj ]
         alert["title started=" + eventObj.sourceId + ": " + eventObj.dataObject  ];
      function go[ evt ]
         alert["go started=" ];
      </script>
       <hbj:form id="myFormId" >

    your reply is worth.
    what is the domains for views on one page?
    where to see it?
    Also, standard SAP MDM controls which we are using not working under any other browser except IE,
    I tested on FF and Google Chrome, they do not erform dynamic part of the controls.
    Despite this, debugging of scripts is important thing, so every piece is worth.
    One more detail:
    Also, two such a controls do not receive events from each other,
    but ony within self..
    why so ?
    Edited by: Vladimir Grigoryev on Jan 27, 2009 10:00 AM

  • Webdynpro and eventing from team viewer

    Hi.
    We are trying to add new fields to the MSS "General Data" iView (com.sap.pct.hcm.eeprofilegeneraldata.par) and are considering the following approaches:
    1.) Write additional java code to retrieve the data we need and display it on the iview.
    2.) Create a new iview from scratch using webdynpro.
    At the moment we are leaning towards option 2 as we do not have much java experience and have found webdynpro relatively easy to use. But my question is....how difficult would it be for a webdynpro iview to pick up the eventing from the standard Team Viewer iview? I would want to make sure that when a user clicks an employee on the Team Viewer, his/her data would show up in the new webdynpro iview. Any details on how to go about this would be appreciated.
    Thanks in advance,
    Chris

    Hi Chris
    If you are creating a new  iview from the scratch to display the details you had to have the epcf subscribe function. Here you get the parameter passed from the first iview. For this the raise event have to be fired from the MSS iview. So in the Msssiview You write the code for Raiseevent ON click of the button.
    <b>Event Sending from par</b>
    EPCM.raiseEvent("urn:com.sap.tc.webdynpro.example.reponamespace","linkclickevent",variable);
    <b>
    Event Receving on Webdynpro</b>
    WDPortalEventing.subscribe("urn:com.sap.tc.webdynpro.example.reponamespace","linkclickevent",wdThis.wdGetEpcflistenAction());
    public void onActionepcflisten(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject )
        //@@begin onActionepcflisten(ServerEvent)
    //    wdContext.currentContextElement().setName(dataObject);
    //      wdComponentAPI.getMessageManager().reportSuccess("listen eventfired......");
         wdComponentAPI.getMessageManager().reportSuccess("dataobj is....."+dataObject);
        //@@end
    (The variable dataObject cannot be changed to other name)
    Regards
    Geogi

  • Calling Portal event from ABAP class

    Hi Experts,
    I need a following clarificatrion, Please help,
    1. Is it possible to call a webdynpro method from a normal ABAP class?
    2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    3. Is there any ways with which we can call portal event from ABAP class?
    Thanks,
    Shabir

    >1. Is it possible to call a webdynpro method from a normal ABAP class?
    I wouldn't necessarily recommend this approach. You shouldn't try to trigger events or any of the standard WDDO* methods from outside the WD Component itself.  That said, you can pass the object reference (like the WD_COMP_CONTROLLER object reference or the View Object Reference) into methods of normal classes.  Be careful if you are finding yourself calling a lot of your added methods from outside WD.  This is probably a sign that these methods should be in the Assistance Class or some other Class functioning as a Model Object.
    >2. If no, we need a functionality of a class 'CL_WDR_HTTP_EXT_MIME_HANDLER' having method 'DO_DOMAIN_RELAX_HTML'.
    Is there any alternative method which can be used in ABAP having the same functionality.
    What exactly do you want to do here?  Do you just want to get the relaxation script?  For what purpose?  You should never need to inject the relaxation script into WDA. 
    >3. Is there any ways with which we can call portal event from ABAP class?
    To what purpose.  Do you just want to delegate the triggering of the event that is inside WD Component to be called from a class?  If so you can pass the portal API object reference into a class from the WD Component.  However this only works while running within WD.
    How is this class used?  Are you running in WD?  Are you trying to generate some HTML code that runs in the portal independent of WD?

  • Can we call a pdk portlet from other pdk portlet

    Hi friends,
    Can i call a pdk portlet from other pdk portlet when an event happens.
    Scenario:
    I have a pdk portlet with 10 html links. When anyone clicks on a link then a new portlet should be displayed in the same page.
    Is it possible to call one portlet from others.
    Please help me out with ur ideas or any workarounds.
    Thanks & Rgds,
    Dhanu

    Neeraj,
    Let me state my requirements very clear to u.
    1)I have a search portlet at top right corner.
    2)Below there is a region with 3 tabs(say A, B, C).
    3)When anyone searches for anything in the search portlet then the results should be displayed in new search tab(say D).
    4)If any one navigates to other tab(ie A or B or C) then the search tab(ie D) should not be displayed.
    This is my requirement. Can u please suggest me with how this can be achieved. I am just a beginner to Oracle portals10.1.4 and i am using JPDK to create portlets.
    Please do reply ASAP.
    With thanks & Rgds,
    Dhanu

  • In iCal, why I can not drag event from calendar to reminder, and 'paste' in reminder is disabled?

    The added events in iCal could be dragged freely to reminder before I used iCloud, but now it doesn't work. The situation of iCal is: 1) I can not drag any event from calander to reminder, 2) the 'paste' bottom in reminder is disabled, and 3) sortord in reminder does not work, i.e. I can not change order even if I select 'manual' .
    Anyone met these situation before? Please help~

    The added events in iCal could be dragged freely to reminder before I used iCloud, but now it doesn't work. The situation of iCal is: 1) I can not drag any event from calander to reminder, 2) the 'paste' bottom in reminder is disabled, and 3) sortord in reminder does not work, i.e. I can not change order even if I select 'manual' .
    Anyone met these situation before? Please help~

  • How can I delete a reacurring calendar event from my iPhone 4?

    I recently started at a new company and of course I set up my iphone to sync with my corprate email. Everything works fine accept one thing. A few weeks make a got an Outlook reaccuring request for confrence calls on Thursdays. I accepted the invite. After a few weeks the person in charge of the call felt Wed. would be better. No problem I accepted the new request and it synced with my phone. My problem is even thought I deleted Thursday's reacurring event from Outlook on my computer. It did not remove the event from my phone. Nor can I delete the event from my phone.
    I have an iPhone 4 running iOS 6.01 (10A523)
    Exchange Server 2007, Version: 08.03.0213.000
    We use MS Outlook 2010 as the client.
    Please Advise.

    Hi Zaneholland23!
    I would recommend the steps in the following article to fully get rid of the previous user's personal data:
    iOS: Understanding 'Erase All Content and Settings'
    http://support.apple.com/kb/ht2110
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • Can you send custom events from one form to another?

    I have a compli
    cated application, where I about hundred inp
    uts organized in several input forms. Some of the forms
    require data which has been input in other forms. I have tried to
    dispatch custom events from one form to another, but it dispatches the
    whole form and I only need one or two items.
    Ha anybody else come across such a problem?
    Svend

    One way is to share data in a static singleton

  • How to get all events from calendar using calcalendar store framework.

    Hello,
    I have two problems with calcalendar store framework programming.
    1. I need all the event which are present in iCal calendar.Event may be present in year 2025 or 2050. and if the event is recurring then i need only one event.
    2. if the event is recurring then i need only one event within the calendar event predicates (start date and end date). I am not suppose to give the occurrence date for event.
    How can I implement this with CalCalendar store framework.
    Thanks And Regards,
    xmax.

    Hi,
    Per my knowledge, there is not a method to get all the recurring events using CAML query in one request.
    Here is a thread with the similar question for your reference:
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/eed6be6d-c9ff-4d01-80de-8a4b67d3d7a5/use-caml-to-get-all-recurring-events-from-a-calendar
    We can get all the calendar list events at first, then filter all the recurring event from the result set.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Can't delete event from iCloud

    I had a recurring event in one of my iCloud calendars. No matter what I do -- on iCloud or from within iCal -- from deleting each event manually to deleting all at the very beginning and all Future Events, it won't delete. It keeps coming back. The only calendars I have are iCloud -- nothing from Google or computer-only.
    Is there a way to force delete an event?

    I don't know if this is the same for others who have this problem, but in my case, the stuck event was one that I was invited to by someone else.
    I'm not entirely sure I fixed it, but I might have -- while I couldn't edit most of the fields of the event (and get them to stick), I could move it to a different calendar, so I created a dummy calendar, moved it there, and then deleted the calendar.  So far, the event from **** hasn't come back...
    Good luck!

  • To transfer time events from external time recording system to sap r/3

    hi all,
          I have a task to make an interface program between external time recording and sap r/3, and then to transfer the time events from that external system to sap system with the help of an rfc, i have got some information like the data first has to be transferred to the table CC1TEV and then from this table the data will be uploaded to 2011 infotype with the help of a standard program, but i am unable to find a solution for making the interface program and the RFC or BAPI which will transfer the records from external system.
        if anybody has any information on this plz help me out to solve this problem.

    Which recorgding terminals using to capture time events? They should have give some guidelines about this?
    Regards
    niranjan

  • Can you move events from one drive to another easily?

    I've just bought an external firewire drive to dedicate to my Sony HD camcorder material.
    I've only imported 30 mins or so of stuff onto the Mac's internal drive with iMovie '08, and would like to know if anyone's managed to easily copy 'events' from one drive to another to merge/split content.
    Is it just a case of copying event folders from the iMovie Events folder to the external drive, but if so do you have to specify a particular path?
    Similarly, can you just move the individual 'Projects' or archive to DVD etc as they will invariably take up lots of space for longer footage? Does the projects file just hold references to the assembled clips, in which case moving events would scupper things as I seem to have several movie files in there already though these may just be things I uploaded to .Mac to test out.
    This may all be a bit of trial and error. Hopefully clips are only references unlike the pretty huge but self-contained iMovie 6 HD project packages. This also raises issues about how to easily backup all your 'events'.
    AC

    Observation:
    Just imported 15mins of video from the Sony.
    When you click import you are asked which drive to save to.
    As well as the Mac's internal drive, all my attached USB drives which are formatted as Mac OS Extended (journaled) appear as targets to save to as well as teh Firewire drive.
    I selected the Firewire drive and don't recall an option to create a sub-folder. After import a new top level folder of iMovie Events was created, but no others.
    Presumably iMovie Projects/Shared folders only exist on the boot drive.
    I'm assuming that this structure will allow you to share movie Events between Macs using external drives.
    Again, an assumption but I suspect iMovie scans all available suitable hard drives and checks what content is available in top level iMovie Events folders for non-boot drives as well as this folder in the user's Movies folder.
    Rambling observations over for now.
    AC

  • How do I transfer events from one iphoto library to another?

    I have  2 iphoto libraries.  How do I transfer some events from one to the other?

    Either:
    1. Export from Library A to the Finder and then import to Library B - this means you won't get the edit history of the images nor will you get all the metadata
    or
    2. Use iPhoto Library Manager for the job, which will get all versions and all metadata
    or
    3. If you have Aperture, use that.

  • How can i set action on UITaBar and get event from that

    Hi All,
    I m doing one apps in which i have to add three UITabBarItem and this is UITabBarSystemItem.
    Now i cannot understand that how can i set action and get event from the?
    And how can i set various views on three tab bar item.
    I have to use UITabBar means i have to use UINavigationController+UITabBar
    My code id
    tabBar =[[UITabBar alloc] initWithFrame:CGRectMake(0,370,320,50)];
    tabBar.backgroundColor =[UIColor blackColor];
    UITabBarItem *search =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemSearch tag:0];
    UITabBarItem *recents =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemRecents tag:1];
    UITabBarItem *favorites =[[UITabBarItem alloc] initWithTabBarSystemItem:UITabBarSystemItemFavorit es tag:2];
    tabBar.items =[[NSArray arrayWithObjects:search,recents,favorites, nil] retain];
    tabBar.selectedItem = search;
    [myView addSubview:tabBar];
    [tabBar release];
    I add a action:
    UITabBarItem *search =[[UITabBarItem alloc] InitWithTabBarSystemItem:UITabBarSystemItemSearch tag:0 action:@selector(select:)];
    So it error: Warning -no'InitWithTabBarSystemItem:tag:action:' method fount
    So any can help me regarding it?

    Thanks RickMaddy very much.
    I read and do with sample at the View Controller Programming Guide . But when run it only view TabBar with title but haven't got any TabBarItem on it. I searched a few example about TabBar and i did, but i want do a form with a button then press on button it view a form with 2 TabBarItem on TabBar and press each TabBarItem will show correlative form page 1, page 2.
    UITabBarController *tabBarControl = [[[UITabBarController alloc] initWithNibName:nil bundle:nil] autorelease];
    tabBarControl.title = @"Tab bar";
    ViewControl1 *view1 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl1" bundle:nil] autorelease];
    ViewControl1 *view2 = [[[ViewControl1 alloc] initWithNibName:@"ViewControl2" bundle:nil] autorelease];
    tabBarControl.viewControllers = [NSArray arrayWithObjects:view1,view2,nil];
    [self.navigationController pushViewController:tabBarControl animated:YES];

  • Moving events from one iPhoto library to another

    I want to move some events from one iPhoto library to another.  Does anyone know that this is possible and if so, how do I do it?

    iPhoto cannot do it . The full version of iPhoto Library Manager can transfer events between libraries, or Aperture can do this.
    You can download iPhoto Library Manager here:  iPhoto Library Manager
    If you want to save the money for additional tools, doit manually: 
    Export the photos from each event you want to transfer to a folder.
    Import the folders with images to your other iPhoto library.
    You have to make up your mind, if you want to move the original files to your other library or the edited versions.  Only exporting the original files instead of the edited files will preserve the full quality. Actually, you want to export both. Using iPhoto library Manager will ensure, that both will be transferred and paired as one photo.

Maybe you are looking for

  • How to delete a substitution

    Hi All, I have done a simple VO extension and I am ready to deply it to our development environment. I have got the substitution file and have specified the relevant files but before I upload it I want to know how to back it out (Incase their is an i

  • Problem to  Use C function in oracle

    Hi Friends, i m trying to use c funciton in oracle as per oralce documentation its working fine when i used the demo example but in demo example thr are only interger data type used i need to use the char data type from c and while calling that funct

  • Problem to install DBD-Oracle-1.15

    hello when I execute perl makefile.pl I 've this message : Configuring DBD::Oracle ... Remember to actually READ the README file!Especially if you have any problems. Using Oracle in /soft/oracle/9.2.0 Oracle version 9.2.0 (9.200) Found /soft/oracle/9

  • HOW DO I SYNC MY CONTACTS FROM MY IPHONE 4 TO MY NEW MACBOOK PRO?  AFTER THE INITIAL SYNC!

    I SAW SIMULAR QUESTIONS....BUT THE ANSWERS SAID TO PLACE ONE UNIQUE CONTACT THEN SYNC UP YOUR COMPUTER FOR THE FIRST TIME.  WELL, I ALREADY PASSED THAT STEP.  SO IS THERE A WAY TO MERGE THE CONTACTS IN RETROSPECT? 

  • Does HP Office Jet Pro 8610 Support Adobe .PDF Files?

    Greetings, I'm thinking of upgrading from an HP Photosmart Premium C309g-m All-In-One to an HP Office Jet Pro 8610 All-in-One.  I was able to create and use .pdf files on the C309g-m.  I have Adobe Reader on my computer.  Will I be able to do the sam