Skip to Content

How to append row in OO ALV(CL_GUI_ALV_GRID) with key fields editable

I have a requirement to Create new Entry in ALV where all fields including Key fields in EDITABLE Mode. But when i try to Append in ALV in my program i get All key fields in (NON EDITABLE) Mode. How to make Key fields editable.

Kindly help me with sample program/method to achieve this.

Below is the example i got it from SE16N tcode,

When i Click Append Row (Create), SAP is providing 1 row with all fields including key fields in editable mode.


Currently my program works as below,


Step2: When i click Append Row i am getting new row Key fields as NON EDITABLE.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 09, 2018 at 09:49 PM

    I would suggest going into package SLIS. This package has many example programs using CL_GUI_ALV_GRID.

    You will more than likely find an example of what you trying to accomplish.



    Add comment
    10|10000 characters needed characters exceeded