<?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 statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735157#M319735</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;just execute this pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest_hide.

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.
write:/ 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;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2006 08:49:53 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-12-26T08:49:53Z</dc:date>
    <item>
      <title>hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735154#M319732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai friends &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what happens if we use hide statement before write statement.&lt;/P&gt;&lt;P&gt;i want clear answer plz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 08:41:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735154#M319732</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735155#M319733</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; No problem . Only thing is that we should give the Hide stmt within &lt;/P&gt;&lt;P&gt;   loop .. endloop . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;Senthil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 08:44:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735155#M319733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T08:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735156#M319734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And usually HIDE statement is used before write (within a loop) in interactive reporting to get the data in a work area while triggering AT LINE-SELECTION event.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 08:49:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735156#M319734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T08:49:41Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735157#M319735</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;just execute this pgm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;report ztest_hide.

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.
write:/ 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;Regards&lt;/P&gt;&lt;P&gt;Anver&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 08:49:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735157#M319735</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-12-26T08:49:53Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735158#M319736</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 is used when you are using interactive list. On the list, when you click on some value, you need to store the value in some field. You can use system commands to get the line and read it OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use HIDE statement. &lt;/P&gt;&lt;P&gt;While looping the final table to be written on the list, before the write statement, when you give HIDE statement, then the value gets stored in that variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE.&lt;/P&gt;&lt;P&gt;write:/itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the value you clicked on will be stored in itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;navneet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 09:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735158#M319736</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T09:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735159#M319737</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;if u use hide keyword before write statement it can select only one record  and atleast last record from interactive report o/p is for last record can display it is not dislapy o/p as per data select by user in interective report  b/c we r reading data using loop ...endloop ( loop ..write ...hide..endloop) means data can transfer from I.T. body to I.T. work area .&lt;/P&gt;&lt;P&gt;so that o/p is for last record can display it is not dislapy o/p as per data select by user in interective report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regard&lt;/P&gt;&lt;P&gt;deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2006 15:09:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735159#M319737</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-26T15:09:27Z</dc:date>
    </item>
    <item>
      <title>Re: hide statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735160#M319738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;       u can use the hide statement before write,&lt;/P&gt;&lt;P&gt;   but if u use the hide statement, the value on which ur clicking it wont hold &lt;/P&gt;&lt;P&gt;   that one  but instead of that it will hold the next value ie,&lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;P&gt;suppose ur having sales order number in ur basic list as&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;00001&lt;/P&gt;&lt;P&gt;00002&lt;/P&gt;&lt;P&gt;00003&lt;/P&gt;&lt;P&gt;00004&lt;/P&gt;&lt;P&gt;00005&lt;/P&gt;&lt;P&gt; if u click on 0003 and u r hide statement is before the write statment&lt;/P&gt;&lt;P&gt;then instead of storing 0003 it will store 0004.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Praveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2006 08:43:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide-statement/m-p/1735160#M319738</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-12-27T08:43:41Z</dc:date>
    </item>
  </channel>
</rss>

