TXW_DIRSG2 SAP (Data file segment directory) Table details

Dictionary Type: Table
Description: Data file segment directory




ABAP Code to SELECT data from TXW_DIRSG2
Related tables to TXW_DIRSG2
Access table TXW_DIRSG2




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
MANDTClient MANDTCLNT3Assigned to domainMANDT
XTRCT_UUIDUUID identifier TXW_UUIDCHAR32SYSUUID_C
SEG_NUMBERSegment number TXW_SEGNUMNUMC4NUM4
SEGTYPEData file segment type TXW_SEGTYPNUMC2TXW_SEGTYP
SEGDATAData file: Segment data code TXW_SEGDATNUMC6TXW_SEGDAT
EXP_STRUCTSegment structure TXW_EXPSTRCHAR30Assigned to domainTXW_EXPSTR
VOL_IDVolume ID TXW_VOL_IDNUMC2TXW_VOL_ID
ADDRESSFile offset in bytes TXW_ADDRNUMC10TXW_ADDR
LAST_VOLVolume id of last record in segment TXW_LASTVNUMC2TXW_VOL_ID
LAST_RECAddress of last record in segment (in bytes) TXW_LASTRNUMC10TXW_ADDR
SEG_SIZESegment size in bytes TXW_SIZENUMC10TXW_ADDR
RECORDSNumber of records (counter) TXW_RCDCNT10NUMC10NUMC10
IDX_VOLVolume ID TXW_VOL_IDNUMC2TXW_VOL_ID
IDX_ADDRFile offset in bytes TXW_ADDRNUMC10TXW_ADDR
IDX_LASTVVolume id of last record in segment TXW_LASTVNUMC2TXW_VOL_ID
IDX_LASTRAddress of last record in segment (in bytes) TXW_LASTRNUMC10TXW_ADDR
IDX_SIZESegment size in bytes TXW_SIZENUMC10TXW_ADDR
IDX_RECSNumber of records (counter) TXW_RCDCNT10NUMC10NUMC10
LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
ISOURCEInfo Source (should be overwritten with RSISOURCE from BRS) TXW_ISRCCHAR30CHAR30
REQUSERUser Name SYUNAMECHAR12SYCHAR12
SELDATESystem Date SYDATUMDATS8SYDATS
SELTIMESystem Time SYUZEITTIMS6SYTIME
SAPRLRelease of SAP System SYSAPRLCHAR4SYCHAR04
DDTEXTShort Description of Repository Objects AS4TEXTCHAR60AS4TEXT
CHECK_SUMByte-level check sum TXW_CHECKSNUMC32TXW_CHECKS
TIME_SECSElapsed time in seconds TXW_TIMS6NUMC6NUM6
APPLApplication where data is coming from TXW_APPLCHAR2TXW_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 table
DATA: 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 as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!