You are on page 1of 28

To get access the node :

Method onAction_GOTO_NEXT
Node = wd_context->get_child_node ( BP) .
Node->get_attribute ( name = PART_NAME
Value = part_name ) .
To assign the internal table into the Context we use
Node->bind_elements ( partners ).

Now go to VIEW to design the context.


Create Node BP_SEARCH for Input structure so cardinality is 1..1.
Now press
Select the required field and Press to continue.
Following Attributes got added into the CONTEXT.
Now we need to create some place to store results. So go to CONTEXT again and
create another node
BP_RESULTS for the same dictionary structure SDEMO_BP_LEAN_HEADER.
Results may have many records 0 to many so cardinality in 0..n.
Now Press the button

And press the button


Now SAVE the work by pressing the Button in menu bar.
Now we need to begin to create Actions and event handler for the actions.
Now for SEARCH_BP Functionality Go to Actions TAB

Now go to Methods TAB to set up how this SEARCH_BP action will work
ONACTIONSEARCH_BP.
Now open the ONACTIONSEARCH_BP by double clicking it and it will open the editor
for coding.

Now go to Menu bar and select Web Dynpro Code Wizard by select the button

and want to read SEARCH_BP by choosing the Node


Now it will generate the code.
Now we want to set data back to other context node BP_RESULTS as table operation
.
Go to code wizard again

Now Build the Visual Portion of the User Interface. Go to Layout TAB.
Now we need to create a Panel for the search area.
Now Right click on TRAY_SELECTION and select Create Container Form
Now Properties in details for each elements below
Now Add Search Button
No we have to set the Action .Now to do this we need to go in Events and onAction
we select SEARCH_BP.
Now we have to set the same action in Events if we press enter in input buttons
after giving the value.
New Net Waiver 7.02 there some features like Element Panel and
in Properties in Input Field SuggestsValue.
Now For Showing the result in output we have create new element for Tray_Output
Now Insert a Table Element
Now we have to bind the table
Now press the button
Now we have to create Web Dynpro Application to Execute this.

You might also like