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

Get Cursor statement

Former Member
0 Likes
378

HI ,

I have developed an ALv interactive report and double clicking on a particular field and going to sap standard transaction.

i am using Get cursor statement . I am using the following statement GET CURSOR FIELD W_FIELD VALUE W_VALUE.

w_value contains- vlaue of the field which i clicked. But i want to know the field on which i clicked .W_FIELD is not containing any value . How to know which field i have clciked. If anybody gives an idea it would be greatful.

Thanks in Advance,

Gopal

1 ACCEPTED SOLUTION
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
345

FORM user_command using ucomm LIKE sy-ucomm selfied TYPE slis_selfield.

Here selfied-fieldname holds the field name

endform.

in oo alv you will get the column number in the event.

1 REPLY 1
Read only

kesavadas_thekkillath
Active Contributor
0 Likes
346

FORM user_command using ucomm LIKE sy-ucomm selfied TYPE slis_selfield.

Here selfied-fieldname holds the field name

endform.

in oo alv you will get the column number in the event.