CSCOMP_ALV SAP (Output for BOM comparison) Structure details

Dictionary Type: Structure
Description: Output for BOM comparison




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




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

CSCOMP_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 "Output for BOM comparison" 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_CSCOMP_ALV TYPE CSCOMP_ALV.

The CSCOMP_ALV table consists of various fields, each holding specific information or linking keys about Output for BOM comparison data available in SAP. These include AKT_KOMP (Object ID), AKT_TEXT (Object description (item)), INDEX_ALV (Index of the invalid record), A_MNGKO (Calculated Component Quantity in Component Unit of Measure).. 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 (character-type or numeric)


SAP CSCOMP_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
POS_TYPObject Type CS_OBJICONCHAR132SYCHAR132
AKT_KOMPObject ID SOBJIDCHAR40CHAR40
AKT_TEXTObject description (item) OJTXPCHAR40TEXT40
INDEX_ALVIndex of the invalid record INDEXINT410SYST_LONG
A_MNGKOCalculated Component Quantity in Component Unit of Measure CS_E_MNGKOQUAN13(3) MENGV13
A_MNGLGCalculated Component Quantity in Base Unit of Measure CS_E_MNGLGQUAN13(3) MENGV13
A_DMNGEUnit of measure (unit to be displayed) DUNITUNIT3Assigned to domainCUNITMEINS
A_MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
A_MMEINBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
A_DSTUFExplosion level AFLSTCHAR2CHAR2
A_BAUSFAssembly Scrap Used (in Percent) CS_E_BAUSDDEC5(2) DEC3_2
A_LOEKZDeletion Indicator (Header) CS_E_LKZCHCHAR1XFELD
A_MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
A_WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
A_VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
A_BWTTYValuation Category BWTTY_DCHAR1Assigned to domainBWTTY
A_VPRSVPrice control indicator VPRSVCHAR1VPRSV
A_STPRSStandard price STPRSCURR11(2) WERT11V
A_VERPRMoving Average Price/Periodic Unit Price VERPRCURR11(2) WERT11V
A_MMSTAPlant-Specific Material Status MMSTACHAR2Assigned to domainMMSTA
A_MSTAECross-Plant Material Status MSTAECHAR2Assigned to domainMMSTA
A_DISSTLow-Level Code DISSTCHAR3DISST
A_DISMMMRP Type DISMMCHAR2Assigned to domainDISMM
A_SERNPSerial Number Profile SERAILCHAR4Assigned to domainSERAIL
A_AUSSSAssembly Scrap (Component Material) CS_E_AUSSSDEC5(2) DEC3_2
A_KAUSFComponent Scrap (Component Material) CS_E_KAUSFDEC5(2) DEC3_2
A_SOBSLSpecial procurement type SOBSLCHAR2Assigned to domainSOBSL
A_SOBSKSpecial Procurement Type for Costing CK_SOBSLCHAR2Assigned to domainSOBSL
A_KZAUSDiscontinuation indicator KZAUSCHAR1KZAUS
A_AUSDTEffective-Out Date AUSDTDATS8DATUM
A_NFMATFollow-Up Material NFMATCHAR18Assigned to domainMATN1MATNRMAT
A_RGEKZIndicator: Backflush RGEKZCHAR1XFELD
A_KZDKZDocumentation required indicator KZDKZCHAR1XFELD
A_LGPROIssue Storage Location LGPROCHAR4Assigned to domainLGORT
A_PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
A_REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
A_KZEFFAssign effectivity parameter values/ override change numbers CC_MTEFFCHAR1XFELD
A_KZKFGConfigurable Material KZKFGCHAR1XFELD
A_NCONFConfigured on multiple levels NCONFCHAR1XFELD
A_FBSKZIndicator: procured externally FBSKZCHAR1XFELD
A_STAWNCommodity Code/Import Code Number for Foreign Trade STAWNCHAR17Assigned to domainSTAWN
A_PREFEPreference indicator in export/import PREFECHAR1PREFE
A_MSCHGIndicator: Bulk Material (Component Material) CS_E_MSCHGCHAR1XFELD
A_FXPRUFixed-Price Co-Product CK_FIXPRKUCHAR1XFELD
A_MATMKMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
A_STABKStatus of a document (language-dependent) STABKCHAR2CHAR2
A_DOSTXDescription of document status DOSTXCHAR16TEXT16
A_STLTYBOM category STLTYCHAR1STLTY
A_STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
A_DATUVValid-from/to date DTVONDATS8DATUM
A_TECHVTechnical status from TECHVCHAR12TECHS
A_AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
A_ANDATDate record created on ANDATDATS8DATUM
A_ANNAMUser who created record ANNAMCHAR12USNAM
A_AEDATChanged On AEDATDATS8DATUM
A_AENAMName of Person Who Changed Object AENAMCHAR12USNAM
A_IDNRKBOM component IDNRKCHAR18Assigned to domainMATN1MATNR
A_PSWRKIssuing plant PSWRKCHAR4Assigned to domainWERKS
A_POSTPItem category PSITPCHAR1Assigned to domainPOSTP
A_POSNRBOM Item Number SPOSNCHAR4NUMCVSPOSN
A_SORTFSort String SORTPCHAR10CHAR10
A_AUSCHComponent Scrap (Component) CS_E_AUSCHDEC5(2) DEC3_2
A_AVOAUOperation scrap AVOAUDEC5(2) DEC3_2
A_NETAUIndicator: Net scrap NETAUCHAR1XFELD
A_SCHGTIndicator: Bulk Material SCHGTCHAR1XFELD
A_BEIKZMaterial Provision Indicator BEIKZCHAR1Assigned to domainBEIKZ
A_ERSKZIndicator: spare part ERSKZCHAR1Assigned to domainERSKZ
A_RVRELIndicator: item relevant to sales RVRELCHAR1Assigned to domainRVREL
A_SANFEIndicator: item relevant to production SANFECHAR1XFELD
A_SANINIndicator: item relevant to plant maintenance SANINCHAR1XFELD
A_SANKAIndicator for Relevancy to Costing CK_SELKZCHAR1Assigned to domainCK_SELKZ
A_SANKOIndicator: item relevant to engineering SANKOCHAR1XFELD
A_SANVSIndicator: high-level configuration SANVSCHAR1XFELD
A_STKKZPM assembly indicator STKKZCHAR1XFELD
A_REKRIIndicator: BOM is recursive REKRICHAR1XFELD
A_REKRSIndicator: recursiveness allowed REKRSCHAR1XFELD
A_CADPOCAD Indicator CADPOCHAR1XFELD
A_NLFZTLead-time offset NLFZTDEC3NLFZT
A_NLFZVLead-time offset for operation CS_NLFZVDEC3NLFZT
A_NLFMVUnit for lead-time offset for operation CS_NLFMVUNIT3Assigned to domainCUNITMEINS
A_VERTIDistribution key for component consumption SA_VERTICHAR4Assigned to domainSA_VERTL
A_ALPOSIndicator: alternative item ALPOSCHAR1XFELD
A_EWAHRUsage probability in % (alternative item) EWAHRDEC3DEC3
A_EKGRPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
A_LIFZTDelivery time in days LIFZTDEC3DEC3
A_LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
A_PREISPrice CPREICURR11(2) WERT11
A_PEINHPrice Unit PEINHDEC5PACK3
A_WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
A_SAKTOCost element SAKTOCHAR10Assigned to domainALPHASAKNR
A_ROANZNumber of variable-size items ROANZQUAN13(3) MENG13
A_ROMS1Size 1 ROMS1QUAN13(3) MENG13
A_ROMS2Size 2 ROMS2QUAN13(3) MENG13
A_ROMS3Size 3 ROMS3QUAN13(3) MENG13
A_ROMEIUnit of measure for sizes 1 to 3 ROMEIUNIT3Assigned to domainCUNITMEINS
A_ROMENQuantity of variable-size item ROMENQUAN13(3) MENG13
A_RFORMFormula key RFORMCHAR2Assigned to domainRFORM
A_UPSKZIndicator: sub-items exist UPSKZCHAR1XFELD
A_LTXSPLanguage: The long text was stored in this language LTXSPLANG1Assigned to domainISOLASPRAS
A_POTX1BOM Item Text (Line 1) POTX1CHAR40TEXT40
A_POTX2BOM item text (line 2) POTX2CHAR40TEXT40
A_OBJTYObject type (BOM item) OBJTYCHAR1Assigned to domainOBJTY
A_ITMMKMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
A_WEBAZGoods Receipt Processing Time in Days WEBAZDEC3DEC3
A_DOKARDocument Type DOKARCHAR3Assigned to domainDOKARCV2
A_DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
A_DOKVRDocument Version DOKVRCHAR2DOKVRCV3
A_DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
A_CSSTRAverage material purity in % CSSTRDEC5(2) DEC3_2
A_CLASSClass number KLASSE_DCHAR18KLASSEKLA
A_KLARTClass Type KLASSENARTCHAR3Assigned to domainKLASSENARTKAR
A_INTRMIntra Material INTRMCHAR18Assigned to domainMATN1MATNR
A_POTPRItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
A_EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
A_LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
A_PRVBEProduction Supply Area PRVBECHAR10Assigned to domainPRVBEPVB
A_KZKUPIndicator: co-product KZKUPCHAR1XFELD
A_DATUBValid-to date DTBISDATS8DATUM
A_AENRAChange Number To AENRACHAR12Assigned to domainAENNRAENNR
A_AMGLGCalculated Scrap Quantity in Base Unit of Measure CS_E_AMGLGQUAN13(3) MENGV13
A_AMGKOCalculated Scrap Quantity in Component Unit of Measure CS_E_AMGKOQUAN13(3) MENGV13
A_DUMPSPhantom item indicator DUMPSCHAR1XFELD
A_ITSOBSpecial procurement type for BOM item CS_SOBSLCHAR2Assigned to domainSOBSL
A_RFPNTReference point for BOM transfer CN_RFPNTCHAR20Assigned to domainCN_RFPNT
A_SOBMXSpecial procurement type (combination of matMst. and item) CS_SOBMXCHAR2Assigned to domainSOBSL
A_MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
A_MULTIPLESingle-Character Indicator CHAR1CHAR1CHAR1
A_MULTIPLE_ICONIcon in text fields (substitute display, alias) ICON_DCHAR4Assigned to domainICON
ICONDisplaying the comparison result CS_ICON_CHECKCHAR30CHAR30
DIFF_MENGEComponent quantity KMPMGQUAN13(3) MENGV13
DIFF_UNITBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
B_MNGKOCalculated Component Quantity in Component Unit of Measure CS_E_MNGKOQUAN13(3) MENGV13
B_MNGLGCalculated Component Quantity in Base Unit of Measure CS_E_MNGLGQUAN13(3) MENGV13
B_DMNGEUnit of measure (unit to be displayed) DUNITUNIT3Assigned to domainCUNITMEINS
B_MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
B_DSTUFExplosion level AFLSTCHAR2CHAR2
B_MMEINBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
B_POSTPItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
B_BAUSFAssembly Scrap Used (in Percent) CS_E_BAUSDDEC5(2) DEC3_2
B_LOEKZDeletion Indicator (Header) CS_E_LKZCHCHAR1XFELD
B_MTARTMaterial Type MTARTCHAR4Assigned to domainMTARTMTA
B_WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
B_VERIDProduction Version VERIDCHAR4Assigned to domainVERIDVER
B_BWTTYValuation Category BWTTY_DCHAR1Assigned to domainBWTTY
B_VPRSVPrice control indicator VPRSVCHAR1VPRSV
B_STPRSStandard price STPRSCURR11(2) WERT11V
B_VERPRMoving Average Price/Periodic Unit Price VERPRCURR11(2) WERT11V
B_MMSTAPlant-Specific Material Status MMSTACHAR2Assigned to domainMMSTA
B_MSTAECross-Plant Material Status MSTAECHAR2Assigned to domainMMSTA
B_DISSTLow-Level Code DISSTCHAR3DISST
B_DISMMMRP Type DISMMCHAR2Assigned to domainDISMM
B_SERNPSerial Number Profile SERAILCHAR4Assigned to domainSERAIL
B_AUSSSAssembly Scrap (Component Material) CS_E_AUSSSDEC5(2) DEC3_2
B_KAUSFComponent Scrap (Component Material) CS_E_KAUSFDEC5(2) DEC3_2
B_SOBSLSpecial procurement type SOBSLCHAR2Assigned to domainSOBSL
B_SOBSKSpecial Procurement Type for Costing CK_SOBSLCHAR2Assigned to domainSOBSL
B_KZAUSDiscontinuation indicator KZAUSCHAR1KZAUS
B_AUSDTEffective-Out Date AUSDTDATS8DATUM
B_NFMATFollow-Up Material NFMATCHAR18Assigned to domainMATN1MATNRMAT
B_RGEKZIndicator: Backflush RGEKZCHAR1XFELD
B_KZDKZDocumentation required indicator KZDKZCHAR1XFELD
B_LGPROIssue Storage Location LGPROCHAR4Assigned to domainLGORT
B_PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
B_REVLVRevision Level REVLVCHAR2NUMCVREVLVRVS
B_KZEFFAssign effectivity parameter values/ override change numbers CC_MTEFFCHAR1XFELD
B_KZKFGConfigurable Material KZKFGCHAR1XFELD
B_NCONFConfigured on multiple levels NCONFCHAR1XFELD
B_FBSKZIndicator: procured externally FBSKZCHAR1XFELD
B_STAWNCommodity Code/Import Code Number for Foreign Trade STAWNCHAR17Assigned to domainSTAWN
B_PREFEPreference indicator in export/import PREFECHAR1PREFE
B_MSCHGIndicator: Bulk Material (Component Material) CS_E_MSCHGCHAR1XFELD
B_FXPRUFixed-Price Co-Product CK_FIXPRKUCHAR1XFELD
B_MATMKMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
B_STABKStatus of a document (language-dependent) STABKCHAR2CHAR2
B_DOSTXDescription of document status DOSTXCHAR16TEXT16
B_STLTYBOM category STLTYCHAR1STLTY
B_STLNRBill of material STNUMCHAR8NUMCVSTNUMSTLNR
B_DATUVValid-from/to date DTVONDATS8DATUM
B_TECHVTechnical status from TECHVCHAR12TECHS
B_AENNRChange Number AENNRCHAR12Assigned to domainAENNRAENNRAEN
B_ANDATDate record created on ANDATDATS8DATUM
B_ANNAMUser who created record ANNAMCHAR12USNAM
B_AEDATChanged On AEDATDATS8DATUM
B_AENAMName of Person Who Changed Object AENAMCHAR12USNAM
B_IDNRKBOM component IDNRKCHAR18Assigned to domainMATN1MATNR
B_PSWRKIssuing plant PSWRKCHAR4Assigned to domainWERKS
B_POSNRBOM Item Number SPOSNCHAR4NUMCVSPOSN
B_SORTFSort String SORTPCHAR10CHAR10
B_AUSCHComponent Scrap (Component) CS_E_AUSCHDEC5(2) DEC3_2
B_AVOAUOperation scrap AVOAUDEC5(2) DEC3_2
B_NETAUIndicator: Net scrap NETAUCHAR1XFELD
B_SCHGTIndicator: Bulk Material SCHGTCHAR1XFELD
B_BEIKZMaterial Provision Indicator BEIKZCHAR1Assigned to domainBEIKZ
B_ERSKZIndicator: spare part ERSKZCHAR1Assigned to domainERSKZ
B_RVRELIndicator: item relevant to sales RVRELCHAR1Assigned to domainRVREL
B_SANFEIndicator: item relevant to production SANFECHAR1XFELD
B_SANINIndicator: item relevant to plant maintenance SANINCHAR1XFELD
B_SANKAIndicator for Relevancy to Costing CK_SELKZCHAR1Assigned to domainCK_SELKZ
B_SANKOIndicator: item relevant to engineering SANKOCHAR1XFELD
B_SANVSIndicator: high-level configuration SANVSCHAR1XFELD
B_STKKZPM assembly indicator STKKZCHAR1XFELD
B_REKRIIndicator: BOM is recursive REKRICHAR1XFELD
B_REKRSIndicator: recursiveness allowed REKRSCHAR1XFELD
B_CADPOCAD Indicator CADPOCHAR1XFELD
B_NLFZTLead-time offset NLFZTDEC3NLFZT
B_NLFZVLead-time offset for operation CS_NLFZVDEC3NLFZT
B_NLFMVUnit for lead-time offset for operation CS_NLFMVUNIT3Assigned to domainCUNITMEINS
B_VERTIDistribution key for component consumption SA_VERTICHAR4Assigned to domainSA_VERTL
B_ALPOSIndicator: alternative item ALPOSCHAR1XFELD
B_EWAHRUsage probability in % (alternative item) EWAHRDEC3DEC3
B_EKGRPPurchasing Group EKGRPCHAR3Assigned to domainEKGRPEKG
B_LIFZTDelivery time in days LIFZTDEC3DEC3
B_LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
B_PREISPrice CPREICURR11(2) WERT11
B_PEINHPrice Unit PEINHDEC5PACK3
B_WAERSCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
B_SAKTOCost element SAKTOCHAR10Assigned to domainALPHASAKNR
B_ROANZNumber of variable-size items ROANZQUAN13(3) MENG13
B_ROMS1Size 1 ROMS1QUAN13(3) MENG13
B_ROMS2Size 2 ROMS2QUAN13(3) MENG13
B_ROMS3Size 3 ROMS3QUAN13(3) MENG13
B_ROMEIUnit of measure for sizes 1 to 3 ROMEIUNIT3Assigned to domainCUNITMEINS
B_ROMENQuantity of variable-size item ROMENQUAN13(3) MENG13
B_RFORMFormula key RFORMCHAR2Assigned to domainRFORM
B_UPSKZIndicator: sub-items exist UPSKZCHAR1XFELD
B_LTXSPLanguage: The long text was stored in this language LTXSPLANG1Assigned to domainISOLASPRAS
B_POTX1BOM Item Text (Line 1) POTX1CHAR40TEXT40
B_POTX2BOM item text (line 2) POTX2CHAR40TEXT40
B_OBJTYObject type (BOM item) OBJTYCHAR1Assigned to domainOBJTY
B_ITMMKMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
B_WEBAZGoods Receipt Processing Time in Days WEBAZDEC3DEC3
B_DOKARDocument Type DOKARCHAR3Assigned to domainDOKARCV2
B_DOKNRDocument number DOKNRCHAR25Assigned to domainALPHADOKNRCV1
B_DOKVRDocument Version DOKVRCHAR2DOKVRCV3
B_DOKTLDocument Part DOKTL_DCHAR3DOKTLCV4
B_CSSTRAverage material purity in % CSSTRDEC5(2) DEC3_2
B_CLASSClass number KLASSE_DCHAR18KLASSEKLA
B_KLARTClass Type KLASSENARTCHAR3Assigned to domainKLASSENARTKAR
B_INTRMIntra Material INTRMCHAR18Assigned to domainMATN1MATNR
B_POTPRItem Category (Bill of Material) POSTPCHAR1Assigned to domainPOSTP
B_EKORGPurchasing Organization EKORGCHAR4Assigned to domainEKORGEKO
B_LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
B_PRVBEProduction Supply Area PRVBECHAR10Assigned to domainPRVBEPVB
B_KZKUPIndicator: co-product KZKUPCHAR1XFELD
B_DATUBValid-to date DTBISDATS8DATUM
B_AENRAChange Number To AENRACHAR12Assigned to domainAENNRAENNR
B_AMGLGCalculated Scrap Quantity in Base Unit of Measure CS_E_AMGLGQUAN13(3) MENGV13
B_AMGKOCalculated Scrap Quantity in Component Unit of Measure CS_E_AMGKOQUAN13(3) MENGV13
B_DUMPSPhantom item indicator DUMPSCHAR1XFELD
B_ITSOBSpecial procurement type for BOM item CS_SOBSLCHAR2Assigned to domainSOBSL
B_RFPNTReference point for BOM transfer CN_RFPNTCHAR20Assigned to domainCN_RFPNT
B_SOBMXSpecial procurement type (combination of matMst. and item) CS_SOBMXCHAR2Assigned to domainSOBSL
B_MATKLMaterial Group MATKLCHAR9Assigned to domainMATKLMKLS_WBWG
B_MULTIPLESingle-Character Indicator CHAR1CHAR1CHAR1
B_MULTIPLE_ICONIcon in text fields (substitute display, alias) ICON_DCHAR4Assigned to domainICON

Key field Non-key field



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

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

How to access SAP table CSCOMP_ALV

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