on 10-05-2023 10:44 AM
Hi,
We have set up soft state for our oData service based on andre.fischer's excellent blogpost:
https://blogs.sap.com/2014/10/14/how-to-use-soft-state-support-for-odata-services/
For direct Entity calls for GetEntitySet in GET HTTP method it works nicely, so the first run takes 15sec, and the next ones are quick as lightning.
But when we use the same Entity form a smart filterbar the UI sends GetEntitySet query in a $batch requests under POST HTTP method. Within the batch request the GetEntitySet query has GET HTTP method.
For every each $batch request a new ABAP session has been created, we could see it in SM04 transaction at the Gateway. While in the first case (direct GET request to the Entity) we could clearly see that only one ABAP session has been used.
Is Soft State is not supported for $batch request at all? I have not found any documentation on this yet.
Or there are some "tricks" we need to implement in order to make Soft State mode for the oData service work.
Many thanks for kind help.
Br
Richard
Hi Richard,
in principle $batch should work with Softstate.
Are you using a Fiori Elements based app or is it a custom built app with smart controls?
I would like to reproduce the issue you described.
Have you opened a ticket? If yes can you please send me the ticket number directly in a message or via email?
Kind 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 |
---|---|
82 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.