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 table

Former Member
0 Likes
303

Dear Friends

I've got a problem!!

I've created an ALV table with REUSE_ALV_GRID_DISPLAY. Now I want that it is editable.

This not a problem. The problem ist my data table is dynamically that means this is the call --> PERFORM start_alv_2 TABLES <gt_alv>.

The problem is now if I insert any values in the ALV and than loop after that trough my table the values which I

type in aren't in the table???

Do someone have experience with this?

Thanks a lot for your help.

Simon

1 REPLY 1
Read only

Former Member
0 Likes
277

Hi Simon,

Pass the below parameter and check if it works fine.

 

DATA w_grid TYPE lvc_s_glay

.

w_grid-edt_cll_cb = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_structure_name
= 'BKPF'
i_grid_settings
= w_grid
it_fieldcat
= i_fieldcat
i_save
= 'A'
TABLES
t_outtab
= i_bkpf
EXCEPTIONS
program_error
= 1
OTHERS = 2.
IF sy-subrc <> 0.
* Implement suitable error handling here

 

ENDIF

.

Thanks and Regards,

Jeyabalasubramanian.J