2008 May 16 10:02 AM
Hi
i wrote a program,
check it in se30
it showed me following stats
ABAP [red] 71,3%
Database [green] 21,6%
System [green] 7,1%
which one it the better stat
is it the above one or
ABAP [green] 33.5%
Database [green] 33.5%
System [green] 33%
cand u suggest me with the reson ?
with Regards
Rohan Shetty
2008 May 16 10:12 AM
Hi friend
Go through this link
[http://help.sap.com/saphelp_nw04s/helpdata/en/c6/617d2ae68c11d2b2ab080009b43351/frameset.htm]
2008 May 16 10:04 AM
Hi,
First one is better.
SAP Memory
SAP memory is a memory area to which all main sessions within a SAPgui have access. You can use SAP memory either to pass data from one program to another within a session, or to pass data from one session to another. Application programs that use SAP memory must do so using SPA/GPA parameters (also known as SET/GET parameters). These parameters can be set either for a particular user or for a particular program using the SET PARAMETER statement. Other ABAP programs can then retrieve the set parameters using the GET PARAMETER statement. The most frequent use of SPA/GPA parameters is to fill input fields on screens
ABAP/4 Memory
ABAP memory is a memory area that all ABAP programs within the same internal session can access using the EXPORT and IMPORT statements. Data within this area remains intact during a whole sequence of program calls. To pass data
to a program which you are calling, the data needs to be placed in ABAP memory before the call is made. The internal session of the called program then replaces that of the calling program. The program called can then read from the ABAP memory. If control is then returned to the program which made the initial call, the same process operates in reverse.
SAP memory
The SAP memory, otherwise known as the global memory, is available to a user during the entire duration of a terminal session. Its contents are retained across transaction boundaries as well as external and internal sessions. The SET PARAMETER and GET PARAMETER statements allow you to write to, or read from, the SAP memory.
ABAP/4 memory
The contents of the ABAP/4 memory are retained only during the lifetime of an external session (see also Organization of Modularization Units). You can retain or pass data across internal sessions. The EXPORT TO MEMORY and IMPORT FROM MEMORY statements allow you to write data to, or read data from, the ABAP memory.
2008 May 16 10:07 AM
Hi Rohan!!
First one is better!!
reason being considering performance we should try writing such code which hits database min number of times.
If the database percentage is less(min) ur code's perforamnce is better.
hope it helps
Kindly reward points..
2008 May 16 10:08 AM
Which query results in the best performance? Me myself, I try to go for the 50 / 50 between ABAP and Database, but in the end, the query that runs fastest is the one I will use.
Too much time for selecting data (Database action) is sometimes the only way, so you will have to adjust the processing of this data (ABAP). However, most of the times I have experienced that the selection a lot of times can be optimized. This is because I always try to use the best approach when it comes to defining internal tables (sorted, standard, hashed, key fields etc.). So the only thing that I can do then, is optimize the selection itself.
But like I said, it is also a matter of trying and checking the runtime. It is no exact sience...Good luck.
2008 May 16 10:12 AM
Hi friend
Go through this link
[http://help.sap.com/saphelp_nw04s/helpdata/en/c6/617d2ae68c11d2b2ab080009b43351/frameset.htm]
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |