2008 Jun 19 6:48 AM
Hi,
i have made a particular field on the output screen hotspot enabled.Now when i click on this field i need the data to be displayed from an internal table in an interactive list.Please help me in how to do this.Please see my simple code below.
Points Assured.
data : itab type standard table of ekko,
itab1 type standard table of mara.
select * from ekko up to 5 rows into table itab.
select * from mara up to 5 rows into table itab1.
data: Errors type char15 value 'Failed entries',
Success type char20 value 'Successful entries'.
write 😕 'ERRORS',errors color 6 inverse off hotspot on.
*when this hotspot is clicked table itab displayed as an interactive list.
write 😕 'SUCESS',SUCCESS color 5 inverse off hotspot on.
*when this hotspot is clicked table itab1 displayed as an interactive list.
2008 Jun 19 6:56 AM
Hi ,
Use the event ,
At Line selection .
get the data which is clicked use read line index or system varaibale sy-lisel .
then display your itab within at line-selection event .
Please reward if useful.
Hi,
i have made a particular field on the output screen hotspot enabled.Now when i click on this field i need the data to be displayed from an internal table in an interactive list.Please help me in how to do this.Please see my simple code below.
Points Assured.
data : itab type standard table of ekko,
itab1 type standard table of mara.
select * from ekko up to 5 rows into table itab.
select * from mara up to 5 rows into table itab1.
data: Errors type char15 value 'Failed entries',
Success type char20 value 'Successful entries'.
write 😕 'ERRORS',errors color 6 inverse off hotspot on.
*when this hotspot is clicked table itab displayed as an interactive list.
write 😕 'SUCESS',SUCCESS color 5 inverse off hotspot on.
*when this hotspot is clicked table itab1 displayed as an interactive list.
2008 Jun 19 6:56 AM
Hi ,
Use the event ,
At Line selection .
get the data which is clicked use read line index or system varaibale sy-lisel .
then display your itab within at line-selection event .
Please reward if useful.
2008 Jun 19 6:57 AM
data : itab type standard table of ekko,
itab1 type standard table of mara.
data: wa like line of itab.
select * from ekko up to 5 rows into table itab.
select * from mara up to 5 rows into table itab1.
data: Errors type char15 value 'Failed entries',
Success type char20 value 'Successful entries'.
write 😕 'ERRORS',errors color 6 inverse off hotspot on.
*when this hotspot is clicked table itab displayed as an interactive list.
write 😕 'SUCESS',SUCCESS color 5 inverse off hotspot on.
AT LINE-SELECTION.
loop at itab into wa.
write : wa-ebeln.
endloop.
check this.........
Reward IF.........
Regards
Anbu
2008 Jun 19 6:59 AM
how to use hotspot?
tables mara.
start-of-selection.
select * from mara.
write / mara-matnr hotspot on.
endselect.
at-lineselection.
write 'new list after single-click on a hotspot area'.
2008 Jun 19 7:03 AM
hi
its simple u only need to loop the table in AT LINE SELECTION event
Cheers
Snehi
2011 Jun 02 4:37 PM
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |