COACC_OBJ SAP (CO account assignment objects) Structure details
Description: CO account assignment objects
Structure field list including key, data, relationships and ABAP select examples
COACC_OBJ 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 "CO account assignment objects" 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_COACC_OBJ TYPE COACC_OBJ.
The COACC_OBJ table consists of various fields, each holding specific information or linking keys about CO account assignment objects data available in SAP. These include GJAHR (Fiscal Year), BUKRS (Company Code), GSBER (Business Area), WERKS (Plant).. 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: Not classified
SAP COACC_OBJ 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 |
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
AUFPS | Order Item Number | CO_POSNR | NUMC | 4 | CO_POSNR | ||||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
KZVBR | Consumption Posting | KZVBR | CHAR | 1 | KZVBR | ||||
PS_PSP_PNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
AUFPL | Routing number of operations in the order | CO_AUFPL | NUMC | 10 | AUFPL | ||||
APLZL | Internal counter | CIM_COUNT | NUMC | 8 | CIM_COUNT | ||||
IMKEY | Internal Key for Real Estate Object | IMKEY | CHAR | 8 | IMKEY | ||||
DABRZ | Reference Date for Settlement | DABRBEZ | DATS | 8 | DDAT | ||||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
CO_KAKST | Account Assignment Type: Cost Center | CO_KAKST | NUMC | 1 | CO_KONTKZ | ||||
CO_KAAUF | Account assignment type: Order | CO_KAAUF | NUMC | 1 | CO_KONTKZ | ||||
CO_KAPRO | Project account assignment type | CO_KAPRO | NUMC | 1 | CO_KONTKZ | ||||
CO_KAKTR | Account Assignment Type: Cost Object | CO_KAKTR | NUMC | 1 | CO_KONTKZ | ||||
CO_KANPL | Account Assignment Type: Network | CO_KANPL | NUMC | 1 | CO_KONTKZ | ||||
CO_KAIMO | Account Assignment Type: Real Estate Object | CO_KAIMO | NUMC | 1 | CO_KONTKZ | ||||
CO_KAKDA | Account Assignment Type: Sales Order | CO_KAKDA | NUMC | 1 | CO_KONTKZ | ||||
CO_KAERG | Business segment account assignment type | CO_KAERG | NUMC | 1 | CO_KONTKZ | ||||
CO_KAABS | Account assignment type: reconciliation object | CO_KAABS | NUMC | 1 | CO_KONTKZ | ||||
CO_KAPRZ | Account Assignment Type: Business Process | CO_KAPRZ | NUMC | 1 | CO_KONTKZ | ||||
CO_KASAT | Account Assignment Type Not Used | CO_KASAT | NUMC | 1 | CO_KONTKZ |
Key field | Non-key field |
How do I retrieve data from SAP structure COACC_OBJ using ABAP code?
As COACC_OBJ 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 COACC_OBJ as there is no data to select.How to access SAP table COACC_OBJ
Within an ECC or HANA version of SAP you can also view further information about COACC_OBJ and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects