on 02-05-2012 6:50 AM
I have created 2 wd components and want them to share data with each other in FPM. Lets say A and B. (both components will be implement IF_FPM_SHARE_DATA and component usage for each other )
ex)I have created a interface node on A and implement IF_FPM_SHARE_DATA. Then I declared component usage of A in B . I am able to see the contents of node A from B component. Works fine.
Problem : now, If I implement IF_FPM_SHARE_DATA and component usage of B in A, it seems the interface node gets cleared. because I am NOT able to retrieve the node of A from B any longer. ( oddly, when I remove the IF_FPM_SHARE_DATA from B, the data is visible again in B.
Does this means that IF_FPM_SHARE_DATA can be ONLY DECLARED ONE WAY?
THANKS
Edited by: juanlee337 on Feb 6, 2012 8:52 AM
Hi,
for your scenario, i would consider a different approach.
Create a new main component , implement IF_FPM_SHARE_DATA interface. Create or move the contexts of the component A and B to the main component. Use the Main compoent as used component in A and B.
See Examples in APB_FPM_DEMO package.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply
but that doesn't make much sense. Why would you want to move context from A and B to new component and set the component usage in A & B.
I think my scenario should happen very often. I am pretty sure components needs to share data with each other all the time. I just dont understand why my scenario doesn't work.
thanks
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.