cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ByD - How to get ChangeLog information of standard business object

former_member195790
Participant
0 Kudos
1,544

Dear All,

I want to get information about change log of transaction documents for the example. Sales quotes, Sales Order etc.

I guess that there are some sub node reference to that information.  (Ex. for AttachmentFolder data They will have Attachment sub node underneath)

But for the ChangeLog information . I could not find any sub node relate to it.

So,  How can I reach that information in ABSL code?

Best Regards,

Krit R.

View Entire Topic
0 Kudos

Hi,

i'm facing the same issue, has anyone found a solution to this one?

I found a nice article on how to create your own changelog, but it seems that with this functionality you can only track changes from this point onwards, while I need to see changes that occurred in the past.

Thanks in advance!

Nikos

SteveB
Explorer
0 Kudos

Dear,

could you please share the link of the article you refer to?

Thank you,

KR,

Steve

jravnik
Participant

Hi,

the change history of custom (if enabled via annotation) and standard objects can be accessed via a function from the PlatinumEngineering (you'll have to import AP.PlatinumEngineering in the script):

You could call the function like the following:

var history = ChangeHistory.Read("AP.CRM.Global:SalesOrder", salesOrderRootUUID, "Root");

Best regards
Jürgen

YanGerzon
Participant
0 Kudos

I am trying to get the Change history of a Supplier using these line:
var history = ChangeHistory.Read("AP.FO.BusinessPartner.Global:Supplier", this.ToRoot.UUID, "Root");

raise Message.Create("S", "history:" + history.Count().ToString());
The result of the count is zero despite the fact the Supplier does have changes in its Changes tab both of today and Previous dates.

I also tried getting new and old content.

Thanks in advance.