System Tables for Logs
Does anybody know what system tables store the logs displayed in ST22 and SM37? Trying to programmatically read and display the logs.
Thanks a bunch for your help.
Hi,
These are tables for Job scheduling
Once jobs are defined, they are stored in the R/3 database, in the following principal tables in the background processing system:
TBTCO: The job header table (job management data)
TBTCP: The job step table (individual processing steps in jobs) -to describe the detailed level for each job.
TBTCS: The control table for the time-driven job scheduler
Similar Messages
-
System table for Additional Data - Basic data text (MM03)
Hi
How can I get the system table for stroring data in MM03 in "Additional Data" the "basic data text" ?
Thanks in advance.Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z610'
LANGUAGE = SY-LANGU
NAME = V_TDNAME
OBJECT = 'VBBK'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = I_TEXT_HEAD
TABLES
LINES = I_TEXT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Regards,
Bharani -
Run queries against system tables for oracle BPEL processes
I want to run queries against system tables for oracle BPEL processes. It is becoming very difficult for me to us EM as it is very slow,
and not all the time, it is sufficient for our needs.
We are doing load testing and we want find out info like how many requests came in and how many faulted and what time is taken by each request...
So do any of you have the query that I can use and tables that I need to go against?Use the BPEL hydration database table "cube_instance".
There should be plenty of example in the forum regarding this table. -
Project system tables for getting baseline and forecast values
Hi all,
I am new to Project systems and currently i am having the PS report.
I need to pick the following values based on project definition (proj-pspid):
--> historical baseline values like:
1) versions
2) created by
3) created on
--> historical forecast values like:
1) versions
2) created by
3) created on
Can you please let me know the tables and fileds for fetching the above values.
Regards,
raviraj.Hi,
IMAK Appropriation requests - general data
IMAV Appropriation request variant
IMPR Investment Program Positions
IMPU Texts for cap. inv. program positions
IMTP Investment programs
IMZO Assignment Table- CO Object - Capital Investment Prog.Pos.
PMCO Cost structure of maintenance order
PRHI Work Breakdown Structure, Edges (Hierarchy Pointer)
PROJ Project definition
PRPS WBS (Work Breakdown Structure) Element Master Data
Check with tables -
Table for log of attribute/hierarch change run
Hi Guys,
Can someone please tell me the table name where all the attribute/hierarchy change run log is stored? Early reply is highly appreciated. Thanks in advance.hi Joseph,
what are you going to do with the log ?
attribute/hierarchy change run has no special log table,
it used the same one like other application log, BALDAT and other BAL* tables.
if you want to check the log, you can click 'log' in attr/hier change run screen ? (rsattr)
or view with SLG1, object RSSM, sub object MON.
specify date.
to delete log, you can use SLG2.
hope this helps. -
System table for all datatypes
Hi all,
I am migrating queries from SqlServer 7.0 to Oracle. I found a system tabel Systypes in SqlServer 7.0 which contains all the avaliable datatypes. Is there any similar table in Oracle from which we can get all data types. Any reply will be appreciated.Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z610'
LANGUAGE = SY-LANGU
NAME = V_TDNAME
OBJECT = 'VBBK'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = I_TEXT_HEAD
TABLES
LINES = I_TEXT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Regards,
Bharani -
Logical system entry for table entry
Hi,
After system copy from one system name to another , I am facing some inconsistenices in various tables.
The table entry can be seen in se16.But when I try to select entries from the same table using SELECT statement, table are not getting populated.
I ran the BDLS also . How do I check the logical system entried for table where I have inconsistent entries?
Thanks,
ChittaHello Chitta,
But when I try to select entries from the same table using SELECT statement, table are not getting populated.
what are you trying to populate?
If your question is, its not showing anything... what error message you're getting? are you trying to run in the DB level?
If you're getting error, that this object doesn't exist in the database then you might not be logging with correct user. its an SAP table, then its owner is the SAP schema user. If you login with the schema user, it should show in a normal select statement. But if you login with <sid>adm then you have to give the correct schema id before tablename.
select * from <SchemaID>.<tablename>
SchemaID may be sapr3, sapsr3, or sap<SID> depending on your release.
Regards,
Debasis. -
How to get the Change Log Table name of the ODS from the system table
Hi,
I have a list of ODSs in the system and I am interested in finding the corresponding Change Log Table and the number of records in that table.
Can any one please tell me the name of the system table where this information is stored.
I dont want to get in this information manully (from the Contents tab of the ODS maintenane).
Regards,
Harikiran GunnalaHi
Go to SE16
Give the table name as "RSTSODS".
For User application field give CHANGELOG as input
and execute. You will get all the list of Changelog tables Along with below mentioned data
PSA
Version
To
Valid from
Object Status
Technical ODS name
Program Name
Maint Program
Object Name
Last changed by
UTC Time Stamp in Short Form
Partition number
Regards
Raj -
Get error messages for those procedures in some system tables
Hi expert,
when I ran a procedure by schedule or on the front end. is there any approach to get error messages for those procedures in some system tables?
Many Thanks,>
when I ran a procedure by schedule or on the front end. is there any approach to get error messages for those procedures in some system tables?
>
No - there is no system log table.
You need to create your own logging package and log table and modify your procedure code to call your own logging procedures to log into your own log table.
The procedures in the log package would typically be defined with PRAGMA AUTONOMOUS_TRANSACTION so that the exceptions get logged even if your procedure performs a ROLLBACK.
See AUTONOMOUS_TRANSACTION in the PL/SQL Language Reference
http://docs.oracle.com/cd/B28359_01/appdev.111/b28370/autotransaction_pragma.htm
Here is an Oracle-Base article that shows how to use the pragma to perform logging.
http://www.oracle-base.com/articles/misc/autonomous-transactions.php -
Use global temp table for DML error logging
our database is 11.2.0.4 enterprise edition on solaris 10
we are wondering if anyone has an opinion of or has done this before, to use a global temp table for DML error logging. We have a fairly busy transactional database with 2 hot tables for inserts. The regular error table created with dbms_errlog has caused many deadlocks which we don't quite understand yet. we have thought using global temp table for the purpose, and that seemed to work, but we can't read error from the GTT, the table is empty even reading from the same session as inserts. Does anyone have an idea why?
ThanksThe insert into the error logging table is done with a recursive transaction therefore it's private from your session which is doing the actual insert.
Adapted from http://oracle-base.com/articles/10g/dml-error-logging-10gr2.php
INSERT INTO dest
SELECT *
FROM source
LOG ERRORS INTO err$_dest ('INSERT') REJECT LIMIT UNLIMITED;
99,998 rows inserted.
select count(*) from dest;
COUNT(*)
99998
SELECT *
FROM err$_dest
WHERE ora_err_tag$ = 'INSERT';
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 1000 Description for 1000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 10000 Description for 10000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 1000 Description for 1000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 10000 Description for 10000
rollback;
select count(*) from dest;
COUNT(*)
0
SELECT *
FROM err$_dest
WHERE ora_err_tag$ = 'INSERT';
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 1000 Description for 1000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 10000 Description for 10000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 1000 Description for 1000
1400 "ORA-01400: cannot insert NULL into ("E668983_DBA"."DEST"."CODE")" I INSERT 10000 Description for 10000 -
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
Using Pages, I have created a document and inserted a Table for use logging an inventory. When I came to print this document the lines and boarders of the Table feature did not print however the text did print in the table format. How do I get the lines and boarders to print also?
-
System Variable For Internal table count
Can anybody tell me what the system variable for internal table count?
I just wants to know how many recoreds are there in my internal table ?
Regards,
pandu.Hi ,
DESCRIBE TABLE <itab> [LINES <l>] [OCCURS <n>] [KIND <k>].
If you use the LINES parameter, the number of filled lines is written to the variable <lin>. If parameter, the you use the OCCURS value of the INITIAL SIZE of the table is returned to the variable <n>. If you use the KIND parameter, the table type is returned to the variable <k>: T for standard table, S for sorted table, and H for hashed table.
using variable
SY-TFILL
After the statements DESCRIBE TABLE, LOOP AT, and READ TABLE, SY-TFILL contains the number of lines in the relevant internal table.
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3798358411d1829f0000e829fbfe/content.htm
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 21, 2008 4:53 PM -
Equivalent tables for MARA, MAKT and MCH1 in the EWM system
Hi,
I would like to construct a report using the existing tables in EWM. But it turns out that it's somewhat different from the ECC system.
The material tables, MARA and MAKT and the batch table, MCH1 table are not there. I need the material number( like MARA-MATNR), material description/name(MAKT-MAKTX), the division ( MARA-SPART) and the batch number(MCH1-CHARG) and expiration date(MCH1-VFDAT).
Could someone provide the EWM equivalent for these tables and fields?
Thank you.
Best Regards,Table Name Short text
/SAPAPO/MAT_MTRX Matrices for Rules of Matrix Generation
/SAPAPO/MAT_RULE Rules for Setup Matrix Generation
/SAPAPO/MATAPN Alternative Product Number
/SAPAPO/MATBOD Product BOD Assignment
/SAPAPO/MATEXEC Product: Execution Data
/SAPAPO/MATGPVAL Product Group Values
/SAPAPO/MATGROUP Product Grouping
/SAPAPO/MATINFO Product Information
/SAPAPO/MATKEY Product
/SAPAPO/MATLANE TS: Master Data Table Product/Lane
/SAPAPO/MATLARES TS: Master Data Table Product/Lane/Resourc
/SAPAPO/MATLCP Materials Lifecycle Stages
/SAPAPO/MATLOC Location Product
/SAPAPO/MATLOCPR Partner-Dependent Location Product Attribu
/SAPAPO/MATLOCTD Time-Dependent Location Product Fields
/SAPAPO/MATLORES TS: Master Data Table Product/Location/Res
/SAPAPO/MATLOTSZ Lot Sizes & Days' Supplies for Material Ma
/SAPAPO/MATLPL Location Product Planner (with Planner Typ
/SAPAPO/MATLSIM Location Product with Planning Version
/SAPAPO/MATLSINH Location Product with Inheritance
/SAPAPO/MATLSPP SPP Relevant Location Product Attributes
/SAPAPO/MATLWH Location Product for Location Warehouse
/SAPAPO/MATLWHST Location Product for Location Whse and Sub
/SAPAPO/MATMAP Mapping Table for Products
/SAPAPO/MATMOD Model assignment of location product
/SAPAPO/MATNR_V MATNR for Foreign Key Checks
/SAPAPO/MATPACK Product: Packing/Packaging Data
/SAPAPO/MATPPM TS: Master Data Table Product/PPM
/SAPAPO/MATPRIO Product Priority Time & Version-Dependent
/SAPAPO/MATPRMRM Alternative units of measure for partner p
/SAPAPO/MATPRT Partner Product Master Data
/SAPAPO/MATPRTXT Partner product description
/SAPAPO/MATRELH Product-Relevant Hierarchies and Hierarchy
/SAPAPO/MATREPC Replenishment Control
/SAPAPO/MATREPCT Replenishment Control
/SAPAPO/MATRES TS: Master Data Table Location/Resource
/SAPAPO/MATRGPT Product Regional Pattern Assignment
/SAPAPO/MATRQ Requirement Profile in Material Master
/SAPAPO/MATRULET Text Table of Rules for Setup Matrix Gener
/SAPAPO/MATSBOD Product BOD Assignment with Planning Versi
/SAPAPO/MATSTOCK Stock Information
/SAPAPO/MATTXT Material Descriptions -
Is there a custom function available which can be used for logging errors captured in a sp during and after execution in a sql table?
Basically we would like to utilize such function in every sp and log errors of each sp in a error log table
MudassarThanks .
I was able to write this however I am thinking I am missing something
CREATE FUNCTION testfunction1()
RETURNS @temp_error TABLE (
id int identity(1,1),
procedure_name varchar(255),
line_number int,
error_number int,
error_message varchar(max),
error_state int,
error_severity int,
occurence_datetime datetime default current_timestamp,
user_name sysname default suser_name(),
login_name sysname default suser_name()
AS
BEGIN
insert @temp_error(procedure_name,line_number,error_number,error_message,error_state,error_severity)
select error_procedure(),error_line(),error_number(),error_message(),error_state(),error_severity()
RETURN;
END;
CREATE TYPE test_type AS TABLE(
id int identity(1,1),
procedure_name varchar(255),
line_number int,
error_number int,
error_message varchar(max),
error_state int,
error_severity int,
occurence_datetime datetime default current_timestamp,
user_name sysname default suser_name(),
login_name sysname default suser_name()
GO
create proc usp_error_test
@test_type AS test_type READONLY
as
begin
begin try
select 1/0
end try
begin catch
select * from testfunction1(@test_type)
end catch
end
Mudassar -
Tables for Project System Component
Hi,
I hve the list of standard DS from Project System component. Currently these DS are not active in our ECC system. Now I need to find the Source table for all these DS. Can any one please provide the table name if you have. I searched in sdn/help.sap but I couldn't find any.
Master Data DS:
0ACTIVITY_ATTR
0ACTIVITY_CUST_ATTR
0ACTIVITY_TEXT
0ACTIVITY_USR_ATTR
0ACTY_ELEMT_ATTR
0ACTY_ELEMT_CUST_ATTR
0ACTY_ELEMT_TEXT
0ACTY_ELEMT_USR_ATTR
0CASHDETAIL_TEXT
0CASHTYPE_TEXT
0CLAIM_ATTR
0CLAIM_TEXT
0DATE_EVENT_TEXT
0DATE_SRCE_TEXT
0MILESTONE_ATTR
0MILESTONE_TEXT
0MLST_USE_TEXT
0NAE_INH_ATTR
0NETWORK_ATTR
0NETWORK_CUST_ATTR
0NETWORK_TEXT
0NTW_INH_ATTR
0NWA_INH_ATTR
0ORD_INH_ATTR
0PROJECT_ATTR
0PROJECT_CUST_ATTR
0PROJECT_TEXT
0PS_APPLNO_TEXT
0PS_CHANCE_TEXT
0PS_COMPONT_ATTR
0PS_COMPONT_TEXT
0PS_HERKZ_TEXT
0PS_OBJ_TEXT
0PS_OPPNT_TEXT
0PS_PRJTYPE_TEXT
0PS_RESPNO_TEXT
0SCOPE_TEXT
0STATUSCLM1_TEXT
0STATUSCLM2_TEXT
0STATUSSYS0_TEXT
0WBS_ELEMT_ATTR
0WBS_ELEMT_CUST_ATTR
0WBS_ELEMT_TEXT
0WBS_ELEMT_USR_ATTR
0WBS_ELEMT_WBSH_HIER
0WBS_INH_ATTR
Transactional DS
0PS_CLM_CST
0PS_CLM_ECP
0PS_CSH_NTW
0PS_CSH_NWA
0PS_CSH_ORD
0PS_CSH_WBS
0PS_DAT_MLS
0PS_DAT_NAE
0PS_DAT_NTW
0PS_DAT_NWA
0PS_DAT_PRJ
0PS_DAT_WBS
0PS_KAP_NAE
0PS_KAP_NWA
0PS_NAE_ECP
0PS_NAE_EVA
0PS_NTW_EVA
0PS_NWA_ECP
0PS_NWA_EVA
0PS_ORD_EVA
0PS_WBS_ECP
0PS_WBS_EVA
Regards,
Jackie.Try to search it at Help.sap.com web page (use search for BI content)
For example for your first extracotr:
http://help.sap.com/saphelp_nw70/helpdata/en/4f/4bc739e033417ae10000000a114084/frameset.htm
Regards,
DL
Maybe you are looking for
-
Error saving purchase order data decimal values
sir, PO was created with currency japanese YEN using Tcode ME21N . The net price was showing 142502300 (in JPY). when checked in EKPO table , it saved with a value 1425023.00 instead of 142502300 . what can be done to correct this. In PO Pri
-
Binding: Instance variable loses value.
Hi all, Just making my first steps into Objective-C, I've done a lot of C, C++ and C# on win & linux. Anyhow, I've been hacking away happily and discovered a peculiar behaviour, and I'm not sure if it's my code or some obscure bug in Xcode. 1. I have
-
Ipad clock app ios7 accidentally deleted
I deleted my clock app on my ipad mini using ios 7.1, Can anyone advise me how I can restore it to my home screen. The only way I can open it at the moment is through siri. Thanks
-
Permission Denied on Solaris 10 NFS share, shared trough Windows Server 2008R2
Hello, We have a NFS share on Windows Server 2008 R2 setup the following way, NTFS permissions for ANONYMOUS LOGON and Everyone groups are set to Full control. When mounting this share on our Solaris workstation, it mounts and we can view files in
-
I keep losing some of my contacts. I put them in and they disappear. Help.
I keep losing some of my contacts. I put them in and they disappear. Help.