COSPRA SAP (CO Object: Enhancement to COSPA for Recipe Planning) Structure details
Description: CO Object: Enhancement to COSPA for Recipe Planning
Structure field list including key, data, relationships and ABAP select examples
COSPRA 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 Object: Enhancement to COSPA for Recipe Planning" 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_COSPRA TYPE COSPRA.
The COSPRA table consists of various fields, each holding specific information or linking keys about CO Object: Enhancement to COSPA for Recipe Planning data available in SAP. These include LEDNR (Ledger for Controlling objects), OBJNR (Object number), GJAHR (Fiscal Year), WRTTP (Value Type).. 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 COSPRA 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 |
LEDNR | Ledger for Controlling objects | LEDNR | CHAR | 2 | ALPHA | LEDNR | |||
OBJNR | Object number | J_OBJNR | CHAR | 22 | Assigned to domain | 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 | Assigned to domain | ALPHA | COVERSI | KVS | |
KSTAR | Cost Element | KSTAR | CHAR | 10 | Assigned to domain | ALPHA | KSTAR | KAT | |
HRKFT | CO key subnumber | CO_SUBKEY | CHAR | 14 | Assigned to domain | CO_SUBKEY | |||
VRGNG | CO Business Transaction | CO_VORGANG | CHAR | 4 | Assigned to domain | J_VORGANG | |||
VBUND | Company ID of trading partner | RASSC | CHAR | 6 | Assigned to domain | ALPHA | RCOMP | PGS | |
PARGB | Trading partner's business area | PARGB | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
BEKNZ | Debit/credit indicator | BEKNZ | CHAR | 1 | BEKNZ | BEKNZ | |||
TWAER | Transaction Currency | TWAER | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
RKG001 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG002 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG003 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG004 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG005 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG006 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG007 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG008 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG009 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG010 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG011 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG012 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG013 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG014 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG015 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKG016 | Total Dependency Price Per Source Unit in CO Area Currency | RKGYYY | CURR | 15(2) | WERTV8 | ||||
RKF001 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF002 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF003 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF004 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF005 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF006 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF007 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF008 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF009 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF010 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF011 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF012 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF013 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF014 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF015 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKF016 | Fixed dependency price per source unit in CO area currency | RKFYYY | CURR | 15(2) | WERTV8 | ||||
RKE001 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE002 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE003 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE004 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE005 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE006 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE007 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE008 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE009 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE010 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE011 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE012 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE013 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE014 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE015 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
RKE016 | Dependency price unit in CO area currency | RKEYYY | NUMC | 5 | RKEYYY | ||||
ROG001 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG002 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG003 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG004 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG005 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG006 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG007 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG008 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG009 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG010 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG011 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG012 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG013 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG014 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG015 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROG016 | Total dependency price per source unit in object currency | ROGYYY | CURR | 15(2) | WERTV8 | ||||
ROF001 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF002 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF003 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF004 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF005 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF006 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF007 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF008 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF009 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF010 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF011 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF012 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF013 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF014 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF015 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROF016 | Fixed dependency price per source unit in object currency | ROFYYY | CURR | 15(2) | WERTV8 | ||||
ROE001 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE002 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE003 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE004 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE005 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE006 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE007 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE008 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE009 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE010 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE011 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE012 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE013 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE014 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE015 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
ROE016 | Dependency price unit in object currency | ROEYYY | NUMC | 5 | ROEYYY | ||||
MEINH | Unit of Measure | CO_MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
REG001 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG002 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG003 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG004 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG005 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG006 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG007 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG008 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG009 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG010 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG011 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG012 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG013 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG014 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG015 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REG016 | Total dependency quantity per source unit | REGYYY | QUAN | 15(3) | MENGV8 | ||||
REF001 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF002 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF003 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF004 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF005 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF006 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF007 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF008 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF009 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF010 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF011 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF012 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF013 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF014 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF015 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REF016 | Fixed dependency qty per source unit | REFYYY | QUAN | 15(3) | MENGV8 | ||||
REE001 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE002 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE003 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE004 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE005 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE006 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE007 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE008 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE009 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE010 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE011 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE012 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE013 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE014 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE015 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
REE016 | Dependency quantity unit | REEYYY | NUMC | 5 | REEYYY | ||||
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
HKGRP | Origin Group as Subdivision of Cost Element | HRKFT | CHAR | 4 | Assigned to domain | HRKFT | |||
PCVER | COPC Area of Responsibility | CO_VERANB | CHAR | 14 | CO_VERANB | ||||
CBRKE | External Value Added Ranking (CO-OM-ABC) | CO_CBRKE | NUMC | 2 | CBRK | CO_CBRKG | |||
CBRKI | Internal Value Added Ranking (CO-OM-ABC) | CO_CBRKI | NUMC | 2 | CBRK | CO_CBRKG | |||
CBART | Business Process Attribute: Category | CO_CBART | CHAR | 2 | CBAR | CO_CBART | |||
DRVTP | Business Process Attribute: Allocation Category (CO-OM-ABC) | CO_DRVTP | CHAR | 3 | CBDT | ALPHA | CO_DRVTP | ||
CBAT | Business Process Attribute: Additional Attribute (CO-OM-ABC) | CO_CBAT | CHAR | 10 | CBAT | ALPHA | CO_CBAT | ||
RECIND | Recovery Indicator | JV_RECIND | CHAR | 2 | T8JJ | ALPHA | JV_RECIND | ||
BEMOT | Accounting Indicator | BEMOT | CHAR | 2 | Assigned to domain | BEMOT | |||
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
RSRCE | Resource | CO_RESSOURCE | CHAR | 10 | Assigned to domain | ALPHA | CO_RESSOURCE | RCE | |
FKBER | Functional Area | FKBER | CHAR | 16 | TFKB | FKBER | FBE | ||
PFKBER | Partner Functional Area | SFKBER | CHAR | 16 | TFKB | FKBER | |||
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 | ||
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 | ||||
.INCLU--AP | 0 | ||||||||
AD04ADJIND | Correction indicator | AD04ADJIND | CHAR | 1 | AD04ADJIND |
Key field | Non-key field |
How do I retrieve data from SAP structure COSPRA using ABAP code?
As COSPRA 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 COSPRA as there is no data to select.How to access SAP table COSPRA
Within an ECC or HANA version of SAP you can also view further information about COSPRA 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