ROXABV0040 SAP (Generated Table for View /BEV1/TSACT2_BWV) Structure details

Dictionary Type: Structure
Description: Generated Table for View /BEV1/TSACT2_BWV




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




Structure field list including key, data, relationships and ABAP select examples

ROXABV0040 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 "Generated Table for View /BEV1/TSACT2_BWV" 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_ROXABV0040 TYPE ROXABV0040.

The ROXABV0040 table consists of various fields, each holding specific information or linking keys about Generated Table for View /BEV1/TSACT2_BWV data available in SAP. These include VBELV (Preceding sales and distribution document), POSNV (Preceding item of an SD document), VBELN (Subsequent sales and distribution document), POSNN (Subsequent item of an SD document).. 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: Cannot Be Enhanced


SAP ROXABV0040 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
MANDTClient MANDTCLNT3T000MANDT
VBELVPreceding sales and distribution document VBELN_VONCHAR10VBUKALPHAVBELNAUF
POSNVPreceding item of an SD document POSNR_VONNUMC6VBUPPOSNR
VBELNSubsequent sales and distribution document VBELN_NACHCHAR10VBUKALPHAVBELNAUF
POSNNSubsequent item of an SD document POSNR_NACHNUMC6VBUPPOSNR
VBTYP_NDocument category of subsequent document VBTYP_NCHAR1VBTYP
VBTYP_VDocument category of preceding SD document VBTYP_VCHAR1VBTYP
ERDAT1Date on Which Record Was Created ERDATDATS8DATUM
ERZETEntry time ERZETTIMS6UZEIT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
KWMENGCumulative Order Quantity in Sales Units KWMENGQUAN15(3) MENG15
VRKMESales unit VRKMEUNIT3T006CUNITMEINS
RFMNGReferenced quantity in base unit of measure RFMNGQUAN15(3) MENG15
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
RFWRTReference value RFWRTCURR15(2) WERTV8
WAERSStatistics currency WAERS_VCUKY5TCURCWAERS
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
KUNNR1Sold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
STWAEStatistics currency STWAECUKY5TCURCWAERS
KVGR1Customer group 1 KVGR1CHAR3TVV1KVGR1
KVGR2Customer group 2 KVGR2CHAR3TVV2KVGR2
KVGR3Customer group 3 KVGR3CHAR3TVV3KVGR3
KVGR4Customer group 4 KVGR4CHAR3TVV4KVGR4
KVGR5Customer group 5 KVGR5CHAR3TVV5KVGR5
KURSTExchange Rate Type KURSTCHAR4TCURVKURSTKUT
BUKRS_VFCompany code to be billed BUKRS_VFCHAR4T001BUKRSBUK
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
PSTYVSales document item category PSTYVCHAR4TVPTPSTYV
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
STCURExchange rate for statistics (Exch.rate at time of creation) STCUR_APDEC9(5) KURRF
STADATStatistics date STADATDATS8DATUM
ERDAT2Date on Which Record Was Created ERDATDATS8DATUM
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
VTWEGDistribution Channel VTWEGCHAR2TVKOVVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TVTASPARTSPAC_SPART
VKBURSales Office VKBURCHAR4TVKBZVKBURVKB
VKGRPSales Group VKGRPCHAR3TVBVKVKGRPVKG
KTASTStatus of sales activity KTASTCHAR1TVC3KTAST
KTAEROutcome of sales activities KTAERCHAR3TVC1KTAER
KTAEBAnalysis of sales activity outcome KTAEBCHAR3TVC7KTAEB
KUNNR2Partner number (KUNNR, LIFNR, or PERNR) KUNDE_DCHAR10ALPHAKUNDE
GBSTKOverall processing status of document GBSTKCHAR1STATV
/BEV1/TSANWBERApplication Area /BEV1/TSABER___DCHAR10/BEV1/TSABER/BEV1/TSABER
/BEV1/TSANWGRPApplication Group /BEV1/TSAGRP___DCHAR7/BEV1/TSAGRP/BEV1/TSAGRP/BEV1/TS_AGRP
/BEV1/TSVERKMETSales Method /BEV1/TSVERKMETCHAR3/BEV1/TSVM/BEV1/TSVERKMET
/BEV1/TSSAISONSeason Indicator /BEV1/TSSAISONCHAR5/BEV1/TSSAIDEF/BEV1/TSSAISON
NETWRNet value of the order item in document currency NETWR_APCURR15(2) WERTV8
WAERKSD Document Currency WAERKCUKY5TCURCWAERSFWS
WAVWRCost in document currency WAVWRCURR13(2) WERTV7
KZWI1Subtotal 1 from pricing procedure for condition KZWI1CURR13(2) WERTV7
KZWI2Subtotal 2 from pricing procedure for condition KZWI2CURR13(2) WERTV7
KZWI3Subtotal 3 from pricing procedure for condition KZWI3CURR13(2) WERTV7
KZWI4Subtotal 4 from pricing procedure for condition KZWI4CURR13(2) WERTV7
KZWI5Subtotal 5 from pricing procedure for condition KZWI5CURR13(2) WERTV7
KZWI6Subtotal 6 from pricing procedure for condition KZWI6CURR13(2) WERTV7
/BEV1/TSPARNRNumber of contact person PARNRNUMC10PARNRVPA

Key field Non-key field



How do I retrieve data from SAP structure ROXABV0040 using ABAP code?

As ROXABV0040 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 ROXABV0040 as there is no data to select.

How to access SAP table ROXABV0040

Within an ECC or HANA version of SAP you can also view further information about ROXABV0040 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!