cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Integrating CDS action in SAP Mobile Services for Data Retrieval

Khaled_Elghali
SAP Champion
SAP Champion
0 Likes
375

Hello SAP Community,

I am currently developing an application on BAS using SAP Mobile Services and I've encountered a challenge with integrating an OData service (CDS action) to read data from the following endpoint:

https://***.sap.***.com:PortNr/sap/opu/odata4/sap/zapi_entity_v4/***/sap/zapi_entity/0001/Entity/com.sap.gateway.***.zapi_entity.v0001.getData(serialNr='12345')

My objective is to retrieve data from this service and present it within e.g. Form Cells in the application. However, I am unsure how to proceed in terms of:

  1. Reading the data from the above mentioned endpoint and binding it to Form Cells.
  2. Configuring this integration within the SAP Mobile Service ( SAP Business Application Studio ). Specifically, I am unclear about the most appropriate configuration to use, such as a Rest Service Target, Function Call Target, or another metho
  3. Understanding the best practices and any necessary steps within this integration process.

Could anyone provide guidance or an example on how to properly configure the SAP Mobile Services for this use case? Additionally, any advice on binding the data to Form Cells once it's retrieved would be greatly appreciated

Thank you in advance for your support.

Best regards,
Khaled

Accepted Solutions (0)

Answers (1)

Answers (1)

Jitendra_Kansal78
Product and Topic Expert
Product and Topic Expert
0 Likes

@Khaled_Elghali Did you get a chance to try out the MDK tutorials? If not, I would highly recommend you to try them out. This will address some of the questions you asked in your post.