<?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>Question Re: Archiving a confirmation using SARA? in Spend Management Q&amp;A</title>
    <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235216#M145818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Megha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do check the program executions and do debugging .. the badi should triger. Debuger will not trigered in Background scheduled JOB. for SARA the job is schedued for archiving. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program BBP_PD_ARCH_WRITE there is include BBP_PD_ARCH_WRITE_F02 where this badi is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Intialialize &lt;SPAN class="L1S52"&gt;BADI BBP_ARCHIVING_BADI&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sv_badi_arch &lt;SPAN class="L1S52"&gt;IS&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;METHOD&lt;/SPAN&gt; cl_exithandler=&amp;gt;get_instance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L1S33"&gt;'BBP_ARCHIVING_BADI'&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S31"&gt;"#EC NEEDED&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; null_instance_accepted = space&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; act_imp_existing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sv_arch_badi_active&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CHANGING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; instance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sv_badi_arch.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThankS&lt;/P&gt;&lt;P&gt;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Dec 2012 10:20:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-12-21T10:20:26Z</dc:date>
    <item>
      <title>Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaq-p/9235211</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;I need to apply a check on a confirmation that "A confirmation should be archived only if its PO is archived".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to apply this check while pre-processing BBP_CF object in SARA tcode. Where exactly can I write the coding for this check? Is there some user-exit or enhancement spot related to SARA?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks In Advance,&lt;/P&gt;&lt;P&gt;Megha Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 04:44:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaq-p/9235211</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T04:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235212#M145814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megha , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can used Badi BBP_ARCHIVING_BADI to make condition based arhiveing . &lt;/P&gt;&lt;P&gt;use method CHECK_DOCUMENT_ARCHIVABLE to determine the document need to archived. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;BR /&gt;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:23:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235212#M145814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T06:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235213#M145815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to implement a new BADI? Will it stop here while pre-processing also? Where will I append the message in case the check fails?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Megha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:28:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235213#M145815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T06:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235214#M145816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The T code SARA work on 2 stem one is you write the document into Archive file and other than you delet the file from application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same thing&amp;nbsp; you can do with the program &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BBP_PD_ARCH_check&lt;/P&gt;&lt;P&gt;BBP_PD_ARCH_WRITE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before doing this you need to do required configuration and activation of achive setting in SPRO.&lt;/P&gt;&lt;P&gt;IMG: &lt;EM&gt;Supplier Relationship Management -&amp;gt; SRM Server -&amp;gt; Cross-Application Basic Settings -&amp;gt; Document Archiving -&amp;gt;&lt;/EM&gt; ... or&lt;EM&gt; Supplier Relationship Management -&amp;gt; Supplier Self-Services -&amp;gt; Cross-Application Basic Settings -&amp;gt; Document Archiving -&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;You can implement this Badi&amp;nbsp; and do test by program &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;BBP_PD_ARCH_check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work to achive your required solution &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank &lt;BR /&gt;sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 06:55:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235214#M145816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T06:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235215#M145817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have implemented the BADI BBP_ARCHIVING_BADI and written my check code in CHECK_DOCUMENT_ARCHIVABLE method. &lt;/P&gt;&lt;P&gt;I perform following steps on SARA:&lt;/P&gt;&lt;P&gt;1. give BBP_CF archiving object and click Pre-processing&lt;/P&gt;&lt;P&gt;2. time as immediate&lt;/P&gt;&lt;P&gt;3. select local printer settings&lt;/P&gt;&lt;P&gt;Now I click on execute button, but the execution is not getting stpped inside method CHECK_DOCUMENT_ARCHIVABLE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest where am I going wrong?&lt;/P&gt;&lt;P&gt;Also, can you please tell me what didi you meant by "Test using program BBP_PD_ARCH_CHECK"? is that related to pre-proc? I put the debussger inside this program also, but the execution nevere stops here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Megha Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 09:49:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235215#M145817</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T09:49:10Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235216#M145818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Megha, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please do check the program executions and do debugging .. the badi should triger. Debuger will not trigered in Background scheduled JOB. for SARA the job is schedued for archiving. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in program BBP_PD_ARCH_WRITE there is include BBP_PD_ARCH_WRITE_F02 where this badi is called. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Intialialize &lt;SPAN class="L1S52"&gt;BADI BBP_ARCHIVING_BADI&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IF&lt;/SPAN&gt; sv_badi_arch &lt;SPAN class="L1S52"&gt;IS&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;INITIAL&lt;/SPAN&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CALL&lt;/SPAN&gt; &lt;SPAN class="L1S52"&gt;METHOD&lt;/SPAN&gt; cl_exithandler=&amp;gt;get_instance&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = &lt;SPAN class="L1S33"&gt;'BBP_ARCHIVING_BADI'&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S31"&gt;"#EC NEEDED&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; null_instance_accepted = space&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;IMPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; act_imp_existing&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sv_arch_badi_active&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L1S52"&gt;CHANGING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; instance&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = sv_badi_arch.&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L1S52"&gt;ENDIF&lt;/SPAN&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ThankS&lt;/P&gt;&lt;P&gt;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 10:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235216#M145818</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-21T10:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235217#M145819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While debugging, I enter the ARCHIVE_SHEDULE_JOB function, in which, program BBP_PD_ARCH_CHECK is assigned while pre-processing. But I don't understand where exactly is this program called in mentioned function? Because I ahve tried putting break-point everywhere in the program but debugger never stops and comes out of execution of ARCHIVE_SHEDULE_JOB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please suggest something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Megha Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 10:29:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235217#M145819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-24T10:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Archiving a confirmation using SARA?</title>
      <link>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235218#M145820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Mega ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do check without scheduling job .. do execute from SE38 T code and check if this badi will get trigger. once you able to do test , than you can execute./schedule the same from SARA &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Sharad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Dec 2012 10:43:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/spend-management-q-a/archiving-a-confirmation-using-sara/qaa-p/9235218#M145820</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-24T10:43:04Z</dc:date>
    </item>
  </channel>
</rss>

