on 02-01-2017 8:48 AM - last edited on 02-03-2024 7:49 PM by postmig_api_4
Hi experts,
Same functionality is working in S4 Hana standard applications, How we can implement for our client ? I already suggested E-Tag, but client want pessimistic lock concept only. we stuck because of this thing and no answer to give.
Regards,
Rajendra Sharma
Hello,
I would suggest to use Soft State mode. Look at this link : How to use Soft-State support for OData services
In that mode, you will be able to set a lcok for a while (depending on your timeout parameter). it is not a very streigth solution, but it's working. Do not forget to kill the session when the user leave the Business Object.
Regards,
Joseph
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We have similar kind of requirement, As optimistic lock( Etag- via time stamp or Hashalgo) is just temporary control concurrency by holding data for time being not locking row, but if change request is coming from mobile device, same time some one is changing via ecc so in this case pessimistic lock seems good solution. as in REST architecture there is everything state less, making stateful also work with limitation of 120 second.
we can call enque function directly in gateway and send error message if it is locked, and perform change operation, only limitation I found here is turnaround time.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.