2007 May 21 8:36 PM
Hi all,
I am using a std function module (PM_ORDER_DATA_READ) in my report. But as I am using this FM in a loop, its going into a dump in 2nd iteration as the data accumulated in 1st execution still remains. ( U can just check it out by executed this FM in se37 twice by giving different production order numbers).
Is there any way to clear all the data used by this function group (COIT)..?
I've checked FREE MEMORY, but it didn't work.
2007 May 21 8:43 PM
Hi Jithendra,
Use this FM in the loop. CLSC_FREE_MEMORY
It will clear the memory and now you will not get any shortdumps.
Thanks
Pavan Kothapalli
Hi all,
I am using a std function module (PM_ORDER_DATA_READ) in my report. But as I am using this FM in a loop, its going into a dump in 2nd iteration as the data accumulated in 1st execution still remains. ( U can just check it out by executed this FM in se37 twice by giving different production order numbers).
Is there any way to clear all the data used by this function group (COIT)..?
I've checked FREE MEMORY, but it didn't work.
2007 May 21 8:43 PM
Hi Jithendra,
Use this FM in the loop. CLSC_FREE_MEMORY
It will clear the memory and now you will not get any shortdumps.
Thanks
Pavan Kothapalli
2007 May 22 5:50 AM
No Pavan, its not working. When I see in debug mode, it shows 0 memory IDs used ( in FM CLSC_FREE_MEMORY) & agains throws dump.
2007 Aug 28 4:01 PM
Hi Jithendra,
Did you ever find a solution to this? I am now facing exactly this problem in one of my programs.
Regards,
Mike Speight
2007 Aug 28 5:47 PM
Hi Jitendra,
Does the dump log shows that the cause is memory shortage?
Thanks and Best Regards,
Vikas Bittera.
**Points for useful answers**
2007 Aug 29 2:20 AM
Hi
You can create a z function module of type remote-enabled, which then calls the standard function module. Then in your custom program, call this custom function module instead of the standard with destination none. All memory will be cleared in RFC calls.
Thanks and regards
Kwong Tat
2013 Aug 05 1:14 PM
Try FM 'CO_EXT_ORDER_RESET' and/Or 'CO_IT_SET_FLG_ITAB_NEW' Before PM_ORDER_DATA_READ
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |