2007 Jul 26 8:56 AM
Hi
I have one doubt can you tell me as per performance issues or SAP standard which statement is better.
Statement 1
REFRESH : i_tab1.
REFRESH : i_tab2.
REFRESH : i_tab3.
REFRESH : i_tab4.
Statement 2.
REFRESH : i_tab1, i_tab2, i_tab3, i_tab4.
I know both will do the same results but as per SAP standard and seeing performance which will be better is there any difference in performance.
will SAP complire takes the same memory in executing the 2 statements
can u guys help me out with explanation..
Hi
I have one doubt can you tell me as per performance issues or SAP standard which statement is better.
Statement 1
REFRESH : i_tab1.
REFRESH : i_tab2.
REFRESH : i_tab3.
REFRESH : i_tab4.
Statement 2.
REFRESH : i_tab1, i_tab2, i_tab3, i_tab4.
I know both will do the same results but as per SAP standard and seeing performance which will be better is there any difference in performance.
will SAP complire takes the same memory in executing the 2 statements
can u guys help me out with explanation..
2007 Jul 26 9:03 AM
Hi Abhishek,
I think there is no difference between Statement1 and Statement2 in the performance wise but Statement2 will gives you more readable than Statement1.
Internally Statement2 will be spilted like Statement1 only.
Thanks,
Vinay
2007 Jul 26 9:05 AM
Hi,
No difference at all.
It is just a readability which will matter. Option 2 is the recommended one with slight modification as
REFRESH : i_tab1,
i_tab2,
i_tab3,
i_tab4.
Regards,
Atish
2007 Jul 26 9:06 AM
Hi Abhishek,
As both of the doing same thing, the only minor difference is that you are callling Refresh 4 times in statement 1 which is taking time to execute comparing to statement 2. As memory point of view it is not occupying memory instead it freeing the memory that is utilized by the internal tables. So it is better to use statement 2 instead of statement 1.
<b>Rewards points if it is useful.</b>
Regards,
Kinjal
2007 Jul 26 10:29 AM
only difference in source code, no difference in execution!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |