VAPMA SAP (Sales Index: Order Items by Material) Table details

Dictionary Type: Table
Description: Sales Index: Order Items by Material




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




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

VAPMA is a standard SAP Table which is used to store Sales Index: Order Items by Material data and is available within R/3 SAP systems depending on the version and release level.

The VAPMA table consists of various fields, each holding specific information or linking keys about Sales Index: Order Items by Material data available in SAP. These include MATNR (Material Number), VKORG (Sales Organization), TRVOG (Transaction group), AUDAT (Document Date (Date Received/Sent)).. 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 or numeric)


SAP VAPMA 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 MANDTCLNT3T000MANDT
MATNRMaterial Number MATNRCHAR18MARAMATN1MATNRMATS_MAT1
VKORGSales Organization VKORGCHAR4TVKOVKORGVKOC_VKORG
TRVOGTransaction group TRVOGCHAR1TRVOGVTV
AUDATDocument Date (Date Received/Sent) AUDATDATS8DATUM
VTWEGDistribution Channel VTWEGCHAR2TVTWVTWEGVTWC_VTWEG
SPARTDivision SPARTCHAR2TSPASPARTSPAC_SPART
AUARTSales Document Type AUARTCHAR4TVAKAUARTAUARTAAT
KUNNRSold-to party KUNAGCHAR10KNA1ALPHAKUNNRVAG
VKBURSales Office VKBURCHAR4TVBURVKBURVKB
VKGRPSales Group VKGRPCHAR3TVKGRVKGRPVKG
BSTNKCustomer purchase order number BSTNKCHAR20BSTNK
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
VBELNSales and Distribution Document Number VBELNCHAR10VBUKALPHAVBELNAUN
POSNRItem number of the SD document POSNRNUMC6VBUPPOSNR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
ADRNRAddress number of the sold-to party ADRNR_AGCHAR10Assigned to domainALPHAADRNR
DATABQuotation or contract valid from DATAB_VIDATS8DATUM
DATBIQuotation or contract valid to DATBI_VIDATS8DATUM

Key field Non-key field



How do I retrieve data from SAP table VAPMA using ABAP code

The following ABAP code Example will allow you to do a basic selection on VAPMA to SELECT all data from the table
DATA: WA_VAPMA TYPE VAPMA.

SELECT SINGLE *
FROM VAPMA
INTO CORRESPONDING FIELDS OF WA_VAPMA
WHERE...

How to access SAP table VAPMA

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