SAP VAPMA Sales Index: Order Items by Material Table

Overview

VAPMA is a standard SAP S/4HANA table that stores Sales Index: Order Items by Material data. There are total 20 fields in the VAPMA table. The following is a list of the fields that make up this table. Key fields are marked in blue.

The table VAPMA belongs to Sales (SD-SLS) module and is located in the package Application development R/3 Sales (VA).

In addition, following links provide an overview of foreign key relationships, if any, that link VAPMA to other SAP tables and standard CDS views available based on VAPMA table in S/4HANA 2020.

Techincal Settings of VAPMA

Below are technical details of the table VAPMA

  • Buffering not allowed
  • No buffering
  • Storage type is Column Store

List of VAPMA Fields

The following table gives you an overview of the fields available in VAPMA

FieldDescriptionData ElementCheck TableData TypeLength
MANDTClientMANDTT000CLNT3
MATNRMaterial NumberMATNRMARACHAR40
VKORGSales OrganizationVKORGTVKOCHAR4
TRVOGTransaction GroupTRVOGCHAR1
AUDATDocument Date (Date Received/Sent)AUDATDATS8
VTWEGDistribution ChannelVTWEGTVTWCHAR2
SPARTDivisionSPARTTSPACHAR2
AUARTSales Document TypeAUARTTVAKCHAR4
KUNNRSold-To PartyKUNAGKNA1CHAR10
VKBURSales officeVKBURTVBURCHAR4
VKGRPSales groupVKGRPTVKGRCHAR3
BSTNKCustomer ReferenceBSTNKCHAR20
ERNAMName of Person who Created the ObjectERNAMCHAR12
VBELNSales and Distribution Document NumberVBELNCHAR10
POSNRItem number of the SD documentPOSNRNUMC6
WERKSPlantWERKS_DT001WCHAR4
ADRNRAddress number of the sold-to partyADRNR_AGCHAR10
DATABQuotation or contract valid fromDATAB_VIDATS8
DATBIQuotation or contract valid toDATBI_VIDATS8
OIPBLBusiness location identifier (IS-Oil MRN)OIF_PBLNRCHAR10

Foreign Key Relationships

A foreign key field is a table field that is allocated to a check table and becomes part of the table's foreign key. The following table gives you an overview of the foreign keys for VAPMA

Table NameFieldCardinalityCheck Table
VAPMAAUART1: CNTVAK
VAPMAKUNNR1: CNKNA1
VAPMAMANDT1: CNT000
VAPMAMATNR1: CNMARA
VAPMASPART1: CNTSPA
VAPMAVKBUR1: CNTVBUR
VAPMAVKGRP1: CNTVKGR
VAPMAVKORG1: CNTVKO
VAPMAVTWEG1: CNTVTW
VAPMAWERKSC: CNT001W

Other References