How To Create HOTSPOT In ABAP

In this tutorial you will learn how to create HOTSPOT using ABAP, this HOTSPOT will allow you to click on the text and then pass the value to be used as a parameter for your query.
Here’s the ABAP Sample code to create the HOTSPOT. In this example, we will retrieve the customer name and address.
ZREPORT_HOTSPOT.
*&———————————————————————*
*& FREESAPTUTORIAL.COM
*&———————————————————————*
tables:
vbak,

kna1.
START-OF-SELECTION.
select single kunnr into (vbak-kunnr) from VBAK.
write :/ vbak-kunnr HOTSPOT on.
“Event when user click on the text on the
“Screen
AT LINE-SELECTION.
select single land1 name1 into
(kna1-land1, kna1-name1) from kna1
where kunnr = vbak-kunnr.
write:/ kna1-land1, kna1-name1.

Subscribe in a reader

Comments

0 Responses to "How To Create HOTSPOT In ABAP"

Post a Comment

Stay Updated