on 07-16-2019 4:06 PM
Hi experts.
We have a question regarding the use of ABAP environment on SCP. We know that it is possible to publish CDS and use them from a Fiori application to make use of the data. However, we wanted to know if it is possible to publish functions or methods built in ABAP and use them in the same way as a CDS from a Fiori application. For example, build the screens of an ABAP report using fiori screens and, from those screens, call some function or method where the logic is encapsulated.
Thanks in avance.
Hi Miguel,
as described in my blog
the new ABAP RESTful Programming Model supports so called "custom entities".
Custom entities are a special type of CDS views where the data is not read via a select statement from an underlying table or view but where the developer has to create a class that implements a certain interface that contains a select method.
The name of the class is added to the DDL source code of this custom entity via the following annotation:
@QueryImplementedBy:'zcl_cq_product_via_rfc'
So yes, you can use classes for function modules to retrieve data (even via RFC to your on premise backend) to build OData service for SAP Fiori applications in SAP Cloud Platform ABAP environment.
Best 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 |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.