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

ALV OOPS

Former Member
0 Likes
296

Hi all,

I am displaying ALV in OOPS.

When the ALV is in display mode all firlds in display only.

When i press change then all fileds shud be editable except key field(Eg: Matnr,Maktx MAtnr

shud be in disable mode and Maktx shud be ready for input.)

At the same time when i press Create button a new blank record shud entered and all fields shud

be editable.

Right now i am doing like ....

Loop at fieldcatalog.

If key field then ,set edit = space

If non key field ,set edit = 'X'.

In this scenario,when i press create button i am getting blank record but i key field is non editable.

How can i do this?

1 REPLY 1
Read only

Former Member
0 Likes
272

Hi Madan,

Please refer this standard SAP ABAP program BCALV_EDIT_04 for your reference.

Best Regards,

Mohan.