on 11-15-2018 8:07 AM
Dear all,
We have build multiple ODATA services (in gateway system) calling the same Function Module (in R/3) with different import parameters. We have noticed in the performance traces and testing of the FM, the initialization time of the Function Module takes around 40 seconds by default which is time added to the time of execution of the FM. The FM takes execution 2 seconds. Each time the ODATA service is called, the FM needs to be initialized again. Can this be avoided by keeping the FM initialized somehow?
Example;
First run of test function module (transaction SE37): 42 seconds to run on one material. Now I keep the test function module open and execute (second run) for a different material the same function module, it takes 2 seconds to gather the data. This function module is called by ODATA service and requires initialization of the FM each time, meaning the lead time is 42 seconds.
a) How to keep the Function Module (API - which is called by ODATA service) initialized at calling the ODATA service to improve performance?
b) Is there a ODATA URL parameter available to keep the FM function module initialized to avoid the initialization time of the Function Module?
Thank you in advance!
Kind regards,
Roy Derks
OData is stateless by default. So the server forgets completely about the client request after it fulfilled it. You might adjust the function module and use i.e. shared memory to increase its performance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.