on 08-13-2009 4:39 PM
How can we acess the data of one component into other component in webdynpro....
I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
any doughts do post.....
thanks in advance!
HI,
Add the comp1 in ur main component comp2 by adding
under Used Components tab of ur main component.
Also ur node in the comp1 should be interface node type
so that u can access the node value in the other
component wen it is added.
Thanks,
Divya.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ReddyKK,
You could add one component (child component) into another component (parent component) by declaring the usage in the parent component.
There is an alternate way of exchanging data betweeen two components using the assistance class or you could explicitly call the normal classes, which you could build with se24 and you could share the interfaces of the context in those classes.
Regards
Anurag Chopra
Hi,
Create an common Assistance Class for both the components(C1, C2 ).
Create Attributes/Tables in the assistance class and pass the values from C1 into these attributes.
Finally in Component C2, access those attributes and you will have all the relevant values in C2.
For more help on Assistance Class , Refer this SAP online help :
http://help.sap.com/saphelp_nw04s/helpdata/en/43/1f6442a3d9e72ce10000000a1550b0/frameset.htm.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Reddy,
You can do it in multiple ways. One way would be to try transfer the parameters through URL & the other would be to work with the concept of interface nodes. Please try go through these 2 threads ( [Thread 1|; & [Thread 2|; )where I have explained about working with Interface node in detail. You can refer to this [thread |;to see as to how you can do the same via parameters in URL. Hope it would help resolve your problem.
Regards,
Uday
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.