2008 Aug 13 10:08 AM
Hi,
Want to insert rows in editable cell of ALV grid display without using classes and methods.
Thanks in advance
Hi,
Want to insert rows in editable cell of ALV grid display without using classes and methods.
Thanks in advance
2008 Aug 13 10:12 AM
hii
loop at main int table(using for ALV)
clear header of this table
append main internal table.
endloop.
like this a blank row will be inserted.
Edited by: pardeep kumar on Aug 13, 2008 2:42 PM
2008 Aug 13 10:12 AM
Hi,
Check this report BCALV_EDIT_04.
Hope this helps you.
Thanks,
Ruthra
2008 Aug 13 10:18 AM
you need to have a button to append the Rows. it can be possible with the PF_STATUS event. and handling will be done using the User_command.
FORM PF_STATUS using extab type slis_t_extab.
set pf-status 'STANDARD' excluding extab.
ENDFORM.FORM USER_COMMAND using r_cuomm type sy-ucomm
selfield type slis_selfield.
case r_ucomm.
when 'APPEND'.
APPEND EMPTY LINE HERE to internal table
endcase.
selefield-refresh = 'X'.
ENDFORM.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |