on 08-14-2023 8:50 AM
What is the use of save action in RAP?
I defined two methods with two actions with the same abap logic.
I only found that if the save action is used, the draft data cannot be manipulated.
But ordinary actions (Approve_Order) can be operated
- error with save action (TestSaveAction)
Can someone explain the specific usage of save action?
Thanks!
Hi Jasper,
Save actions have certain restrictions which are documented:
Action Types: https://help.sap.com/docs/btp/sap-abap-restful-application-programming-model/action-definition#actio...
Save Sequence: https://help.sap.com/docs/btp/sap-abap-restful-application-programming-model/save-sequence-runtime
ABAP Doc: https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/index.htm?file=abenbdl_action_onsave.htm
I think the ABAP Keyword Doc answers your question regarding usages or use cases in the Hints section:
"RAP save actions are required for the RAP representation of certain existing functionality which does not maintain a transactional buffer but (from a RAP perspective) only has a save phase."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.