cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement etag on ABAP Platform 1909

scj1234
Participant
0 Kudos

Hi Eperts,

As I understand from SAP documentation, optimistic locking can be implemented by etags. To implement the etag data from system buffer is required to be read for timestamp comparison. I am implementing the etag for BO with behavior definition type un-managed and on SAP ABAP platform version 1909. I would like to know if there is any standard function module or class which can be used for reading the buffer for custom table.

Thank You

Saurabh

Accepted Solutions (0)

Answers (1)

Answers (1)

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Saurabh,

No, there's no standard functionality for that.

It's either expected that the existinglegacy logic such as bapis does provide a buffer and thus also a means to read and write to it and also an option to finally save the data to the database tables or you would have to implement the buffer yourself.

In principle it's also possible to work without a buffer at all if you built the business logic on your own.

But this would give you less options to validate your data before actually saving it.

Best regards

Andre