cancel
Showing results for 
Search instead for 
Did you mean: 

Passing input data from one WD Project to Another project

Former Member
0 Kudos

There are Two WebDynpro Projects 1 and 2, I have to pass the input data entered by the user from Project 1 to Project 2 Bapi,

how can i do this..

Thanks

Murali

Accepted Solutions (0)

Answers (3)

Answers (3)

BeGanz
Product and Topic Expert
Product and Topic Expert
0 Kudos

Halo Muriali,

do not use Web Dynpro Projects but Web Dynpro DCs instead. Read this Weblog from Chris Whealy:

/people/chris.whealy/blog/2006/01/13/when-creating-a-java-web-dynpro-application-dont-use-the-project-type-quotweb-dynpro-projectquot

And also look at my material on Web Dynpro componentization: https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd0e0401-0801-0010-aaab-d0e...

Regards, Bertram

Former Member
0 Kudos

Projects are a designtime notion. At runtime, there are Web Dynpro components, so you should tell us how you want to pass data between components.

Armin

0 Kudos

Hi Murali,

my approach would be to "use" Component2 in Component1.

Therefore you should check the 2 checkboxes of your context nodes in Component1(that ones you like to pass the data through) : Interface Node and Input Element(Ext.).

So they are available and can be filled from outside.

Now you should create a component usage in Component1 and "use" Componet2.

Once this has been done, you will find an entry "Component Usages" in the navigation tree - you should now select "Create Contoller Usage" - this is accessible via the context menu of the new "Component Usage" entry. There you can map the nodes of your local component (Component1) to the "used" one(Component2).

I hope this helps - there's a chapter "Cross-Component Context Mapping" in the documentation, where these methods are explained in detail.

Regards

Waldemar