Hi experts,
I have the following requirement in ABAP RAP managed scenario non-draft. I have to populate default values for few properties like currency code.
The trigger should be after clicking on the create button. like the PBO init event in classical ABAP.
I have tried to use the determination , but the code is triggerd too late, at the moment after the user clicks on the save button.
Thanks in advance
Request clarification before answering.
How does your determination definition look like? Do you use "on save"?
determination onSave on save { create; }https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/abenbdl_determinations.html
Have you already tried "on modify"?
determination onCreate on modify { create; }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Determination isn't the correct place to code such things.
Use default function: https://help.sap.com/doc/abapdocu_cp_index_htm/CLOUD/en-US/ABENBDL_DEFAULT_FUNCTION.html
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.