Unable to consume data from a odata service

In my recent project, I embarked on integrating an OData service, specifically API_PRODUCT_SRV, through SAP Build. Utilizing the OData integration in the “Create Data Entity” section, I provided the base API URL and basic authentication credentials. After successful verification, I chose the “List” option under the entity and ran the test using the given username and password. The test API call response came back with a satisfying 200 OK status, returning values for all the specified fields. The schema appeared to be correct as well.

With the initial steps successfully completed, I enabled certain entities and proceeded to the UI page. Here, I dragged and dropped a list item component, created a data variable for the enabled entity, and selected the type as a collection of records. In the list item configuration, I set it to repeat with the entity data variable, adding specific fields as the primary and secondary labels.

Despite following these steps meticulously, I encountered an issue while previewing the UI: no data was displayed. Below is a summary of the steps I took:

1. OData Integration:
– Provided base API URL.
– Used basic authentication credentials.
– Verified the service.
– Chose “List” option under entity.
– Ran the test with provided username and password.
– Received 200 OK response with correct schema.

2. UI Configuration:
– Enabled entities.
– Dragged and dropped list item component.
– Created a data variable for the enabled entity (type: collection of records).
– Configured list item to repeat with entity data variable.
– Added fields as primary and secondary labels.

Issue: Data Not Displaying in Preview

I have checked the configurations multiple times and ensured that all steps were followed correctly. The API response and schema seem to be accurate, yet the data is not being rendered in the list item during the preview.

Request for Help:

If anyone has encountered a similar issue or has insights into what might be going wrong, your assistance would be greatly appreciated. Could there be a configuration step I might have overlooked, or is there a known issue with this specific OData service integration in SAP Build?

Thank you in advance for your help!

Best Regards,

Yashmin Behera

 

 

 

@Dan_Wroblewski 

@Ivan_Miguel 

@sakshamjain 

Scroll to Top