cancel
Showing results for 
Search instead for 
Did you mean: 

WDA Table - Row is not getting selected. always first row selected

venkat_o
Active Contributor
0 Kudos

Hi,

I have one table where I have to select record and delete delete. But when I select the row, it always goes to first record. What could be the problem.

Regards

Venkat

Accepted Solutions (0)

Answers (4)

Answers (4)

florian_halder
Participant
0 Kudos

Hi Venkat,

I had the same problem. There is a sapnote which may help.

Check sapnote: 1363334 (german)

Suggested solution:

SAP NetWeaver 7.00

Spielen Sie Basis Support Package 21 ein.

Since we updated to support package 21 it works in my case.

former_member5006
Participant
0 Kudos

Please check the code at on lead select  (action) of table  . . .  in debugging at delete code .  so u will know  where exactly  you did wrtong !

try dis one .

Former Member
0 Kudos

As suggested, Please check the all code..

This is can be because if you are repopulating the data.. 

What is happening exactly.. 

1. if you are selecting 3rd row, it selecting 1st row automatically without doing anything

2. or if you selecting 3rd row, it selecting 1st row after adding/deleting new row..

venkat_o
Active Contributor
0 Kudos

Hi Chandra,


if you are selecting 3rd row, it selecting 1st row automatically without doing anything - Correct scenerio.


Thanks

Venkat

ramakrishnappa
Active Contributor
0 Kudos

Hi Venkat,

Have you checked, if any code executing related to setting context data onLeadSelect/onSelect action?

Regards,

Rama

Former Member
0 Kudos

Then i will say, somewhere you have written code for selecting first row in onLeadselection action of table. please check the code.

ramakrishnappa
Active Contributor
0 Kudos

Hi Venkat,

As per your screen shots, it looks fine and first line is highlighted for first time as lead selection is set.

I suspect, there is some event handler setting data to context node and hence the lead selection is initializing to the 1st row.

Could you please check, if any event handler attached on action OnLeadSelect / OnSelect.

Also, check if you are setting/binding data to context node in WDDOMODIFYVIEW( ) method

Regards,

Rama