COA_CO_TOTALS_FLAT SAP (Contents of Class CL_COA_CO_TOTALS as Flat Structure) Structure details

Dictionary Type: Structure
Description: Contents of Class CL_COA_CO_TOTALS as Flat Structure




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




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

COA_CO_TOTALS_FLAT 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 "Contents of Class CL_COA_CO_TOTALS as Flat Structure" 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_COA_CO_TOTALS_FLAT TYPE COA_CO_TOTALS_FLAT.

The COA_CO_TOTALS_FLAT table consists of various fields, each holding specific information or linking keys about Contents of Class CL_COA_CO_TOTALS as Flat Structure data available in SAP. These include COST_ELEMENT (Cost Element), CO_SUBKEY (CO key subnumber), TRADING_PARTNER_ID (Company ID of trading partner), TRADING_PARTNER_BUSINESS_AREA (Trading partner's business area).. 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 COA_CO_TOTALS_FLAT 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
COST_ELEMENTCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
CO_SUBKEYCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
TRADING_PARTNER_IDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
TRADING_PARTNER_BUSINESS_AREATrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
PARTNER_OBJECTPartner Object PAROBCHAR22Assigned to domainJ_OBJNR
SOURCE_OBJECTSource Object (Cost Center/Activity Type) USPOBCHAR22Assigned to domainJ_OBJNR
DC_INDICATORVariances: Debit/Credit AWBELCHAR1AWBEL
PLANTPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATERIALMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
ORIGIN_GROUPOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
TABIXRow Index of Internal Tables SYTABIXINT410SYST_LONG
CATEGORYTotals Record Category COA_TCATCHAR3COA_TCAT
SUBCATEGORYTotals Record Subcategory COA_TSCATCHAR2COA_TSCAT
AMOUNT_CATotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
AMOUNT_FIXED_CAFixed Value in Controlling Area Currency WKFXXXCURR15(2) WERTV8
AMOUNT_OCTotal Value in Object Currency WOGXXXCURR15(2) WERTV8
AMOUNT_FIXED_OCFixed value in object currency (not in DB) WOFXXXCURR15(2) WERTV8
AMOUNT_CA_ACCTotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
AMOUNT_FIXED_CA_ACCFixed Value in Controlling Area Currency WKFXXXCURR15(2) WERTV8
AMOUNT_OC_ACCTotal Value in Object Currency WOGXXXCURR15(2) WERTV8
AMOUNT_FIXED_OC_ACCFixed value in object currency (not in DB) WOFXXXCURR15(2) WERTV8
AMOUNT_CA_LSITotal Value in Controlling Area Currency WKGXXXCURR15(2) WERTV8
AMOUNT_FIXED_CA_LSIFixed Value in Controlling Area Currency WKFXXXCURR15(2) WERTV8
AMOUNT_OC_LSITotal Value in Object Currency WOGXXXCURR15(2) WERTV8
AMOUNT_FIXED_OC_LSIFixed value in object currency (not in DB) WOFXXXCURR15(2) WERTV8
AMOUNTTotal Quantity MEGXXXQUAN15(3) MENGV8
AMOUNT_FIXEDFixed Quantity MEFXXXQUAN15(3) MENGV8
UNIT_OF_MEASUREUnit of Measure CO_MEINHUNIT3Assigned to domainCUNITMEINS
INCOMPLETEQuantities Incomplete MUVXXCHAR1XFELD
LAST_FISC_YEARFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
.INCLU-ACC 0
AMOUNTACCTotal Quantity MEGXXXQUAN15(3) MENGV8
AMOUNT_FIXEDACCFixed Quantity MEFXXXQUAN15(3) MENGV8
UNIT_OF_MEASUREACCUnit of Measure CO_MEINHUNIT3Assigned to domainCUNITMEINS
INCOMPLETEACCQuantities Incomplete MUVXXCHAR1XFELD
LAST_FISC_YEARACCFiscal Year GJAHRNUMC4GJAHRGJAHRGJR

Key field Non-key field



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

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

How to access SAP table COA_CO_TOTALS_FLAT

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