ST04 functionality
Dear all,
I want to know how much space my Z* Y* and some of the standard SAP DB tables needs.
In ST04 I found a functionality under Space ->Table spaces where I can put only one DB-Table.
Is there any other possiblity to analyze more then one table?
Thank you very much!
Moderator message: not directly related to ABAP development, please post again in the appropriate technical Netweaver or DB forum.
Edited by: Thomas Zloch on Oct 21, 2010 4:43 PM
This TCODE DB02 is the same like ST04 ...
Please can u give me littlw more details about it. I can only analyze 1 table here.
Similar Messages
-
ST04 functionality on ECC 6.0
Dear all,
I want to know how much space sizes my Z* Y* and some of the standard SAP DB tables needs.
In ST04 I found a functionality under Space ->Table spaces where I can put only one DB-Table.
Is there any other possiblity to analyze more then one table?
Thank you very much!DB02 --> segments --> detailed analysis --> execute.
This may take long time, and you can restrict the selection may be by size or table names. -
Trace of db_directories after system copy
Hello All,
We did a system copy last week (PRD to TST). In TST, in one of st04 functions we receive the following errors:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04040: file alert_PRD.log in EXT_DIR_DBAC_ALERT not found
After checking db_directories, we found some traces of PRD in TST (see below query). The mentioned directories don't exist anymore in TST. Do you have any idea how I can do the clean-up?
SQL> select * from dba_directories;
OWNER DIRECTORY_NAME
DIRECTORY_PATH
SYS DATA_PUMP_DIR
/oracle/admin/PRD/dpdump/
SYS EXT_DIR_DBAC_CLIENT
/usr/sap/PRD/SYS/profile/oracle
SYS ORACLE_OCM_CONFIG_DIR
/oracle/PRD/112_64/ccr/state
OWNER DIRECTORY_NAME
DIRECTORY_PATH
SYS EXT_DIR_DBAC_ALERT
/oracle/PRD/saptrace/diag/rdbms/prd/PRD/trace
SYS EXT_DIR_DBAC_SERVER
/oracle/PRD/112_64/network/admin
Thank you,
KamandSQL> select * from dba_external_locations;
SYS EXT_TAB_DBAC_TNSNAMES
tnsnames.ora
SYS EXT_DIR_DBAC_CLIENT
SYS EXT_TAB_DBAC_SQLNET
sqlnet.ora
SYS EXT_DIR_DBAC_CLIENT
SYS EXT_TAB_DBAC_LISTENER
listener.ora
SYS EXT_DIR_DBAC_SERVER
SYS EXT_TAB_DBAC_ALERT
alert_PRD.log
SYS EXT_DIR_DBAC_ALERT
AND
SQL> select * from dba_external_tables;
SYS EXT_TAB_DBAC_TNSNAMES SYS
ORACLE_LOADER SYS EXT_DIR_DBAC_CLIENT
0 CLOB
RECORDS DELIMITED BY NEWLINE
NOLOGFILE
ALL
SYS EXT_TAB_DBAC_SQLNET SYS
ORACLE_LOADER SYS EXT_DIR_DBAC_CLIENT
0 CLOB
RECORDS DELIMITED BY NEWLINE
NOLOGFILE
ALL
SYS EXT_TAB_DBAC_LISTENER SYS
ORACLE_LOADER SYS EXT_DIR_DBAC_SERVER
0 CLOB
RECORDS DELIMITED BY NEWLINE
NOLOGFILE
ALL
SYS EXT_TAB_DBAC_ALERT SYS
ORACLE_LOADER SYS EXT_DIR_DBAC_ALERT
0 CLOB
RECORDS DELIMITED BY NEWLINE
NOLOGFILE
ALL -
How to Measure Function Module Performance?
Please can you tell me how I can measure the performance and trace the actions of a Function Module in R/3?
The function module in R/3 is run when a user calls a WebDynpro action from a WebDynpro screen within the SAP Portal.
I have tried running a trace on a user (ST05) but that only shows table actions (e.g. reads/fetch etc.). Also it does not appear in ST04 or ST03N. I would like to know how long the program actually takes to run.
Thanks.
PaulHi,
if I want to measure the runtime required to run some Abap, I use SE30. However i used it only for normal Dynpro application, not WebDynpro.
The detail level of the created trace can be configured. The aggregation level should be set to "Full" or "By call" at the beginning. Disabling aggregation leads to huge trace files.
You can select which statements should be traced. If you disable an option it's runtime is not lost but add to the traced action in the next level. If for example "Open SQL" is disabled, the time used by it is added into the net time of the method, function module of subroutine. Otherwise if "Open SQL" is enabled the net time of a function module does not include SQL time. SQL time is then listed separately.
Greetings -
Error while execting Tcodes ST04,ST03,DB12,DB02
Hi Experts,
I had installed QAS & DEV instances successfully on one windows host.Below are the syste details.
OS :- Windows 2003 64 bit Standard Edition
Database :- Oracle 10.2.0.2
SAP :- R/3 4.7 Enterprise Ext. 200 SR1
Support Pack :-
SAP_Basis 6.20 Level 41
SAP_APPL 470 Level 21
SAP_ABA 6.20 Level 41
I am facing problem while executing transactions related to database i.e st04,st03,db12,db02.
After executing this transactions I received followng dumps.
1) Runtime Errors DBIF_DSQL2_SQL_ERROR
Exception CX_SY_NATIVE_SQL_ERROR
Database error text........: "ORA-00904: "KEY": invalid identifier"
Triggering SQL statement...: "FETCH NEXT "
Internal call code.........: "DBDS/NEW DSQL"
2) Runtime Errors RAISE_EXCEPTION
Exception condition "DB_RELEASE_UNKNOWN" raised
Error analysis
A RAISE statement in the program "SAPLSORA" raised the exception
condition "DB_RELEASE_UNKNOWN".
Since the exception was not intercepted by a superior program
in the hierarchy, processing was terminated.
3)Runtime Errors BCD_ZERODIVIDE
Exception CX_SY_ZERODIVIDE
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_ZERODIVIDE', was neither
caught nor passed along using a RAISING clause, in the procedure
"SKOM_CT_PERF_BUF_REDO" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
In the current program "SAPLSKOM", an arithmetic operation ('DIVIDE',
'/', 'DIV', or 'MOD') with a type P operand attempted to divide
by 0.
4) Runtime Errors COMPUTE_BCD_OVERFLOW
Exception CX_SY_ARITHMETIC_OVERFLOW
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_ARITHMETIC_OVERFLOW',
was neither
caught nor passed along using a RAISING clause, in the procedure
"SKOM_CT_PERF_BUF_LIB" "(FUNCTION)"
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
An overflow has been determined in the current arithmetical operation
containing operands of type P. Possible causes include:
1. The results field of type P is to small and the result does not fit
into it.
places.
2. The result or partial result has more than 31 decimal places.
Thanks,
SachinHi Markus,
I have seen the note#741119, it asks to apply pack SAPKB64004, but its says its valid for Release 640 only. My release is 640 currently:
Software Component Name SAP_BASIS
Software Component Release 620
Support Package Level 0041
Highest Imported Support Package SAPKB62041
Short Description of Software Component SAP Basis Component
Support Package type Basis Support Pkg.
My question is, can i apply the pack directly on release 620? The prequisite to this pack says, the release should be 640. This forum helped me a lot, hoping you guys will solve my this issue as well.
Regards. -
Unable to see DB13 and ST04 logs in the system.
Hi All,
We are unable to see the DB13 logs in our SAP system. The same is happening while trying to look into the ST04 logs for Database Message Logs. In both the cases we find the same kind of log:
[in DB13 log]************************************************************************
BR252E Function fopen() failed for '/sapdba/sapcheck/cdvxzfrv.aly' at location file_printout-1
BR253E errno 2: No such file or directory
External program terminated with exit code 5
[in ST04 log]*************************************************************************
BR252E Function fopen() failed for '/sapdba/saptrace/background/alert_PIN.log' at location file_printout-1
BR253E errno 2: No such file or directory
External program terminated with exit code 5
SAP is running on Varitas cluster on two different nodes. One node is having SAP services and the another one Oracle services on it. Since the last week when we shifted the Oracle services from one node to another for monthly maintenace work, we are facing this problem.
Our system details are:
SAP 46C (kernel 46D_EXT) 32 bit
SuSe Linux 2.6.5-7 64 bit
Oracle 9.2.0.6.0
Can someone please help me on it.
AnilThanks Padmaja/Eric for your reply !!!
File systems are properly mounted and I can see these said files at OS level. Following are the env variable:
USER=dinadm
LOGNAME=dinadm
HOME=/home/dinadm
PATH=/oracle/DIN/920_64/bin:.:/home/dinadm:/usr/sap/DIN/SYS/exe/run:/opt/kde3/bin:/opt/gnome/bin:/usr/games:/home/dinadm/bin:/usr/bin/X11:/usr/bin:/bin:/usr/sbin:/sbin:/usr/lib/java/jre/bin
MAIL=/var/mail/dinadm
SHELL=/bin/tcsh
SSH_CLIENT=10.234.14.33 1364 22
SSH_CONNECTION=10.234.14.33 1364 10.234.13.50 22
SSH_TTY=/dev/pts/0
TERM=xterm
HOSTTYPE=x86_64-linux
VENDOR=suse
OSTYPE=linux
MACHTYPE=x86_64
SHLVL=1
PWD=/usr/sap/trans/data
GROUP=sapsys
HOST=insapr3din01
HOSTNAME=insapr3din01.pdc.in.ap.holcim.net
MANPATH=/usr/share/man:/usr/X11R6/man:/usr/local/man:/opt/gnome/share/man
MINICOM=-c on
INFODIR=/usr/local/info:/usr/share/info:/usr/info
INFOPATH=/usr/local:/opt/gnome:/usr
LESS=-M -I
LESSOPEN=lessopen.sh %s
LESSCLOSE=lessclose.sh %s %s
LESSKEY=/etc/lesskey.bin
PAGER=/usr/bin/less
MORE=-sl
GZIP=-9
CSHEDIT=emacs
COLORTERM=1
NNTPSERVER=news
XFILESEARCHPATH=/usr/lib/X11/%L/%T/%N%C:/usr/lib/X11/%l/%T/%N%C:/usr/lib/X11/%T/%N%C:/usr/lib/X11/%L/%T/%N:/usr/lib/X11/%l/%T/%N:/usr/lib/X11/%T/%N:/var/X11R6/%T/%N%C:/var/X11R6/%T/%N
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
QTDIR=/usr/lib/qt3
no_proxy=localhost
WINDOWMANAGER=/usr/X11R6/bin/kde
JAVA_BINDIR=/usr/lib/java/jre/bin
JAVA_ROOT=/usr/lib/java
JAVA_HOME=/usr/lib/java/jre
JRE_HOME=/usr/lib/java/jre
CVS_RSH=ssh
G_BROKEN_FILENAMES=1
GNOME_PATH=/opt/gnome:/usr
GNOMEDIR=/opt/gnome
ACLOCAL_PATH=/opt/gnome/share/aclocal
PKG_CONFIG_PATH=/opt/gnome/lib/pkgconfig
GTK_PATH=/usr/local/lib64/gtk-2.0:/opt/gnome/lib64/gtk-2.0:/usr/lib64/gtk-2.0
MODULE_VERSION=3.1.6
MODULE_VERSION_STACK=3.1.6
MODULESHOME=/usr/share/modules
MODULEPATH=/usr/share/modules/versions:/usr/share/modules/modulefiles
LOADEDMODULES=
CSHRCREAD=true
LS_OPTIONS=-N --color=tty -T 0
SAPSYSTEMNAME=DIN
DIR_LIBRARY=/usr/sap/DIN/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/DIN/SYS/exe/run:/oracle/client/92x_32/lib
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=DIN
dbs_ora_schema=SAPR3
ORACLE_PSRV=DIN
ORACLE_SID=DIN
ORACLE_HOME=/oracle/DIN/920_64
ORACLE_BASE=/oracle
ORA_NLS=/oracle/DIN/920_64/ocommon/NLS_723/admin/data
ORA_NLS32=/oracle/DIN/920_64/ocommon/NLS_733/admin/data
ORA_NLS33=/oracle/client/92x_32/ocommon/nls/admin/data
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/sapdata/oracle/DIN
waiting for your reply,
Anil -
Hi,
This is the prompt that I get when I try to view the Call point in ABAP for a particular SQL ID in Transaction st04 -> SQL Statement Analysis -> Shared Cache.
What does this Error signify ??
Thanks & regards to all readers and posters.Hi,
check SAP note 1309309 "Application Info" is missing. You probabyl need a new DBSL patch.
btw. istn't it funny that on an ORACLE database a DB6_DIAG_VIEW_SOURCE function module is used... ?
Kind regards,
Hermann -
Hi Experts, We are getting Exception CX_DBA_ADBC in function unit C_GET_DB_ORA_FILESYSTEM_REQUES ( function group S_ORA_COCKPIT_2 include line 0 ) error in
ST04 > Performance > Wait Event Analysis > Filesystem requests
As a correction we implemented OSS note 1262645 but still the problem persists.
Any advice would be much approeciated.
Regards, Amber SHello,
Check the below link, might help..
Re: Getting exception CX_DBA_ADBC while executing ST04
Regards,
Yoganand.V -
Getting a Dump in ST04 DYNPRO_FIELD_CONVERSION
Hi All,
We have an ECC 6.0 running on Oracle 10.2.0.2 and os is SUN - OS
When i go to ST04 i get a dump in the system
DYNPRO_FIELD_CONVERSION
Screen name.............. "SAPLS_ORA_COCKPIT_2"
Screen number............ 0001
Screen field............. "ST04N_DATA-DBUFF_BUSYWAITS"
Error text............... "FX015: Sign lost."
I have applied the note 1227629 manually
i.e In Structure ST04N_DATA i saw the following data elements were having length as 12. and it was increased to 16.
DBUFF_LOGREADS
DBUFF_PHYSREADS
DBUFF_PHYSWRITES
DBUFF_BUSYWAITS
DBUFF_WAITTIME
and after that in SE80 selected function group S_ORA_COCKPIT_2 under the screen 0001 changed the length from 15 10 16 for fields DBUFF_LOGREADS
DBUFF_PHYSREADS
DBUFF_PHYSWRITES
DBUFF_BUSYWAITS
DBUFF_WAITTIME
however we still have the error. Any pointers would be helpful
Regards,
Ershad AhmedHello Rohith,
Thanks for the reply . I checked the note 1227629 its applicable from Basis Support pack 14onwards
and we are currently on 13 and the other notes 1137886, 1136458 tells us to increase the length to 16
and thats been done, The last note 1246251 shows a different Screen field
Screen field............. "ST04N_DATA-SHPL_CAQUAL"
Regards,
Ershad Ahmed -
Define an interval in st04 / SQL-Cache
Hi,
one of our customers runs their systems with DB2 under solaris. The others work with DB2 z/OS or Oracle.
In these both platforms there is a functionality to define an interval in the Statement Cache / Cursor Cache. With a 'reset' button i can reset all data to zero. And with the 'since reset' button i get new data only for the time since pushing the 'reset' button.
I wonder if there is nothing familiar in the DB6 SQL-Cache.
In the st04 transaction there are some buttons to define such an interval, but it seems they work only on the database snapshot screen for bufferpools, cache etc.
The SAP status shows a DB2 9.5.4 and ECC 6.0 SP 18.
Is there something that i have overlooked ?
regards
KayHello Kay,
The behaviour in recent support pack and db2 release levels is that the sql chace is refreshed once you check the sql cache in dbacockpit/st04.
The new behaviour whereby the SQL cache data is refreshed upon entering ST04 -> SQL chache is
the preferred behaviour. The main reason for the old behaviour where the previously stored SQL cache data was initially displayed until a refresh was requested, was due to very slow SQL cahce retrieval in previous releases.
With newer releases, especially db2 v9, it has become faster to retrieve and so, reached an acceptable speed that the behaviour has been changed to trigger a refresh of the data immediately once ST04-> sql cache is
selected.
With this you can be sure that the sql cache you are seeing is current, whenever you check it via dbacockpit.
Hope this helps,
Paul -
Getting exception CX_DBA_ADBC while executing ST04
While executing ST04 -> Performance -> Wait Event Analysis -> Filesystem Requests
The following error comes
Exception CX_DBA_ADBC in function unit C_GET_DB_ORA_FILESYSTEM_REQUES ( function group S_ORA_COCKPIT_5 include line 0 )
The database is Oracle.
I have seen SAP NOTE 1262645 under which the correction is delivered in the support pack SAPKB700018 but we already are on that support pack level.
Please suggest.Hi Sergo
I already checked SM21 & ST22 . There was nothing there.
When i checked alert log there alos i find nothing.
The error description in note 159510 doesnot match our case.
But when i expanded the pop up Exception CX_DBA_ADBC in function unit C_GET_DB_ORA_FILESYSTEM_REQUES and scrolled further, i saw that it is trying to access a table or view that doesnot exist and it gives SQL Message: ORA-00942: table or view does not exist .
The view in question seems to be SAP$KCBFWAIT .
The method to create or replace this table/view is given in the note you mentioned.
I would try to implement it and see if it solves my problem.
Thanks
Anurag -
Function Module showing Transparent Table access??
Hi Guys,
I'm in the process of writing some programs that will archive some of our Custom tables (they are getting very full!).
Now, instead of going through ALL the custom tables we created, I'm trying to write a small program that will bring me tables that have certain criteria...
One of the criteria is Tables Access. I'm trying to see when last a table has been accessed (by a program, for example). Im not talking about the last Change Date (as per table DD02L entries) as I presume this actually indicates technical changes to the table??
Im looking for a Function Module that can actually give me the last date any given transparent table's data has been accessed...
Does anyone know of such a Function Module/Class?
tks
C
POINTS WILL BE REWARDED FOR USEFULL AWNSERSHello Christian,
To answer your question, it is normally obtained through ST04 (DB Performance Monitor).
However, the inherent information pertinent to Table Access made by application programs depends on the underlying Database involved. In case of DB server being ORACLE...you may use the program RSORASCC.
Also, I would like to make a further recommendation about your methodology to identify custom transparent tables. Besides studying the table accesses, it is very important to consider the current size and the growth rate over a period of time. For doing this, use DB02 (Space Statistics for Tables and indexes) and workout the list of tables which you have to concentrate from archiving perspective.
Hope this info helps you and resolves your query.
With Regards
Vijay Gajavalli -
Fax function of HP LaserJet Enterprise 500 Color MFP M575
Hi,
I am one of users of HP LaserJet Enterprise 500 Color MFP M575.
I would like to know can I set the printer do not print my fax number and fax header on paper when I fax my document to others.
I had login as admin but I did not see where I can config it.
Thank you.
Regards,
Jimmy PunThere is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start. -
Logical Operations in SQL decode function ?
Hi,
Is it possible to do Logical Operations in SQL decode function
like
'>'
'<'
'>='
'<='
'<>'
not in
in
not null
is null
eg...
select col1 ,order_by,decode ( col1 , > 10 , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 , <> 10 , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 , not in (10,11,12) , 0 , 1)
from tab;
select col1 ,order_by,decode ( col1 ,is null , 0 , 1)
from tab;
Regards,
infan
Edited by: user780731 on Apr 30, 2009 12:07 AM
Edited by: user780731 on Apr 30, 2009 12:07 AM
Edited by: user780731 on Apr 30, 2009 12:08 AM
Edited by: user780731 on Apr 30, 2009 12:08 AM
Edited by: user780731 on Apr 30, 2009 12:09 AMexample:
select col1 ,order_by,case when col1 > 10 then 0 else 1 end
from tab;
select col1 ,order_by,case when col1 <> 10 then 0 else 1 end
from tab;
select col1 ,order_by,case when col1 not in (10,11,12) then 0 else 1 end
from tab;As for testing for null, decode handles that by default anyway so you can have decode or case easily..
select col1 ,order_by,decode (col1, null , 0 , 1)
from tab;
select col1 ,order_by,case when col1 is null then 0 else 1 end
from tab; -
Hi,
When we use IF in calculation view with CE function the SQL engine is used.
When we remove the "IF" the CE engine is used.
Is there any alternative for if or case in CE functions?
Thanks,
AmirIs it possible to use CE_CALC for this functionality?
We are trying to use it inside projection:
res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" , "Bal_Date" AS "BALANCE_DATE", "RTCUR" ,"MAX_ZGROUP"],'"BALANCE_DATE" == 20140101');
works but:
res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" , "Bal_Date" AS "BALANCE_DATE", "RTCUR" ,"MAX_ZGROUP"], '"BALANCE_DATE" == CE_CALC( 'if(''20140101'' == ''19000101'', ''19000101'', ''20140101'')');
Doesn't work.
Thanks,
Amir
Maybe you are looking for
-
I cant open my current iPhoto library using this version (8.1.2) of iPhoto
I recently (August 2014) bought a new macbook pro with OS X Maverick 10.9.4 and I have an old white macbook with OS X 10.7.5. I went to the apple store to transfer all of my data from my old mac to my new mac. Everything synced except for my photos i
-
Number of Tab Strips in BSP pages of E-Recruitment
Hello, We have a problem with number of tab strips visible per page in Job Interest Wizard page of E-Recruitment. The default number of tabs are 5 per page. In our case we put a large text in each tab (as per our business requirement), so these tabs
-
Selection Screen field modification
Hi Experts, I wanted to disable certain fields based on some selection. I wanted to know what is the meaning of below statement. SCREEN-OUTPUT = 1. SCREEN-INPUT = 0. SCREEN-INVISIBLE = 1. Also what is the meaning of SCREEN-ACTIVE = 0.
-
How do I open RAW images from my Canon G9 in Lightroom?
I am starting to use my camera to take pictures of original artwork, for the purpose of making and selling reprints. I understand that I need to shoot the images in RAW so that I don't lose picture quality, but how do I know if the images that are im
-
Combo restarts automatically after shutting down
Hi , I have a psu of 350 (Antec) a P4 3400 Prescott with 512DDR2. with vga ATI x300 Overload Protection Latching Protection +5V @ +3.3V @ +12V @ cpu temp: 42 case temp: 42 and everytime I shut down: my puter restarts automatically, it is terrible