TXW_DIRSEG SAP (Data file segment directory (replaced by txw_dirsg2: uuids)) Table details
Description: Data file segment directory (replaced by txw_dirsg2: uuids)
Table field list including key, data, relationships and ABAP select examples
TXW_DIRSEG is a standard SAP Table which is used to store Data file segment directory (replaced by txw_dirsg2: uuids) data and is available within R/3 SAP systems depending on the version and release level.
The TXW_DIRSEG table consists of various fields, each holding specific information or linking keys about Data file segment directory (replaced by txw_dirsg2: uuids) data available in SAP. These include EXTRACT_ID (Data extract ID (to be replaced in release 99 by txw_uuid)), SEG_NUMBER (Segment number), SEGTYPE (Data file segment type), SEGDATA (Data file: Segment data code).. 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: Can be enhanced (character-type)
SAP TXW_DIRSEG 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 |
MANDT | Client | MANDT | CLNT | 3 | Assigned to domain | MANDT | |||
EXTRACT_ID | Data extract ID (to be replaced in release 99 by txw_uuid) | TXW_EXT_ID | NUMC | 4 | NUM4 | ||||
SEG_NUMBER | Segment number | TXW_SEGNUM | NUMC | 4 | NUM4 | ||||
SEGTYPE | Data file segment type | TXW_SEGTYP | NUMC | 2 | TXW_SEGTYP | ||||
SEGDATA | Data file: Segment data code | TXW_SEGDAT | NUMC | 6 | TXW_SEGDAT | ||||
EXP_STRUCT | Segment structure | TXW_EXPSTR | CHAR | 30 | Assigned to domain | TXW_EXPSTR | |||
VOL_ID | Volume ID | TXW_VOL_ID | NUMC | 2 | TXW_VOL_ID | ||||
ADDRESS | File offset in bytes | TXW_ADDR | NUMC | 10 | TXW_ADDR | ||||
LAST_VOL | Volume id of last record in segment | TXW_LASTV | NUMC | 2 | TXW_VOL_ID | ||||
LAST_REC | Address of last record in segment (in bytes) | TXW_LASTR | NUMC | 10 | TXW_ADDR | ||||
SEG_SIZE | Segment size in bytes | TXW_SIZE | NUMC | 10 | TXW_ADDR | ||||
RECORDS | Number of records (counter) | TXW_RCDCNT | NUMC | 8 | NUMC8 | ||||
IDX_VOL | Volume ID | TXW_VOL_ID | NUMC | 2 | TXW_VOL_ID | ||||
IDX_ADDR | File offset in bytes | TXW_ADDR | NUMC | 10 | TXW_ADDR | ||||
IDX_LASTV | Volume id of last record in segment | TXW_LASTV | NUMC | 2 | TXW_VOL_ID | ||||
IDX_LASTR | Address of last record in segment (in bytes) | TXW_LASTR | NUMC | 10 | TXW_ADDR | ||||
IDX_SIZE | Segment size in bytes | TXW_SIZE | NUMC | 10 | TXW_ADDR | ||||
IDX_RECS | Number of records (counter) | TXW_RCDCNT | NUMC | 8 | NUMC8 | ||||
LOGSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
ISOURCE | Info Source (should be overwritten with RSISOURCE from BRS) | TXW_ISRC | CHAR | 30 | CHAR30 | ||||
REQUSER | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
SELDATE | System Date | SYDATUM | DATS | 8 | SYDATS | ||||
SELTIME | System Time | SYUZEIT | TIMS | 6 | SYTIME | ||||
SAPRL | Release of SAP System | SYSAPRL | CHAR | 4 | SYCHAR04 | ||||
DDTEXT | Short Description of Repository Objects | AS4TEXT | CHAR | 60 | AS4TEXT | ||||
CHECK_SUM | Byte-level check sum | TXW_CHECKS | NUMC | 32 | TXW_CHECKS | ||||
TIME_SECS | Elapsed time in seconds | TXW_TIMSEC | NUMC | 5 | NUM5 | ||||
APPL | Application where data is coming from | TXW_APPL | CHAR | 2 | TXW_APPL |
Key field | Non-key field |
How do I retrieve data from SAP table TXW_DIRSEG using ABAP code
The following ABAP code Example will allow you to do a basic selection on TXW_DIRSEG to SELECT all data from the tableDATA: WA_TXW_DIRSEG TYPE TXW_DIRSEG.
SELECT SINGLE *
FROM TXW_DIRSEG
INTO CORRESPONDING FIELDS OF WA_TXW_DIRSEG
WHERE...
How to access SAP table TXW_DIRSEG
Within an ECC or HANA version of SAP you can also view further information about TXW_DIRSEG 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