<?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: HI .. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734335#M898780</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;&lt;STRONG&gt;HIDE technique&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case thins are much simpler. Consider the case, wherein you display fields from table sflight in basic list. When user double clicks on any sflight-carrid, you are displaying the detailed information related to that particular carrid on secondary list.  Hence there is a need to store the clicked carrid in some variable.  So that you can access this carrid for next list. ABAP/4 has facility; a statement called HIDE, which provides the above functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE command temporarily stores the content of clicked field in system area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE &amp;lt;FIELDS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement stores the contents of variable &amp;lt;f&amp;gt; in relation to the current output line (system field SY-LINNO) internally in the so-called HIDE area. The variable &amp;lt;f&amp;gt; must not necessarily appear on the current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to place the HIDE statement always directly after the output statement i.e., WRITE for the variable &amp;lt;f&amp;gt;.  As when you hide the variable, control is passed to next record.  While writing, WRITE statement takes that record from header and writes it on to the list, but when writing onto your interactive list you will miss out 1st record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To hide several variables, use chain HIDE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	By an interactive event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE area is a table, in which the system stores the names and values of all HIDE fields for each list and line number.  As soon as they are needed, the system reads the values from the table.  (Please try to find the name of this table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Apr 2008 06:09:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-28T06:09:06Z</dc:date>
    <item>
      <title>HI ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734331#M898776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the exact fuctionality of hide statement?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 13:13:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734331#M898776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T13:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: HI ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734332#M898777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 13:18:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734332#M898777</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T13:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: HI ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734333#M898778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Seran Mahalingam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please Check this link&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/saphelp_nw04/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm" target="test_blank"&gt;https://help.sap.com/saphelp_nw04/helpdata/en/9f/dba42335c111d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You use the HIDE technique while creating a list level to store line-specific information for later use. &lt;/P&gt;&lt;P&gt;To do so, use the HIDE statement as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;HIDE &amp;lt;f&amp;gt;.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement places the contents of the variable  by the READ LINE statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can think of the HIDE area as a table, in which the system stores the names and values of all HIDE fields for each list and line number. &lt;/P&gt;&lt;P&gt;As soon as they are needed, the system reads the values from the table. The example below presents some of the essential features of interactive reporting. &lt;/P&gt;&lt;P&gt;The basic list contains summarized information. By means of the HIDE technique, each detail list contains more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a sample example which uses the Hide statement.&lt;/P&gt;&lt;P&gt;Please go through this example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The following program is connected to the logical database F1S.&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT demo_list_hide NO STANDARD PAGE HEADING. 

TABLES: spfli, sbook. 

DATA: num TYPE i,
dat TYPE d.
 

START-OF-SELECTION.
 num = 0.
 SET PF-STATUS 'FLIGHT'.
 

GET spfli.
num = num + 1.
 WRITE: / spfli-carrid, spfli-connid,
          spfli-cityfrom, spfli-cityto.HIDE: spfli-carrid, spfli-connid, num. 

END-OF-SELECTION.
 CLEAR num.
 

TOP-OF-PAGE. WRITE 'List of Flights'.ULINE. WRITE 'CA CONN FROM TO'. ULINE. 

TOP-OF-PAGE DURING LINE-SELECTION.
 CASE sy-pfkey.
 

WHEN 'BOOKING'.
 WRITE sy-lisel.
ULINE.
 

 WHEN 'WIND'.
 WRITE: / 'Booking', sbook-bookid,'Date ', sbook-fldate.ULINE. ENDCASE. 

AT USER-COMMAND.
 CASE sy-ucomm.
 

WHEN 'SELE'.
 

 IF num NE 0. SET PF-STATUS 'BOOKING'. CLEAR dat. SELECT * FROM sbook WHERE carrid = spfli-carridAND 

IF sbook-fldate NE dat.connid = spfli-connid. dat = sbook-fldate. SKIP. WRITE / sbook-fldate.POSITION 16.

 ELSE. NEW-LINE. POSITION 16.

 ENDIF.
 WRITE sbook-bookid.
 HIDE: sbook-bookid, sbook-fldate, sbook-custtype,

sbook-smoker, sbook-luggweight, sbook-class.ENDSELECT. IF sy-subrc NE 0.

WRITE / 'No bookings for this flight'.

ENDIF.

 num = 0.

 CLEAR sbook-bookid.

 ENDIF.
 WHEN 'INFO'.

 IF NOT sbook-bookid IS INITIAL.

 SET PF-STATUS 'WIND'.

 SET TITLEBAR 'BKI'.

 WINDOW STARTING AT 30 5 ENDING AT 60 10.

 WRITE: 'Customer type :', sbook-custtype,

/ 'Smoker :', sbook-smoker,

/ 'Luggage weight :', sbook-luggweight UNIT 'KG',

/ 'Class :', sbook-class.

ENDIF.
 ENDCASE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;raam&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 14:38:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734333#M898778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T14:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: HI ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734334#M898779</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 &amp;amp; Get Cursor is used in interactive programming ( in the event AT LINE-selection). Using Hide in Loop..Endloop, you can get the field name At Line-Select Event While Double Clicking That Line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/a-sample-hide-get-cursor-in-interactive-programming.htm" target="test_blank"&gt;http://www.sap-img.com/abap/a-sample-hide-get-cursor-in-interactive-programming.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.sdn.sap.com/click.jspa?searchID=11176653&amp;amp;messageID=2833666" target="test_blank"&gt;https://forums.sdn.sap.com/click.jspa?searchID=11176653&amp;amp;messageID=2833666&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kiran Sure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Apr 2008 15:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734334#M898779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-25T15:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: HI ..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734335#M898780</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;&lt;STRONG&gt;HIDE technique&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case thins are much simpler. Consider the case, wherein you display fields from table sflight in basic list. When user double clicks on any sflight-carrid, you are displaying the detailed information related to that particular carrid on secondary list.  Hence there is a need to store the clicked carrid in some variable.  So that you can access this carrid for next list. ABAP/4 has facility; a statement called HIDE, which provides the above functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE command temporarily stores the content of clicked field in system area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE &amp;lt;FIELDS&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement stores the contents of variable &amp;lt;f&amp;gt; in relation to the current output line (system field SY-LINNO) internally in the so-called HIDE area. The variable &amp;lt;f&amp;gt; must not necessarily appear on the current line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to place the HIDE statement always directly after the output statement i.e., WRITE for the variable &amp;lt;f&amp;gt;.  As when you hide the variable, control is passed to next record.  While writing, WRITE statement takes that record from header and writes it on to the list, but when writing onto your interactive list you will miss out 1st record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To hide several variables, use chain HIDE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;#149;	By an interactive event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE area is a table, in which the system stores the names and values of all HIDE fields for each list and line number.  As soon as they are needed, the system reads the values from the table.  (Please try to find the name of this table.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bhaskar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2008 06:09:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hi/m-p/3734335#M898780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-28T06:09:06Z</dc:date>
    </item>
  </channel>
</rss>

