<?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: Error when trying to use hide statement in my code... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618498#M276846</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;I tried again doing what you advised butit is giving me an error saying cannot be used for lines of internal tables. Sorry for bothering you. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Sep 2006 01:38:33 GMT</pubDate>
    <dc:creator>aris_hidalgo</dc:creator>
    <dc:date>2006-09-15T01:38:33Z</dc:date>
    <item>
      <title>Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618494#M276842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having problems using the hide statement in my code. Here is the error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIDE is not allowed for lines of internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  write results&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    LOOP AT it_output ASSIGNING &amp;lt;fs_output&amp;gt;.&lt;/P&gt;&lt;P&gt;FORMAT INTENSIFIED OFF COLOR = lv_color.&lt;/P&gt;&lt;P&gt;      WRITE:  /    sy-vline.&lt;/P&gt;&lt;P&gt;      FORMAT HOTSPOT ON.&lt;/P&gt;&lt;P&gt;      IF &amp;lt;fs_output&amp;gt;-parent IS INITIAL.&lt;/P&gt;&lt;P&gt;        WRITE: (17) &amp;lt;fs_output&amp;gt;-asset_subnum    CENTERED.&lt;/P&gt;&lt;P&gt;        HIDE &amp;lt;fs_output&amp;gt;-asset_subnum.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        WRITE: (17) &amp;lt;fs_output&amp;gt;-asset_subnum    RIGHT-JUSTIFIED.&lt;/P&gt;&lt;P&gt;        HIDE &amp;lt;fs_output&amp;gt;-asset_subnum.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      FORMAT HOTSPOT OFF.&lt;/P&gt;&lt;P&gt;      WRITE: (17) &amp;lt;fs_output&amp;gt;-parent_subnum     CENTERED,&lt;/P&gt;&lt;P&gt;             (30) &amp;lt;fs_output&amp;gt;-funcloc           CENTERED,&lt;/P&gt;&lt;P&gt;             (40) &amp;lt;fs_output&amp;gt;-description       CENTERED.&lt;/P&gt;&lt;P&gt;      IF p_equip = 'X'.&lt;/P&gt;&lt;P&gt;        FORMAT HOTSPOT ON.&lt;/P&gt;&lt;P&gt;        WRITE: (18) &amp;lt;fs_output&amp;gt;-equip_num       CENTERED.&lt;/P&gt;&lt;P&gt;        HIDE &amp;lt;fs_output&amp;gt;-equip_num.&lt;/P&gt;&lt;P&gt;        FORMAT HOTSPOT OFF.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;      WRITE: (15) &amp;lt;fs_output&amp;gt;-asset_sub         CENTERED,&lt;/P&gt;&lt;P&gt;             (40) &amp;lt;fs_output&amp;gt;-location          CENTERED,&lt;/P&gt;&lt;P&gt;             (15) &amp;lt;fs_output&amp;gt;-accq_cost         CENTERED,&lt;/P&gt;&lt;P&gt;             (20) &amp;lt;fs_output&amp;gt;-acc_dep           CENTERED,&lt;/P&gt;&lt;P&gt;             (20) &amp;lt;fs_output&amp;gt;-asset_book_val    CENTERED,&lt;/P&gt;&lt;P&gt;             sy-vline.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, I am trying to hide the values of &amp;lt;fs_output&amp;gt;-asset_subnum and&lt;/P&gt;&lt;P&gt;&amp;lt;fs_output&amp;gt;-equip_num. Any help on this will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S. Also, can we split the values of &amp;lt;fs_output&amp;gt;-asset_subnum and put it in 2 variables then&lt;/P&gt;&lt;P&gt;hide those variabales? Thanks a lot guys!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:16:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618494#M276842</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T01:16:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618495#M276843</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;  Use the INTO structure instead of assigning..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s_output like it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_output into s_output.&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 s_output-asset_subnum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:23:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618495#M276843</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618496#M276844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Narendran, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to do what you advised but it is giving me an error saying that "IT_OUTPUT cannot be converted to the line type of WA_OUTPUT3".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I declared wa_output3 as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: wa_output3 like it_output.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618496#M276844</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T01:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618497#M276845</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;  How you have declared the field-symbols &amp;lt;fs_output&amp;gt;..declare it in the same way..like..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field-symbols &amp;lt;fs_output&amp;gt; type xxxx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s_output type xxx...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                OR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s_output like line of it_output.&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:33:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618497#M276845</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:33:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618498#M276846</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;I tried again doing what you advised butit is giving me an error saying cannot be used for lines of internal tables. Sorry for bothering you. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:38:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618498#M276846</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-09-15T01:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618499#M276847</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;Check this code..This is working fine for me..Use the same method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: t_mara type standard table of mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: s_mara type mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * up to 10 rows&lt;/P&gt;&lt;P&gt;       from mara&lt;/P&gt;&lt;P&gt;       into table t_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_mara into s_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  write: / s_mara-matnr.&lt;/P&gt;&lt;P&gt;  hide s_mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&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;write: / s_mara-matnr.&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;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 01:39:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618499#M276847</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T01:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Error when trying to use hide statement in my code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618500#M276848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  The problem is because yo uare using field symbols.&lt;/P&gt;&lt;P&gt;  Hide statements work only on objects which are of flat.&lt;/P&gt;&lt;P&gt;  it is clearly mentioned in the F1 help for HIDE    &lt;/P&gt;&lt;P&gt;  that 'HIDE' cannot be used on field symbols. I hope   &lt;/P&gt;&lt;P&gt;  this solves your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Sep 2006 03:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-when-trying-to-use-hide-statement-in-my-code/m-p/1618500#M276848</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-15T03:54:26Z</dc:date>
    </item>
  </channel>
</rss>

