COEP SAP (CO Object: Line Items (by Period)) Table details
Dictionary Type: Table
Description: CO Object: Line Items (by Period)
Description: CO Object: Line Items (by Period)
Table field list including key, data, relationships and ABAP select examples
COEP is a standard SAP Table which is used to store CO Object: Line Items (by Period) data and is available within R/3 SAP systems depending on the version and release level.
The COEP table consists of various fields, each holding specific information or linking keys about CO Object: Line Items (by Period) data available in SAP. These include MANDT (Client), KOKRS (Controlling Area), BELNR (Document Number), BUZEI (Posting row).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP COEP table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | TKA01 | CACCD | CAC | ||
BELNR | Document Number | CO_BELNR | CHAR | 10 | COBK | ALPHA | CO_BELNR | BLN | |
BUZEI | Posting row | CO_BUZEI | NUMC | 3 | BUZEI | ||||
PERIO | Period | CO_PERIO | NUMC | 3 | PERBL | VPE | |||
WTGBTR | Total Value in Transaction Currency | WTGXXX | CURR | 15(2) | WERTV8 | ||||
WOGBTR | Total Value in Object Currency | WOGXXX | CURR | 15(2) | WERTV8 | ||||
WKGBTR | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
WKFBTR | Fixed Value in Controlling Area Currency | WKFXXX | CURR | 15(2) | WERTV8 | ||||
PAGBTR | Total Price Variance in CO Area Currency | PAGXXX | CURR | 15(2) | WERTV8 | ||||
PAFBTR | Fixed Price Variance in CO Area Currency | PAFXXX | CURR | 15(2) | WERTV8 | ||||
MEGBTR | Total Quantity | MEGXXX | QUAN | 15(3) | MENGV8 | ||||
MEFBTR | Fixed Quantity | MEFXXX | QUAN | 15(3) | MENGV8 | ||||
MBGBTR | Total quantity entered | MBGXXX | QUAN | 15(3) | MENGV8 | ||||
MBFBTR | Fixed quantity entered | MBFXXX | QUAN | 15(3) | MENGV8 | ||||
LEDNR | Ledger for Controlling objects | LEDNR | CHAR | 2 | ALPHA | LEDNR | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | ONR00 | J_OBJNR | ONR | ||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
WRTTP | Value Type | CO_WRTTP | CHAR | 2 | CO_WRTTP | ||||
VERSN | Version | VERSN | CHAR | 3 | TKA09 | ALPHA | COVERSI | KVS | |
KSTAR | Cost Element | KSTAR | CHAR | 10 | CSKA | ALPHA | KSTAR | KAT | |
HRKFT | CO key subnumber | CO_SUBKEY | CHAR | 14 | COKEY | CO_SUBKEY | |||
VRGNG | CO Business Transaction | CO_VORGANG | CHAR | 4 | TJ01 | J_VORGANG | |||
PAROB | Partner Object | PAROB | CHAR | 22 | ONR00 | J_OBJNR | |||
PAROB1 | Partner object (always filled) | PAROB1 | CHAR | 22 | ONR00 | J_OBJNR | |||
USPOB | Source Object (Cost Center/Activity Type) | USPOB | CHAR | 22 | ONR00 | J_OBJNR | |||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | T880 | ALPHA | RCOMP | PGS | |
PARGB | Trading partner's business area | PARGB | CHAR | 4 | TGSB | GSBER | GSB | ||
BEKNZ | Debit/credit indicator | BEKNZ | CHAR | 1 | BEKNZ | BEKNZ | |||
TWAER | Transaction Currency | TWAER | CUKY | 5 | TCURC | WAERS | FWS | ||
OWAER | Currency Key | OWAER | CUKY | 5 | TCURC | WAERS | OWS | ||
MEINH | Unit of Measure | CO_MEINH | UNIT | 3 | T006 | CUNIT | MEINS | ||
MEINB | Posted Unit of Measure | MEINB | UNIT | 3 | T006 | CUNIT | MEINS | ||
MVFLG | Quantity Complete/Incomplete | CO_MVFLG | CHAR | 1 | CO_MVFLG | ||||
SGTXT | Segment text | CO_SGTXT | CHAR | 50 | TEXT50 | ||||
REFBZ | Posting row of reference document | CO_REFBZ | NUMC | 3 | BUZEI | ||||
ZLENR | Document Item Number | DZLENR | NUMC | 3 | NUM3 | ||||
BW_REFBZ | Posting Row in Operative Version | BW_REFBZ | NUMC | 3 | BUZEI | ||||
GKONT | Offsetting Account Number | GKONT | CHAR | 10 | ALPHA | GKONT | GKONT | ||
GKOAR | Offsetting Account Type | GKOAR | CHAR | 1 | KOART | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
RBEST | Category of Reference Purchase Order | CO_RBEST | NUMC | 3 | REFBT | BELEGTYP | |||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
ZEKKN | Sequential Number of Account Assignment | DZEKKN | NUMC | 2 | NUM02 | ||||
ERLKZ | Completion indicator for line item | KBLERLKZ | CHAR | 1 | CHAR1_X | ||||
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
BTRKL | Amount Class for Value in Controlling Area Currency | CO_BTRKL | NUMC | 2 | NUMC2 | ||||
OBJNR_N1 | Auxiliary account assignment 1 | OBJNR_N1 | CHAR | 22 | ONR00 | J_OBJNR | |||
OBJNR_N2 | Auxiliary account assignment 2 | OBJNR_N2 | CHAR | 22 | ONR00 | J_OBJNR | |||
OBJNR_N3 | Auxiliary account assignment 3 | OBJNR_N3 | CHAR | 22 | ONR00 | J_OBJNR | |||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
BELTP | Debit type | BP_INOUT | NUMC | 1 | BP_INOUT | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | TGSB | GSBER | GSB | ||
FKBER | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
SCOPE | Object Class | SCOPE_CV | CHAR | 2 | SCOPE | SCOPE_CV | PCO | ||
LOGSYSO | Logical system of object | LOGSYSO | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
PKSTAR | Cost element of partner | PKSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
PBUKRS | Company code of partner | PBUKRS | CHAR | 4 | T001 | BUKRS | BUK | ||
PFKBER | Partner Functional Area | SFKBER | CHAR | 16 | TFKB | FKBER | |||
PSCOPE | Partner object class | PSCOPE_CV | CHAR | 2 | SCOPE | SCOPE_CV | |||
LOGSYSP | Logical system of partner object | LOGSYSP | CHAR | 10 | TBDLS | ALPHA | LOGSYS | ||
DABRZ | Reference Date for Settlement | DABRBEZ | DATS | 8 | DDAT | ||||
BWSTRAT | Strategy for Determining an Allocation Price | BWSTRAT | CHAR | 1 | BWSTRAT | ||||
OBJNR_HK | Object Number of Origin Object | OBJNR_HK | CHAR | 22 | Assigned to domain | J_OBJNR | |||
TIMESTMP | Time created (Greenwich Meantime) | RKE_HZSTMP | DEC | 16 | RKE_TSTMP | ||||
QMNUM | Notification No | QMNUM | CHAR | 12 | Assigned to domain | ALPHA | QMNUM | IQM | |
GEBER | Fund | FM_FUND | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
PGEBER | Partner Fund | FM_PFUND | CHAR | 10 | Assigned to domain | BP_GEBER | PARTNER_FUND | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
PGRANT_NBR | Partner Grant | GM_GRANT_PARTNER | CHAR | 20 | ALPHA | GM_GRANT_NBR | GRANTS_GENERIC | ||
REFBZ_FI | Posting Item of FI Reference Document | REFBZ_FI | NUMC | 3 | BUZEI | ||||
SEGMENT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | FAGL_SEGM | ALPHA | FB_SEGMENT | ||
PSEGMENT | Partner Segment for Segmental Reporting | FB_PSEGMENT | CHAR | 10 | FAGL_SEGM | ALPHA | FB_SEGMENT | ||
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
PBUDGET_PD | FM: Partner Budget Period | FM_PBUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
PRODPER | Production Month for JVA in CO | PRODPER | NUMC | 6 | PRODPER | ||||
Z_PRS_OFFSHORE | 0 | ||||||||
Z_PRS_BILL_FLAG | 0 | ||||||||
Z_PRS_COUNTRY | Country Key | LAND1 | CHAR | 3 | Assigned to domain | LAND1 | LND | ||
Z_PRS_CHARGELEVL | 0 |
Key field | Non-key field |
How do I retrieve data from SAP table COEP using ABAP code
The following ABAP code Example will allow you to do a basic selection on COEP to SELECT all data from the tableDATA: WA_COEP TYPE COEP.
SELECT SINGLE *
FROM COEP
INTO CORRESPONDING FIELDS OF WA_COEP
WHERE...
How to access SAP table COEP
Within an ECC or HANA version of SAP you can also view further information about COEP 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