Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

dump table_free_in_loop

former_member660488
Participant
0 Likes
2,410

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

codes.txt

5 REPLIES 5
Read only

FredericGirod
Active Contributor
0 Likes
1,949

What did you do ? is it standard report ? What is the call stack in the dump ?

Read only

matt
Active Contributor
0 Likes
1,949

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,

Read only

former_member660488
Participant
0 Likes
1,949

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 .

Read only

Sandra_Rossi
Active Contributor
0 Likes
1,949

table_free_in_loop means this kind of code:

LOOP AT itab.
  FREE itab.
ENDLOOP.

It's probably not done on purpose.

Read only

former_member660513
Participant
0 Likes
1,949

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.