Hello,

Sign up to join our community!

Welcome Back,

Please sign in to your account!

Forgot Password,

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask a question.

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

SAP EWM Help Latest Questions

  • 0
  • 0
DPM125

Concurrency Control: eTag ( Optimistic )

Concurrency in SAP RAP (RESTful ABAP Programming Model) refers to handling situations where multiple users try to modify the same data simultaneously — a classic case of the “lost update problem.”

SAP RAP provides built-in mechanisms to ensure data consistency, conflict detection, and safe updates, especially in Fiori apps or other UI/front-end scenarios.

We need to add the fields like timestamp in the database table.

Book table –>  changedat

Then add the annotation in the CDS view Entity –> interface

Now add eTag in the Behavior Definition

And use the eTag in the Behavior projection

Output : when 2 users try to modify the same data fields at same time.

Related Questions

Leave an answer

Leave an answer