12-28-2014 2:27 PM
Hello Experts,
I have created an Editable OOPS ALV Report and displaying an internal table in the Out put of which one field is Editable.
WHen I enter some value in this editable field, how to get back the value in the same internal table which I used to display to user. How to get the entered data back in the program for processing ?
Its a Date field, I have given the type as DATS and still F4 help is not coming for it.
Please help.
BR,
Nkhil Kulkarni
12-28-2014 6:06 PM
hi nikhil,
you have define in the Field Catalog for List Viewer Control(LVC_T_FCAT) as below
This is just an example.
wa_fcat-fieldname = 'ERSDA'.
wa_fcat-coltext = 'Date of creation'.
wa_fcat-col_pos = 2.
wa_fcat-edit = 'X'.
wa_fcat-outputlen = 18.
wa_fcat-F4AVAILABL = 'X' .
wa_fcat-ref_field = 'ERSDA'.
wa_fcat-ref_table = 'MARA'.
12-29-2014 1:45 AM
Hi Nkhil ,
You should 'CALL METHOD gv_grid->check_changed_data()', this method used to update you editable field value to itab.
regards,
Archer
01-06-2015 6:52 AM
Hi,
F4 Sample code. Please check the following link.
Regards,
Fredric
01-06-2015 7:06 AM
Hi,
You need to register the event and then use refresh_table_display method.
Please check the below link in which I am explaining the same.
http://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=37472