Skip to Content
author's profile photo Former Member
Former Member

System variable which holds he field or the value of the field i clicked on

Hi All,

Is there any sysyem variable which stores the field or the value of the field i clicked on.

Thanks in advance,

Saket.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2008 at 09:59 AM

    hiii

    i dont think it is possible by using system variable..but you can get that result by using GET CURSOR & SET CURSOR statement.

    regards

    twinkal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2008 at 10:03 AM

    SY-LISEL?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2008 at 10:08 AM

    Hi Saket,

    SY-LISEL will contain the Contents of a Selected List Line.

    Once you get the content of the selected line then you can search for your variable.

    Regards,

    Firoz.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 18, 2008 at 10:11 AM

    Fieldname you can get it from the GET CURSOR FIELD <FIELDNAME>.

    This give the Fieldname on which you clicked. There is a value addition also. Just press F1 and see..

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2008 at 10:13 AM

    In report program you can create hotspot on that field

    and then use

    'GET CURSOR line line_no' and then

    Read table itab index line_no

    and then you can get the value of that field.

    In module pool programing ,

    You can check the checkbox provided w/SelCOlumn and give the name as itab-sel and declare the sel in itab.

    and than when you click the button the sel field of that raw become X

    so you can use following

    read table itab with key sel = 'X'.

    I hope this solves your solution

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 19, 2008 at 05:02 AM

    Thanks.The suggestions helped.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.