Skip to Content

Getting the values of edited fields in OOPS ALV

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • avatar image
    Former Member
    Dec 29, 2014 at 01: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 28, 2014 at 06: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'.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 06, 2015 at 06:52 AM
    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2015 at 07: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

    Add comment
    10|10000 characters needed characters exceeded