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

catch runtime value when edit = 'X'

Former Member
0 Likes
318

In alv when I enter value in runtime I am not able to catch the value.(when edit = 'X')

Why ?

I am not using oops concept, if its required help me out with actual syntax.

Can u please help me out....

Thanks in advance.

2 REPLIES 2
Read only

Former Member
0 Likes
294

r u using list or grid display?

if u r using reuse_alv_grid_display , write this code in USER_COMMANd subroutine

FORM alv_user_command USING ucomm LIKE sy-ucomm

selfield TYPE slis_selfield.

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.

CASE ucomm.

ENdcase.

endform.

Message was edited by:

Chandrasekhar Jagarlamudi

Read only

Former Member
0 Likes
294

HI,

Look at the below Blog

/people/community.user/blog/2007/01/10/displaychange-mode-of-editable-fields-in-alv-using-function-modules-but-not-custom-containers

Regards

Sudheer