on 2024 Jul 29 4:42 PM
In RAP's Unmanaged scenario, I'd like to ask a question about the lock mechanism.
In SAP HELP's sample app, there is an example of hanging ENQU LOCK through FOR LOCK syntax.
The lock appears to be called at the appropriate time by the RAP framework, by the STANDARD operation, by the Action, and released at the time of commit by the saver class.
However, at the UI level, the user puts certain data back into "change mode" and slowly inputs data over several minutes and performs a storage sequence.
So, how does the app keep this lock "for a period of time that the user is typing over a few minutes"?
Is there no way but optimistic lock?
Or is there a separate way to keep ENQUIEW LOCK by calling ACTION, which ensures the lock is maintained without calling the saber class before entering the change mode?
ABAP RESTful Application Programming Model
@Andre_Fischer please help me...
Request clarification before answering.
@Andre_Fischer But that would only lock the table entry within the newly created odata service by checking the draft table, the database table entry would still be modifiable by other odata services or transactions, wouldn´t it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
40 | |
15 | |
10 | |
8 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.