TXW_DIRSG2 SAP (Data file segment directory) Table details
Dictionary Type: Table
Description: Data file segment directory
Description: Data file segment directory
Table field list including key, data, relationships and ABAP select examples
TXW_DIRSG2 is a standard SAP Table which is used to store Data file segment directory data and is available within R/3 SAP systems depending on the version and release level.
The TXW_DIRSG2 table consists of various fields, each holding specific information or linking keys about Data file segment directory data available in SAP. These include XTRCT_UUID (UUID identifier), 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_DIRSG2 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 | |||
XTRCT_UUID | UUID identifier | TXW_UUID | CHAR | 32 | SYSUUID_C | ||||
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_RCDCNT10 | NUMC | 10 | NUMC10 | ||||
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_RCDCNT10 | NUMC | 10 | NUMC10 | ||||
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_TIMS6 | NUMC | 6 | NUM6 | ||||
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_DIRSG2 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TXW_DIRSG2 to SELECT all data from the tableDATA: WA_TXW_DIRSG2 TYPE TXW_DIRSG2.
SELECT SINGLE *
FROM TXW_DIRSG2
INTO CORRESPONDING FIELDS OF WA_TXW_DIRSG2
WHERE...
How to access SAP table TXW_DIRSG2
Within an ECC or HANA version of SAP you can also view further information about TXW_DIRSG2 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