cancel
Showing results for 
Search instead for 
Did you mean: 

passing values in table from one component to another component in gp

Former Member
0 Kudos

hai all,

I have a table with 5 rows in a view in component1.I need to pass the values in the table from component1 to table in component2.Plz help me with coding of interface controller of both component.

Thanks in advance

regards

Sharanya.R

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You create Nodes at the interface level and then use it .....Say

Comp A :- Create nodes at the interface

Comp B:- add the interface of comp A.

you will have to add the comp A and used component in comp B.

Now you can populate the nodes and transfer the data.

Thanks

Pankaj

Former Member
0 Kudos

hai pankanj,

I need the coding for execute and complete methods of the interface controller of two components.

I have nodes created and iam using iterator concept for getting the values in table.but its not working so plz help me with codings which you have used.

Regards

Sharanya.R

Former Member
0 Kudos

Hi,

Here more than coding its mapping of your components are important to transfer data

Ex:

You need to have a public part that exposes the node which is bound to the table in COMPA.

Then in COMPB you need to make COMPA as used COMP.

Then you need to map the contexts between them.

Once this is done . You will need to code if you want to iterate through the elements.

Following Docs will help you get a clear understanding

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f727d100-0801-0010-4cbd-b0ad5c16...

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e1f4df00-0801-0010-6298-8fdf667b...

Regards

Ayyapparaj