<?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: Sap Script  - looping through internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355037#M177338</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sravanthi said use FM WRITE_FORM_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;YJR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2006 05:43:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-19T05:43:40Z</dc:date>
    <item>
      <title>Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355031#M177332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having one internal table with multiple entries.&lt;/P&gt;&lt;P&gt;I want to display all entries of my internal table in one window.&lt;/P&gt;&lt;P&gt;I created one text element in my window and one variable.&lt;/P&gt;&lt;P&gt;The problem arises is - When my form gets displayed, only the last entry of my internal table is coming into the form.&lt;/P&gt;&lt;P&gt;Any pointers how to display all values in the form of my internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 03:44:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355031#M177332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T03:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355032#M177333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ru  append   into iternal table in driver  programm.&lt;/P&gt;&lt;P&gt;in sap script  it  show  only  last data  it's mean that u  used write  window  inside  loop of internal table  but   there is only  one value  in header (append  internal table....)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 03:48:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355032#M177333</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T03:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355033#M177334</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;I am passing the value of my internal table one by one to the variable in window.&lt;/P&gt;&lt;P&gt;The last line item of my internal table gets printed in the window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want all line items of my internal table to be displayed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any clue about that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 03:50:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355033#M177334</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T03:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355034#M177335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U should be calling the SAPScript using the FM &amp;lt;b&amp;gt;Write_Form&amp;lt;/b&amp;gt; inside the Loop Endloop of your internal table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point of time i think what u are doing is that u are passing the value of the Internal table into the variable one by one and then printing the variable with write_form. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 03:56:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355034#M177335</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2006-05-19T03:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355035#M177336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Anirban,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are right.&lt;/P&gt;&lt;P&gt;Attached is the source code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  LOOP AT gt_tline INTO wa_tline.&lt;/P&gt;&lt;P&gt;    PERFORM trigger_write_form USING 'SUM_TE' 'W26'.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Script, the code is:&lt;/P&gt;&lt;P&gt;/E	 	SUM_TE&lt;/P&gt;&lt;P&gt;/:	 	BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;P1	 	 &amp;amp;wa_tline-TDLINE&amp;amp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is happening in my script program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i have 4 entries in my internal table, i am able to see only 4th entry in my form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how to see all the four entries in my form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Tarun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 04:02:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355035#M177336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T04:02:41Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355036#M177337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using WRITE_FORM, use the MAIN window..&lt;/P&gt;&lt;P&gt;If you are using WRITE_FORM_LINES, you can directly use it in a normal window...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex: wa_tline is your internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In window MAIN&lt;/P&gt;&lt;P&gt;/E SUM_TE&lt;/P&gt;&lt;P&gt;/: BOX FRAME 10 TW&lt;/P&gt;&lt;P&gt;P1 &amp;amp;wa_tline-TDLINE&amp;amp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 04:37:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355036#M177337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T04:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355037#M177338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sravanthi said use FM WRITE_FORM_LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;YJR.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2006 05:43:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355037#M177338</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-19T05:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sap Script  - looping through internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355038#M177339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun,&lt;/P&gt;&lt;P&gt;Were you able to solve the problem? If yes how? I'm using a normal window and not the main window.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nidhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jul 2006 06:50:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-looping-through-internal-table/m-p/1355038#M177339</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-07-06T06:50:38Z</dc:date>
    </item>
  </channel>
</rss>

