Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
HorstSchaude
Product and Topic Expert
Product and Topic Expert
When Business Objects are deleted by Archiving their persistency is simply relocated from the systems database to an external storage and they are no longer part of any business chain.

This means that during this deletion no other objects should be created or updated. No integration calls shall take place, except the information that this instance has been archived.

This is done for the most of the SAP frameworks centrally, but what about the enhancements via the Partner Development Infrastructure (PDI)?

As referred in this blog one can check against the  element “ArchivingStatusCode” but with the current release it is much easier:

  • Use the PDI Reuse Library Archiving with the function IsArchivingInProgress.


We propose to make use of this function in the Root implementations of all Business Objects supporting Archiving in one of the following ways:

  • Skip your implementation in the AfterModify and BeforeSave scripts

  • Delete the Custom Business Objects instances which are shadowing the SAP Business Objects in the OnDelete script


By this one can optimize the performance of this Archiving phase which we noticed takes the most time of the complete Archiving process.

Thanks to stefan.kiefer for providing the examples.
2 Comments
farhanhzaidi
Discoverer
0 Kudos
Hi Horst,

Thanks for your updates on Archiving functionality.

I have a few questions:

  1. Is it possible to add custom fields in the advance filter of search screen? If not, can SAP enable it from their end? We currently need a BP (Account/Individual Customer) ID field in the search filter.

  2. I don't see the Archiving Status field for Phone Calls, Appointments and Emails. How can it be made available?

  3. Is it possible to replicate the archived documents & their attachments to an external system?

  4. What is SAPs roadmap in Archiving? Are they planning anything from the above questions?


Thanks,

Farhan
HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hello Farhan,

Regarding your questions:

ad 1.) As Archiving is a generic framework and custom fields are individually defined in the Key User Tools it is nearly impossible to add a custom field in the Business Configuration.

ad 2.) Please raise an request to the resp. component(s)

ad 3.) No, this is not possible

ad 4.) If you want to enrich Archiving with some features please add them in the Customer Influence portal (https://influence.sap.com/sap/ino/#/campaign/1868)

Sorry, that I can not provide any better answers.

Bye,
Horst