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

Editable ALV

Former Member
0 Likes
503

Hello friends

1) I want to display a "ALV report " which should be

a) editable so that i can change the value of a particular field when the list is displayed

b) and that value should be saved in database

Plz help me how i can do this . Plz give me a example ( Code)

Thanks with regards

Points will be awarded

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
484

Check this...


BCALV_EDIT_01

Greetings,

Blag.

4 REPLIES 4
Read only

Former Member
0 Likes
484

Hi Kamal,

You have to use filedcatlog properties such as "INPUT' on , here i am sending you some expamle programs.

CLEAR lv_fieldcat.

lv_fieldcat-fieldname = 'LIGHT'.

lv_fieldcat-reptext_ddic = text-425.

lv_fieldcat-tabname = 'GT_COMM'.

lv_fieldcat-col_pos = w_position.

lv_fieldcat-outputlen = 5.

lv_fieldcat-icon = 'X'.

  • lv_FieldCat-input = 'X'.

<b>* lv_fieldcat-edit = 'X'.</b> use this field cat property

  • Add to the Global Table

APPEND lv_fieldcat TO gt_fieldcat.

ADD 1 TO w_position.

Read only

Former Member
0 Likes
485

Check this...


BCALV_EDIT_01

Greetings,

Blag.

Read only

0 Likes
484

Download the PDF, it gives a step-by-step guide of almost everything in ALV.

www.abap4.it/download/ALV.pdf

hith

Sunil Achyut

Read only

Former Member
0 Likes
484

Hi,

check the following link:

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

regards,

bhaskar