Skip to Content

How to Use Reuse Library Change History

Hi Expert,

In the Previous Release, SAP has brought a Reuse Library Change History.

Problem Statement

My scenario in which I want to use this Reuse Library Change History is on change of the value of Extension Drop Down Field in Common Node of the Account XBO.

If the value selected by the user is different from the previous value we need to reset another field with some value. We want in this way because in case there is Mass Update then this Logic will prevent mass update to reset the value of another field.

Now the Reuse Library Change History is only giving change history of Root Node fields of Account.

Logic used

myAccountChangeHistory = ChangeHistory.Read("AP.FO.BusinessPartner.Global:Customer", AccountUUID);// this is giving only the list of changes of the Field on the Root Node, whereas I need change history of a field on Common Node.

Requesting all Experts to kindly share their input on this Issue.


Nabarun Barua

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Mar 08, 2018 at 02:46 PM

    Hi Nabarua

    For node specific changehistory you need to pass the NODE name in the API call, refer the syntax (also available in guide)

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Dedeepya,

      Thanks for Quick Reply I tried out but it still giving only Root Data. I'm just posting the script I used.

      myAccountChangeHistory = ChangeHistory.Read("AP.FO.BusinessPartner.Global:Customer", AccountUUID,"Common");

      Please check if this script is wrong or not?

      Thanks & Regards

      Nabarun Barua