on 2024 Jul 17 5:03 PM
Hi Everyone,
Have built a Managed RAP with draft mode. I am doing a POST service call with Payloads, and it should create entries under the Persistent Custom table. But the issue is it creates entries in Log table and sometimes it doesn't.
Have gone through link Preparing Draft Instances for Activation | SAP Help Portal but I am not sure where I should call below Activate logic so it can activate the draft instances and it can be moved to Persistent Table.
Below is the Business definition logic placed.
Please guide me how It can be achieved.
Br,
Hi @Shahab2
If you want to create entries directly in the persistence table without passing through the Draft table, then you don't need to use the ACTIVATE action or so.
When you call the MODIFY ENTITIES CREATE sentence set:
%is_draft = if_abap_behv=>mk-off
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.