cancel
Showing results for 
Search instead for 
Did you mean: 

populate list box in abap webdynpro

Former Member
0 Kudos

Hi i have a input field on the screen and a button "send" near it and a list box below them. Now when i enter the data in input field and press send it should appear in the list box then second time i enter the data in input field and press send it should append the line in the list box something like chatting..

can any one help me to do this..?

thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

On Click of send button, just read the context attribute bound to input box and add that value as a new element to context node bound to list box.

Regards

Manas Dua

Former Member
0 Kudos

can you give me a sample code for the same?

Former Member
0 Kudos

Hi,

Its fairly simple, try it yourself

On button click event method - go to code wizard ->select your attribute bound to input box and select read.

Go to Code Wizard once more - now select the node bound to list box and select read in as table operation.

append one more row to that table and call method bind_Table of node bound to listbox.