on 2021 Jul 01 9:25 AM
Hello,
I've created projection abap CDS and see warning message: Transactional Provider Contract expected for Projection View XXXX.
Eclipse offers to add a solution from 3 options:
I've added first and warning disappeared. It is ok.
But I can't find what all this options mean? What is provider contract? And why i have to add it?
BR,
Alex
Request clarification before answering.
Hi Alex,
the addition provider contract is used for defining an intended runtime for your CDS Projection View. Today, most of the CDS Projection Views are used in the context of transactional RAP applications. By that, feature restrictions are applied, to guarantee the successful execution in the transactional runtime.
As there are different runtimes with different capabilities, the data model of an application needs to be prepared for such a runtime. So if you want to create a CDS Projection View for a transactional RAP application in order to create a specific view on your business object, please use the addition provider contract transactional_query.
Further provider contracts will be supported in the near future, to give access to more features in different runtimes.
Best regards
Fabian Fellhauer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
nice explaination. Thank you Fabian.
User | Count |
---|---|
34 | |
21 | |
14 | |
8 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.