<?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: REGARDING SAP SCRIPT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988029#M705677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually you can't use the LOOPs in the VAR windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I would suggest to take the max number variables of the lines for that window.&lt;/P&gt;&lt;P&gt;Assign each lines of the table to that varaible and print all variables in that window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;mat1 = itab-matnr.&lt;/P&gt;&lt;P&gt;read table itab index 2.&lt;/P&gt;&lt;P&gt;mat2 = itab-matnr.&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the VAR type window&lt;/P&gt;&lt;P&gt;&amp;amp;MAT1&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;MAT2&amp;amp;&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;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2007 15:43:18 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2007-11-01T15:43:18Z</dc:date>
    <item>
      <title>REGARDING SAP SCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988028#M705676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts!&lt;/P&gt;&lt;P&gt;i have a problem in sap script.can anyone help me out.&lt;/P&gt;&lt;P&gt;my scenerio is that i have to use a loop in two windows.&lt;/P&gt;&lt;P&gt;name of first window h1 type var&lt;/P&gt;&lt;P&gt;name of 2nd window main type main.&lt;/P&gt;&lt;P&gt;when i use that loop in main it gives me required output that is&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;material &lt;/P&gt;&lt;P&gt;s1&lt;/P&gt;&lt;P&gt;s2&lt;/P&gt;&lt;P&gt;s3&lt;/P&gt;&lt;P&gt;but when i use that loop in h1 window&lt;/P&gt;&lt;P&gt;it gives me output&lt;/P&gt;&lt;P&gt;material&lt;/P&gt;&lt;P&gt;s3&lt;/P&gt;&lt;P&gt;s3&lt;/P&gt;&lt;P&gt;s3&lt;/P&gt;&lt;P&gt;can anyone help me with that&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 15:30:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988028#M705676</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T15:30:59Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING SAP SCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988029#M705677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually you can't use the LOOPs in the VAR windows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I would suggest to take the max number variables of the lines for that window.&lt;/P&gt;&lt;P&gt;Assign each lines of the table to that varaible and print all variables in that window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;read table itab index 1.&lt;/P&gt;&lt;P&gt;mat1 = itab-matnr.&lt;/P&gt;&lt;P&gt;read table itab index 2.&lt;/P&gt;&lt;P&gt;mat2 = itab-matnr.&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and in the VAR type window&lt;/P&gt;&lt;P&gt;&amp;amp;MAT1&amp;amp;&lt;/P&gt;&lt;P&gt;&amp;amp;MAT2&amp;amp;&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;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 15:43:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988029#M705677</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2007-11-01T15:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: REGARDING SAP SCRIPT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988030#M705678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jawad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Some where you are not clearing the work area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; clear work areas after append, modify statements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points if it helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2007 16:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-sap-script/m-p/2988030#M705678</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-01T16:34:24Z</dc:date>
    </item>
  </channel>
</rss>

