CCM_HEADER SAP (Structure with header for CL_CC_HEADER_MM class) Structure details

Dictionary Type: Structure
Description: Structure with header for CL_CC_HEADER_MM class




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




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

CCM_HEADER 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 with header for CL_CC_HEADER_MM class" 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_CCM_HEADER TYPE CCM_HEADER.

The CCM_HEADER table consists of various fields, each holding specific information or linking keys about Structure with header for CL_CC_HEADER_MM class data available in SAP. These include MANDT (Client), EBELN (Purchasing Document Number), BUKRS (Company Code), BSTYP (Purchasing Document Category).. 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 CCM_HEADER 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
MANDTClient MANDTCLNT3T000MANDT
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
BSTYPPurchasing Document Category EBSTYPCHAR1EBSTYP
BSARTPurchasing Document Type ESARTCHAR4T161BSARTBSA
BSAKZControl indicator for purchasing document type BSAKZCHAR1BSAKZ
LOEKZDeletion Indicator in Purchasing Document ELOEKCHAR1ELOEK
STATUStatus of Purchasing Document ESTAKCHAR1ESTAK
AEDATDate on Which Record Was Created ERDATDATS8DATUM
ERNAMName of Person who Created the Object ERNAMCHAR12USNAM
PINCRItem Number Interval PINCRNUMC5PINCR
LPONRLast Item Number LPONRNUMC5EKPOEBELP
LIFNRVendor Account Number ELIFNCHAR10LFA1ALPHALIFNRLIFKRED_C
SPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
ZTERMTerms of Payment Key DZTERMCHAR4ZTERM
ZBD1TCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
ZBD2TCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
ZBD3TCash (Prompt Payment) Discount Days DZBDETDEC3ZBDXT
ZBD1PCash Discount Percentage 1 DZBD1PDEC5(3) PRZ23
ZBD2PCash Discount Percentage 2 DZBD2PDEC5(3) PRZ23
EKORGPurchasing Organization EKORGCHAR4T024EEKORGEKO
EKGRPPurchasing Group BKGRPCHAR3T024EKGRPEKG
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
WKURSExchange Rate WKURSDEC9(5) EXCRTKURSP
KUFIXIndicator: Fixing of Exchange Rate KUFIXCHAR1XFELD
BEDATPurchasing Document Date EBDATDATS8DATUM
KDATBStart of Validity Period KDATBDATS8DATUM
KDATEEnd of Validity Period KDATEDATS8DATUM
BWBDTClosing Date for Applications BWBDTDATS8DATUM
ANGDTDeadline for Submission of Bid/Quotation ANGABDATS8DATUM
BNDDTBinding Period for Quotation EBNDTDATS8DATUM
GWLDTWarranty Date MM_GWLDTDATS8DATUM
AUSNRBid invitation number AUSCHCHAR10EKKOALPHAEBELNBES
ANGNRQuotation Number ANGNRCHAR10ANGNR
IHRANQuotation Submission Date IHRANDATS8DATUM
IHREZYour Reference IHREZCHAR12TEXT12
VERKFResponsible Salesperson at Vendor's Office EVERKCHAR30TEXT30
TELF1Vendor's Telephone Number TELF0CHAR16TEXT16
LLIEFSupplying Vendor LLIEFCHAR10LFA1ALPHALIFNRLLI
KUNNRCustomer Numbers KUNNRCHAR10KNA1ALPHAKUNNRKUNC_KUNNR
KONNRNumber of Principal Purchase Agreement KONNRCHAR10EKKOALPHAEBELNKTR
ABGRUField Not Used ABDUMCHAR2CHAR2
AUTLFComplete Delivery Stipulated for Each Purchase Order KMPLFCHAR1XFELD
WEAKTIndicator: Goods Receipt Message WEAKTCHAR1XFELD
RESWKSupplying (Issuing) Plant in Stock Transport Order RESWKCHAR4T001WWERKS
LBLIFField not used LBLIFCHAR10LFA1ALPHALIFNRLIF
INCO1Incoterms (Part 1) INCO1CHAR3TINCINCO1
INCO2Incoterms (Part 2) INCO2CHAR28INCO2
KTWRTTarget Value for Header Area per Distribution KTWRTCURR15(2) WERT15
SUBMICollective Number SUBMICHAR10CHAR10
KNUMVNumber of the document condition KNUMVCHAR10KNUMV
KALSMProcedure (Pricing, Output Control, Acct. Det., Costing,...) KALSM_DCHAR6T683KALSM
STAFOUpdate group for statistics update STAFOCHAR6Assigned to domainALPHASTAFOMCF
LIFREDifferent Invoicing Party LIFRECHAR10LFA1ALPHALIFNRLRE
EXNUMNumber of foreign trade data in MM and SD documents EXNUMCHAR10EIKPEXNUM
UNSEZOur Reference UNSEZCHAR12TEXT12
LOGSYLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
UPINCItem Number Interval for Subitems UPINCNUMC5PINCR
STAKODocument with time-dependent conditions STAKOCHAR1XFELD
FRGGRRelease group FRGGRCHAR2T16FGFRGGR
FRGSXRelease Strategy FRGSXCHAR2T16FSFRGSX
FRGKERelease Indicator: Purchasing Document FRGKECHAR1T16FBFRGKE
FRGZURelease status FRGZUCHAR8FRGZU
FRGRLRelease Not Yet Completely Effected FRGRLCHAR1XFELD
LANDSCountry for Tax Return LAND1_STMLCHAR3T005LAND1
LPHISIndicator for scheduling agreement release documentation LPHISCHAR1XFELD
ADRNRAddress number AD_ADDRNUMCHAR10Assigned to domainALPHAAD_ADDRNUMADR
STCEG_LCountry of Sales Tax ID Number STCEG_LCHAR3Assigned to domainLAND1LND
STCEGVAT Registration Number STCEGCHAR20STCEG
ABSGRReason for Cancellation ABSGRNUMC2T165RNUMC02
ADDNRDocument number for additional ADDI_BELNRCHAR10ALPHAADDI_BELNR
KORNRCorrection of miscellaneous provisions KORNRCHAR1KORNR
MEMORYPurchase order not yet complete MEMERCHAR1XFELD
PROCSTATPurchasing document processing state MEPROCSTATECHAR2MEPROCSTATE
RLWRTTotal value at time of release RLWRTCURR15(2) WERT15
REVNOVersion number in Purchasing REVNOCHAR8ALPHAREVNO
SCMPROCSCM Process That Created the Purchase Order SCMPROCCHAR1CHAR1
REASON_CODEGoods Receipt Reason Code /SAPPSPRO/_GR_REASON_CODECHAR4/SAPPSPRO/_GR_REASON_CODE
MEMORYTYPECategory of Incompleteness MEMORYTYPECHAR1MM_MEMORYTYPE
RETTPRetention Indicator RETTPCHAR1RET_TYPE
RETPCRetention in Percent RETPZDEC5(2) PRZ32
DPTYPDown Payment Indicator ME_DPTYPCHAR4ME_DPTYPE_DOMAIN
DPPCTDown Payment Percentage ME_DPPCNTDEC5(2) PRZ32
DPAMTDown Payment Amount in Document Currency ME_DPAMNTCURR11(2) WERT11
DPDATDue Date for Down Payment ME_DPDDATDATS8DATS
MSR_IDProcess Identification Number MSR_PROCESS_IDCHAR10ALPHAMSR_PROCESS_ID
HIERARCHY_EXISTSPart of a Contract Hierarchy HIERARCHY_EXISTSCHAR1XFELD
THRESHOLD_EXISTSThreshold Value for Exchange Rates Exists EX_RATE_THRESHOLDCHAR1XFELD
LEGAL_CONTRACTLegal Contract Number LEGAL_CONTRACT_IDCHAR40CHAR040
DESCRIPTIONContract Name CONTRACT_DESCRIPTIONCHAR40TEXT40
RELEASE_DATERelease Date of Contract RELEASE_DATEDATS8DATUM
VSARTShipping type VERSARTCHAR2Assigned to domainVERSART
HANDOVERLOCLocation for a physical handover of goods HANDOVER_LOCCHAR10ALPHAHANDOVER_LOC
.INCLU--AP 0
FORCE_IDInternal Key for Force Element /ISDFPS/FORCE_IDCHAR32SYSUUID_C
FORCE_CNTInternal (Version) Counter /ISDFPS/FORCE_CNTNUMC6NUMC6
RELOC_IDRelocation ID /ISDFPS/RELOC_IDCHAR10/ISDFPS/REL/ISDFPS/RELOC_ID
RELOC_SEQ_IDRelocation Step ID /ISDFPS/RELOC_SEQ_IDCHAR4/ISDFPS/RELSEQ/ISDFPS/RELOC_SEQ_ID
SOURCE_LOGSYSLogical system LOGSYSCHAR10Assigned to domainALPHALOGSYS
.INCLU--AP 0
PLCPACKAGING LEVEL CODE ADSPCM_PLCCHAR1CHAR1
SMBSUPPLY MANAG. BRANCH INDICATOR ADSPCM_SMBCHAR6CHAR6
ECCEVIDENCE CONTROL CODE ADSPCM_ECCCHAR7CHAR7
IPPINITIAL PROVISIONING PROJECT NUMBER ADSPCM_IPPCHAR9CHAR9
CURCURRENCY CODE ADSPCM_CURCHAR3CHAR3
ECOEconomic Conditions for Spec2000M ADSPCM_ECOCHAR13CHAR13
PCOPRICE CONDITION ADSPCM_PCOCHAR3CHAR3
DPTDELIVERY POINT ADSPCM_DPTCHAR15CHAR15
TOPTYPE OF PRICE ADSPCM_TOPCHAR2CHAR2
SUSSUPPLIER ADSPCM_SUSCHAR5CHAR5
PCNPrime Contract Number for Spec2000M ADSPCM_PCNCHAR16CHAR16
TRUCUSTOMER TAX REGISTRATION NUMBER ADSPCM_TRUCHAR20CHAR20
PCYProvisioning Category ADSPCM_PCYCHAR3CHAR3
PCDProcurement Code ADSPCM_PCDCHAR2CHAR2
PBNProcurement Budget Number ADSPCM_PBNCHAR14CHAR14
AMNAMENDMENT NUMBER ADSPCM_AMNCHAR3CHAR3
DNODIVERSION NUMBER ADSPCM_DNOCHAR12CHAR12
.INCLU--AP 0
POSTATFlag for the S1POSTAT message ADSPC_POSTATCHAR1ADSPC_FLAG
.INCLU--AP 0
VZSKZInterest calculation indicator VZSKZCHAR2Assigned to domainVZSKZ
.INCLU--AP 0
POHF_TYPEDocument for Seasonal Purchase Order Processing WRF_POHF_TYPECHAR1WRF_POHF_TYPE
EQ_EINDTDelivery Date Header: All Items Have Same Delivery Date WRF_POHF_EQ_EINDTDATS8DATUM
EQ_WERKSPlant Header: All Items Have Same Receiving Plant WRF_POHF_EQ_EWERKCHAR4Assigned to domainWERKS
FIXPOFirm Deal Indicator WRF_POHF_FIXPOCHAR1WRF_POHF_FIXPO_X
EKGRP_ALLOWTake Account of Purch. Group WRF_POHF_EKGRP_ALLOWCHAR1WRF_POHF_CHAR_1_2
WERKS_ALLOWTake Account of Plants WRF_POHF_WERKS_ALLOWCHAR1WRF_POHF_CHAR_1_2
CONTRACT_ALLOWTake Account of Contracts WRF_POHF_CONTRACT_ALLOWCHAR1WRF_POHF_CHAR_1_2
PSTYP_ALLOWTake Account of Item Categories WRF_POHF_PSTYP_ALLOWCHAR1WRF_POHF_CHAR_1_2
FIXPO_ALLOWTake Account of Fixed-Date Purchases Indicator WRF_POHF_FIXPO_ALLOWCHAR1WRF_POHF_CHAR_1_2
KEY_ID_ALLOWConsider Budget WRF_POHF_KEY_ID_ALLOWCHAR1WRF_POHF_CHAR_1_2
AUREL_ALLOWTake Account of Alloc. Table Relevance WRF_POHF_AUREL_ALLOWCHAR1WRF_POHF_CHAR_1_2
DELPER_ALLOWTake Account of Dlvy Period WRF_POHF_DELPER_ALLOWCHAR1WRF_POHF_CHAR_1_2
EINDT_ALLOWTake Account of Delivery Date WRF_POHF_EINDT_ALLOWCHAR1WRF_POHF_CHAR_1_2
LTSNR_ALLOWInclude Vendor Subrange WRF_POHF_LTSNR_ALLOWCHAR1WRF_POHF_CHAR_1_2
OTB_LEVELOTB Check Level WRF_POTB_CHECK_LEVELCHAR1WRF_POTB_CHECK_LEVEL
OTB_COND_TYPEOTB Condition Type WRF_POTB_COND_TYPECHAR4Assigned to domainKSCHL
KEY_IDUnique Number of Budget WRF_BUDG_KEY_IDNUMC16WRF_BUDG_KEY_ID
OTB_VALUERequired Budget WRF_POTB_VALUECURR17(2) WRF_POTB_VALUE
OTB_CURROTB Currency WRF_POTB_CURRENCYCUKY5Assigned to domainWAERS
OTB_RES_VALUEReserved Budget for OTB-Relevant Purchasing Document WRF_POTB_RES_VALUECURR17(2) WRF_POTB_RES_VALUE
OTB_SPEC_VALUESpecial Release Budget WRF_POTB_SPECIAL_VALUECURR17(2) WRF_POTB_SPECIAL_VALUE
SPR_RSN_PROFILEReason Profile for OTB Special Release WRF_POTB_SPR_RSN_PROFILECHAR4WRF_POTB_SPR_RSN_PROFILE
BUDG_TYPEBudget Type WRF_BUDG_TYPECHAR2WRF_BUDG_TYPEWRF_POTB_BUDGET_TYPE_F4
OTB_STATUSOTB Check Status WRF_POTB_STATUSCHAR1WRF_POTB_STATUS
OTB_REASONReason Indicator for OTB Check Status WRF_POTB_STATUS_REASONCHAR3WRF_POTB_STATUS_REASON
CHECK_TYPEType of OTB Check WRF_BUDG_OTB_CHECKCHAR1WRF_BUDG_OTB_CHECK
CON_OTB_REQOTB-Relevant Contract WRF_POTB_CON_REQCHAR1CHAR1_X
CON_PREBOOK_LEVOTB Indicator Level for Contracts WRF_POTB_PREBOOK_LEVELCHAR1WRF_POTB_PREBOOK_LEVEL
CON_DISTR_LEVDistribution Using Target Value or Item Data WRF_POTB_DISTRIB_LEVELCHAR1WRF_POTB_DISTRIB_LEVEL
RELEASE_VALUENet Order Value in PO Currency BWERTCURR13(2) WERT7

Key field Non-key field



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

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

How to access SAP table CCM_HEADER

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