Skip to Content

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

Mar 09 at 09:10 PM


avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Justin Loranger Mar 09 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.



10 |10000 characters needed characters left characters exceeded