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

How to refresh buffer ?

Former Member
0 Likes
1,146

I am using FM PD_OBJECTS_COLLECT, it returns lets say 10 rows. I come back to the selection screen and run the program again then it returns 20 rows somehow. If I keep doing it, it keeps updating incrementing the return lines. Even if I come back from the selection screen into the code of the program, it continues incrementing the resultset.

Now, I am using the FM HR_INITIALIZE_BUFFER to initialize the buffer, but that is not doing anything at all.

Any tips ?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
830

Hi

when you use FM to get data, do you use the internal table to collect data? If so, after you deal with the internal table do you clear it or refresh it to free the memory?

1 REPLY 1
Read only

Former Member
0 Likes
831

Hi

when you use FM to get data, do you use the internal table to collect data? If so, after you deal with the internal table do you clear it or refresh it to free the memory?