Skip to Content
0
Former Member
Feb 17, 2009 at 12:59 PM

Enable/Disable a row in ALV after posting

57 Views

Hi Experts,

I have a ALV table having 4 columns( last columns is Button-POST).

Initially all the rows are enabled.

When user clicks the POST it do the BAPI posting.

Que-When the Document is succesfully posted then that line must be disabled.

Let me clarify u in detail..

Suppose i have 5 row each row has delivery ,PO etc and POST button.So whichever row is selected and if its posting is successful the that row must be disables.

I have done the coding for ALV in

wd_comp_controller->alv_table_settings( ).

wd_comp_controller->alv_cell_variant( ).

wd_comp_controller->alv_cell_settings( ).

and a Separate method ON_CLICK where i am doing posting.

Everything is fine just i want to know how to disable that row. I have data of posted row in a separate table and but where i should put the logic.

Please give me in detail..

Thannks.