cancel
Showing results for 
Search instead for 
Did you mean: 

Get back selected element of a table

Former Member
0 Kudos

Hi Gurus.

I have a table. (normal table - not ALV). Users select a record, go into detail screen, come back.

On coming back, the table is refreshed totally. The sequence of the elements may be different now.

And there is no unique key to identify the record.

How can I know which element was selected before we went to detail screen?

Note that even if i save the attributes before going to detail screen, I cannot read my internal table as there is no unique key.

I was somehow hoping to save the element before going to detail screen, and then retrieve the index of that element in the newly built table.

But that does not seem to work.

Any suggestions please?

Thanks in adv.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

One thing you do. Create a context attribute of boolean type or some attribute with integre type with in the node to which the table is bound.

When ever the user selects a record(hope this is single selection), update the table for this attribute as 'X' or store as 1 for integer type.

Hope this works. Ifrequired, you need to store the IT data to other temporary table also.

Regards,

Lekha.

Answers (0)