<?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 regarding excel file in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-excel-file/m-p/2401760#M535111</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         my reqirement on excelsheet.one of the condition is that file will be rejected when more than one company code or more than 200 line item per document...the comapny code in the excelsheet is col06,and the line item is col24.how can we write code for this ..?wht am i checking the coding is not working so,send me useful code.it isreally very urgent..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;I repeat per document not per file&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2007 10:38:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-06T10:38:16Z</dc:date>
    <item>
      <title>regarding excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-excel-file/m-p/2401760#M535111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;         my reqirement on excelsheet.one of the condition is that file will be rejected when more than one company code or more than 200 line item per document...the comapny code in the excelsheet is col06,and the line item is col24.how can we write code for this ..?wht am i checking the coding is not working so,send me useful code.it isreally very urgent..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;I repeat per document not per file&amp;lt;/b&amp;gt; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 10:38:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-excel-file/m-p/2401760#M535111</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T10:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: regarding excel file</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-excel-file/m-p/2401761#M535112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;          what i can understand from your question that only you want to write those records which have lt 200 items for the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sort it_datatab by col06.&lt;/P&gt;&lt;P&gt;itab[] = it_dbtab[].&lt;/P&gt;&lt;P&gt;loop at it_datatab into wa_datatab.&lt;/P&gt;&lt;P&gt;at new col06. &lt;/P&gt;&lt;P&gt;*&amp;lt;or you can use on change of it_dbtab-col06 if col06 is not your first field&amp;gt; &lt;/P&gt;&lt;P&gt;v_bukrs = wa_datatab-col06. " take the company code into a variable&lt;/P&gt;&lt;P&gt;clear count.&lt;/P&gt;&lt;P&gt;endat.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cnt = cnt + 1 . &lt;/P&gt;&lt;P&gt;if cnt Gt 200 .&lt;/P&gt;&lt;P&gt;delete itab where col06 = v_bukrs.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now your itab contains the value which document no have lt 200 line items.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is also not satisfying your requirement then let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2007 10:40:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-excel-file/m-p/2401761#M535112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-06T10:40:24Z</dc:date>
    </item>
  </channel>
</rss>

