Application Development and Automation 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: 
Read only

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

former_member242166
Participant
0 Kudos
2,226

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,

Step1:

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

1 REPLY 1
Read only

jdloranger
Participant
0 Kudos
1,222

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.

Regards,

Justin