Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

How to pass data using interface node between two components using component usage???

$
0
0


Hi Team,

 

I am trying to pass the data between two components Comp A and Component B using interface node.

here is the steps i am doing...

 

1) I had created two components Comp A and Comp B.

2) I had created Interface node with cardinality 0..1 and added attribute PERNR inside node and binded same to view level to input field in Comp A.

3) I had created component usage in Comp B and mentioned Comp A as used component.

4) i had mapped the interface node using interface controller and same is reflecting to my component controller context of Comp B.

5) i coded inside WDDOINIT and trying to read the data of interface node using code wizard the PERNR value of Interface node in Component B and used method INSTANTIATE used component and method call in used controller but unfortunaletly not getting the pernr value in Comp B whereas the same value i am getting inside Comp A's different method.

 

 

Do i need to check the INPUT ELEMENT(Extn.)??? if i am checking it i am getting dump stating the mapping of main component for interface node is not completed.

 

Please help in this issue.

 

Thanks

Shehzad.


Viewing all articles
Browse latest Browse all 3667

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>