<?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: Hide stmt usage in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294503#M788345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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;The HIDE statement does not support structures that contain tables (deep structures). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields that are particularly useful in interactive reporting are listed in the system fields for lists documentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot save lines or components of lines of an internal table that is addressed using a field symbol to the HIDE area. (Compare the ASSIGNING addition to the READ and LOOP statements). Assign the contents of the line or component to a global variable and save this instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only write variables to the HIDEarea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP Objects, the following statements acause an error message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE: '...', f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: f1, f2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE: f1, f2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive list events cause the fields hidden by the HIDE command to be overwritten with values in the HIDE area, which means that they must be changeable.n. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2008 06:46:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-04T06:46:13Z</dc:date>
    <item>
      <title>Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294500#M788342</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;In interactive report generation, we use HIDE statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What exactly is the significance of this?&lt;/P&gt;&lt;P&gt;How it works?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:40:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294500#M788342</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294501#M788343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HIDE dobj. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This statement stores the content of a variable dobj together with the current list line whose line number is contained in sy-linno in the hide area of the current list level. The data type of the variables dobj must be flat and no field symbols can be specified that point to rows of internal tables, and no class attributes can be specified. The stored values can be read as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each user action in a displayed screen list that leads to a list result, all the row values stored using HIDE - that is, the row on which the screen cursor is positioned at the time of the event - are assigned to the respective variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a list row of an arbitrary list level is read or modified using the statements READ LINE or MODIFY LINE, all the values of this row stored using HIDE are assigned to the respective variables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Notes &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE statement works independently of whether the list cursor was set. In particular, variables for empty list rows can be stored - that is, rows in which the list cursor was positioned using statements like SKIP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE statement should be executed immediately at the statement that has set the list cursor in the row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Outside of classes, prior to release 7.0, for dobj constants and literals could still be specified. However, it was not possible to read them at list events and in the READ LINE statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example &lt;/P&gt;&lt;P&gt;Storing square numbers and cubic numbers for a list of numbers. The example shows that arbitrary variables can be stored independently of row content. In the real situation, one would more likely store only the number and execute the calculation, when required, in the the event block for AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: square TYPE i, &lt;/P&gt;&lt;P&gt;      cube   TYPE i. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  FORMAT HOTSPOT. &lt;/P&gt;&lt;P&gt;  DO 10 TIMES. &lt;/P&gt;&lt;P&gt;    square = sy-index ** 2. &lt;/P&gt;&lt;P&gt;    cube   = sy-index ** 3. &lt;/P&gt;&lt;P&gt;    WRITE / sy-index. &lt;/P&gt;&lt;P&gt;    HIDE: square, cube. &lt;/P&gt;&lt;P&gt;  ENDDO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  WRITE: square, cube.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:44:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294501#M788343</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294502#M788344</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;loop at itab.&lt;/P&gt;&lt;P&gt;write:/itab-ebeln,itab-ebelp,itab-matnr.&lt;/P&gt;&lt;P&gt;hide:itab-eblen.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when you use Hide statement, it acts as an internal table, it stores the all (itab-ebeln)records of the basic list,including line number,&lt;/P&gt;&lt;P&gt;when ever user click an action in the basic list,it picksup that particlular record based on the line number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you just started career in SAP, i wish you all the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Murali.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:45:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294502#M788344</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:45:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294503#M788345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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;The HIDE statement does not support structures that contain tables (deep structures). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System fields that are particularly useful in interactive reporting are listed in the system fields for lists documentation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot save lines or components of lines of an internal table that is addressed using a field symbol to the HIDE area. (Compare the ASSIGNING addition to the READ and LOOP statements). Assign the contents of the line or component to a global variable and save this instead. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only write variables to the HIDEarea. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ABAP Objects, the following statements acause an error message: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE: '...', f. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Correct syntax: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: f1, f2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE: f1, f2. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interactive list events cause the fields hidden by the HIDE command to be overwritten with values in the HIDE area, which means that they must be changeable.n. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;awrd points if useful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhupal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294503#M788345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294504#M788346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:52:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294504#M788346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Hide stmt usage</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294505#M788347</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 stores the selected line and u can use it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: square TYPE i, &lt;/P&gt;&lt;P&gt;      cube   TYPE i. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  FORMAT HOTSPOT. &lt;/P&gt;&lt;P&gt;  DO 10 TIMES. &lt;/P&gt;&lt;P&gt;    square = sy-index ** 2. &lt;/P&gt;&lt;P&gt;    cube   = sy-index ** 3. &lt;/P&gt;&lt;P&gt;    WRITE / sy-index. &lt;/P&gt;&lt;P&gt;    HIDE: square, cube. &lt;/P&gt;&lt;P&gt;  ENDDO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  WRITE: square, cube. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute this code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;u ll get the selected line's square and cube values&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now comment the     HIDE: square, cube. line and execute&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;u ll get only the last line's square and cube values&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 06:52:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-stmt-usage/m-p/3294505#M788347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-04T06:52:41Z</dc:date>
    </item>
  </channel>
</rss>

