TXW_AS_HD SAP (AM Asset document header) Structure details
Description: AM Asset document header
Structure field list including key, data, relationships and ABAP select examples
TXW_AS_HD is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "AM Asset document header" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_TXW_AS_HD TYPE TXW_AS_HD.
The TXW_AS_HD table consists of various fields, each holding specific information or linking keys about AM Asset document header data available in SAP. These include BUKRS (Company Code), ANLN1 (Main Asset Number), ANLN2 (Asset Subnumber), GJAHR (Fiscal Year).. 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:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type)
SAP TXW_AS_HD structure 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 | |||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
ANLN1 | Main Asset Number | ANLN1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | AN1 | |
ANLN2 | Asset Subnumber | ANLN2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | AN2 | |
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
LNRAN | Sequence number of asset line items in fiscal year | LNRAN | NUMC | 5 | Assigned to domain | LNRAN | |||
MONAT | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
ANLU1 | Asset number acquiring/retiring asset in transfer | ANLU1 | CHAR | 12 | Assigned to domain | ALPHA | ANLN1 | ||
ANLU2 | Subnumber of receiving/sending asset in transfer | ANLU2 | CHAR | 4 | Assigned to domain | ALPHA | ANLN2 | ||
AUGLN | Reserve Field | RSERV | CHAR | 5 | CHAR5 | ||||
BELNR | Reference Document Number | AWREF | CHAR | 10 | ALPHA | AWREF | |||
BVORG | Number of Cross-Company Code Posting Transaction | BVORG | CHAR | 16 | BVORG | ||||
BUREG | Distribution rule group | BUREG | NUMC | 3 | NUMC3 | ||||
BZDAT | Asset value date | BZDAT | DATS | 8 | DATUM | ||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MENGE | Total quantity | TXW_QUANT | CHAR | 16 | CHAR16 | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
OBJID | Forwarding object nr. | A_OBJID | CHAR | 20 | J_OBJID | ||||
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
XBLNR | Reference Document Number | XBLNR1 | CHAR | 16 | XBLNR1 | ||||
XANTEI | Ind: Post proportional values automatically | XANTEI | NUMC | 1 | TABW_ANTEI | ||||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
AWSYS | Logical system | LOGSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWKEY | Reference Key | AWKEY | CHAR | 20 | AWKEY | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
CPUDT | Day On Which Accounting Document Was Entered | CPUDT | DATS | 8 | DATUM |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_AS_HD using ABAP code?
As TXW_AS_HD is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on TXW_AS_HD as there is no data to select.How to access SAP table TXW_AS_HD
Within an ECC or HANA version of SAP you can also view further information about TXW_AS_HD 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