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 GRID ... how to get back data from editable fields?

Former Member
0 Likes
481

hi i am using NORMAL ABAP to display ALV GRID report output. few fields on the output are enabled for user inputs( are editable ). How to get back the data entered by the user in the program back? I am NOT using OBJECT ORIENTED alv grid. I am using normal abap.

is there any Function module to get back the user inputs?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
373

Hi,

You can use the same FM to get the user input data.

Call FM like this:
DATA:
LC_GLAY TYPE LVC_S_GLAY.

* this is the critical point 
LC_GLAY-EDT_CLL_CB = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_GRID_SETTINGS = LC_GLAY
IT_FIELDCAT = L_ALV_FILEDCAT
TABLES
T_OUTTAB = ITAB.

Cheers

VJ

hi i am using NORMAL ABAP to display ALV GRID report output. few fields on the output are enabled for user inputs( are editable ). How to get back the data entered by the user in the program back? I am NOT using OBJECT ORIENTED alv grid. I am using normal abap.

is there any Function module to get back the user inputs?

1 REPLY 1
Read only

Former Member
0 Likes
374

Hi,

You can use the same FM to get the user input data.

Call FM like this:
DATA:
LC_GLAY TYPE LVC_S_GLAY.

* this is the critical point 
LC_GLAY-EDT_CLL_CB = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_GRID_SETTINGS = LC_GLAY
IT_FIELDCAT = L_ALV_FILEDCAT
TABLES
T_OUTTAB = ITAB.

Cheers

VJ