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

regarding column editing

Former Member
0 Likes
636

hi experts,

i have developed a report using simple alv,,this report shows the details of raw materials like quantity issued ,quantity recvd, now in the last i have to add

one more column called REMARKS,,,,in which after execution in the output list the user can write his/her comments(to make it editable) so for this what sud i do,,,plz help me.

thnx i advance,,,,

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
619

Hi..,

add this field also to the field catalog..

and use the parameter <b>wa_fieldcatalog-input = 'X'</b> also to make this field input enable...

hope this resolves your query !!

regards,

sai ramesh

6 REPLIES 6
Read only

Former Member
0 Likes
620

Hi..,

add this field also to the field catalog..

and use the parameter <b>wa_fieldcatalog-input = 'X'</b> also to make this field input enable...

hope this resolves your query !!

regards,

sai ramesh

Read only

Former Member
0 Likes
619

In the Field catalog , you need to set the EDIT = 'X' or INPUT = 'X' for the respective column.

Read only

Former Member
0 Likes
619

in the fieldcatalog for the remarks column

<b>

wa_fieldcatalog-edit = 'X'.</b>

Read only

kiran_k8
Active Contributor
0 Likes
619

Ravi,

after declaration of that parituclar field just add the following line

format input on.

this will allow the user to do the modifications in the list output.

K.Kiran.

Read only

Former Member
0 Likes
619

and also in USER_COMMAND subroutine , write this

FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFLD TYPE SLIS_SELFIELD.
case p_ucomm.

when 'SAVE'.

Data ref1 type ref to cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = ref1.
call method ref1->check_changed_data


the internal table will now have updated data

endcase.

ENDFORM.

Read only

Former Member
0 Likes
619

Ravi,

Add you field to field catalog and

wa_fieldcatalog-edit = 'X'.

Pls. reward for all helpful answers..