DBTABPRT SAP (Table of log records for table tupel changes) Table details
Dictionary Type: Table
Description: Table of log records for table tupel changes
Description: Table of log records for table tupel changes
Table field list including key, data, relationships and ABAP select examples
DBTABPRT is a standard SAP Table which is used to store Table of log records for table tupel changes data and is available within R/3 SAP systems depending on the version and release level.
The DBTABPRT table consists of various fields, each holding specific information or linking keys about Table of log records for table tupel changes data available in SAP. These include AS4DATE (Date of Last Change), AS4TIME (Last changed at), VKEY (Variable key part of table), COUNTER (Counter for uniqueness of the DBTABPRT key).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Not classified
SAP DBTABPRT table fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
TABNAME | Table Name | OLD_TABNAM | CHAR | 10 | OLD_TABNAM | DTB | |||
AS4DATE | Date of Last Change | AS4DATE | DATS | 8 | AS4DATE | ||||
AS4TIME | Last changed at | AS4TIME | TIMS | 6 | AS4TIME | ||||
VKEY | Variable key part of table | PTVKEY | CHAR | 86 | PTVKEY | ||||
COUNTER | Counter for uniqueness of the DBTABPRT key | PTCNT | INT4 | 10 | PTCNT | ||||
HOSTNAME | Host Name | MSHOST | CHAR | 20 | MSHOST | ||||
AS4USER | Last Changed by | AS4USER | CHAR | 12 | AS4USER | ||||
TCODE | Transaction code | OLD_TCODE | CHAR | 4 | OLD_TCODE | TCD | |||
ABAPNAME | ABAP: Program Name | OLD_PROG | CHAR | 8 | OLD_PROG | RID | |||
OPTYPE | Operation type of SQL statement | OPTYPE | CHAR | 1 | OPTYPE | ||||
DATALN | Actual length of vardata | DATALN | INT2 | 5 | DATALN | ||||
VDATA | Variable data part for non-key fields | PTVDATA | LRAW | 500 | PTVDATA |
Key field | Non-key field |
How do I retrieve data from SAP table DBTABPRT using ABAP code
The following ABAP code Example will allow you to do a basic selection on DBTABPRT to SELECT all data from the tableDATA: WA_DBTABPRT TYPE DBTABPRT.
SELECT SINGLE *
FROM DBTABPRT
INTO CORRESPONDING FIELDS OF WA_DBTABPRT
WHERE...
How to access SAP table DBTABPRT
Within an ECC or HANA version of SAP you can also view further information about DBTABPRT and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects