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

Hello,

I noticed some confusion w.r.t the question:

When can / does the ChangeHistory works for a given entity?

Let me provide some details:

Custom Business Objects

  • With the annotation [ChangeHistory] the data of nearly any element and node can become part of the ChangeHistory :smile:
  • As transient elements do not have a persistency they can not become part of the ChangeHistory :sad:
  • For the Dependent Objects TextCollection and AttachmentFolder this annotation is not applicable
    => No ChangeHistory for the elements and nodes of the DOs :sad:

Extensions to SAP Business Objects

  • Extension Fields are handled by the Extension Framework (EXF)
    EXF does not support the annotation [ChangeHistory]
    => No ChangeHistory for Extension Fields :sad:

  • Extension Nodes are handled by PDI itself; (nearly) the same functionality as in Custom Business Objects is available
    • If the SAP Business Object is already supporting ChangeHistory
      • The data of any element and node can become part of the ChangeHistory :smile:
      • Except - of course - transient elements
      • For the Dependent Objects TextCollection and AttachmentFolder the annotation is not applicable
        => No ChangeHistory for the elements and nodes of the DOs :sad:
    • If the SAP Business Object is not supporting ChangeHistory this feature is also not available in general for the Extension Nodes :sad:

HTH,

    Horst

8 Comments