Application Development 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: 

How to create editable ALV grid/list

former_member217000
Active Participant
0 Kudos

Hi,

I want to create editable ALV grid/list so that user can modify the data in the ALV.

And when user presses save button data will get saved in Z table.

I dont know how to create editable ALV so could anybody please help me regarding this?

Thanks & regards,

Sameer Dhuke

1 ACCEPTED SOLUTION

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi Sameer

Have a look on the attached links:

<b>http://www.sapfans.com/forums/viewtopic.php?t=84933

http://www.sapfans.com/forums/viewtopic.php?t=69878</b>;

Regards,

Sree

6 REPLIES 6

Former Member
0 Kudos

HI

check the demo programs BCALV_FULLSCREEN_GRID_EDIT

BCALV_GRID_EDIT

BCALV_TEST_GRID_EDIT_01

BCALV_TEST_GRID_EDITABLE

Just to make things a bit easy

In the layout,there is a property called edit, make it 'X' for the particular field whichever you want to make editable.

Hope this helps,

Suruchi

Message was edited by:

Suruchi Mahajan

Former Member
0 Kudos

Hi

See the links for EDITABLE Fields in ALV

<b>http://www.sapfans.com/forums/viewtopic.php?t=84933

http://www.sapfans.com/forums/viewtopic.php?t=69878</b>;

Reward points if useful

Regards

Anji

Former Member
0 Kudos

hi

good

go through this link

/people/david.halitsky/blog/2007/04/24/so-youve-got-to-code-an-editable-alv-inside-an-sap-provided-exit-and-x-function-group

thanks

mrutyun^

sreeramkumar_madisetty
Active Contributor
0 Kudos

Hi Sameer

Have a look on the attached links:

<b>http://www.sapfans.com/forums/viewtopic.php?t=84933

http://www.sapfans.com/forums/viewtopic.php?t=69878</b>;

Regards,

Sree

Former Member
0 Kudos

In your field catalog structure (this is the structure that defines the characteristics of each and every field in your ALV grid; see LVC_S_FCAT in SE11), there is a newly introduced field (I'm not sure which SAP version exactly) called EDIT. Flagging this field opens the ALV grid field for editting.

Of course you'd need to set proper event handling processes for you to capture any changes to the entry fields and properly run your updates.

Former Member
0 Kudos

hai sameer, mail me ...kiranbabudasari@gmail.com

i shall mail 1 nice doc 2 u.

reward if helpful.

kiran