Skip to Content
Author's profile photo Horst Schaude

Some Thoughts about ChangeHistory

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 πŸ™‚
  • As transient elements do not have a persistency they can not become part of the ChangeHistory πŸ™
  • For the Dependent Objects TextCollection and AttachmentFolder this annotation is not applicable
    => No ChangeHistory for the elements and nodes of the DOs πŸ™

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 πŸ™
  • 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 πŸ™‚
      • 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 πŸ™
    • If the SAP Business Object is not supporting ChangeHistory this feature is also not available in general for the Extension Nodes πŸ™

HTH,

    Horst

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      I've got a problem with ChangeHistory working on dev but not production. I changed the namespace to production but it still doest work. Any other ideas?

      Thanks,

      Will

      Author's profile photo Former Member
      Former Member
      Author's profile photo Former Member
      Former Member

      Hi Sophia,

      I don't believe that will work with ByD πŸ™

      Many Thanks,

      Will

      Author's profile photo Horst Schaude
      Horst Schaude
      Blog Post Author

      Hello Will,

      You're right: Sophia's links refer to ECC and not ByD.

      Did you deployed the BC in your prod tenant?

      This is important, because the activation creates some data which taken up by the BC deployment and persistet in the runtime tables so the ChangeHistory agents can work based on that information.

      HTH,

          Horst

      Author's profile photo Alejandro Cordero
      Alejandro Cordero

      Hi Horst,

      Is it possible to query the change history using ABSL?

      I think you said in comment that this is not possible but I cannot find it now.

      Thanks,
      Alejandro Cordero.

      Author's profile photo Horst Schaude
      Horst Schaude
      Blog Post Author

      Hello Alejandro,

      Currently the only way to access the Change History is via the Embedded Component in the UI.

      But I am currently investigation on a Reuse Library for ABSL. πŸ™‚

      Stay tuned,
      Horst 

      Author's profile photo Suchita Phulkar
      Suchita Phulkar

       

      Hi Horst,

      Any update withΒ Reuse Library ABSL for querying the standard change history log ?

      It would be really interesting to have !!

      Staying tuned...

      Best Regards

      Suchita

      Author's profile photo Horst Schaude
      Horst Schaude
      Blog Post Author

      Hello Suchita,

      With 1702 there is a Reuse Library named ChangeHistory which supports the same functionality as the UI. πŸ™‚

      Here is the link to the What's New section of 1702.

      Bye,
      Horst