<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676187#M618365</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;This statement stores - in the current list level - the content of the variable dobj together with the current list line whose line number is contained in sy-linno. 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;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 5 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;the output will be:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;and u will get the square and cubed value of the no. that u select in the next screen.&lt;/P&gt;&lt;P&gt;also try to run the report by commenting the hide statement...u will understand the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        anju sinha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 05:41:32 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-16T05:41:32Z</dc:date>
    <item>
      <title>HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676184#M618362</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;  Can anybody explain the function of HIDE keyword in detail?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676184#M618362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676185#M618363</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&lt;/P&gt;&lt;P&gt;To prevent the user from selecting invalid lines, ABAP/4 offers several possibilities. At the end of the processing block END-OF-SELECTION, delete the contents of one or more fields you previously stored for valid lines using the HIDE statement. At the event AT LINE-SELECTION, check whether the work area is initial or whether the HIDE statement stored field contents there. After processing the secondary list, clear the work area again. This prevents the user from trying to create further secondary lists from the secondary list displayed.&lt;/P&gt;&lt;P&gt;see the sample report using HIDE command&lt;/P&gt;&lt;P&gt;REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE&lt;/P&gt;&lt;P&gt;HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*TABLES DECLARATION&lt;/P&gt;&lt;P&gt;TABLES : KNA1, VBAK, VBAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECT OPTIONS&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*INITIALIZATION&lt;/P&gt;&lt;P&gt;INITIALIZATION.&lt;/P&gt;&lt;P&gt;CUST_NO-LOW = '01'.&lt;/P&gt;&lt;P&gt;CUST_NO-HIGH = '5000'.&lt;/P&gt;&lt;P&gt;CUST_NO-SIGN = 'I'.&lt;/P&gt;&lt;P&gt;CUST_NO-OPTION = 'BT'.&lt;/P&gt;&lt;P&gt;APPEND CUST_NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*SELECTION SCREEN VALIDATION&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON CUST_NO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT SCREEN.&lt;/P&gt;&lt;P&gt;IF CUST_NO-LOW &amp;lt; 1 OR CUST_NO-HIGH &amp;gt; 5000.&lt;/P&gt;&lt;P&gt;MESSAGE E001(ZTJ1).&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P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t;P&gt;*END OF PAGE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-PAGE.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',&lt;/P&gt;&lt;P&gt;SY-PAGNO.&lt;/P&gt;&lt;P&gt;SKIP.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form SALES_ORD&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp; FIRST SECONDARY LIST FORM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM SALES_ORD .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO&lt;/P&gt;&lt;P&gt;(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)&lt;/P&gt;&lt;P&gt;FROM VBAK&lt;/P&gt;&lt;P&gt;WHERE KUNNR = KNA1-KUNNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE:/1 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,&lt;/P&gt;&lt;P&gt;16 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,&lt;/P&gt;&lt;P&gt;40 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAK-ERDAT UNDER 'DATE',&lt;/P&gt;&lt;P&gt;60 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAK-ERNAM UNDER 'CREATOR',&lt;/P&gt;&lt;P&gt;85 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAK-AUDAT UNDER 'DOC DATE',&lt;/P&gt;&lt;P&gt;103 SY-VLINE.&lt;/P&gt;&lt;P&gt;HIDE : VBAK-VBELN.&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;ENDFORM. " SALES_ORD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Form ITEM_DET&lt;/P&gt;&lt;P&gt;*&amp;amp;&lt;/P&gt;&lt;P&gt;*&amp;amp; SECOND SECONDARY LIST FORM&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM ITEM_DET .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT VBELN POSNR KWMENG INTO&lt;/P&gt;&lt;P&gt;(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)&lt;/P&gt;&lt;P&gt;FROM VBAP&lt;/P&gt;&lt;P&gt;WHERE VBELN = VBAK-VBELN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : /1 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAP-VBELN UNDER 'SALES ORDER NO.',&lt;/P&gt;&lt;P&gt;40 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAP-POSNR UNDER 'SALES ITEM NO.',&lt;/P&gt;&lt;P&gt;60 SY-VLINE,&lt;/P&gt;&lt;P&gt;VBAP-KWMENG UNDER 'ORDER QUANTITY',&lt;/P&gt;&lt;P&gt;103 SY-VLINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;ULINE.&lt;/P&gt;&lt;P&gt;ENDFORM. " ITEM_DET&lt;/P&gt;&lt;P&gt;************************************************************************&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_at_pf.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT pf5.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT pf6.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT pf7.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AT pf8.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM out.&lt;/P&gt;&lt;P&gt;WRITE: 'Secondary List by PF-Key Selection',&lt;/P&gt;&lt;P&gt;/ 'SY-LSIND =', sy-lsind,&lt;/P&gt;&lt;P&gt;/ 'SY-UCOMM =', sy-ucomm.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondary List by PF-Key Selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-LSIND = 14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-UCOMM = PF06&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 for AT USER-COMMAND.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;WRITE: 'Basic List',&lt;/P&gt;&lt;P&gt;/ 'SY-LSIND:', sy-lsind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TOP-OF-PAGE.&lt;/P&gt;&lt;P&gt;WRITE 'Top-of-Page'.&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 'TEST'.&lt;/P&gt;&lt;P&gt;WRITE 'Self-defined GUI for Function Codes'.&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 LINE-SELECTION.&lt;/P&gt;&lt;P&gt;SET PF-STATUS 'TEST' EXCLUDING 'PICK'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;sy-lsind = sy-lsind - 1.&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 'FC1'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;WRITE / 'Button FUN 1 was pressed'.&lt;/P&gt;&lt;P&gt;WHEN 'FC2'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;WRITE / 'Button FUN 2 was pressed'.&lt;/P&gt;&lt;P&gt;WHEN 'FC3'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;WRITE / 'Button FUN 3 was pressed'.&lt;/P&gt;&lt;P&gt;WHEN 'FC4'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;WRITE / 'Button FUN 4 was pressed'.&lt;/P&gt;&lt;P&gt;WHEN 'FC5'.&lt;/P&gt;&lt;P&gt;PERFORM out.&lt;/P&gt;&lt;P&gt;WRITE / 'Button FUN 5 was pressed'.&lt;/P&gt;&lt;P&gt;ENDCASE.&lt;/P&gt;&lt;P&gt;sy-lsind = sy-lsind - 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM out.&lt;/P&gt;&lt;P&gt;WRITE: 'Secondary List',&lt;/P&gt;&lt;P&gt;/ 'SY-LSIND:', sy-lsind,&lt;/P&gt;&lt;P&gt;/ 'SY-PFKEY:', sy-pfkey.&lt;/P&gt;&lt;P&gt;ENDFORM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you run the program, the system displays the following basic list with a the page header defined in the program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Omkar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:40:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676185#M618363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676186#M618364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;  Hide is the keyword used to store data to dispaly that data in next levelof secondary  list in an interactivelist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for ex if sales order information is thr in internal table it_vbak to print only sales order number in secondary list u just write &lt;/P&gt;&lt;P&gt;  hide it_vbak-vbeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now this can be used to display in secondary list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;sandhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:41:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676186#M618364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676187#M618365</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;This statement stores - in the current list level - the content of the variable dobj together with the current list line whose line number is contained in sy-linno. 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;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 5 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;the output will be:&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;and u will get the square and cubed value of the no. that u select in the next screen.&lt;/P&gt;&lt;P&gt;also try to run the report by commenting the hide statement...u will understand the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        anju sinha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:41:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676187#M618365</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676188#M618366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hide will store the value of the field that you click.&lt;/P&gt;&lt;P&gt;It should be right next to the corresponding WRITE statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this will be help in Interactive report &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;go thru the transcation code ABAPDOCU keyword help&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward if it is helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676188#M618366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676189#M618367</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 statement holds the data to be displayed in the secondary list. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward points to all helpful answers &lt;/P&gt;&lt;P&gt;kiran.M&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676189#M618367</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: HIDE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676190#M618368</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 keyword in simple words used to hide data. i.e it may be a single value or a workarea or even a ntier internal table. generally system creates a temporary buffer and hides data in that which is given using hide statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hide is only used after u display output in reports and in END-OF-SELECTION event as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-OF-SELECTION&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;hide p_vbeln. // a parameter value&lt;/P&gt;&lt;P&gt;       wa_mara. // workarea&lt;/P&gt;&lt;P&gt;       itab. // internal table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if helpful reward some points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards,&lt;/P&gt;&lt;P&gt;Suresh Aluri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 05:53:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hide/m-p/2676190#M618368</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T05:53:34Z</dc:date>
    </item>
  </channel>
</rss>

