2021 Sep 27 11:16 AM
hi experts,
sent http requests using Parallel processing,but using a few minutes errors table_free_in_loop,How should I solve this problem?
Adding:
I think it is because of two asynchronous functions that cause the disorder of callback, but I don't know how to solve it. The second asynchronous function calls back the first form defined by the first asynchronous function

2021 Sep 27 11:23 AM
What did you do ? is it standard report ? What is the call stack in the dump ?
2021 Sep 27 12:25 PM
First step. Stop using FORMs. Second step, use classes and methods instead. You need to change the function module call so it calls a method instead of a form.
I love the totally redundant four characters of the FORM name. frm_ just in case someone thought it was, what? A fish?
Anyway, since we've no context, it's impossible to answer your question,
2021 Sep 27 12:51 PM
Because I have to seize resources sometimes, I still have to continue to send requests when I can't get a response from the services, so my solution is to use asynchronously call method
but the call back form errors .
2021 Sep 27 2:02 PM
table_free_in_loop means this kind of code:
LOOP AT itab.
FREE itab.
ENDLOOP.It's probably not done on purpose.
2021 Sep 27 2:49 PM
Put the cursor on the variable
gw_output_query_data and execute the where-used list option.
Check for statements that clear its member data - CLEAR, REFRESH, FREE, etc. in an expected way.
Then i guess it will not be that easy, i assume by looking at your code that you are developing an OData service, and maybe the clear takes place automatically/is done by the framework. In this case you should analyze better your request/response scenarios and the corresp. bufffering.