2009 Feb 02 3:25 AM
Hi all,
When i use HR_INFOTYPE_OPERATION FM for simulating the infotype 0416, it gets stored in Memory. This becomes a problem while i use the same FM for the second time. Bcoz, this FM updated another infotype, also it retrives the records from memory. Since the previous infotype (0416) was stored in memory, it updates that infotype also. But that should not be updated...How to avoid this pbm..
Any solution.......
Regards,
Shanthi
Hi all,
When i use HR_INFOTYPE_OPERATION FM for simulating the infotype 0416, it gets stored in Memory. This becomes a problem while i use the same FM for the second time. Bcoz, this FM updated another infotype, also it retrives the records from memory. Since the previous infotype (0416) was stored in memory, it updates that infotype also. But that should not be updated...How to avoid this pbm..
Any solution.......
Regards,
Shanthi
2009 Feb 02 3:34 AM
If you know the memory id - and know what you are doing - then try FREE MEMORY between the function calls in your calling program.
Also FREE MEMORY without memory id frees ALL ABAP memory of your current runtime session. You can explore this as well.
2009 Feb 02 4:13 AM
Hi,
i tried using the following.
Free memory.
call function 'RH_CLEAR_BUFFER'.
call function 'RH_CLEAR_PLOG_TAB'.
Even then, the previous record which i simulated (IT 0416) gets updated when i call this FM for the second time.
Please suggest..
Regards,
Shanthi
2009 Feb 18 5:26 AM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |