Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting the values of edited fields in OOPS ALV

former_member201527
Participant
0 Kudos

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

4 REPLIES 4

Former Member
0 Kudos

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'.

Former Member
0 Kudos

Hi Nkhil ,

You should 'CALL METHOD gv_grid->check_changed_data()', this method used to update you editable field value to itab.

regards,

Archer

fredericbasilius
Participant
0 Kudos

jayanthi_jayaraman
Active Contributor
0 Kudos

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