Allocating and Releasing Memory
Use jdeAlloc to allocate memory. Because jdeAlloc affects performance, use it sparingly.
Use jdeFree to release memory within a business function. For every jdeAlloc, a jdeFree should exist to release the memory.
Note:
Use the business function FreePtrToDataStructure, B4000640, to release memory through event rule logic.