Archiving – Optimize with PDI
2023-11-2 16:39:4 Author: blogs.sap.com(查看原文) 阅读量:4 收藏

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 what if the current Business Object is not the one which is going to be archived?

With the current release you can now use the PDI Reuse Library Archiving with the function IsArchivingInProgress.

If the returned value is true then Archiving is running and you can act accordingly, e.g.

  • Delete the Custom Business Objects instances which are shadowing the SAP Business Objects
  • Stop the execution of you PDI coding

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


文章来源: https://blogs.sap.com/2023/11/02/archiving-optimize-with-pdi/
如有侵权请联系:admin#unsafe.sh