cancel
Showing results for 
Search instead for 
Did you mean: 

Different Call Stach for same Odata Entityset GET Method

former_member368463
Discoverer
0 Kudos

Hello Experts,

I am making a call to a same entity set from an UI5 application.

First call is from a binding of sap.m.List with items path: '/UsersSet'

Second call is from a button to same entity set without any filters: oDModel.read("/UsersSet",

My query is that the call stack in both these calls is different: first call is using the %_RFC_START Module and second call is using the %_HTTP_START module.

I came to this situation because i had to use the IF_HTTP_EXTENSION~HANDLE_REQUEST interface for some thing and the first scenario, i am not able to hit that interface.

System Configuration: In my system Alias, both Local GW and for Local Apps flags are checked and RFC destination, System ID, Client are empty, Software Version is default.

As you can make out from the flags that my GW configuration is an embedded one, both Frontend and backend on the same system

Any insights please on how i can disable the RFC calling and have all calls as HTTP calls only.

Thanks

Deepak

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member368463
Discoverer
0 Kudos

One thing i noticed now is that in case of RFC call stack there are multiple requests in the batch or we can say it is not actually a batch request. So to conclude this call stack changes when we have multiple requests in a batch. Can any body help with this?

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have you checked /iwfnd/traces while performing both requests?

I can see that the first request uses $batch while the second does not.

Regards,

Andre

former_member368463
Discoverer
0 Kudos

Thanks andre.fischer, I looked at the trace and attaching the results here. Both are showing as Process_BATCH operation in there.