<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Hotspot..again in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605896#M271858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try to use the HIDE statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_hide.&lt;/P&gt;&lt;P&gt;v_hide = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'NOT A HOT SPOT'.&lt;/P&gt;&lt;P&gt;CLEAR: v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'HOT SPOT' AS ICON HOTSPOT.&lt;/P&gt;&lt;P&gt;v_hide = 'X'.&lt;/P&gt;&lt;P&gt;HIDE v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'NOT A HOT SPOT'.&lt;/P&gt;&lt;P&gt;CLEAR: v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT v_hide IS INITIAL.&lt;/P&gt;&lt;P&gt;    WRITE: / 'HOT SPOT SELECTED'.&lt;/P&gt;&lt;P&gt;    clear v_hide.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Oct 2006 17:30:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-02T17:30:39Z</dc:date>
    <item>
      <title>Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605892#M271854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Thanks for everyone who replied my questions about hotspots initially.&lt;/P&gt;&lt;P&gt;However, I still have one more question about it and is really hoping for your help.&lt;/P&gt;&lt;P&gt;In the program I am writing now, I wrote the report at the end-of-selection event and then wrote the hotspot screen at the at line-selection event like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
AT LINE-SELECTION.

  WRITE / 'New list AT-LINE-SELECTION'.
  SKIP.
  WRITE 'This is also a hotspot:'.

  WRITE icon_list AS ICON HOTSPOT.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;However, what happened then was that regardless of where I click on the report screen, even for the report header, the "hotspot" screen will show up.&lt;/P&gt;&lt;P&gt;Is there anyway to avoid it so that the hotspot only shows up whenever I need it too? Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anyi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605892#M271854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T17:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605893#M271855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;FORMAT HOTSPOT ON

or 

FORMAT HOTSPOT ON&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;before or after the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605893#M271855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T17:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605894#M271856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the GET CURSOR event.. just do an F1  &amp;amp; you will be able to figure out the ysntax..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605894#M271856</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-10-02T17:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605895#M271857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Rob,&lt;/P&gt;&lt;P&gt;Thanks for the reply. &lt;/P&gt;&lt;P&gt;However, that is exactly what I did on the report and it does not seem to work....&lt;/P&gt;&lt;P&gt;Any other suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anyi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:29:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605895#M271857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T17:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605896#M271858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Try to use the HIDE statement..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: v_hide.&lt;/P&gt;&lt;P&gt;v_hide = 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'NOT A HOT SPOT'.&lt;/P&gt;&lt;P&gt;CLEAR: v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'HOT SPOT' AS ICON HOTSPOT.&lt;/P&gt;&lt;P&gt;v_hide = 'X'.&lt;/P&gt;&lt;P&gt;HIDE v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE: / 'NOT A HOT SPOT'.&lt;/P&gt;&lt;P&gt;CLEAR: v_hide.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF NOT v_hide IS INITIAL.&lt;/P&gt;&lt;P&gt;    WRITE: / 'HOT SPOT SELECTED'.&lt;/P&gt;&lt;P&gt;    clear v_hide.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605896#M271858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T17:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605897#M271859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anyi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try something like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT ZZTEST.

DATA: square TYPE i,
      cube   TYPE i.
                                                                        
START-OF-SELECTION.
  FORMAT HOTSPOT.
  DO 10 TIMES.
    square = sy-index ** 2.
    cube   = sy-index ** 3.
    WRITE / sy-index.
    HIDE: square, cube.
  ENDDO.
                                                                        
AT LINE-SELECTION.
  WRITE: square, cube.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also you can check demo programs &amp;lt;b&amp;gt;demo_list_hide&amp;lt;/b&amp;gt; and &amp;lt;b&amp;gt;demo_list_get_cursor&amp;lt;/b&amp;gt;. &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605897#M271859</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-02T17:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: Hotspot..again</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605898#M271860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just check this code and award points if found helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT LINE-SELECTION.

 

IF SY-LSIND = 1.

 

  PERFORM GET_ILV_VALUES.

 

    WRITE:/ 'HEADER LIST'.

    WRITE:/ SY-ULINE.

    WRITE:/1(10) 'MATERIAL NO.', 15(30) 'MATL DESCRIPTION'.

    WRITE:/ SY-ULINE.

 

    PERFORM WRITE_ILV_VALUES.

 

 

ENDIF.

 

END-OF-SELECTION.

*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;      Form  GET_VALUES

*&amp;amp;---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  --&amp;gt;  p1        text

*  &amp;lt;--  p2        text

*----------------------------------------------------------------------*

FORM GET_VALUES .

 

SELECT WERKS

       NAME1

       LAND1

INTO TABLE  ITAB1

FROM   T001W

WHERE  WERKS IN S_WERKS.

 

 

 

 

ENDFORM.                    " GET_VALUES

*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;      Form  WRITE_VALUES

*&amp;amp;---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  --&amp;gt;  p1        text

*  &amp;lt;--  p2        text

*----------------------------------------------------------------------*

FORM WRITE_VALUES .

 

WRITE:/ 'BASIC LIST'.

WRITE:/ SY-ULINE.

WRITE:/1(10) 'PLANT NO.', 15(15) 'PLANT NAME', 35(10) 'COUNTRY'.

WRITE:/ SY-ULINE.

 

LOOP AT ITAB1.

 

  WRITE:/1(10)   ITAB1-WERKS HOTSPOT ON,

          15(15) ITAB1-NAME1,

          35(10) ITAB1-LAND1.

          HIDE ITAB1-WERKS.

 

ENDLOOP.

 

ENDFORM.                    " WRITE_VALUES

*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;      Form  GET_ILV_VALUES

*&amp;amp;---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  --&amp;gt;  p1        text

*  &amp;lt;--  p2        text

*----------------------------------------------------------------------*

FORM GET_ILV_VALUES .

 

SELECT A~MATNR

       B~MAKTX

       C~WERKS INTO TABLE ITAB2

       FROM MARC AS A INNER JOIN

       MAKT AS B

       ON A~MATNR = B~MATNR

       INNER JOIN T001W AS C

       ON C~WERKS = A~WERKS

       WHERE A~WERKS = ITAB1-WERKS.

 

 

ENDFORM.                    " GET_ILV_VALUES

*&amp;amp;---------------------------------------------------------------------*

*&amp;amp;      Form  WRITE_ILV_VALUES

*&amp;amp;---------------------------------------------------------------------*

*       text

*----------------------------------------------------------------------*

*  --&amp;gt;  p1        text

*  &amp;lt;--  p2        text

*----------------------------------------------------------------------*

FORM WRITE_ILV_VALUES .

 

LOOP AT ITAB2.

 

  WRITE:/1(10) ITAB2-MATNR,

         15(30) ITAB2-MAKTX.

 

ENDLOOP.

 

ENDFORM.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Oct 2006 17:52:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hotspot-again/m-p/1605898#M271860</guid>
      <dc:creator>rahulkavuri</dc:creator>
      <dc:date>2006-10-02T17:52:01Z</dc:date>
    </item>
  </channel>
</rss>

