COSBD2 SAP (CO Object: Total of variances/accruals, of which settled) Structure details
Description: CO Object: Total of variances/accruals, of which settled
Structure field list including key, data, relationships and ABAP select examples
COSBD2 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: Total of variances/accruals, of which settled" 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_COSBD2 TYPE COSBD2.
The COSBD2 table consists of various fields, each holding specific information or linking keys about CO Object: Total of variances/accruals, of which settled data available in SAP. These include MANDT (Client), LEDNR (Ledger for Controlling objects), OBJNR (Object number), GJAHR (Fiscal Year).. 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 COSBD2 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
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 | Assigned to domain | ALPHA | COVERSI | KVS | |
ABKAT | Category for Variance/Results Analysis | ABKAT | NUMC | 2 | ABKAT | ABKAT | |||
KSTAR | Cost Element | KSTAR | CHAR | 10 | CSKA | 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 | |||
PAROB | Partner Object | PAROB | CHAR | 22 | ONR00 | J_OBJNR | |||
BEKNZ | Debit/credit indicator | BEKNZ | CHAR | 1 | BEKNZ | BEKNZ | |||
AWKUS | Variances: Cost Overrun/Underrun | AWKUS | CHAR | 1 | AWKUS | ||||
TWAER | Transaction Currency | TWAER | CUKY | 5 | TCURC | WAERS | FWS | ||
WTGABG | Total Value in Transaction Currency | WTGXXX | CURR | 15(2) | WERTV8 | ||||
WOGABG | Total Value in Object Currency | WOGXXX | CURR | 15(2) | WERTV8 | ||||
WKGABG | Total Value in Controlling Area Currency | WKGXXX | CURR | 15(2) | WERTV8 | ||||
WKFABG | Fixed Value in Controlling Area Currency | WKFXXX | CURR | 15(2) | WERTV8 | ||||
MEINH | Unit of Measure | CO_MEINH | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
MEGABG | Total Quantity | MEGXXX | QUAN | 15(3) | MENGV8 |
Key field | Non-key field |
How do I retrieve data from SAP structure COSBD2 using ABAP code?
As COSBD2 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 COSBD2 as there is no data to select.How to access SAP table COSBD2
Within an ECC or HANA version of SAP you can also view further information about COSBD2 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