<?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: Document Structure deletion. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-structure-deletion/m-p/9154838#M1710715</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this in the documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete all items in a BOM, a document structure with exactly one entry can be transferred (deletion flag is set; document number contains *).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Restrictions: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;The document key fields are equally keys for the BOM items, which means that a document may not be used for several items. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Nov 2012 10:22:17 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2012-11-21T10:22:17Z</dc:date>
    <item>
      <title>Document Structure deletion.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-structure-deletion/m-p/9154837#M1710714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P id="imcontent" style="margin-left: 12px;"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV dir="ltr"&gt;&lt;P dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Segoe UI'; font-size: 10pt;"&gt;We have a Scenario of Document sturcture where-&lt;BR /&gt;DRW_1 having Doc structure with (BKT_1 and BKT_2)&lt;BR /&gt;BKT_1 has Doc structure (BKT_5 and BKT_6)&lt;BR /&gt;&lt;BR /&gt;Using the out program , we want to mark "BKT_1" for Deletion for which the below points need to be taken care-&lt;BR /&gt;&lt;BR /&gt;1) Remove Doc structure from BKT_1 (Remove BKT_5 and BKT_6) – Happening perfectly with CSAP_DOC_BOM_DELETE &lt;BR /&gt;2) Since BKT_1 is part of DRW_1 we need to get rid of that association – Removes that one single BKT_1 from DRW_1 using BAPI - bapi_document_change2 , &lt;BR /&gt;&lt;BR /&gt;please note BKT_2 is still part of DRW_1&lt;BR /&gt;3) bapi_document_change2 removes that one Document from DRW_1, however retains record in “STPO” table due to which we are still unable to Mark BKT_1 for Deletion&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We tried using CS_SF_BOM_DELETE_FOR_ARCHIVE to mark only that specific record from “STPO” for deletion, however FM clears all the records related to the combination of STLNR and BOM Category as shown below- &lt;BR /&gt;&lt;BR /&gt;Meaning CS_SF_BOM_DELETE_FOR_ARCHIVE deletes both BKT_1 and BKT_2 from DRW_1 (entries deleted from “STPO” table) instead of only removing BKT_1.&lt;BR /&gt;&lt;BR /&gt;Please let us know if there is any BAPI or FM to delete one specific document from a parent Document and retain others in the list.Please note that we need something to remove from STPO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Segoe UI'; font-size: 10pt;"&gt;Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Segoe UI'; font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P dir="ltr"&gt;&lt;SPAN dir="ltr" style="font-family: 'Segoe UI'; font-size: 10pt;"&gt;Pavithranad.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 09:39:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-structure-deletion/m-p/9154837#M1710714</guid>
      <dc:creator>former_member804990</dc:creator>
      <dc:date>2012-11-21T09:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Document Structure deletion.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/document-structure-deletion/m-p/9154838#M1710715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure about this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found this in the documentation&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To delete all items in a BOM, a document structure with exactly one entry can be transferred (deletion flag is set; document number contains *).&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;Restrictions: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #666666; font-family: Arial, Verdana, Tahoma, Helvetica, sans-serif; font-size: 12px; background-color: #ffffff;"&gt;The document key fields are equally keys for the BOM items, which means that a document may not be used for several items. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Nov 2012 10:22:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/document-structure-deletion/m-p/9154838#M1710715</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2012-11-21T10:22:17Z</dc:date>
    </item>
  </channel>
</rss>

