RowSelectionChanged-Event on entering an editable cell ( requirement:depending F4 OVS )

183 views Asked by At

First things first:

If I click into a NOT editable cell in a WebDynpro grid, its parent ( the entire row ) gets selected. For that it is properly set up in the layout painter ( row selectable = true ) .

If I click into an editable cell, nothing like this happens. Instead the cursor prompt appears allowing me to edit the cell according to the assigned cell-editor.

But I need this selection-changed event also for editable cells.

Because, if the user chooses the F4 in that cell, there shall only be values available, which depend on another cell-value in this specific selected row.

Any clues ?

1

There are 1 answers

5
Suncatcher On

I would go this way to implement your requirement:

  1. Make IF_FPM_GUIBB_OVS implementation directly in the grid (in the IF_FPM_GUIBB_LIST impl class)

  2. Adjust grid to cause FPM event on each row selection

    Configuration >> General settings >> "selection event type"

  3. Store the selection in the main implementation class attribute at each selection

  4. Read selection attribute in the IF_FPM_GUIBB_OVS~HANDLE_PHASE_0() OVS method