08-09-2007 1:52 PM
Hi,
Internal table itab having fields name1,name2,name3.
I want to display these in grid format. Suppose itab having 20 records.
After displaying the grid output, I need to do the edit the record,
whose Itab-name1 = 'CDC'. only these record
Once editing is done, I need to do update these information in ZABC Custum table.
Can u please tell me the logic for these ASAP????
08-10-2007 9:52 AM
refer to program BCALV_EDIT_02.
You will be able to keep selected cells editable.
08-10-2007 9:55 AM
Hi,
search with BCALV* or SALV* in SE38. There are a lot of examples.
Regards, Dieter
08-10-2007 9:58 AM
IF grid1->is_ready_for_input( ) eq 0.
set edit enabled cells ready for input
CALL METHOD grid1->set_ready_for_input
EXPORTING i_ready_for_input = 1.
ELSE.
lock edit enabled cells against input
CALL METHOD grid1->set_ready_for_input
EXPORTING i_ready_for_input = 0.
ENDIF.
08-10-2007 10:25 AM
08-10-2007 10:30 AM
Hi,
refer to the following link:
http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_editable.htm
Also check the program:<b>BCALV_EDIT_04</b> This report illustrates how to add and remove lines to a table using the ALV Grid Control and how to implement the saving of the new data.
Hope this helps.
Reward if helpful.
Regards,
Sipra