Application Development 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: 

hotspot on

Former Member
0 Kudos

Hi,

how to implement hotspot on ?

i my write report...

loop at it_kna1 into ws_kna1.

write: / ws_kna1-kunnr, ws_kna1-name1

HOTSPOT ONws_kna1-stcd2 .

6 REPLIES 6

Former Member
0 Kudos

Hi,

loop at itab.

write:/ itab-bukrs,

itab-belnr hotspot.

endloop.

Thanks.

If this helps you reward with points.

Former Member
0 Kudos

<b>EX...</b>

Check this sample code...


                          .
 
data: field(20),val(10).
data: itab like vbak occurs 0 with header line.
 select * from vbak up to 20 rows into table itab.
 loop at itab.
 write:/ itab-vbeln hotspot.
clear itab.
endloop.
 at line-selection.
 get cursor field field value val.
 if field = 'ITAB-VBELN'.
write 'second list'.
write val.
 
endif.

ALSO USED...

FORMAT HOTSPOT ON.

write itab-matnr.

FORMAT HOTSPOT OFF.

At line selection you can identify the clicked item and make a selection for that material and then write se4condary list.

Former Member
0 Kudos

Hai Nick

Go through the following Code

<b>Tables : mara.

Data : begin of it_mara occurs 0,

matnr like mara-matnr,

mtart like mara-mtart,

meins like mara-meins,

end of it_mara.

parameters : p_mtart like mara-mtart default 'ROH'.

select matnr

mtart

meins

from mara

into table it_mara

where mtart = p_mtart.

if sy-subrc = 0.

sort it_mara by matnr.

endif.

if not it_mara[] is initial.

loop at it_mara.

write 😕 it_mara-matnr hotspot on,

it_mara-mtart hotspot on,

it_mara-meins hotspot on.

endloop.

endif.</b>

Regards

Sreeni

Message was edited by: Sreenivasulu Ponnadi

Former Member
0 Kudos

Hi Nick,

this is only how its written-

if u want hotspot on all fields write HOTSPOT ON wit every field or 1 field as per ur requirement.

loop at it_kna1 into ws_kna1.

write: /ws_kna1-kunnr HOTSPOT ON,

ws_kna1-name1 HOTSPOT ON,

ws_kna1-stcd2 HOTSPOT ON.

endloop.

Regards,

Seema.

rahulkavuri
Active Contributor
0 Kudos

just check this code

LOOP AT ITAB.

WRITE:/5 ITAB-MATNR <b>HOTSPOT ON</b>,20 ITAB-WERKS,40 ITAB-LGORT,60

ITAB-MAKTX,80 ITAB-INSME,95 ITAB-RETME,110 ITAB-KWMENG.

<b> HIDE ITAB-MATNR.</b>

AT END OF MATNR.

SUM .

SKIP.

WRITE:/ SY-ULINE.

WRITE:/110 ITAB-KWMENG COLOR 4.

SKIP 5.

ENDAT.

ENDLOOP.

Former Member
0 Kudos

Hi,

Go to transaction DWDM. You can see lot of examples with source code.

Regs,

Venkat Ramanan N