COSPRA SAP (CO Object: Enhancement to COSPA for Recipe Planning) Structure details

Dictionary Type: Structure
Description: CO Object: Enhancement to COSPA for Recipe Planning




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




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
LEDNRLedger for Controlling objects LEDNRCHAR2ALPHALEDNR
OBJNRObject number J_OBJNRCHAR22Assigned to domainJ_OBJNRONR
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
WRTTPValue Type CO_WRTTPCHAR2CO_WRTTP
VERSNVersion VERSNCHAR3Assigned to domainALPHACOVERSIKVS
KSTARCost Element KSTARCHAR10Assigned to domainALPHAKSTARKAT
HRKFTCO key subnumber CO_SUBKEYCHAR14Assigned to domainCO_SUBKEY
VRGNGCO Business Transaction CO_VORGANGCHAR4Assigned to domainJ_VORGANG
VBUNDCompany ID of trading partner RASSCCHAR6Assigned to domainALPHARCOMPPGS
PARGBTrading partner's business area PARGBCHAR4Assigned to domainGSBERGSB
BEKNZDebit/credit indicator BEKNZCHAR1BEKNZBEKNZ
TWAERTransaction Currency TWAERCUKY5Assigned to domainWAERSFWS
RKG001Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG002Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG003Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG004Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG005Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG006Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG007Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG008Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG009Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG010Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG011Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG012Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG013Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG014Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG015Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKG016Total Dependency Price Per Source Unit in CO Area Currency RKGYYYCURR15(2) WERTV8
RKF001Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF002Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF003Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF004Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF005Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF006Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF007Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF008Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF009Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF010Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF011Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF012Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF013Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF014Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF015Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKF016Fixed dependency price per source unit in CO area currency RKFYYYCURR15(2) WERTV8
RKE001Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE002Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE003Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE004Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE005Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE006Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE007Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE008Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE009Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE010Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE011Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE012Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE013Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE014Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE015Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
RKE016Dependency price unit in CO area currency RKEYYYNUMC5RKEYYY
ROG001Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG002Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG003Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG004Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG005Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG006Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG007Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG008Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG009Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG010Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG011Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG012Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG013Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG014Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG015Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROG016Total dependency price per source unit in object currency ROGYYYCURR15(2) WERTV8
ROF001Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF002Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF003Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF004Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF005Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF006Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF007Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF008Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF009Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF010Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF011Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF012Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF013Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF014Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF015Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROF016Fixed dependency price per source unit in object currency ROFYYYCURR15(2) WERTV8
ROE001Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE002Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE003Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE004Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE005Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE006Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE007Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE008Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE009Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE010Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE011Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE012Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE013Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE014Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE015Dependency price unit in object currency ROEYYYNUMC5ROEYYY
ROE016Dependency price unit in object currency ROEYYYNUMC5ROEYYY
MEINHUnit of Measure CO_MEINHUNIT3Assigned to domainCUNITMEINS
REG001Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG002Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG003Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG004Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG005Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG006Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG007Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG008Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG009Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG010Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG011Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG012Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG013Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG014Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG015Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REG016Total dependency quantity per source unit REGYYYQUAN15(3) MENGV8
REF001Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF002Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF003Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF004Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF005Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF006Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF007Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF008Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF009Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF010Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF011Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF012Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF013Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF014Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF015Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REF016Fixed dependency qty per source unit REFYYYQUAN15(3) MENGV8
REE001Dependency quantity unit REEYYYNUMC5REEYYY
REE002Dependency quantity unit REEYYYNUMC5REEYYY
REE003Dependency quantity unit REEYYYNUMC5REEYYY
REE004Dependency quantity unit REEYYYNUMC5REEYYY
REE005Dependency quantity unit REEYYYNUMC5REEYYY
REE006Dependency quantity unit REEYYYNUMC5REEYYY
REE007Dependency quantity unit REEYYYNUMC5REEYYY
REE008Dependency quantity unit REEYYYNUMC5REEYYY
REE009Dependency quantity unit REEYYYNUMC5REEYYY
REE010Dependency quantity unit REEYYYNUMC5REEYYY
REE011Dependency quantity unit REEYYYNUMC5REEYYY
REE012Dependency quantity unit REEYYYNUMC5REEYYY
REE013Dependency quantity unit REEYYYNUMC5REEYYY
REE014Dependency quantity unit REEYYYNUMC5REEYYY
REE015Dependency quantity unit REEYYYNUMC5REEYYY
REE016Dependency quantity unit REEYYYNUMC5REEYYY
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
HKGRPOrigin Group as Subdivision of Cost Element HRKFTCHAR4Assigned to domainHRKFT
PCVERCOPC Area of Responsibility CO_VERANBCHAR14CO_VERANB
CBRKEExternal Value Added Ranking (CO-OM-ABC) CO_CBRKENUMC2CBRKCO_CBRKG
CBRKIInternal Value Added Ranking (CO-OM-ABC) CO_CBRKINUMC2CBRKCO_CBRKG
CBARTBusiness Process Attribute: Category CO_CBARTCHAR2CBARCO_CBART
DRVTPBusiness Process Attribute: Allocation Category (CO-OM-ABC) CO_DRVTPCHAR3CBDTALPHACO_DRVTP
CBATBusiness Process Attribute: Additional Attribute (CO-OM-ABC) CO_CBATCHAR10CBATALPHACO_CBAT
RECINDRecovery Indicator JV_RECINDCHAR2T8JJALPHAJV_RECIND
BEMOTAccounting Indicator BEMOTCHAR2Assigned to domainBEMOT
PERNRPersonnel Number PERNR_DNUMC8PERNRPER
RSRCEResource CO_RESSOURCECHAR10Assigned to domainALPHACO_RESSOURCERCE
FKBERFunctional Area FKBERCHAR16TFKBFKBERFBE
PFKBERPartner Functional Area SFKBERCHAR16TFKBFKBER
GEBERFund FM_FUNDCHAR10Assigned to domainBP_GEBERFIC
PGEBERPartner Fund FM_PFUNDCHAR10Assigned to domainBP_GEBERPARTNER_FUND
GRANT_NBRGrant GM_GRANT_NBRCHAR20ALPHAGM_GRANT_NBRGM_GRANT_NBRGRANTS_GENERIC
PGRANT_NBRPartner Grant GM_GRANT_PARTNERCHAR20ALPHAGM_GRANT_NBRGRANTS_GENERIC
SEGMENTSegment for Segmental Reporting FB_SEGMENTCHAR10FAGL_SEGMALPHAFB_SEGMENT
PSEGMENTPartner Segment for Segmental Reporting FB_PSEGMENTCHAR10FAGL_SEGMALPHAFB_SEGMENT
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
PBUDGET_PDFM: Partner Budget Period FM_PBUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER
PRODPERProduction Month for JVA in CO PRODPERNUMC6PRODPER
.INCLU--AP 0
AD04ADJINDCorrection indicator AD04ADJINDCHAR1AD04ADJIND

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 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!