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

Former Member
0 Likes
760

Is it possible to enter the values after displaying the list

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
742

Hi Yogendra,

Yep. In your Field catalog

enable edit = 'X'.

for a particualr field.

if you want it for full layout

then layout-edit = 'X'.

regards

vijay

Is it possible to enter the values after displaying the list

5 REPLIES 5
Read only

Former Member
0 Likes
743

Hi Yogendra,

Yep. In your Field catalog

enable edit = 'X'.

for a particualr field.

if you want it for full layout

then layout-edit = 'X'.

regards

vijay

Read only

Former Member
0 Likes
742

Yes we can do.

In the field catalog we need to specifiy the input = 'X'.

Regards

Muthappan

Read only

Former Member
0 Likes
742
  X_FIELDCAT-SELTEXT_M = 'Material'.
  X_FIELDCAT-FIELDNAME = 'MATNR'.
  X_FIELDCAT-TABNAME = 'IT_FINAL'.
  X_FIELDCAT-COL_POS    = L_POS.
  X_FIELDCAT-OUTPUTLEN = '3'.
<b>  X_FIELDCAT-INPUT = 'X'.</b>
  X_FIELDCAT-HOTSPOT = 'X'.
  APPEND X_FIELDCAT TO IT_FIELDCAT.
  CLEAR X_FIELDCAT

.

in this case Matnr will set editable.

suppose you want all fields to be editable then

set the layout-edit = 'X'.

regards

vijay

Read only

Former Member
0 Likes
742

Hi Yogendra,

welcome to SDN.

yes it is possible to enter the values after displaying the list.

for example see the dempo programme <b>BCALV_EDIT_01</b>

hope this helps you.

regards,

venu.

Read only

Former Member
0 Likes
742

Hi,

data i_fieldcat TYPE lvc_t_fcat.
Field-symbols: <lfs_fieldcat> TYPE lvc_s_fcat.

LOOP AT i_fieldcat ASSIGNING <lfs_fieldcat>.
CASE <lfs_fieldcat>-fieldname.
WHEN 'MATNR'.
....
<lfs_fieldcat>-edit = 'X'.

Also chek out a link for editable ALV:

http://www.sapdevelopment.co.uk/reporting/alv/alvscr.htm

Best Regards,

Anjali