CMP_ITEM_DATA_ALV SAP (Structure for ALV Display in Complaints Processing) Structure details

Dictionary Type: Structure
Description: Structure for ALV Display in Complaints Processing




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




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

CMP_ITEM_DATA_ALV 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 "Structure for ALV Display in 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_ITEM_DATA_ALV TYPE CMP_ITEM_DATA_ALV.

The CMP_ITEM_DATA_ALV table consists of various fields, each holding specific information or linking keys about Structure for ALV Display in Complaints Processing data available in SAP. These include FKART (Billing Type), AUART (Sales Document Type), ITEM_TYPE (Sales document item category), DOCTYP (Document Category of Complaint).. 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 (Deep)


SAP CMP_ITEM_DATA_ALV 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
FKARTBilling Type FKARTCHAR4Assigned to domainFKART
AUARTSales Document Type AUARTCHAR4Assigned to domainAUARTAUARTAAT
ITEM_TYPESales document item category PSTYVCHAR4Assigned to domainPSTYV
DOCTYPDocument Category of Complaint CMP_COMPL_DOCTYPCHAR6CMP_COMPLAINT_DOCTYP
CHGFLAGItem in Complaints Processing Can Be Changed CMP_CHANGECHAR1XFELD
CHKFLAGCheck Quantities in Complaints Processing CMP_CHKFLAGCHAR1XFELD
COMPREASTXTText for Complaints Reason CMP_COMPREASTXTCHAR50CHAR50
SELFLAGSelected Item CMP_SELFLAGCHAR1CHAR1
DOCNRFollow-On Document CMPDOCNRCHAR10ALPHABELNR
LDOCNRReference Document CMPVBLNRCHAR10Assigned to domainALPHAVBELN
KUNNRCustomer Numbers KUNNRCHAR10Assigned to domainALPHAKUNNRKUNC_KUNNR
INTPOSSubitem CMPINTPOSNUMC6Assigned to domainPOSNR
LASTINTPOSItem Number of the SD Document LASTINTPOSNUMC6Assigned to domainPOSNR
UPOSItem Number of the SD Document UPOSNRCMPNUMC6Assigned to domainPOSNR
CREDITMNGCumulated Credit Memo Quantity CMP_CREDITMNGQUAN13(3) MENG13
CREDITMEINSCumulated Credit Memo Unit of Measure CMP_CREDITMEINSUNIT3Assigned to domainCUNITMEINS
PRINTSTATUSComplaints Processing: Document Already Printed? CMP_PRINTSTATUSCHAR1CHAR1
RETURNSTATUSComplaints Processing: Returns Completed? CMP_RETURNSTATUSCHAR1CHAR1
CMP_PRICE1Complaints Processing: Price 1 CMP_PRICE1CURR11(2) WERTV6
CMP_KPEIN1Condition Pricing Unit 1 CMP_KPEIN1DEC5KPEIN
CMP_KMEIN1Condition Unit 1 CMP_KMEIN1UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH1Condition Currency (for Cumulation Fields) CMP_KWAEH1CUKY5Assigned to domainWAERS
CMP_KWAEH1_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_KOEIN1Rate unit (currency, sales unit, or %) KOEINCUKY5KOEIN
CMP_PRICE2Complaints Processing: Price 2 CMP_PRICE2CURR11(2) WERTV6
CMP_KPEIN2Condition Pricing Unit 2 CMP_KPEIN2DEC5KPEIN
CMP_KMEIN2Condition Unit 2 CMP_KMEIN2UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH2Condition Currency 2 CMP_KWAEH2CUKY5Assigned to domainWAERS
CMP_KWAEH2_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_PRICE3Complaints Processing: Price 3 CMP_PRICE3CURR11(2) WERTV6
CMP_KPEIN3Condition Pricing Unit 3 CMP_KPEIN3DEC5KPEIN
CMP_KMEIN3Condition Unit 3 CMP_KMEIN3UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH3Condition Currency 3 CMP_KWAEH3CUKY5Assigned to domainWAERS
CMP_KWAEH3_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_PRICE4Complaints Processing: Price 4 CMP_PRICE4CURR11(2) WERTV6
CMP_KPEIN4Condition Pricing Unit 4 CMP_KPEIN4DEC5KPEIN
CMP_KMEIN4Unit of Measure 4 CMP_KMEIN4UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH4Condition Currency 4 CMP_KWAEH4CUKY5Assigned to domainWAERS
CMP_KWAEH4_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_PRICE5Complaints Processing: Price 5 CMP_PRICE5CURR11(2) WERTV6
CMP_KPEIN5Condition Pricing Unit 5 CMP_KPEIN5DEC5KPEIN
CMP_KMEIN5Condition Unit 5 CMP_KMEIN5UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH5Condition Currency 5 CMP_KWAEH5CUKY5Assigned to domainWAERS
CMP_KWAEH5_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_PRICE6Complaints Processing: Price 6 CMP_PRICE6CURR11(2) WERTV6
CMP_KPEIN6Condition Pricing Unit 6 CMP_KPEIN6DEC5KPEIN
CMP_KMEIN6Condition Unit 6 CMP_KMEIN6UNIT3Assigned to domainCUNITMEINS
CMP_KWAEH6Condition Currency 6 CMP_KWAEH6CUKY5Assigned to domainWAERS
CMP_KWAEH6_INTCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
CMP_MATNR_NEUNew Article Number Entered CMP_MATNR_NEUCHAR1XFELD
CMP_FKIMG_NEWNew Quantity Entered CMP_FKIMG_NEWCHAR1XFELD
CMP_VRKME_NEWNew Sales Unit Entered CMP_VRKME_NEWCHAR1XFELD
CMP_PRICE_NEWNew Price Entered CMP_PRICE_NEWCHAR1XFELD
VBELNBilling Document VBELN_VFCHAR10Assigned to domainALPHAVBELNVF
POSNRBilling item POSNR_VFNUMC6Assigned to domainPOSNR
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
ETENRDelivery Schedule Line Number ETENRNUMC4Assigned to domainETENR
ZAEHLCounter in control tables DZAEHLERNUMC2NUMC2
MSGIDMessage identification MSGIDCHAR20Assigned to domainARBGB
MSGNOSystem Message Number MSGNOCHAR3Assigned to domainMSGNR
MSGTYMessage Type MSGTYCHAR1MSGAR
MSGV1Message variable 01 MSGV1CHAR50CHAR50
MSGV2Message variable 02 MSGV2CHAR50CHAR50
MSGV3Message variable 03 MSGV3CHAR50CHAR50
MSGV4Message variable 04 MSGV4CHAR50CHAR50
SMARTGroup type SMARTCHAR1Assigned to domainSMARTGRA
LOEKZAsset class marked for deletion LOEKZCHAR1XFELD
UPOS_CHGSubitem has already been processed UPOS_CHGCHAR1XCHAR
MERK_MENGActual Invoiced Quantity FKIMGQUAN13(3) MENG13
KDREFCustomer Reference Number KDREFCHAR20KDREF
CT 0

Key field Non-key field



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

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

How to access SAP table CMP_ITEM_DATA_ALV

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