cancel
Showing results for 
Search instead for 
Did you mean: 

How to read data

former_member189058
Active Contributor
0 Kudos

Hi experts,

I have created a interactive form - Layout Type ZCI.

The form is to be called from a Web dynpro abap application.

The form contains a table UI with certain data.

The table is bound to a node but doesn't contain all attributes of the node..

I need to read all the attributes of the node on a button click.

How can I do that?

Reema

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi Reema,

Follow these steps to read the node:

1. Create a button on the form or on the web dynpro view.

2. If you are creating the button on the form then ACF must be installed on you PC so that events from the button can trigger, In case button is on the view then not a problem with ACF.

3. Now create an event method from the layout properties of the form if the button is on the form or on the button if the button is on the view.

4. Now in the methods tab of the view go to the method you have created.

5. Editor will be opened. Now in the menu there is a button b/w pattern and debug button(i.e. web dynpro Code wizard) press that button.

6. Choose read context radio button from there and give the name of the node you want to read.

7. Now code to read the node in a structure will be creates automatically by the code wizard.

8. Manipulate it accordingly you want the data into internal table or any other thing.

Hope it will help.

Regards,

Vaibhav Tiwari.

Answers (0)