Skip to Content
avatar image
Former Member

How to capture the data from one view to another view


I create a Web Dyn Pro Application.

In that i created VIEW1. It is having one input field (KUNNR) and one Push Button (Next Screen).

After That i create VIEW2. It is having 4 input fields (KUNNR, LAND1, NAME1, ORT01).

When i execute the Application then i want display first View.

After That i give the KUNNR value. and press the Push Button.

Then i want display the second View with Related Customer Information.

I got the second screen but in that i did not get the values in the Input Fields.

How it is possbile. If you Know Plz help me if possible with screen Shorts.

Thank you.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 31, 2008 at 04:01 PM


    Use the parameters in the Inbound and Outbound plugs.

    while navigating to the next view, create a parameter in the Outbound plug of 1st view and use the same parameter in the 2nd view to get the data of the KUNNR.

    Check out this link on the same issue-

    How to pass parameters of outbound plug of one view to other view...



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      If your both views are in the same component then you can define your context as global on component controller level and mapp it to view context.

  • Nov 01, 2008 at 08:17 AM


    Its very simple...

    follow this instructuion.

    1) Create a <your node> in the component controller.

    2) under the node create attributes you want like KUNNR,....etc.

    3) create 2 views called VIEW1 & VIEW2.

    4) in view1 context, do mapping the node form the component controller.

    5)Create a outbound plug for view1.

    6) In view1 design the layout like keeping only one input field and bind the values to from the context. for example KUNNR. and then keep one button... and create an action for that button.

    7)double click the action and using the code wizard.. select the start navigation radio button and select your outbound plug.

    8) in view2 do mapping the node form the component controller.

    9)desgin the view2 as per your requirements and bind the values from the context.

    10)create an inbound plug for view2.

    11)in the method tab you will find out handel<your inbound plug name> event.

    12) do the necessary select query here and bind the values to your node.

    13) now in the window create the navigation links from view1 to view2.

    14) create the Web Dynpro application. Save it and activate all.

    15) now test your application

    Hope this will help you.

    Thanks & regards


    Add comment
    10|10000 characters needed characters exceeded