cancel
Showing results for 
Search instead for 
Did you mean: 

How can get an editet tableview ( table of it ) in my EventHandler ?

Former Member
0 Kudos

Hi there,

at fisrt my thanks for your support till now. ( and further, I hope )

My questions is :

- A TableView used in a View.

- The TableView gets filled with the Attribute Table.

- The TableView has an Editable Column ( inputField ).

What I want to do is, to get the whole Table after editing for further processing.

I tryed to use the Method HTMLB_MANAGER=>GET_DATA( request, id, name ),

and Cast the returning Value in an local Variable.

so far so good......

I get the right element, but the attribute "Table" is empty

Anyone an Idea ???

thanks and best regards

Ali

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member181879
Active Contributor
0 Kudos

Ali,

> Anyone an Idea ???

Yes, some documentation reading (although I see tonight we will have improve here a little), and also to look at some of our examples. Typical example would be BSP application SBSPEXT_HTMLB. One "?" is sufficient in English.

In principle, with the GET_DATA call, only a very limited set of information is restored into attributes (effectively that available in HTTP request). It is not possible to restore the table. For example, restored are the names of all columns, first visible row, selected row, etc.

If you are running stateless, you will have to restore the total table from database. Consider to use key columns here, and only restore/update the changed row. In stateful case, you can cache the table in any controller, etc. Or use model classes.

brian