cancel
Showing results for 
Search instead for 
Did you mean: 

Getting values from first view and using those values in next view

Former Member
0 Kudos

Hi to all,

My needs is where i have 2 views( View1/View2). In first view i have an input field with display button. And view2 contain details like First name, Last name, address etc..., and a back button.

My issue is when i giving input in username in View 1 and when i try to display the details regarding first name, Last name, Address etc.., is not display in the view2. So, what do i need to do and what do i code for that.

Here i am using bapi bapi_user_create.

Pls, let me know if any one knows.

Thanks

Message was edited by:

Sekar Raj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Sekar follow these steps.

1.in component controller ,create node and a single attribute for input .

2.map this component controller context to first view . Create layout accordingly and bind attribute this layout.

3.Put search button ,and onaction search method call ur BAPI and fire outbound plug to new view.

4.Create a context node which holds results for second view,bind result to that node.

5.create layout accordingly in second view ,bind attribute of node to that layout.

I guess this helps.

Nirad

raja_thangamani
Active Contributor
0 Kudos

Look at the below link..

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9cb5d345-0801-0010-6a8e-fc5...

It will solve your problem..

<i>*Reward each useful answer</i>

Raja T