<?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: delete in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360079#M178923</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Priya,&lt;/P&gt;&lt;P&gt;   WELCOME TO SDN..&lt;/P&gt;&lt;P&gt;go to &amp;lt;b&amp;gt;AL11&amp;lt;/b&amp;gt; Transaction and check for the record there i.,e, the path where u have passed the file on application server...&lt;/P&gt;&lt;P&gt;Reg the deletion of a record from a file in application layer is possible only by uploading the file data in to internal table delete the record and then resend to application server&lt;/P&gt;&lt;P&gt;i.e, &lt;/P&gt;&lt;P&gt;1. Read file with OPEN DATASET / READ DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;2. Delete the file that you want to delete&lt;/P&gt;&lt;P&gt;3. Transfer the file with the deleted record OPEN DATASET / TRANSFER DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;Note: Reward Points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 May 2006 16:50:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-05-05T16:50:36Z</dc:date>
    <item>
      <title>delete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360078#M178922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In BDC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to delete a particular record in a file in application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also i want to find the file in application server..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is fbb1 transaction.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 16:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360078#M178922</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T16:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: delete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360079#M178923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Priya,&lt;/P&gt;&lt;P&gt;   WELCOME TO SDN..&lt;/P&gt;&lt;P&gt;go to &amp;lt;b&amp;gt;AL11&amp;lt;/b&amp;gt; Transaction and check for the record there i.,e, the path where u have passed the file on application server...&lt;/P&gt;&lt;P&gt;Reg the deletion of a record from a file in application layer is possible only by uploading the file data in to internal table delete the record and then resend to application server&lt;/P&gt;&lt;P&gt;i.e, &lt;/P&gt;&lt;P&gt;1. Read file with OPEN DATASET / READ DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;2. Delete the file that you want to delete&lt;/P&gt;&lt;P&gt;3. Transfer the file with the deleted record OPEN DATASET / TRANSFER DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;P&gt;Note: Reward Points if helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 16:50:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360079#M178923</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: delete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360080#M178924</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Priya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. You will read the file into a internal table &lt;/P&gt;&lt;P&gt;    OPEN  DATASET / READ  DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Delete the row that you don't want in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Now write the data back to the file&lt;/P&gt;&lt;P&gt;    OPEN  DATASET / TRANSFER  DATASET / CLOSE DATASET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, if this is a one time activity, just open the file and do the edit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 17:00:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360080#M178924</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T17:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: delete</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360081#M178925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Priya,&lt;/P&gt;&lt;P&gt;   For deletein a particular record in a file on appl server,&lt;/P&gt;&lt;P&gt;1) Read the file into an internal table&lt;/P&gt;&lt;P&gt;open dataset file for input in text mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DO. &lt;/P&gt;&lt;P&gt;  READ DATASET file INTO itab. &lt;/P&gt;&lt;P&gt;  IF sy-subrc = 0. &lt;/P&gt;&lt;P&gt;   append itab.&lt;/P&gt;&lt;P&gt;  ELSE. &lt;/P&gt;&lt;P&gt;    EXIT. &lt;/P&gt;&lt;P&gt;  ENDIF. &lt;/P&gt;&lt;P&gt;ENDDO. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delete the record in the itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete table itab where &amp;lt;condition&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;again open the file in output mode and rewrite the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;open dataset file for output in text mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;transfer itab to file.&lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLOSE DATASET file. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2006 17:03:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/delete/m-p/1360081#M178925</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-05T17:03:36Z</dc:date>
    </item>
  </channel>
</rss>

