09-18-2008 10:52 AM
Hi All,
Is there any sysyem variable which stores the field or the value of the field i clicked on.
Thanks in advance,
Saket.
09-18-2008 10: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
09-18-2008 10: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
09-18-2008 11:03 AM
09-18-2008 11: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.
09-18-2008 11: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..
09-18-2008 11: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
09-19-2008 6:02 AM