cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer internal table data from one component to another component?

former_member210804
Active Participant
0 Kudos

Hi sir,

I have disigned one component Z_COMP1 and created a node EMP with attributes pernr,ename,dob,etc ....

I have disigned another component Z_COMP2 and created a node BANK.

Now i want to get the EMP node details in the component Z_COMP2.

pls suggest me the steps how to process it.

Thanks & regards,

Narasimha Rao Putturi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi narasimha,

Create the node EMP in the component controller and make it as interface node. Now it can be accessed from other objects through interface controller.

In the comp z_comp2 create component usage for z_comp1 and now you can map the node EMP to any context of z_comp2 and make use of it.

Regards,

Fareez

former_member210804
Active Participant
0 Kudos

Thank you very much Fareez...I got the node in another component. But

How to pass the normal and supply methods  to another component.

I am not able get methods that used in first component.

Thanks & regards,

Narasimha Rao Putturi

Former Member
0 Kudos

Hi Narasimha,

You can define a method as interface method. There is a check box next to the name in the methods list table of component controller. You can call this method from outside the component using the code wizard --> Method Call in Used Controller option and then select the component and method.

Hope it helps you.

Regards,

Fareez

former_member210804
Active Participant
0 Kudos

thnk you fareez.

Answers (0)