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: 

ALV active save butoon.

Former Member
0 Kudos

Hi all,

I have ALV report .i want edit the data and save data to ztabel,but when i run the report save button show as disable,how can enable this button..

Thanks

kanishka

2 REPLIES 2

Former Member
0 Kudos

create PF-STATUS for that ALV Screen....

there you can enable the SAVE button...

Former Member
0 Kudos

The changes in the alv can be captured by the follwing code without save option:

FORM user_command USING r_ucomm LIKE sy-ucomm

rs_selfield TYPE slis_selfield. "#EC CALLED

rs_selfield-refresh = 'X'.

PERFORM get_list_sel .

endform .

FORM get_list_sel .

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.

ENDFORM. " get_list_sel

This code will be triggrede after pressing enter on ALV after modifying the data and it will be captured in the internal table from where we display alv . From here u can update any data in ur Ztable. Reward points if found usefull.