<?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: Code not Working: Please advice corrections.. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653092#M289963</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This refers to your reply to my problem.&lt;/P&gt;&lt;P&gt;Shall you please be kind enough to please let me know whether will I have to declare this workarea first in the declaration part, if so how. I haven't worked with workarea yet. Hence this request please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Oct 2006 04:52:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-26T04:52:02Z</dc:date>
    <item>
      <title>Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653081#M289952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;I am working with the following code in order to delete all those records from my ztable (zvdelivery1) that do not have the MATNR (mat.no.) of 18 characters. In other words I wish to delete the corrupt data from this table but there is something wrong with this code as it's not deleting the said data.&lt;/P&gt;&lt;P&gt;Kindly have a look and advise the corrections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a&lt;SUB&gt;matnr a&lt;/SUB&gt;box_no a&lt;SUB&gt;dat a&lt;/SUB&gt;excise_from a&lt;SUB&gt;excise_to a&lt;/SUB&gt;box_size1&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from zvdelivery1 as a where&lt;/P&gt;&lt;P&gt;plant eq '1010'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;count = strlen( itab-matnr ).&lt;/P&gt;&lt;P&gt;if count lt 18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;main_table-matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;main_table-box_no = itab-box_no.&lt;/P&gt;&lt;P&gt;main_table-dat = itab-dat.&lt;/P&gt;&lt;P&gt;main_table-excise_from = itab-excise_from.&lt;/P&gt;&lt;P&gt;main_table-excise_to = itab-excise_to.&lt;/P&gt;&lt;P&gt;main_table-box_size1 = itab-box_size1.&lt;/P&gt;&lt;P&gt;append main_table.&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;loop at main_table.&lt;/P&gt;&lt;P&gt;DELETE from zvdelivery1&lt;/P&gt;&lt;P&gt;WHERE MATNR = MAIN_TABLE-MATNR AND&lt;/P&gt;&lt;P&gt;      BOX_NO = main_table-box_no.&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;end-of-selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653081#M289952</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653082#M289953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just remove the leading or the trailing spaces/zeroes from the&lt;/P&gt;&lt;P&gt;itab-matnr then use the function STRLEN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;abhishek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Abhishek Suppal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Abhishek Suppal&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:50:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653082#M289953</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T06:50:47Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653083#M289954</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;if you have problem with the leading 0 before the material code, you could use this function :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONVERSION_EXIT_MATN1_INPUT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have fun&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 06:55:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653083#M289954</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2006-10-20T06:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653084#M289955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem is with the COUNT variable. You may use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHIFT count RIGHT DELETING TRAILING '0'.&lt;/P&gt;&lt;P&gt;SHIFT count LEFT DELETING LEADING '0'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apart from that, a small suggestion. From the select query and the loop immediately below that, I understand that you have already taken all the unwanted data in MAIN_TABLE. If so, you need not loop through it to delete from database table ZVDELIVERY1. Instead without looping, you can write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DELETE zvdelivery1 FROm MAIN_TABLE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As all the fields are same as zvdelivery table and values are taken from dbtable only. This statement will improve performance as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you have any further queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't forget to mark helpful answers!&lt;/P&gt;&lt;P&gt;Gaurav Parmar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:01:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653084#M289955</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653085#M289956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Abhishek it seems that you didn't understand my requirement. Issue is not of trailing or leading zeros, the corrupt data contains periods (.), underscores(_) and all sorts of unwanted characters and all these material nos donot have full 18 digits. Hence the only way possible to write the code to delete them at once..and hence I had adopted the logic of computing the string length.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anythanks a lot for responding..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:02:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653085#M289956</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653086#M289957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do like this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;constants : c_18 type c value '18'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab into wa_itab.&lt;/P&gt;&lt;P&gt;count = strlen( itab-matnr ).&lt;/P&gt;&lt;P&gt;if count lt c_18.&lt;/P&gt;&lt;P&gt;move the data to maintable.&lt;/P&gt;&lt;P&gt;else.&lt;/P&gt;&lt;P&gt;delete itab.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;nagaraj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653086#M289957</guid>
      <dc:creator>former_member404244</dc:creator>
      <dc:date>2006-10-20T07:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653087#M289958</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, thanks for responding.&lt;/P&gt;&lt;P&gt;The problem, I'll say once again, is not of leading or trailing zeros. Requirement is very simple..to delete all the records from the table in which matnr is not of 18 characters. Hence I had gone for STRLEN to compute the length of the contents of matnr and if they are less than 18 --&amp;gt; Delete that particular record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried with modifying this code a little bit..and the same resulted with deletion of only one record and leaving rest of them in the table..may be just deleting the record residing in the header of my table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please have another look to it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks once again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:15:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653087#M289958</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653088#M289959</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alok , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got ur query ,,&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------------------------------------" /&gt;&lt;P&gt;loop at main_table.&lt;/P&gt;&lt;P&gt;DELETE from zvdelivery1&lt;/P&gt;&lt;P&gt;WHERE MATNR = MAIN_TABLE-MATNR AND&lt;/P&gt;&lt;P&gt;BOX_NO = main_table-box_no.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;get the main_table contents into itab where &lt;/P&gt;&lt;P&gt;as u say the matnr can be v*-.1234aofdmcpilo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so ur itab will be like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matnr              |  box no |  date    &lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------------------------------" /&gt;&lt;P&gt;v*-.1234aofdmcpilo |  20     | 10122006&lt;/P&gt;&lt;P&gt;K#$%^&amp;amp;*ASDIFNIFDID |  30     | 11232006&lt;/P&gt;&lt;P&gt;$@%&amp;amp;&amp;amp;*43943434DFDDD|  40     | 12232006   &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so get the whole contents into ur itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now  use only this &lt;/P&gt;&lt;P&gt;DELETE ZDELIVERY1 FROM TABLE MAIN_TABLE .&lt;/P&gt;&lt;P&gt;if  sy-subrc eq 0 .&lt;/P&gt;&lt;P&gt;write:/ records deleted.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE.&lt;/P&gt;&lt;P&gt;DONT PUT THIS(DELETE STATEMENT ) IN A LOOP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 07:30:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653088#M289959</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T07:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653089#M289960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest to put a break-point after you collect the data in Main_table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here check the contents of main_table, if it has all the records (ones with less than 18 in lenght). If yes than the problem is with the delete loop otherwise in strlen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anurag&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 08:35:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653089#M289960</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653090#M289961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the matnr and box_no are the primary keys of your table?&lt;/P&gt;&lt;P&gt;try deleting the records with all the primary keys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Anu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 09:14:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653090#M289961</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T09:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653091#M289962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you check with having a work area instead of internal table with header line? Sometimes header line is a big headache. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at main_table into wa_maintable.&lt;/P&gt;&lt;P&gt;DELETE from zvdelivery1&lt;/P&gt;&lt;P&gt;WHERE MATNR = wa_MAINTABLE-MATNR AND&lt;/P&gt;&lt;P&gt;BOX_NO = wa_maintable-box_no.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try testing using this work area solution. Might help you solve the prob.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 09:38:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653091#M289962</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-20T09:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653092#M289963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This refers to your reply to my problem.&lt;/P&gt;&lt;P&gt;Shall you please be kind enough to please let me know whether will I have to declare this workarea first in the declaration part, if so how. I haven't worked with workarea yet. Hence this request please.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 04:52:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653092#M289963</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-26T04:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Code not Working: Please advice corrections..</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653093#M289964</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;select a&lt;SUB&gt;matnr a&lt;/SUB&gt;box_no a&lt;SUB&gt;dat a&lt;/SUB&gt;excise_from a&lt;SUB&gt;excise_to a&lt;/SUB&gt;box_size1&lt;/P&gt;&lt;P&gt;into corresponding fields of table itab&lt;/P&gt;&lt;P&gt;from zvdelivery1 as a where&lt;/P&gt;&lt;P&gt;plant eq '1010'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;count = strlen( itab-matnr ).&lt;/P&gt;&lt;P&gt;if count lt 18.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete zdelivery1 where matnr = itab-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Oct 2006 05:01:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/code-not-working-please-advice-corrections/m-p/1653093#M289964</guid>
      <dc:creator>jayanthi_jayaraman</dc:creator>
      <dc:date>2006-10-26T05:01:03Z</dc:date>
    </item>
  </channel>
</rss>

