Skip to Content
0
Former Member
May 18, 2010 at 05:54 AM

Append row in ALV Table

27 Views

Hi All,

I have an ALV table with default "Append row" "Delete Row" buttons. When i give append row initially, then a new row is added to the end of the table. But when i give field sorting (Ascending order), and then go for Append row, a new row which is added to the top of the table. User want this to be added always in the end of the table. Can anyone please help me on this?

Code:

loop at r_param->t_inserted_rows assigning <ls_inserted_row>.

assign <ls_inserted_row>-r_value->* to <ls_oss_ticket>.

<ls_oss_ticket>-inserted = abap_true.

wd_this->mr_project_tickets->change_ticket( iv_index = <ls_inserted_row>-index

is_oss_ticket = <ls_oss_ticket> ).

endloop.

Regards,

Susil.