<?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: Archive Material BOM issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094398#M101721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archive with direct deletion has some limitations on deleting the data from database -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&lt;/P&gt;&lt;P&gt;If a data record is used in another alternative BOM, then it is not physically deleted from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dependencies&lt;/P&gt;&lt;P&gt;In the Archive Customizing object CS_BOM, you select whether the deletion run starts automatically when you connect to the archiving run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The deletion run is only carried out when the start automatically indicator is set in Archive Customizing for the archiving object CS_BOM.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Please Check your customizing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Nov 2005 07:31:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-04T07:31:28Z</dc:date>
    <item>
      <title>Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094397#M101720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone &lt;/P&gt;&lt;P&gt; I wanna archive all material BOM in a client server.&lt;/P&gt;&lt;P&gt;The client server only contain the material and BOM data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using transaction code :CS28 and using object " CS_BOM " . The archive steps are:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. actions-&amp;gt;write&lt;/P&gt;&lt;P&gt;2. create a variant called "BOM"&lt;/P&gt;&lt;P&gt;3. in "BOM" variant maintainence screen,&lt;/P&gt;&lt;P&gt;      select "archive with direct deletion" ,&lt;/P&gt;&lt;P&gt;      select "selection by delete indicator" ,&lt;/P&gt;&lt;P&gt;      select " archive material BOM"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4.  add description attribute for BOM variant.&lt;/P&gt;&lt;P&gt;5.  save variant and execute the job.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, when i saw the job overview , the created job is  in complete status within several seconds. And i go to CS03 , there is still BOM record existed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do anyone know the correct way of archiving material BOM?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 06:46:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094397#M101720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T06:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094398#M101721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archive with direct deletion has some limitations on deleting the data from database -&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Note&lt;/P&gt;&lt;P&gt;If a data record is used in another alternative BOM, then it is not physically deleted from the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dependencies&lt;/P&gt;&lt;P&gt;In the Archive Customizing object CS_BOM, you select whether the deletion run starts automatically when you connect to the archiving run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The deletion run is only carried out when the start automatically indicator is set in Archive Customizing for the archiving object CS_BOM.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Please Check your customizing .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 07:31:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094398#M101721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T07:31:28Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094399#M101722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx Sanjay. Actually, this client server only upload material and material BOM by using LSMW. It should not has alternative BOM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to select all BOM for archiving including material BOMs, document structures, equip. BOM , Locatoin BOM, SO BOM, standard BOM, WBS BOMs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And i also have checked the customizing setting. "The Delete jobs start automically " is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, it seems still not working...&lt;/P&gt;&lt;P&gt;Is it related to the problem of "addional restrictions to the archived  BOMs? I dont input anything in this selection area.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 07:52:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094399#M101722</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T07:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094400#M101723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You selected "Selection By Del Indicator". &lt;/P&gt;&lt;P&gt;Are your BOMs marked for deletion. Check table STKO, field LOEKZ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also check if archive file is being written and the problem in only database deletion is not occuring. This will give a clue whether the problem is in database deletion only or in writing the archive file also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 08:03:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094400#M101723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T08:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094401#M101724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay, &lt;/P&gt;&lt;P&gt;actually I have tried selected "Selection By Del Indicator" and "selection by date validity". &lt;/P&gt;&lt;P&gt;When i select "selection by date validity ( date: 03.11.2005)"&lt;/P&gt;&lt;P&gt;,execution of the job will spend more time (28 seconds).&lt;/P&gt;&lt;P&gt;But it still nothing happened after completed.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;I have checked the table STKO. all records(1024 records) of LOEKZ is not marked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem may be on the archive file.&lt;/P&gt;&lt;P&gt;And, does any other approaches are available to delete material BOM? &lt;/P&gt;&lt;P&gt;for example, using FM 'CSAP_MAT_BOM_DELETE'? &lt;/P&gt;&lt;P&gt;I dont try to use it before. could it do the same thing to delete all mat BOM?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 08:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094401#M101724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T08:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094402#M101725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"selection by date validity" will work only if you can give a date after the BOM validity dates. Check what is the validity dates in all your BOMs . If it is 31.12.9999 then this option will not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only other option you have is to mark the deletion flag in all the BOMs and then use "Selection By Del Indicator".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have access to OSS , check note number 376650 , which give a program code which can set the deletion flag in all the BOMs. After this if you choose "Selection By Del Indicator"  then I guess the BOMS should be removed from database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Archiving has two actions - writing data to arcive file and delete data from database. You have not mentioned thus far that you file is written . If file is written correctly and data not deleted from database then problem is with deletion program.&lt;/P&gt;&lt;P&gt;If file also is not written ( is blank ) then your problem can be solved in the two ways I mention above, as then the problem lies with no BOMs selected for deletion/ archiving. Is the spool of your batch job blank.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Btw you are using the correct method of archiving BOMs . However there is a report RCBOMDEL which will delete all the BOM records from a client without archiving.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 08:31:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094402#M101725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T08:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Archive Material BOM issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094403#M101726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjay,&lt;/P&gt;&lt;P&gt;I have tried to mark the deletion flag and it works now.&lt;/P&gt;&lt;P&gt;Thank very much~&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Nov 2005 09:11:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/archive-material-bom-issue/m-p/1094403#M101726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-04T09:11:10Z</dc:date>
    </item>
  </channel>
</rss>

