COBK_ONLY SAP (Non-key fields only in COBK (INCLUDE structure)) Structure details
Description: Non-key fields only in COBK (INCLUDE structure)
Structure field list including key, data, relationships and ABAP select examples
COBK_ONLY 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 "Non-key fields only in COBK (INCLUDE structure)" 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_COBK_ONLY TYPE COBK_ONLY.
The COBK_ONLY table consists of various fields, each holding specific information or linking keys about Non-key fields only in COBK (INCLUDE structure) data available in SAP. These include PERBI (To period), BLDAT (Document Date), BUDAT (Posting Date), CPUDT (Date Document Was Created).. 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: Can be enhanced (character-type)
SAP COBK_ONLY 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 |
PERAB | From Period | CO_PERAB | NUMC | 3 | PERBL | ||||
PERBI | To period | CO_PERBI | NUMC | 3 | PERBL | ||||
BLDAT | Document Date | CO_BLDAT | DATS | 8 | DATUM | ||||
BUDAT | Posting Date | CO_BUDAT | DATS | 8 | DATUM | ||||
CPUDT | Date Document Was Created | CO_CPUDT | DATS | 8 | DATUM | ||||
USNAM | User Name | SYUNAME | CHAR | 12 | SYCHAR12 | ||||
BLTXT | Document Header Text | CO_BLTXT | CHAR | 50 | TEXT50 | ||||
STFLG | Identifier for reversal document | CO_STFLG | CHAR | 1 | FLAG | ||||
STOKZ | Indicator: Document Has Been Reversed | CO_STOKZ | CHAR | 1 | FLAG | ||||
REFBT | Document type of reference document | CO_REFBT | CHAR | 1 | BELTY | ||||
REFBN | Reference Document Number | CO_REFBN | CHAR | 10 | ALPHA | BELNR | |||
REFBK | Company code of FI document | CO_REFBK | CHAR | 4 | T001 | BUKRS | |||
REFGJ | Fiscal year of reference document | CO_REFGJ | NUMC | 4 | GJAHR | GJAHR | |||
BLART | Document type of FI reference document | CO_REFBA | CHAR | 2 | T003 | BLART | BAR | ||
ORGVG | Original CO business transaction | CO_ORGVG | CHAR | 4 | T022 | ACTIVITY | |||
SUMBZ | Number of posting lines for local objects | CO_SUMBZ | NUMC | 3 | BUZEI | ||||
DELBZ | Number of deleted line items | CO_DELBZ | NUMC | 3 | BUZEI | ||||
WSDAT | Value Date for Currency Translation | WSDAT | DATS | 8 | DATUM | WSD | |||
KURST | Exchange Rate Type | KURST | CHAR | 4 | TCURV | KURST | KUT | ||
VARNR | CO actual postings fast input: Variant | CO_VARNR | CHAR | 5 | VARNR_021F | ||||
KWAER | Controlling area currency | KWAER | CUKY | 5 | TCURC | WAERS | KWS | ||
CTYP1 | Currency Type 1 in CO Standard Ledger | CO_CTYP1 | CHAR | 2 | CURTP | ||||
CTYP2 | Currency Type 2 in CO Standard Ledger | CO_CTYP2 | CHAR | 2 | CURTP | ||||
CTYP3 | Currency Type 3 in CO Standard Ledger | CO_CTYP3 | CHAR | 2 | CURTP | ||||
CTYP4 | Currency Type 4 in CO Standard Ledger | CO_CTYP4 | CHAR | 2 | CURTP | ||||
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
AWORG | Reference Organizational Units | AWORG | CHAR | 10 | AWORG | ||||
LOGSYSTEM | Logical System | LOGSYSTEM | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
CPUTM | Time of Entry | CPUTM | TIMS | 6 | UZEIT | ||||
ALEBZ | Number of posting rows sent to external systems | CO_ALEBZ | NUMC | 3 | BUZEI | ||||
ALEBN | For ALE: CO Document Number in Generating System | CO_ALEBN | CHAR | 10 | ALPHA | BELNR | |||
AWSYS | Logical system of source document | AWSYS | CHAR | 10 | Assigned to domain | ALPHA | LOGSYS | ||
AWREF_REV | Reversal: Reverse Document Reference Document Number | AWREF_REV | CHAR | 10 | ALPHA | AWREF | |||
AWORG_REV | Reversal: Reverse Document Reference Organization | AWORG_REV | CHAR | 10 | AWORG |
Key field | Non-key field |
How do I retrieve data from SAP structure COBK_ONLY using ABAP code?
As COBK_ONLY 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 COBK_ONLY as there is no data to select.How to access SAP table COBK_ONLY
Within an ECC or HANA version of SAP you can also view further information about COBK_ONLY 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