COSR2 is an SAP Structure so does not store data like a database table does but can be used to process "CO Object: Statistical Key Figure Totals" 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_COSR2 TYPE COSR2 .
Below is the documentation avaialable and full details of the fields which make up this Structure.
You can view further information about this via relevant transactions such as SE11 or SE80. Also check out the Comments section below to view or add related contributions and example screen shots.
Field | Component Type | Data Type | length (Decimals) | Check table | Description | Conversion Routine |
.INCLUDE | COSR | CO Object: Statistical Key Figure Totals | ||||
MANDT | MANDT | CLNT | 3 | T000 | Client | |
LEDNR | LEDNR | CHAR | 2 | Ledger for Controlling objects | ALPHA | |
OBJNR | J_OBJNR | CHAR | 22 | ONR00 | Object number | |
GJAHR | GJAHR | NUMC | 4 | Fiscal Year | GJAHR | |
WRTTP | CO_WRTTP | CHAR | 2 | Value Type | ALPHA | |
VERSN | VERSN | CHAR | 3 | TKA09 | Version | ALPHA |
STAGR | STAGR | CHAR | 6 | TKA03 | Statistical key figure | |
HRKFT | CO_SUBKEY | CHAR | 14 |
* | CO key subnumber | |
VRGNG | CO_VORGANG | CHAR | 4 |
* | CO Business Transaction | |
PERBL | PERBL | NUMC | 3 | Period block | ||
MEINH | CO_MEINH_R | UNIT | 3 | T006 | Unit of Measure: Statistical Key Figure | CUNIT |
SME001 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME002 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME003 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME004 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME005 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME006 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME007 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME008 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME009 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME010 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME011 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME012 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME013 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME014 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME015 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SME016 | SMEXXX | QUAN | 15(3) | Statistical quantity | ||
SMA001 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA002 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA003 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA004 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA005 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA006 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA007 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA008 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA009 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA010 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA011 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA012 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA013 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA014 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA015 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
SMA016 | SMAXXX | QUAN | 15(3) | Maximum statistical quantity | ||
.INCLUDE | FCOM_S_HRKFT_FIELD | Redundant Data from HRKFT for CO Totals Records | ||||
FKBER | FKBER | CHAR | 16 |
* | Functional Area | |
SEGMENT | FB_SEGMENT | CHAR | 10 | FAGL_SEGM | Segment for Segmental Reporting | ALPHA |
GEBER | FM_FUND | CHAR | 10 |
* | Fund | |
GRANT_NBR | GM_GRANT_NBR | CHAR | 20 | Grant | ALPHA | |
BUDGET_PD | FM_BUDGET_PERIOD | CHAR | 10 |
* | FM: Budget Period |
Key field | |
Non-key field |
CSKS-Cost Center Master Data
BPTR1-Object Data Control
BPJA1-Totals Record for Total Year Value Control
BPVJ1-Table Generated for View BPVJ1
BPPE1-Totals Record for Period Values Control
BPVP1-Table Generated for View BPVP1
COSP1-CO Object: Cost Totals for External Postings
COVP11-CO Object: Line Items with Doc. Header (by Period)
COVJ11-CO Object: Line Items with Doc Header (by Year)
COSS1-CO Object: Cost Totals for Internal Postings
COVP12-CO Object: Line Items with Doc. Header (by Period)
COVJ12-CO Object: Line Items with Doc Header (by Year)
COSR1-CO Object: Statistical Key Figure Totals
COVPR1-CO Object: Stat. Key Figure Line Items by Period
COVJR1-CO Object: Line Items Stat. Key Figures (by Year)
COSB1-CO Object: Total Variances/Results Analyses
COVPB1-CO Object: Variance/Accrual Line Items by Period
CSSL-Cost Center/Activity Type
COSP2-CO Object: Cost Totals for External Postings
COVP21-CO Object: Line Items with Doc. Header (by Period)
COVJ21-CO Object: Line Items with Doc Header (by Year)
COSS2-CO Object: Cost Totals for Internal Postings
COVP22-CO Object: Line Items with Doc. Header (by Period)
COVJ22-CO Object: Line Items with Doc Header (by Year)
COSL2-CO Object: Activity Type Totals
COVPL2-CO object: Activity type line items by period
COVJL2-CO Object: Line Items for Activity Types (by Year)
COSR2-CO Object: Statistical Key Figure Totals
COVPR2-CO Object: Stat. Key Figure Line Items by Period
COVJR2-CO Object: Line Items Stat. Key Figures (by Year)
COSB2-CO Object: Total Variances/Results Analyses
COVPB2-CO Object: Variance/Accrual Line Items by Period
COST2-CO Object: Price Totals
COVPT2-CO Object: Line Items for Prices (by Period)
COVJT2-CO Object: Line Items for Prices (by Fiscal Year)
CSKS-Cost Center Master Data
COKA1-CO Object: Control Data for Cost Elements
COKP1-CO Object: Control Data for Primary Planning
HEAD11-SAPscript: Text Header
LINE11-SAPscript: Text Lines
CKHS1-Header: Unit Costing (Control + Totals)
CKHT1-Texts for CKHS
HEAD12-SAPscript: Text Header
LINE12-SAPscript: Text Lines
CKIS1-Individual Calculation/Verification Item Gen.
CKIT1-Texts for CKIS
CKIP1-Periodic Values for Unit Costing Item
COSP1-CO Object: Cost Totals for External Postings
COVJ11-CO Object: Line Items with Doc Header (by Year)
COKS1-CO Object: Control Data for Secondary Planning
HEAD13-SAPscript: Text Header
LINE13-SAPscript: Text Lines
COSS1-CO Object: Cost Totals for Internal Postings
COVJ12-CO Object: Line Items with Doc Header (by Year)
COKR1-CO Object: Control Data for Statistical Key Figs
HEAD14-SAPscript: Text Header
LINE14-SAPscript: Text Lines
COSR1-CO Object: Statistical Key Figure Totals
COVJR1-CO Object: Line Items Stat. Key Figures (by Year)
CSSL-Cost Center/Activity Type
COKA2-CO Object: Control Data for Cost Elements
COKP2-CO Object: Control Data for Primary Planning
HEAD21-SAPscript: Text Header
LINE21-SAPscript: Text Lines
COSP2-CO Object: Cost Totals for External Postings
COVJ21-CO Object: Line Items with Doc Header (by Year)
COKS2-CO Object: Control Data for Secondary Planning
HEAD22-SAPscript: Text Header
LINE22-SAPscript: Text Lines
COSS2-CO Object: Cost Totals for Internal Postings
COVJ22-CO Object: Line Items with Doc Header (by Year)
COKL2-CO Object: Control Data for Activity Types
HEAD23-SAPscript: Text Header
LINE23-SAPscript: Text Lines
COSL2-CO Object: Activity Type Totals
COVJL2-CO Object: Line Items for Activity Types (by Year)
COST2-CO Object: Price Totals
COVJT2-CO Object: Line Items for Prices (by Fiscal Year)
COKR2-CO Object: Control Data for Statistical Key Figs
HEAD24-SAPscript: Text Header
LINE24-SAPscript: Text Lines
COSR2-CO Object: Statistical Key Figure Totals
COVJR2-CO Object: Line Items Stat. Key Figures (by Year)
CSKS-Cost Center Master Data
CSKT-Cost Center Texts
CDHDR-Change Document Header
CDPOS-Change Document Items
THEAD-SAPscript: Text Header
TLINE-SAPscript: Text Lines
BPHI1-Cross-Hierarchy Data Control
BPTR1-Object Data Control
BPJA1-Totals Record for Total Year Value Control
BPVJ1-Table Generated for View BPVJ1
BPPE1-Totals Record for Period Values Control
BPVP1-Table Generated for View BPVP1
COKA1-CO Object: Control Data for Cost Elements
COKP1-CO Object: Control Data for Primary Planning
HEAD11-SAPscript: Text Header
LINE11-SAPscript: Text Lines
CKHS1-Header: Unit Costing (Control + Totals)
CKHT1-Texts for CKHS
HEAD12-SAPscript: Text Header
LINE12-SAPscript: Text Lines
CKIS1-Individual Calculation/Verification Item Gen.
CKIT1-Texts for CKIS
CKIP1-Periodic Values for Unit Costing Item
COSP1-CO Object: Cost Totals for External Postings
COVP11-CO Object: Line Items with Doc. Header (by Period)
COVJ11-CO Object: Line Items with Doc Header (by Year)
COVO1-CO Object: Open Items for Line Items (w/o doc.Hdr)
COKS1-CO Object: Control Data for Secondary Planning
HEAD13-SAPscript: Text Header
LINE13-SAPscript: Text Lines
COSS1-CO Object: Cost Totals for Internal Postings
COVP12-CO Object: Line Items with Doc. Header (by Period)
COVJ12-CO Object: Line Items with Doc Header (by Year)
COKR1-CO Object: Control Data for Statistical Key Figs
HEAD14-SAPscript: Text Header
LINE14-SAPscript: Text Lines
COSR1-CO Object: Statistical Key Figure Totals
COVPR1-CO Object: Stat. Key Figure Line Items by Period
COVJR1-CO Object: Line Items Stat. Key Figures (by Year)
COSB1-CO Object: Total Variances/Results Analyses
COVPB1-CO Object: Variance/Accrual Line Items by Period
CSSL-Cost Center/Activity Type
COKA2-CO Object: Control Data for Cost Elements
COKP2-CO Object: Control Data for Primary Planning
HEAD21-SAPscript: Text Header
LINE21-SAPscript: Text Lines
COSP2-CO Object: Cost Totals for External Postings
COVP21-CO Object: Line Items with Doc. Header (by Period)
COVJ21-CO Object: Line Items with Doc Header (by Year)
COKS2-CO Object: Control Data for Secondary Planning
HEAD22-SAPscript: Text Header
LINE22-SAPscript: Text Lines
COSS2-CO Object: Cost Totals for Internal Postings
COVP22-CO Object: Line Items with Doc. Header (by Period)
COVJ22-CO Object: Line Items with Doc Header (by Year)
COKR2-CO Object: Control Data for Statistical Key Figs
HEAD24-SAPscript: Text Header
LINE24-SAPscript: Text Lines
COSR2-CO Object: Statistical Key Figure Totals
COVPR2-CO Object: Stat. Key Figure Line Items by Period
COVJR2-CO Object: Line Items Stat. Key Figures (by Year)
COKL2-CO Object: Control Data for Activity Types
HEAD23-SAPscript: Text Header
LINE23-SAPscript: Text Lines
COSL2-CO Object: Activity Type Totals
COVPL2-CO Object: Activity Type Line Items by Period
COVJL2-CO Object: Line Items for Activity Types (by Year)
COSB2-CO Object: Total Variances/Results Analyses
COVPB2-CO Object: Variance/Accrual Line Items by Period
COST2-CO Object: Price Totals
COVPT2-CO Object: Line Items for Prices (by Period)
COVJT2-CO Object: Line Items for Prices (by Fiscal Year)
COSR2 - CO Object: Statistical Key Figure Totals COSR1 - CO Object: Statistical Key Figure Totals COSR - CO Object: Statistical Key Figure Totals COSP_VTYPE - Conversion of OLTP (Value Type, Bus. Trans.) in BIW COSP_KEY - Key for Totals Costs - External Postings (COSP) COSPR_VALUES - CO Object: Enhancement to COSPA for Recipe Planning