Skip to Content
0
Former Member
Oct 12, 2005 at 10:11 AM

Deleting objects created for calling badi methods

35 Views

Hi,

I am calling a BAPI in one of my programs in a loop.

(about 1,15,000 times). During each iteration the

BAPI is executed. This BAPI in turn has logic to

call BADI methods, the problem is that the BADI methods

are called using objects of the class related to the BADI. these objects are not deleted after the BAPI is executed. Thus during the next iteration of the BAPI

more and more objects are created causing huge memory

creep and less performance. Is it possible to clear this memory after every call to the BAPI so that during the

next iteration the objects don't get created

thanks

Aravinda