<?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: ABAP-reports in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411640#M198228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. to get a taste of it, just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It will display 1,2,3 (figures)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Double-click on any, and it will display&lt;/P&gt;&lt;P&gt;  one, two , three&lt;/P&gt;&lt;P&gt;  based upon the click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This will come from HIDE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : VAR(10) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;VAR = 'ONE'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '1'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR = 'TWO'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '2'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR = 'THREE'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '3'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  WRITE VAR.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 Jun 2006 10:55:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-19T10:55:58Z</dc:date>
    <item>
      <title>ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411636#M198224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is a hide command in reports ?and where  it store hide data? any one can help me ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 10:46:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411636#M198224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T10:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411637#M198225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See the following example to know the usage of HIDE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Example&lt;/P&gt;&lt;P&gt;DATA TEXT(20). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION. &lt;/P&gt;&lt;P&gt;  PERFORM WRITE_AND_HIDE USING SPACE SPACE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT LINE-SELECTION. &lt;/P&gt;&lt;P&gt;  CASE TEXT. &lt;/P&gt;&lt;P&gt;    WHEN 'List index'. &lt;/P&gt;&lt;P&gt;      PERFORM WRITE_AND_HIDE USING 'X' SPACE. &lt;/P&gt;&lt;P&gt;    WHEN 'User command'. &lt;/P&gt;&lt;P&gt;      PERFORM WRITE_AND_HIDE USING SPACE 'X'. &lt;/P&gt;&lt;P&gt;    WHEN OTHERS. &lt;/P&gt;&lt;P&gt;      SUBTRACT 2 FROM SY-LSIND. &lt;/P&gt;&lt;P&gt;      PERFORM WRITE_AND_HIDE USING SPACE SPACE. &lt;/P&gt;&lt;P&gt;  ENDCASE. &lt;/P&gt;&lt;P&gt;  CLEAR TEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM WRITE_AND_HIDE USING P_FLAG_LSIND P_FLAG_UCOMM. &lt;/P&gt;&lt;P&gt;  WRITE / 'SY-LSIND:'. &lt;/P&gt;&lt;P&gt;  PERFORM WRITE_WITH_COLOR USING SY-LSIND P_FLAG_LSIND. &lt;/P&gt;&lt;P&gt;  TEXT = 'List index'. &lt;/P&gt;&lt;P&gt;  HIDE TEXT. &lt;/P&gt;&lt;P&gt;  WRITE / 'SY-UCOMM:'. &lt;/P&gt;&lt;P&gt;  PERFORM WRITE_WITH_COLOR USING SY-UCOMM P_FLAG_UCOMM. &lt;/P&gt;&lt;P&gt;  TEXT = 'User command'. &lt;/P&gt;&lt;P&gt;  HIDE TEXT. &lt;/P&gt;&lt;P&gt;  IF SY-LSIND &amp;gt; 0. &lt;/P&gt;&lt;P&gt;    WRITE / 'PICK here to go back one list level'. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM WRITE_WITH_COLOR USING P_VALUE &lt;/P&gt;&lt;P&gt;                            P_FLAG_POSITIVE. &lt;/P&gt;&lt;P&gt;  IF P_FLAG_POSITIVE = SPACE. &lt;/P&gt;&lt;P&gt;    WRITE P_VALUE COLOR COL_NORMAL. &lt;/P&gt;&lt;P&gt;  ELSE. &lt;/P&gt;&lt;P&gt;    WRITE P_VALUE COLOR COL_POSITIVE. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDFORM.&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 10:48:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411637#M198225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T10:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411638#M198226</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;Refer the program DEMO_LIST_HIDE in SE38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if it helps.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 10:49:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411638#M198226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T10:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411639#M198227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. what is a hide command in reports &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Just like we use WRITE to &lt;/P&gt;&lt;P&gt; display text data on screen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. IN THE SAME WAY,&lt;/P&gt;&lt;P&gt;   there is one screen (INSIDE THE MEMORY, WHICH IS INVISIBLE)&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;  and HIDE puts the data on that invisible screen&lt;/P&gt;&lt;P&gt;/ invisible memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. This invisible screen / memory area&lt;/P&gt;&lt;P&gt;   is just like an internal table&lt;/P&gt;&lt;P&gt;   having many lines, just like screen lines,&lt;/P&gt;&lt;P&gt;  and we can put data in this memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. HIDE puts data in this memory,&lt;/P&gt;&lt;P&gt;   at the position, where the current WRITE statement 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;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 10:51:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411639#M198227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T10:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411640#M198228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. to get a taste of it, just copy paste in new program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. It will display 1,2,3 (figures)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Double-click on any, and it will display&lt;/P&gt;&lt;P&gt;  one, two , three&lt;/P&gt;&lt;P&gt;  based upon the click.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. This will come from HIDE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ABC NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : VAR(10) TYPE C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="-----------------------" /&gt;&lt;P&gt;VAR = 'ONE'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '1'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR = 'TWO'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '2'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VAR = 'THREE'.&lt;/P&gt;&lt;P&gt;WRITE &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; '3'.&lt;/P&gt;&lt;P&gt;HIDE VAR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="--------------------------" /&gt;&lt;P&gt;AT LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  WRITE VAR.&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;amit m.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 10:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411640#M198228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T10:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411641#M198229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;HIDE&lt;/P&gt;&lt;P&gt;The HIDE statement is one of the fundamental statements for interactive reporting. You use the HIDE technique when creating a basic list. It defines the information that can be passed to subsequent detail lists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The HIDE Technique&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. To do so, use the HIDE statement as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE &amp;lt;f&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement places the contents of the variable &amp;lt;f&amp;gt; for the current output line (system field SY-LINNO) into the 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;To make your program more readable, always place the HIDE statement directly after the output statement for the variable &amp;lt;f&amp;gt; or after the last output statement for the current line. &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;by an interactive event. &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;by the READ LINE statement.&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. As soon as they are needed, the system reads the values from the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The example below presents some of the essential features of interactive reporting. 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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following program is connected to the logical database F1S.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_hide NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: spfli, sbook.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: num TYPE i,&lt;/P&gt;&lt;P&gt;      dat TYPE d.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  num = 0.&lt;/P&gt;&lt;P&gt;  SET PF-STATUS 'FLIGHT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GET spfli.&lt;/P&gt;&lt;P&gt;  num = num + 1.&lt;/P&gt;&lt;P&gt;  WRITE: / spfli-carrid, spfli-connid,&lt;/P&gt;&lt;P&gt;           spfli-cityfrom, spfli-cityto.&lt;/P&gt;&lt;P&gt;  HIDE:    spfli-carrid, spfli-connid, num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  CLEAR num.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;  WRITE 'List of Flights'.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;  WRITE 'CA  CONN FROM                 TO'.&lt;/P&gt;&lt;P&gt;  ULINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE DURING LINE-SELECTION.&lt;/P&gt;&lt;P&gt;  CASE sy-pfkey.&lt;/P&gt;&lt;P&gt;    WHEN 'BOOKING'.&lt;/P&gt;&lt;P&gt;      WRITE sy-lisel.&lt;/P&gt;&lt;P&gt;      ULINE.&lt;/P&gt;&lt;P&gt;    WHEN 'WIND'.&lt;/P&gt;&lt;P&gt;      WRITE:  'Booking', sbook-bookid,&lt;/P&gt;&lt;P&gt;           /  'Date   ', sbook-fldate.&lt;/P&gt;&lt;P&gt;      ULINE.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;  CASE sy-ucomm.&lt;/P&gt;&lt;P&gt;    WHEN 'SELE'.&lt;/P&gt;&lt;P&gt;      IF num NE 0.&lt;/P&gt;&lt;P&gt;        SET PF-STATUS 'BOOKING'.&lt;/P&gt;&lt;P&gt;        CLEAR dat.&lt;/P&gt;&lt;P&gt;        SELECT * FROM sbook WHERE carrid = spfli-carrid&lt;/P&gt;&lt;P&gt;                            AND   connid = spfli-connid.&lt;/P&gt;&lt;P&gt;          IF sbook-fldate NE dat.&lt;/P&gt;&lt;P&gt;            dat = sbook-fldate.&lt;/P&gt;&lt;P&gt;            SKIP.&lt;/P&gt;&lt;P&gt;            WRITE / sbook-fldate.&lt;/P&gt;&lt;P&gt;            POSITION 16.&lt;/P&gt;&lt;P&gt;          ELSE.&lt;/P&gt;&lt;P&gt;            NEW-LINE.&lt;/P&gt;&lt;P&gt;            POSITION 16.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          WRITE sbook-bookid.&lt;/P&gt;&lt;P&gt;          HIDE: sbook-bookid, sbook-fldate, sbook-custtype,&lt;/P&gt;&lt;P&gt;                sbook-smoker, sbook-luggweight, sbook-class.&lt;/P&gt;&lt;P&gt;        ENDSELECT.&lt;/P&gt;&lt;P&gt;        IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;          WRITE / 'No bookings for this flight'.&lt;/P&gt;&lt;P&gt;        ENDIF.&lt;/P&gt;&lt;P&gt;        num = 0.&lt;/P&gt;&lt;P&gt;        CLEAR sbook-bookid.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;    WHEN 'INFO'.&lt;/P&gt;&lt;P&gt;      IF NOT sbook-bookid IS INITIAL.&lt;/P&gt;&lt;P&gt;        SET PF-STATUS 'WIND'.&lt;/P&gt;&lt;P&gt;        SET TITLEBAR 'BKI'.&lt;/P&gt;&lt;P&gt;        WINDOW STARTING AT 30 5 ENDING AT  60 10.&lt;/P&gt;&lt;P&gt;        WRITE: 'Customer type   :', sbook-custtype,&lt;/P&gt;&lt;P&gt;             / 'Smoker          :', sbook-smoker,&lt;/P&gt;&lt;P&gt;             / 'Luggage weight :', sbook-luggweight UNIT 'KG',&lt;/P&gt;&lt;P&gt;             / 'Class           :', sbook-class.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;  ENDCASE.&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;mrutyun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 12:08:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411641#M198229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T12:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411642#M198230</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 is used when you are working with Interactive reports. When you click on any particular field of your internal table, then that value is stored in the header line of the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;write itab-field1.&lt;/P&gt;&lt;P&gt;    HIDE field1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when you double click on field1, the internal table header will contain the value which can be used in the AT Line-selection event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Navneeth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 13:33:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411642#M198230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T13:33:15Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411643#M198231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Vijay,&lt;/P&gt;&lt;P&gt;  Check this out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;HIDE&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Cannot Use Constants in the HIDE Area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &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;&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;&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;&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;&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &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;&lt;/P&gt;&lt;P&gt;Exceptions &lt;/P&gt;&lt;P&gt;Non-Catchable Exceptions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: The field is too long for HIDE. &lt;/P&gt;&lt;P&gt;Runtime Error: HIDE_FIELD_TOO_LARGE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: Cannot apply HIDE to a table line or component of a table line. &lt;/P&gt;&lt;P&gt;Runtime Error: HIDE_ILLEGAL_ITAB_SYMBOL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: HIDE is not possible in a local field. &lt;/P&gt;&lt;P&gt;Runtime Error: HIDE_NO_LOCAL: HIDE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cause: HIDE is not possible on an empty page. &lt;/P&gt;&lt;P&gt;Runtime Error: HIDE_ON_EMPTY_PAGE &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 13:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411643#M198231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T13:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP-reports</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411644#M198232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer to the code below. I have explained how hide works in my own words.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ztest.

&amp;lt;b&amp;gt;*Consider  a scenario when the user asks for Material Details(Table : MARA )
*displayed in one List and based on the Material selected he wants the corresponding
*Storage Location Data for that Material (Table : MARD ).&amp;lt;/b&amp;gt;
TYPES :  BEGIN OF tp_mara,
         matnr TYPE mara-matnr,
         mtart TYPE mara-mtart,
         mbrsh TYPE mara-mbrsh,
         matkl TYPE mara-matkl,
         END OF tp_mara.


TYPES : BEGIN OF tp_marc,
        matnr TYPE marc-matnr,
        werks TYPE marc-werks,
        pstat TYPE marc-pstat,
        ekgrp TYPE marc-ekgrp,
        dispr TYPE marc-dispr,
        END OF tp_marc.


TYPES : BEGIN OF tp_mard,
        matnr TYPE mard-matnr,
        werks TYPE mard-werks,
        lgort TYPE mard-lgort,
        lfgja TYPE mard-lfgja,
        labst TYPE mard-labst,
        umlme TYPE mard-umlme,
        END OF tp_mard.

DATA : t_mara TYPE STANDARD TABLE OF tp_mara,
       t_marc TYPE STANDARD TABLE OF tp_marc,
       t_mard TYPE STANDARD TABLE OF tp_mard,
       wa_mara TYPE tp_mara,
       wa_marc TYPE tp_marc,
       wa_mard TYPE tp_mard.
DATA : w_werks TYPE werks .


SELECTION-SCREEN BEGIN OF BLOCK blck1 WITH FRAME TITLE text-001.
SELECT-OPTIONS : p_matnr FOR wa_mara-matnr NO INTERVALS  .
PARAMETERS     : p_mtart TYPE mara-mtart .
SELECTION-SCREEN END OF BLOCK blck1.



START-OF-SELECTION.

&amp;lt;b&amp;gt;*Collecting the material details form Table MARA&amp;lt;/b&amp;gt;

  SELECT matnr
         mtart
         mbrsh
         matkl
         FROM mara
         INTO TABLE t_mara
         UP TO 200 ROWS
         WHERE matnr IN p_matnr AND
               mtart EQ p_mtart.


END-OF-SELECTION.


&amp;lt;b&amp;gt;*Now I am Dispalying the Material Details in the Primary List&amp;lt;/b&amp;gt;  CLEAR wa_mara.
  LOOP AT t_mara INTO wa_mara.
    IF sy-tabix EQ 1.
      FORMAT INTENSIFIED ON.
      FORMAT COLOR COL_KEY.
      WRITE : /5(16)  'Material Number'.
      FORMAT COLOR COL_NORMAL.
      WRITE :          24(15) 'Material Type',
               40(18) 'Industry Sector',
               58(18) 'Material Group' .
    ENDIF.
    FORMAT INTENSIFIED OFF.
    FORMAT COLOR COL_KEY.
    WRITE : /5(16)   wa_mara-matnr.
    FORMAT COLOR COL_NORMAL.
    WRITE :  24(15)  wa_mara-mtart,
             40(18)  wa_mara-mbrsh,
             58(18)  wa_mara-matkl.


&amp;lt;b&amp;gt;*You can assume some sort of buffer is created in the memory  and the values of
* wa_mara-matnr are put into it when you use the HIDE command&amp;lt;/b&amp;gt;   


 HIDE wa_mara-matnr.


  ENDLOOP.


&amp;lt;b&amp;gt;*Now when user Double clicks a line (AT LINE-SELECTION event is trigerred) and
*the line contents of the line selected and the contents buffered using
*command  interact and the value for the hidden variable is got into the variable
*refrenced using the HIDE command i.e..  wa_mara-matnr in our case&amp;lt;/b&amp;gt;


AT LINE-SELECTION.


  IF sy-lsind = 1.

    FORMAT INTENSIFIED ON.
    WRITE:     'Plant Data for Material  '  COLOR COL_NORMAL,
                35   wa_mara-matnr COLOR COL_TOTAL.

    REFRESH t_marc.

&amp;lt;b&amp;gt;* Now I have the value of the Material in my hidden variable wa_mara-matnr
* Based on this I am selecting the Storage Location Data&amp;lt;/b&amp;gt;    


SELECT matnr
           werks
           pstat
           ekgrp
           dispr
           FROM marc
           INTO TABLE t_marc
           WHERE matnr = wa_mara-matnr.

    CLEAR wa_marc.
    FORMAT INTENSIFIED OFF.
    FORMAT COLOR COL_NORMAL.
    LOOP AT t_marc INTO wa_marc.

      IF sy-tabix EQ 1.

        FORMAT INTENSIFIED ON.
        FORMAT COLOR COL_NORMAL.
        WRITE :  /24(6)  'Plant',
                 30(22) 'Maintenance status',
                 52(20) 'Purchasing Group',
                 72(27)  'Material: MRP profile'.

      ENDIF.

      WRITE : /24(6)   wa_marc-werks,
               30(22)  wa_marc-pstat,
               52(20)  wa_marc-ekgrp,
               72(27) wa_marc-dispr.


      CLEAR wa_marc.

    ENDLOOP.

    SKIP 5.

    FORMAT INTENSIFIED ON.
    WRITE:     'Storage Data for Material  '  COLOR COL_NORMAL,
              35     wa_mara-matnr COLOR COL_TOTAL.
    REFRESH t_mard.
    SELECT matnr
           werks
           lgort
           lfgja
           labst
           umlme
           FROM mard
           INTO TABLE t_mard
           WHERE matnr = wa_mara-matnr.

    CLEAR wa_mard.
    FORMAT COLOR COL_NORMAL.


&amp;lt;b&amp;gt;* Display the Storage Location Data in the Secondary List&amp;lt;/b&amp;gt;


    LOOP AT t_mard INTO wa_mard.

      IF sy-tabix EQ 1.

        FORMAT INTENSIFIED ON.
        FORMAT COLOR COL_NORMAL.
        WRITE :  /24(6)  'Plant',
                 30(20) 'Storage Location',
                 50(12) 'Fiscal Year',
                 62(15) 'Valuated stock',
                 77(20)    'Stock in transfer'.
      ENDIF.




      WRITE : /24(6)  wa_mard-werks,
               30(20) wa_mard-lgort,
               50(12)  wa_mard-lfgja,
               62(15) wa_mard-labst,
               77(20) wa_mard-labst.


    ENDLOOP.

  ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arun Sambargi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jun 2006 13:56:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-reports/m-p/1411644#M198232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-19T13:56:42Z</dc:date>
    </item>
  </channel>
</rss>

