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

SAP Build Apps How to call Odata resource with Expand

RahulKumar04570
Newcomer
0 Kudos
283

Hi  ,

I need a help in SAP Build App to get and display data from the SAP Odata v2 services 

SAP Gateway OData Query:

/ZGSP_INSPECTION_OPERATION_SRV/INSPOPER_GETDETAILSet(Inspoper='0010',Insplot='045000001552')?$expand=GetCharResults&$format=json

Connected odata services ZGSP_INSPECTION_OPERATION_SRV with BTP Destination 

RahulKumar04570_0-1741343216701.pngRahulKumar04570_1-1741343252392.png

RahulKumar04570_2-1741343300551.png

How to call below query to get and display data in list view?

call ZGSP_INSPECTION_OPERATION_SRV/INSPOPER_GETDETAILSet(Inspoper='0010',Insplot='045000001552')?$expand=GetCharResults&$format=json

 

 

 

Accepted Solutions (0)

Answers (1)

Answers (1)

rohit_singhal
Active Contributor
0 Kudos

Hi Rahul,

The call required by you is technically an expanded entity call.

You would need to create an application which is based on requirement either showing a list of items, or has a selection criteria, where users are updating specific details like: Inspoper and Insplot.

In either case, once a list/table item is selected or the selection criteria values are executed, you should handle that event in the controller by performing a call for an expanded entity with the passed parameters.

Do let me know if you need any more hints for the same.

Best Regards,

Rohit