on 03-22-2018 10:55 AM
We have interface view through which we generate BOPF object. We enable there draft using draftEnabled: true.
If we also use @ODATA.publish: true, we can see function imports for BOPF Draft actions, like edit or activate.
However, in the consumption view we do not see these actions. We tried to provide there annotation draftEnabled, but it does not go successfully through activation process.
We get an error
CX_SADL_CONTRACT_VIOLATION-ENTITY_NOT_FOUND
It seems we defined everething as it is defined in SAP Documentation
Please advise
Yes, thank you for the response. I found the problem.
If you create consumption view without draft and change it afterwards to draft enabled, it will not work.
I created new consumption view with the same logic, it works.
Now I have a different issue with association to a private view and get attribute from it - I get error during activation, no cause specified
This question is solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure that you have set the annotation
@ObjectModel.transactionalProcessingDelegated: true
that propagates the transactional processing back to your interface view?
Regards,
Andre
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.