SAP FCOMS_COSTCENTER_DQUERY BOL : Cost Center Master Data Dynamic Query Table data and field list

FCOMS_COSTCENTER_DQUERY 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 "BOL : Cost Center Master Data Dynamic Query" 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_FCOMS_COSTCENTER_DQUERY TYPE FCOMS_COSTCENTER_DQUERY.

The FCOMS_COSTCENTER_DQUERY table consists of various fields, each holding specific information or linking keys about BOL : Cost Center Master Data Dynamic Query data available in SAP. These include KOKRS (Controlling Area), KOSTL (Cost Center), DATAB (Valid-From Date), DATBI (Valid To Date)... 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. .

FCOMS_COSTCENTER_DQUERY 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 FCOMS_COSTCENTER_DQUERY 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 FCOMS_COSTCENTER_DQUERY 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
KOKRSControlling Area KOKRSCHAR4Assigned to domainCACCDCAC
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
DATABValid-From Date DATABDATS8DATUM
DATBIValid To Date DATBIDATS8DATUM
VERAK_USERUser Responsible VERAK_USERCHAR12USR02XUBNAMEXUSUSER_COMP
KSTGRCO-CCA Overhead Key KOSZSCHLCHAR6CHAR6
KTEXTGeneral Name KTEXTCHAR20TEXT20
ERSDACreated on ERFDTDATS8DATUM
USNAMEntered by ERFNMCHAR12USNAM
BKZKPLock Indicator for Actual Primary Postings BKZKPCHAR1YNFLG
BKZKSLock Indicator for Actual Secondary Costs BKZKSCHAR1YNFLG
BKZERLock Indicator for Actual Revenue Postings BKZERCHAR1YNFLG
BKZOBLock Indicator for Commitment Update BKZOBCHAR1YNFLG
PKZKPLock Indicator for Plan Primary Costs PKZKPCHAR1YNFLG
PKZKSLock Indicator for Plan Secondary Costs PKZKSCHAR1YNFLG
PKZERLock Indicator for Planning Revenues PKZERCHAR1YNFLG
MGEFLIndicator for Recording Consumption Quantities MGEFLCHAR1YNFLG
BUKRSCompany Code BUKRSCHAR4T001BUKRSBUKC_T001
GSBERBusiness Area GSBERCHAR4TGSBGSBERGSB
ABTEIDepartment ABTEICHAR12ABTEI
KOSARCost Center Category KOSARCHAR1TKA05KOSARPCA_KOSAR
VERAKPerson Responsible VERAKCHAR20VERAK
WAERSCurrency Key WAERSCUKY5TCURCWAERSFWS
LAND1Country Key LAND1CHAR3T005LAND1LND
ANREDTitle ANREDCHAR15TEXT15
NAME1Name 1 NAME1_GPCHAR35NAME
NAME2Name 2 NAME2_GPCHAR35NAME
NAME3Name 3 NAME3_GPCHAR35NAME
NAME4Name 4 NAME4_GPCHAR35NAME
ORT01City ORT01_GPCHAR35TEXT35
ORT02District ORT02_GPCHAR35TEXT35
STRASHouse number and street STRAS_GPCHAR35TEXT35
PFACHPO Box PFACHCHAR10PFACH
PSTLZPostal Code PSTLZCHAR10PSTLZ
PSTL2P.O. Box Postal Code PSTL2CHAR10PSTLZ
REGIOSTATE (State, Province, County) REGIOCHAR3T005SREGIO
SPRASLanguage Key SPRASLANG1T002ISOLASPRASSPRH_T002
TELBXTelebox number TELBXCHAR15TEXT15
TELF1First telephone number TELF1CHAR16TEXT16
TELF2Second telephone number TELF2CHAR16TEXT16
TELFXFax Number TELFXCHAR31TEXT31
TELTXTeletex number TELTXCHAR30TEXT30
TELX1Telex number TELX1CHAR30TEXT30
DATLTData communication line no. DATLTCHAR14TEXT14
DRNAMPrinter destination for CCtr report KDNAMCHAR4DRNAM
KHINRStandard Hierarchy Area KHINRCHAR12SETNR
KOMPLCompletion flag for the cost center master record KSKOMCHAR1YNFLG
TXJCDTax Jurisdiction TXJCDCHAR15TTXJTXJCDTXJ
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
KALSMCosting Sheet AUFKALSMCHAR6T683KALSM
CPI_TEMPLTemplate for Activity-Independent Formula Planning CCA_TEMPL_CPICHAR10COTPLABC_TEMPLABT
CPD_TEMPLTemplate for Activity-Dependent Formula Planning CCA_TEMPL_CPDCHAR10COTPLABC_TEMPLABT
SCI_TEMPLTemplate: Activity-Independent Allocation to Cost Center CCA_TEMPL_SCICHAR10COTPLABC_TEMPLABT
SCD_TEMPLTemplate: Activity-Dependent Allocation to Cost Center CCA_TEMPL_SCDCHAR10COTPLABC_TEMPLABT
FUNC_AREAFunctional Area FKBERCHAR16TFKBFKBERFBE
LOGSYSTEMLogical System LOGSYSTEMCHAR10Assigned to domainALPHALOGSYS
CSKS_CI 0
DUMMY_FIELDCheckbox XFELDCHAR1XFELD

Key field Non-key field



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

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

How to access SAP table FCOMS_COSTCENTER_DQUERY

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

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