Communicatin between two differnt wd apps?

HI
Can Any one explain me how can we communicate between two differnet webdynpro (java) applications?
i have one component A with A1 as its application and Componet B with B1 as its application.
individullay both runs independently, but is it possible to make both to communicate?
how can we communicate between these two different webdynpro applications?
pls give me an idea regarding this.
Regards,
sandeep kumar

Hi,
Please follow the below process for passing data between two webdynpro applications using portal eventing.
Step1:-
Webdynpro Application 1 (Iview1)
Create an input field bind a context variable and have a button and write the following code in the button onaction.
public void onActionOK(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
  com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.fire("urn:com.sap.tc.portaleventing.example","show",
                    wdContext.currentContextElement().getHi());
Here Hi-->is the context variable binded to the input field.
Step2:-
Webdynpro Application 2 (Iview2)
WDDOINIT write the following code:-
com.sap.tc.webdynpro.clientserver.event.api.WDPortalEventing.subscribe("urn:com.sap.tc.portaleventing.example","show",wdThis.wdGetRaiseFireAction());
While creating the action it should have the following 3 parameters.
1.dataObject-->Type String
2.namespace-->Type String
3.name-->Type String
Your action code should look like something below.
public void onActionRaiseFire(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent, java.lang.String dataObject, java.lang.String namespace, java.lang.String name )
    wdComponentAPI.getMessageManager().reportSuccess("Value in the input field"+dataObject);
Note:-
1.Make sure your using portal along with domain
Eg:-http://<hostname>:<port>:50000/irj/portal--->wrong
http://<hostname>.<domain>:<port>/irj/portal--->right
2.EPCF level should be 1.
3.Check whether both applications run on the same domain.Sometimes portal eventing does not work between cross domain applications.We should do domian relaxing in order to achieve this.
Thanks & Regards,
Lokesh Kamana
Edited by: lokesh kamana on Jul 28, 2011 7:33 PM

Similar Messages

  • Expdp and impdp between TWO differnt tables

    DBVersion: 10g and 11g
    i have two tables with same data strucutre ,same columnames and width except name difference
    orders and order_history
    i took export of orders for a date range and now want to import into order_history
    can that be done?if so can you please provide me syntax
    thanks

    remap_table is only available starting in 11.1.0.6. So, if your target is 11.1.0.6 or later, you should be all set.
    Dean

  • Linking two standard Fiori apps

    Hello Experts,
    I have one query in Fiori standard app and need your inputs on this.
    We need to provide a link between two standard transactional apps, so that when we click on the link from the first app it should navigate us to second
    app. Please suggest how to do it. Can we do the necessary UI5 code changes in eclipse IDE or do we need Web IDE for this.
    Thanks,
    Jyoti prakash Das.

    Hi Jyothi,
    Hope this helps:
    Fiori App to App Navigation in Web IDE - Part 1
    Fiori App to App Navigation in Web IDE - Part 2

  • Using A FireWire cable between two Macs and Migration Assistance to transfer all my desktop to my macbook laptop, will all my apps, bookmarks, contacts and files be transferred? I am trying to make a complete copy of my desktop to my laptop.

    Using a FireWire cable between two Macs and the Migration Assistance feature, will al my apps, bookmarks, contacts and files be tranferred?

    See Pondini's Setup New Mac guide

  • How to transfer app data between two different game center accounts?

    Hello, I really need some help.
    I have looked all over the web for ways to transfer apps between two different game center accounts and different devices. Several weeks ago I started playing Campus Life on my relative's Ipad 2, therefore spending many long hours to get to this point in the game.
    The problem is I just got an Iphone 5 and I really would like to transfer the data onto it, so that I would not need to start all over again.
    My grandma has an account (Game Center) onto which the data has been saved and I would like to have it stored onto mine. On some forum someone said to sign into the account which has the data on both devices and to then open up the game on the new device. It worked. Then I signed out and logged in with my own account- the game started from scratch. I panicked. I went back on the other account, and the data reappeared. I have been going back and forth, the game changing as many times. I thought it would ask to back up my grandma's data on mine but I was wrong. I can not seem to save the game onto my new account, and I have even tried to back it up to Itunes and then copy it onto my phone after having signed into my own account. And I don't know how to properly use Icloud. I am a mess. I am completely lost and have found no help on the web. (All people seem to have to deal with is sharing Apple IDs with different Game Center Accounts for the kids and transferring apps from one of their devices to another.)
    I am so worried I am going to mess up and will lose the whole thing completely.
    I have just started another game with my own account but since I am using my grandma's, the data is erased. It's one or the other but I definitely prefer saving Campus Life. I do not like the idea of having to only pick one.
    I do not know any technical terms, so if you understand or even have the slightest clue about what I am talking about, I applaud you.
    This seems like mission impossible, so if anyone can help in any way, I would be really grateful. 
    Thanks in advance for your time and thoughts!

    I meant to press on "This solved my question"... Sorry if you needed the points.
    Thank-you and I will just go back and forth between the accounts.

  • Sharing iPhone apps between two accounts on a single mac.

    Firstly, apologies if this topic has been covered many times before, I've tried to look, but can't find the exact answer I need.
    I have recently purchased two iphones and want to use them on seperate apple ID's - I want different iCloud storage for each phone.
    I have a macbook which has two accounts (one for me and one for my wife).  When I login to my account I have access to my itunes account and when my wife logins into her account she has access to her itunes account.
    I have followed the instructions for sharing musics between two users on the same mac - by moving the itunes media folder to the shared folder on my mac.  I have copied everything in that folder (music, movies, apps etc).  I have also set up home sharing as I believe that you can share apps between itunes accounts using it.  Everything seems to have worked ok in terms of her itunes being able to access the music, movies etc, but the apps don't seem to work properly.  I went through the subfolders of the itunes media folder and changed the folder permissions to read and write for everybody (because I was getting a permissions error) and she now has access to the apps that are there (on my itunes account), but the apps that she has downloaded on her phone are not being transferred to the macbook.  I've tried the reset warnings suggestion and that hasn't solved the issue. 
    Am I doing something wrong?  Should the apps folder within the itunes media folder not be moved with the music when transferring to the shared folder?  Any ideas why music and movies sharing is working ok, but not apps?
    Thanks in advance!

    This should help:
    iTunes: How to share music between different accounts on a single computer
    Note that when it says "publicly accessible location", it needs to be a place where everyone has read and write access. The most common such place is the Shared folder in the Users folder.

  • How can I share apps using bluetooth between two ipads

    How can I share files/apps between two ipad air via Bluetooth. Thanks alot.

    You cannot. That connectivity is not supported by Bluetooth.
    Airdrop supports file sharing via w-fi:
    OS X Yosemite: Use AirDrop to send files to devices near you
    Barry

  • Difference between two user & single user Apps 11i install

    What is the difference between TWO user and single user Oracle Apps 11i install.
    What are the advantages/disadvantages of these two.
    Thanks
    RK

    You'll need to switch between oracle homes, if you
    plan to use single username.And need to source the proper environment file
    I prefer having 2 different accounts, especially on
    linux/unix, where user privileges are well defined.Agree

  • OSX iPhoto App: Sharing Library Between Two Users

    Despite the limitations of the new Photos app I am considering migrating our iPhoto/Aperture library to it so that I can take advantage of the iCloud Photo Sharing facility. However the library, which is stored on a suitably formatted ext HDD attached to our iMac, is shared between two Apple IDs, mine and my wife's.  This enables us to add photos via either Apple ID and view the entire library on all our devices (we both have iPhones and iPads as well as sharing an iMac and MacBook Pro).
    How do we continue to share a joint library using the Photos app and iCloud Photo Library?  Trying to keep two libraries in sync is too much hassle and would also require both of us to buy additional iCloud storage.  We need a solution that enables both of us to view and add pictures to the library on all devices but only requires one of us to buy additional storage space to store it.

    brown_sm wrote:
    I recently bought my parents a new MacBook Pro (they switched from Windows). I was able to get all of their songs over and into my dad's iTunes library. My mom and dad each have separate accounts on the MBP, but they'd both like to be able to see (and listen to) the same iTunes library, not at the same time, obviously.
    Is that possible? If so how?
    the easy way is to use itunes sharing. start itunes in your dad's account and enable sharing in itunes preferences->sharing. then other users including your mother will be able to listen to the songs from your dad's itunes library but ONLY while your dad is logged in. so in order for this to work both of them should be logged in at the same time. to make that possible enable fast user switching in system preferences->accounts->login options. However, this is not terribly convenient.
    it's possibly (but surprisingly tricky) to use the same itunes library without having both users logged in at the same time.
    Is it enough to point my mom's iTunes to the same folder? Do I need to put special permissions on that iTunes folder while logged into my dad's account?
    yes. not just permissions. you need to put inherited ACLs on your dads Music folder to give both of them read+write access to all current and future files in it. so log in as your dad and run the following terminal command (copy and paste please)
    chmod -R +a "username allow delete,chown,list,search,add_file,\
    addsubdirectory,delete_child,file_inherit,directoryinherit" ~/Music
    instead of username put the short user name of your dad's account. it's the same as the name of his home directory in /Users. then repeat the command with your mother's username instead of your dad's. after that log out of your dad's account, log into your mom's account and point her itunes library to his itunes library. to do that start itunes while holding option.

  • Sharing data between two separate user sessions

    Hi all!
    I have been trawling my brain for a solution to this - any help will be appreciated!
    I would like to create a single instance of a class but share that instance over more than one user session (two separate users but both running concurrently).
    Just as you can pass data between sessions using ABAP memory - I would like to pass data (specifically an object reference) between two separate users that could even be logged in to two separate application servers...
    Even a mini Client/server solution would suffice but I cannot figure one out!
    Is this possible?
    Many thanks for your thoughts in advance...
    N

    Hello N K,
    sorry thats not possible. Sharing a data item / object instance requires at least a common physical memory. As this is not guaranteed between different app. server this is technical not possible.
    With release 640 ABAP offers the new feature Shared Objects. These mechanism allows access by different users and some propagation to differnt servers.There is an interesting article on the ABAP SDN homepage
    https://www.sdn.sap.com/sdn/developerareas/abap.sdn
    For relases below more or less the database is the only chance to store data accross application servers (known to me). One exception might be the ENQUEUES which might (mis)used to store some Flags.
    Kind Regards
    Klaus
    Link to Shared Objects PDF
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/shared objects in abap

  • How can I interact between two different frames in the same indesign template as well as from one template to another.

    I am looking for the best way (or any way) to interact between two different frames in the same indesign template as well as from one template to another. It's for a DPS app which needs to carry some button initiated data from one page to another and then present it in a table.

    There is no simple way to do it, as itunes wont let you use it on another computer without wiping the contents first.
    However if you really want to transfer songs to another computer then you could try this;
    * make sure that your ipod is accessible as a disk drive (ipod options)
    * when you plug your ipod into the computer you want to transfer to make sure you select "no" or "cancel" when it asks to wipe the contents. Leave the ipod connected and quit from itunes.
    * go to "my computer" and access the ipod directly. You probably have to select "view hidden files" from windows. You will see a lot of folders with odd names like ZX838aff with similar named files inside.
    * copy these files to a folder on your computers hardrive. Now remove the ipod and start itunes.
    * import the files from the folder you made in the last step.
    * Now your music is on itunes, but with unrecogisable names.
    This is the only way I have found to do it, but there may be another way, say with an application to do the hard work for you.
    Generic homebuild PC Windows XP
    Generic homebuild PC   Windows XP  

  • Sharing One iPhoto Database Between Two Accounts

    Below is a reply to a question I have regarding sharing photos with my wife on the same Mac. I would like for us both to able to upload, edit, and use photos from the same iPhoto database. Do all of the buggaboos listed in the reply below still apply?
    Thanks,
    Jim
    Re: Sharing Photo's on the same iMac between two user accounts
    Posted: Jun 2, 2009 8:27 AM in response to: Thomas Harrigan Solved
    Tom
    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

    No. All the folks who post here are just Users, like you.
    Regards
    TD

  • Using the same photos and music between two user accounts in the same Mac

    Hi,
    I think this question might have already been asked in the forum.
    1. I have one MacBook Pro and two user accounts (One for me and one for my wife)
    2. We are having two seperate iPhones with seperate AppleIDs
    3. We want to maintain the apps / calendar / mail / reminders / contacts as seperate - Through iCloud (Seperate Apple ID approach) - All this is fine
    4. All we want to have it shared is the Music files and the Photo library without duplicating
    I have tried the shared folder approach for the music and having the iTunes point to that directory for the libary location in the preferences but unfortunately if she adds a folder to the library mine does not get updated unless I do a add folder to library and vice versa.
    Whats the best way to deal with the Photos / Music sharing between two user accounts on the same mac
    Thanks
    Shas

    To give other users read-only access to your iTunes library, use the Sharing features of iTunes. Sharing works over the local network as well as on the same computer. See the built-in help for details.
    To give others selective access to your iPhoto library, you have the option of using iCloud Photo Sharing, if the privacy implications don't bother you. The images will be stored temporarily on Apple servers.
    If you want to give full read/write access to more than one user, see the support articles linked below.
    iTunes: How to share music between different accounts on a single computer
    iPhoto: Sharing libraries among multiple users
    There is a way to share the library without moving it to a secondary volume. If you really need to do that, ask for instructions.

  • Sharing iPhoto Library between Two User Accounts

    Is there any way to fully share a single iPhoto library between two user accounts on one machine (iMac 2.0GHz dual core Intel, 10.5.1, iPhoto '08), without using an external drive (because I don't have one)? By share, I mean each user has full rights and priveledges to the entire library, regardless of who uploaded the pics. Holding down the option key on iPhoto startup does not work because my wife can't access the pics I loaded even though she's pointing to the shared library in a shared folder.

    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc. then:
    Quit iPhoto in both accounts
    Move the iPhoto Library Folder to an external HD set to ignore permissions. *You could also use a dmg*.
    (Some people have had success putting the library in the Users/ Shared folder. If you do this make sure the file permissions are set to allow read/write access to everyone. But that's unlikely to work on 10.5 because of the way that the permissions have changed with the new OS.)
    In each account in turn: Hold down the option (or alt) key and launch iPhoto. From the resulting dialogue, select 'Choose Library' and navigate to the new library location. From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.
    Regards
    TD

  • How do i share iPhoto library between two user accounts

    I need to share my iphoto pictures between two accounts on the same computer

    For iPhoto 09 (version 8.0.2) and later:
    What you mean by 'share'.
    If you want the other user to be able to see the pics, but not add to, change or alter your library, then enable Sharing in your iPhoto (Preferences -> Sharing), leave iPhoto running and use Fast User Switching to open the other account. In that account, enable 'Look For Shared Libraries'. Your Library will appear in the other source pane.
    Any user can drag a pic from the Shared Library to their own in the iPhoto Window.
    Remember iPhoto must be running in both accounts for this to work.
    If you want the other user to have the same access to the library as you: to be able to add, edit, organise, keyword etc.
    Quit iPhoto in both accounts. Move the Library to the Users / Shared Folder
    (You can also use an external HD set to ignore permissions, a Disk Image or even partition your Hard Disk.)
    In each account in turn: Double click on the Library to open it. (You may be asked to repair the Library Permissions.) From that point on, this will be the default library location. Both accounts will have full access to the library, in fact, both accounts will 'own' it.
    However, there is a catch with this system and it is a significant one. iPhoto is not a multi-user app., it does not have the code to negotiate two users simultaneously writing to the database, and trying will cause db corruption. So only one user at a time, and back up, back up back up.

Maybe you are looking for

  • Deleted names appearing in the "To" line of a new message

    Hi, Everytime I choose an email address to send a new message, after entering one or two letters, my selection of contacts includes addresses that I've deleted in my address book and no longer need. Is there a cache or folder somewhere that I can del

  • Problem playing audiobooks with music app

    Ever since the new update listening to my audiobooks has been a challenge.   The app does not show chapters any more and now every time I stop listening to a book and then go back later the book starts over.  Is there a fix? or another app I can use

  • Dual monitor question.....

    I have a G4 Mac with 2 monitor connections on the back (1.25mhz). I have one monitor, Samsung, 24" plugged into the DVI plug. I have my 'old' but still good 15" Samsung that I was thinking of hooking up. If I get an ADC adapter for the 15", will it w

  • ESW 520 802.1x MAB authentication problem

    Hello, I am having problem with 802.1x MAB authentication on ESW 520 switch, the authentication server is ACS 5.3. The Authentication method on ESW is 802.1x & MAC, and Host Authentication mode is Multi Session. When i plug ip phone it never authenti

  • Office 2007 Attachments giving dump"Buffer table not up to date" in SOCO

    Hi SRM Experts, We have came across a strange issue. DOCX & XLSX doc type attachments are giving a dump " Buffer Table not up to the date" when the Buyer in SOCO press the button "Add to the work area". This is coming only when there is some SPECIAL