SAP CMP_VBRP Extract from VBRP, Relevant Fields for Complaints Processing Table data and field list

CMP_VBRP 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 "Extract from VBRP, Relevant Fields for Complaints Processing" 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_CMP_VBRP TYPE CMP_VBRP.

The CMP_VBRP table consists of various fields, each holding specific information or linking keys about Extract from VBRP, Relevant Fields for Complaints Processing data available in SAP. These include POSNR (Billing item), UEPOS (Higher-level item in bill of material structures), FKIMG (Actual Invoiced Quantity), VRKME (Sales Unit)... 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. .

CMP_VBRP structure Technical Details:

Delivery Class:
Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)


SAP CMP_VBRP structure fields - Full list of fields found in SAP data dictionary

Looking for S/4HANA specific information? Click here to explore the details, fields and extensibility available for this table in the SAP S/4HANA version of the CMP_VBRP table. Also check whether the table still exists or has been transformed into a CDS view as part of the HANA simplifications.
Field Description Data Element Data Type length (Dec) Check table Conversion Routine Domain Name MemoryID SHLP
VBELNBilling Document VBELN_VFCHAR10VBUKALPHAVBELNVF
POSNRBilling item POSNR_VFNUMC6VBUPPOSNR
UEPOSHigher-level item in bill of material structures UEPOSNUMC6VBUPPOSNR
FKIMGActual Invoiced Quantity FKIMGQUAN13(3) MENG13
VRKMESales Unit CMP_VRKMEUNIT3T006CUNITMEINS
UMVKZNumerator (factor) for conversion of sales quantity into SKU UMVKZDEC5UMBSZ
UMVKNDenominator (Divisor) for Conversion of Sales Qty into SKU UMVKNDEC5UMBSN
MEINSBase Unit of Measure MEINSUNIT3T006CUNITMEINS
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
ARKTXShort text for sales order item ARKTXCHAR40TEXT40
MATKLMaterial Group MATKLCHAR9T023MATKLMKLS_WBWG
PSTYVSales document item category PSTYVCHAR4Assigned to domainPSTYV
POSARItem type POSARCHAR1POSAR
PRODHProduct hierarchy PRODH_DCHAR18T179PRODHVPR
WERKSPlant WERKS_DCHAR4T001WWERKSWRKH_T001W_C
NTGEWNet weight NTGEW_15QUAN15(3) MENG15
BRGEWGross weight BRGEW_15QUAN15(3) MENG15
GEWEIWeight Unit GEWEIUNIT3T006CUNITMEINS
VOLUMVolume VOLUM_15QUAN15(3) MENG15
VOLEHVolume unit VOLEHUNIT3T006CUNITMEINS
NETWRNet value of the billing item in document currency NETWR_FPCURR15(2) WERTV8
VBELVOriginating document VBELVCHAR10VBUKALPHAVBELN
POSNVOriginating item POSNVNUMC6VBUPPOSNR
VGBELDocument number of the reference document VGBELCHAR10VBUKALPHAVBELN
VGPOSItem number of the reference item VGPOSNUMC6VBUPPOSNR
VGTYPDocument category of preceding SD document VBTYP_VCHAR1VBTYP
AUBELSales Document VBELN_VACHAR10VBUKALPHAVBELNAUN
AUPOSSales Document Item POSNR_VANUMC6VBUPPOSNRAPO
AUREFSales document was created from reference AUREFCHAR1XFELD
SHKZGDebit/Credit Indicator SHKZGCHAR1SHKZG
LGORTStorage Location LGORT_DCHAR4T001LLGORTLAG
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
MATWAMaterial entered MATWACHAR18Assigned to domainMATN1MATNRMAT
FKLMGBilling quantity in stockkeeping unit FKLMGQUAN13(3) MENG13
SPARTDivision SPARTCHAR2Assigned to domainSPARTSPAC_SPART
COMPREASAbbreviation for Complaints Reason CMP_COMPREASCHAR4Assigned to domainCMP_COMPREAS
WAERKSD Document Currency WAERKCUKY5Assigned to domainWAERSFWS

Key field Non-key field



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

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

How to access SAP table CMP_VBRP

Within an ECC or HANA version of SAP you can also view further information about CMP_VBRP and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).