<?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: what hide command will do in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013709#M79470</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;below is a sample example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Chapter 17: Working with the hide command
*&amp;amp;---------------------------------------------------------------------*
REPORT CHAP1704.
* work area
TABLES CUSTOMERS.
* Internal table
DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100
                   WITH HEADER LINE.
* Processing data
START-OF-SELECTION.
  SELECT * FROM CUSTOMERS INTO TABLE ALL_CUSTOMERS.
  LOOP AT ALL_CUSTOMERS.
    WRITE / ALL_CUSTOMERS-NAME HOTSPOT ON.
    HIDE ALL_CUSTOMERS-ID.
  ENDLOOP.
* Detail information
AT LINE-SELECTION.
  WRITE: / 'Customer detail information:',
         ALL_CUSTOMERS-NAME,
         ALL_CUSTOMERS-CITY,
         ALL_CUSTOMERS-TELEPHONE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below link gives more information i hope&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.csuchico.edu/acms/gcorbitt/abap13_f98.ppt" target="test_blank"&gt;http://www.csuchico.edu/acms/gcorbitt/abap13_f98.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remember to reward points and close if your question is solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Sep 2005 15:06:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-08T15:06:45Z</dc:date>
    <item>
      <title>what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013707#M79468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what hide command will do&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:02:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013707#M79468</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013708#M79469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the F1 help.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;HIDE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basic form &lt;/P&gt;&lt;P&gt;HIDE f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In an ABAP Objects context, a more severe syntax check is performed that in other ABAP areas. See Constants not allowed in HIDE area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;Retains the contents of f related to the current output line. When the user selects the line from the list f is automatically filled with the retained value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection can occur in: &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;AT PFx &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ LINE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of the field do not have to have been displayed using WRITE in order for you to retain them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE statement does not support deep structures (structures that contain internal tables). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Useful system fields for interactive reporting are listed in the System Fields for Lists documentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Lines or components of lines of an internal table that you address using a field symbol (see ASSIGNING addition to the READ and LOOP statements), cannot be retained using HIDE. You can store them using a global variable instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;Runtime errors: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE_FIELD_TOO_LARGE: The field is too long for HIDE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE_ON_EMPTY_PAGE: HIDE not possible on an empty page. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE_NO_LOCAL: HIDE not possible for a local field. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE_ILLEGAL_ITAB_SYMBOL: HIDE not possible for a table line or component of a table line.&amp;lt;/i&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also a sample program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;

report zrich_0003.

data: begin of itab occurs 0,
      field type c,
      end of itab.



itab-field = 'A'.  append itab.
itab-field = 'B'.  append itab.
itab-field = 'C'.  append itab.
itab-field = 'D'.  append itab.
itab-field = 'E'.  append itab.


loop at itab.

  format hotspot on.
  write:/ itab-field.
  hide itab-field.
  format hotspot off.

endloop.



at line-selection.

  write:/ 'You clicked', itab-field.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It kind of "remembers" what is written, so that when you click on it, it knows what the value is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please remember to award points and mark as solved if  your question has been answered.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Rich Heilman&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013708#M79469</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-08T15:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013709#M79470</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;below is a sample example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;*&amp;amp;---------------------------------------------------------------------*
*&amp;amp; Chapter 17: Working with the hide command
*&amp;amp;---------------------------------------------------------------------*
REPORT CHAP1704.
* work area
TABLES CUSTOMERS.
* Internal table
DATA ALL_CUSTOMERS LIKE CUSTOMERS OCCURS 100
                   WITH HEADER LINE.
* Processing data
START-OF-SELECTION.
  SELECT * FROM CUSTOMERS INTO TABLE ALL_CUSTOMERS.
  LOOP AT ALL_CUSTOMERS.
    WRITE / ALL_CUSTOMERS-NAME HOTSPOT ON.
    HIDE ALL_CUSTOMERS-ID.
  ENDLOOP.
* Detail information
AT LINE-SELECTION.
  WRITE: / 'Customer detail information:',
         ALL_CUSTOMERS-NAME,
         ALL_CUSTOMERS-CITY,
         ALL_CUSTOMERS-TELEPHONE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below link gives more information i hope&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.csuchico.edu/acms/gcorbitt/abap13_f98.ppt" target="test_blank"&gt;http://www.csuchico.edu/acms/gcorbitt/abap13_f98.ppt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;remember to reward points and close if your question is solved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:06:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013709#M79470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013710#M79471</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;Suppose you use: HIDE f.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The contents of 'f' related to the current output line are stored. If this line is selected, f is filled automatically with the stored value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The selection can be made using: &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;AT PFx &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ LINE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You do not have to output the field with WRITE in order to be able to store its value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally, this command is useful when we need to catch a value for drill-down purpose&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:08:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013710#M79471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013711#M79472</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;Hide command will hold the defined field values  which can be used in At line selection or User command events.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:09:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013711#M79472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013712#M79473</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;i have seen this command in the PBO event .there after i havn't seen this field anywhere in the below listed events&lt;/P&gt;&lt;P&gt;at line selection&lt;/P&gt;&lt;P&gt;at pfx&lt;/P&gt;&lt;P&gt;at user-command&lt;/P&gt;&lt;P&gt;even though the program is working&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Narasimha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 15:54:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013712#M79473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T15:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013713#M79474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've never then this used anywhere but in list processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please make sure that you award points for helpful answers.  If you question has been answered, pleae mark as solved.  Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 16:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013713#M79474</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-09-08T16:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013714#M79475</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;you are correct, suppose in the user command (PAI) we are going to process some of the fields as per user selection , the fields are hide in PBO events&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example in PBO event hide matnr. and later we no need to use hide, if user click the matnr , the program retrieves the matnr value automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 16:00:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013714#M79475</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T16:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013715#M79476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi sasi,&lt;/P&gt;&lt;P&gt;i didnt get you,can you explain me more clearly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 16:04:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013715#M79476</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T16:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: what hide command will do</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013716#M79477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;suppose if user select the material number we need to navigate the material master screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the report we displayed material number and etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In PBO write like hide itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the user command if any action perfomed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set paremater ....... itab-matnr. ( it has the value )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thing you're clear now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sasi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2005 16:10:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-hide-command-will-do/m-p/1013716#M79477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-08T16:10:38Z</dc:date>
    </item>
  </channel>
</rss>

