Closed albertalexandrov closed 1 year ago
Hello @albertalexandrov,
For some fm it tooks about 3-5 seconds
What is expected runtime?
The code looks good and without more details is hard to guess what is eventually slower then expected. The duration of the Python to ABAP call depends on ABAP function module run-time + network time + Python data conversions time. ABAP function module run-time may depend on input parameters which determine the number of selected records for example.
You can run the ABAP function module in ABAP system and compare that run-time with the run-time when called from Python with same parameters. But without more info it is not possible to give a generic answer.
@bsrdjan , thanks for your answer
Hi!
Thanks for the lib! It helped me a lot.
I have a question. I hope will help me. The question is about call duration. My code:
For some fm it tooks about 3-5 seconds. Some of params are date from and date to. I noticed that changing range between the them does not affect on call duration as one could expect.
I cannot understand where is the slowness happens: in my code, somewhere inside the lib or on our SAP instances. Could you please look at the code above again and say whether it written properly?