TXW_VEXAV SAP (EXTRASTAT / VAR Export/Import) Structure details
Description: EXTRASTAT / VAR Export/Import
Structure field list including key, data, relationships and ABAP select examples
TXW_VEXAV 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 "EXTRASTAT / VAR Export/Import" 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_VEXAV TYPE TXW_VEXAV.
The TXW_VEXAV table consists of various fields, each holding specific information or linking keys about EXTRASTAT / VAR Export/Import data available in SAP. These include DATUMJAHR (Reporting year of declaration to authorities), DATUMMONA (Reporting month of declaration to authorities), ARRIVDEPA (Indicator: Goods direction for declarations to authorities), LFDNRVEIA (Sequential no.for Extrastat declaration).. 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_VEXAV 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 | T000 | MANDT | |||
DATUMJAHR | Reporting year of declaration to authorities | DATUMJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
DATUMMONA | Reporting month of declaration to authorities | DATUMMONA | NUMC | 2 | MONAT | ||||
ARRIVDEPA | Indicator: Goods direction for declarations to authorities | VEREI | NUMC | 1 | VEREI | ||||
LFDNRVEIA | Sequential no.for Extrastat declaration | LFDNR_VEEA | NUMC | 7 | NUM07 | ||||
NUMMBUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
USERNNAME | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
SATZERDAT | Date on Which Record Was Created | ERDAT | DATS | 8 | DATUM | ||||
VERKAUFOR | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
BELEGNUMR | Document number | BELEGNUMR | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
HAUPTPOSI | Item | HAUPTPOSI | NUMC | 6 | Assigned to domain | POSNR | |||
MATERIALN | EXTRASTAT material no. for decl. to auth. for Foreign Trade | EXMNR | CHAR | 6 | EXMNR | ||||
FIRMENNUM | Company no. EXTRASTAT for declar. to auth. for Foreign Trade | EXFNR | CHAR | 7 | EXFNR | ||||
VERSENDER | Importer HQ / Exporter HQ | VERSENDER | CHAR | 1 | VERSENDER | ||||
HANDELSLD | Trading country | HANDELSLD | CHAR | 3 | T005 | LAND1 | LND | ||
BESTILAND | Country of destination of material | BESTILAND | CHAR | 3 | T005 | LAND1 | LND | ||
CONTAINER | ID: Goods cross border in a container | CONTA | CHAR | 1 | CONTA | ||||
STAATSZUG | Origin of Means of Transport when Crossing the Border | STGBE | CHAR | 3 | T005 | LAND1 | LND | ||
ARTGESCHA | Business Transaction Type for Foreign Trade | EXART | CHAR | 2 | T605 | EXART | EXA | ||
VERKEHRZW | Mode of Transport for Foreign Trade | EXPVZ | CHAR | 1 | T618 | EXPVZ | |||
EINLADFGH | Customs Office: Office of Exit/Entry for Foreign Trade | DZOLLS | CHAR | 6 | T615 | ZOLLS | |||
STATWAREN | Commodity Code/Import Code Number for Foreign Trade | STAWN | CHAR | 17 | T604 | STAWN | |||
URSPRSLND | Country of origin of the material | HERKL | CHAR | 3 | T005 | LAND1 | LND | ||
URSPRSREG | Region of origin | URSPRSREG | CHAR | 3 | Assigned to domain | REGIO | |||
VERFAHREN | Export/Import Procedure for Foreign Trade | EXPRF | CHAR | 8 | T616 | EXPRF | |||
EIGENMASS | Tare mass in kilograms | EIGENMASS | NUMC | 15 | NUMC15 | ||||
BESONMASS | Supplementary unit | BESONMASS | NUMC | 15 | NUMC15 | ||||
GRENZWERT | Statistical value | GRENZWERT | NUMC | 15 | NUMC15 | ||||
RECHNWERT | Invoice value | RECHNWERT | NUMC | 15 | NUMC15 | ||||
VERAMONAT | Processing month (Switzerland) | VERAMONAT | CHAR | 1 | CHAR01 | ||||
RUECKERST | Reimbursement code (Confederation Helvetica) | RUECKERST | NUMC | 1 | RUECKERST | ||||
BEWIPFLIC | License requirement (CH only) | BEWIPFLIC | NUMC | 1 | BEWIPFLIC | ||||
BEWINUMME | Approval number | BEWINUMME | NUMC | 5 | BEWINUMME | ||||
RETOURCOD | Returns ID for official declarations | RETOURCOD | CHAR | 1 | XFELD | ||||
POSTLEITZ | Postal Code | PSTLZ | CHAR | 10 | PSTLZ | ||||
NUMMWERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
WERKSLAND | Declaration to authorities: Country of Plant | WERKSLAND | CHAR | 3 | T005 | LAND1 | LND | ||
INLAIEVER | Domestic Mode of Transport for Foreign Trade | IEVER | CHAR | 1 | T618 | EXPVZ | |||
LIEFERBED | Incoterms (Part 1) | INCO1 | CHAR | 3 | TINC | INCO1 | |||
BESTIREGI | Destination region | BESTIREGI | CHAR | 3 | Assigned to domain | REGIO | |||
VERSENDLD | Country of dispatch | VERSENDLD | CHAR | 3 | T005 | LAND1 | |||
EINKAUFOR | Purchasing Organization | EKORG | CHAR | 4 | T024E | EKORG | EKO | ||
FAKTDATUM | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
PREFPACOD | Preference code for foreign trade (decl.to author., import) | PREFPACOD | CHAR | 3 | T604C | PREFPACOD | |||
THIERISCH | ID type for creating records | THIERISCH | CHAR | 1 | THIERISCH | ||||
RECHNWEAK | Invoice value | TXW_RECHNWEAK | CHAR | 16 | |||||
RECHNWEEH | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
GRENZWEAK | Statistical value | TXW_GRENZWEAK | CHAR | 16 | |||||
GRENZWEEH | Currency Key | WAERS | CUKY | 5 | TCURC | WAERS | FWS | ||
EIGENMAAK | Tare mass | TXW_EIGENMAAK | CHAR | 16 | |||||
EIGENMAEH | Weight Unit | GEWEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
BESONMAAK | Special unit of measure | TXW_BESONMAAK | CHAR | 16 | |||||
BESONMAEH | Weight Unit | GEWEI | UNIT | 3 | T006 | CUNIT | MEINS | ||
IREFBELEG | Reference document | IREFBELEG | CHAR | 10 | Assigned to domain | ALPHA | VBELN | ||
IREFPOSIT | Reference item | IREFPOSIT | NUMC | 6 | Assigned to domain | POSNR | |||
IREFMONAT | Reference month for correction | IREFMONAT | NUMC | 2 | IREFMONAT | ||||
IREFEJAHR | Reference year for correction | IREFEJAHR | NUMC | 4 | GJAHR | GJAHR | |||
BELEGIDEN | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
GENES | Data origin indicator for declarations to the authorities | GENES | CHAR | 1 | GENES | ||||
P_LANDKEY | Country key | P_LANDKEY | CHAR | 1 | XFELD | ||||
FLAGEUROC | Declarations to the authorities: Ind. for decl. crcy = Euro | FTEUR | CHAR | 1 | XFELD | ||||
KUNDEUINR | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
EIGENUINR | VAT Registration Number | STCEG | CHAR | 20 | STCEG | ||||
WARENORTE | Description | BEZEI20 | CHAR | 20 | TEXT20 | ||||
STAATSABG | Country of Origin of the Means of Transport at Departure | STABE | CHAR | 3 | T005 | LAND1 | LND | ||
SPANIENID | Indicator: Domestic / Foreign | INAUKZ | CHAR | 1 | CHAR01 | ||||
PLISO | Periodic Declarations: ISO country code of business partner | FTPLISO | CHAR | 2 | INTCA | ||||
DOMCODENR | Overseas areas France (DoM) | DOMCODE | CHAR | 1 | CHAR1 | ||||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
LIFNR | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | LFA1 | ALPHA | LIFNR | LIF | KRED_C |
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | C_KUNNR |
ORDPA | Classification Key for Periodic Declarations in For. Trade | ORDPA | CHAR | 10 | CHAR10 | ||||
ISESSIONE | Indicator for normal business transactions and correction | ISESSIONE | CHAR | 1 | ISESSIONE |
Key field | Non-key field |
How do I retrieve data from SAP structure TXW_VEXAV using ABAP code?
As TXW_VEXAV 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_VEXAV as there is no data to select.How to access SAP table TXW_VEXAV
Within an ECC or HANA version of SAP you can also view further information about TXW_VEXAV 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