<?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: How to write fields dynamically using &amp;quot;Write command&amp;quot; in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552031#M854628</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kripa, CSY,kamala,bharathi vipparthi.&lt;/P&gt;&lt;P&gt;Thanx u all for yr suggestion.&lt;/P&gt;&lt;P&gt;Bt agn i have a doubt.Plz clear it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  if the output has all 12 fileds&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   4_tym  5_tym...12_ty&lt;/P&gt;&lt;P&gt;pb01       1           2       0           2           1        3          2&lt;/P&gt;&lt;P&gt;pb01       3           2       1           5           4         2         2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if the output has only 3 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   4_tym  5_tym...12_ty&lt;/P&gt;&lt;P&gt;pb01       1           2       0           2          -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;       -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;          ---&lt;/P&gt;&lt;P&gt;pb01       3           2       1           5          -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;        -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;        ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case i need to display like:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   &lt;/P&gt;&lt;P&gt;pb01       1           2       0           2         &lt;/P&gt;&lt;P&gt;pb01       3           2       1           5         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So nw plz tell me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Mar 2008 10:24:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-28T10:24:37Z</dc:date>
    <item>
      <title>How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552026#M854623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;Help me in displaying fields dynamically using "Write Command".I have declared n internal table &lt;EM&gt;it_consistancy&lt;/EM&gt; with fields like&lt;/P&gt;&lt;P&gt;0_tym,1_tym,2_tym.......so on so forth 12_tym.But in the display part somaetyms it may have only 4 fields n sometyms it may have 6 fields.How I can display it using simaple write command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz help me out in solving the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanx in advance.&lt;/P&gt;&lt;P&gt;Prashant Tiwari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:42:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552026#M854623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552027#M854624</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; In Loop, just before the write statment, put one condition(depends on you requirement) so that it will print what ever you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;CS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552027#M854624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552028#M854625</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;You do like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_consistancy.  "it_consistancy is table with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / it_consistancy.&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;What ever be the fields in the it_consistancy, you have to display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552028#M854625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552029#M854626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Prashant,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Just loop at the internal table and incase if you have something you ll get that in the report output otherwise a blank line&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_consistency. "if it_consistency is an internal table with header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write: / it_consistency.&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;STRONG&gt;If you dont want the blank line then put a condition&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;loop at it_consistency. "if it_consistency is an internal table with header line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not it_consistency is initial.&lt;/P&gt;&lt;P&gt;write: / it_consistency.&lt;/P&gt;&lt;P&gt;endif.&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;Hope this helps a bit ...&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;Cheers &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Kripa Rangachari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:51:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552029#M854626</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552030#M854627</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 loop the internal table with a condition before loop which solves the problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not it_consistency is initial.&lt;/P&gt;&lt;P&gt;write: / it_consistency.&lt;/P&gt;&lt;P&gt;endif.&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;reward if found useful,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 09:54:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552030#M854627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T09:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to write fields dynamically using "Write command"</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552031#M854628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kripa, CSY,kamala,bharathi vipparthi.&lt;/P&gt;&lt;P&gt;Thanx u all for yr suggestion.&lt;/P&gt;&lt;P&gt;Bt agn i have a doubt.Plz clear it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)  if the output has all 12 fileds&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   4_tym  5_tym...12_ty&lt;/P&gt;&lt;P&gt;pb01       1           2       0           2           1        3          2&lt;/P&gt;&lt;P&gt;pb01       3           2       1           5           4         2         2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) if the output has only 3 fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   4_tym  5_tym...12_ty&lt;/P&gt;&lt;P&gt;pb01       1           2       0           2          -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;       -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;          ---&lt;/P&gt;&lt;P&gt;pb01       3           2       1           5          -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;        -&lt;/P&gt;&lt;HR originaltext="----" /&gt;&lt;P&gt;        ---&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case i need to display like:- &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plant     0_tym   1_tym  2_tym  3_tym   &lt;/P&gt;&lt;P&gt;pb01       1           2       0           2         &lt;/P&gt;&lt;P&gt;pb01       3           2       1           5         &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So nw plz tell me how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thnx in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Mar 2008 10:24:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-write-fields-dynamically-using-quot-write-command-quot/m-p/3552031#M854628</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-28T10:24:37Z</dc:date>
    </item>
  </channel>
</rss>

