P_COSB_COM
P_COSB_COM is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (cosb) and exposes 75 fields with key fields objnr, gjahr, wrttp, versn, abkat.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cosb | cosb | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFICOSBCOM | view | |
| ClientHandling.type | #CLIENT_DEPENDENT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (75)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | objnr | objnr | Val. Obj. No. | |
| KEY | gjahr | gjahr | Settlement Year | |
| KEY | wrttp | wrttp | Value Type | |
| KEY | versn | versn | Version | |
| KEY | abkat | RA category | ||
| KEY | kstar | kstar | Settlement CE | |
| KEY | hrkft | hrkft | Origin group order | |
| KEY | vrgng | vrgng | Bus.Transaction | |
| KEY | parob | parob | Partner Object | |
| KEY | beknz | beknz | Dr/Cr indicator | |
| KEY | meinh | meinh | Unit of Measure | |
| wkg001 | ||||
| wkg002 | ||||
| wkg003 | ||||
| wkg004 | ||||
| wkg005 | ||||
| wkg006 | ||||
| wkg007 | ||||
| wkg008 | ||||
| wkg009 | ||||
| wkg010 | ||||
| wkg011 | ||||
| wkg012 | ||||
| wkg013 | ||||
| wkg014 | ||||
| wkg015 | ||||
| wkg016 | ||||
| wkf001 | ||||
| wkf002 | ||||
| wkf003 | ||||
| wkf004 | ||||
| wkf005 | ||||
| wkf006 | ||||
| wkf007 | ||||
| wkf008 | ||||
| wkf009 | ||||
| wkf010 | ||||
| wkf011 | ||||
| wkf012 | ||||
| wkf013 | ||||
| wkf014 | ||||
| wkf015 | ||||
| wkf016 | ||||
| wog001 | ||||
| wog002 | ||||
| wog003 | ||||
| wog004 | ||||
| wog005 | ||||
| wog006 | ||||
| wog007 | ||||
| wog008 | ||||
| wog009 | ||||
| wog010 | ||||
| wog011 | ||||
| wog012 | ||||
| wog013 | ||||
| wog014 | ||||
| wog015 | ||||
| wog016 | ||||
| meg001 | ||||
| meg002 | ||||
| meg003 | ||||
| meg004 | ||||
| meg005 | ||||
| meg006 | ||||
| meg007 | ||||
| meg008 | ||||
| meg009 | ||||
| meg010 | ||||
| meg011 | ||||
| meg012 | ||||
| meg013 | ||||
| meg014 | ||||
| meg015 | ||||
| meg016 |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view P_COSB_COM.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: PFICOSBCOM
CREATE VIEW P_COSB_COM AS
SELECT
objnr,
gjahr,
wrttp,
versn,
cast( abkat as fco_abkat) AS abkat,
kstar,
hrkft,
vrgng,
parob,
beknz,
meinh,
sum(wkg001) AS wkg001,
sum(wkg002) AS wkg002,
sum(wkg003) AS wkg003,
sum(wkg004) AS wkg004,
sum(wkg005) AS wkg005,
sum(wkg006) AS wkg006,
sum(wkg007) AS wkg007,
sum(wkg008) AS wkg008,
sum(wkg009) AS wkg009,
sum(wkg010) AS wkg010,
sum(wkg011) AS wkg011,
sum(wkg012) AS wkg012,
sum(wkg013) AS wkg013,
sum(wkg014) AS wkg014,
sum(wkg015) AS wkg015,
sum(wkg016) AS wkg016,
sum(wkf001) AS wkf001,
sum(wkf002) AS wkf002,
sum(wkf003) AS wkf003,
sum(wkf004) AS wkf004,
sum(wkf005) AS wkf005,
sum(wkf006) AS wkf006,
sum(wkf007) AS wkf007,
sum(wkf008) AS wkf008,
sum(wkf009) AS wkf009,
sum(wkf010) AS wkf010,
sum(wkf011) AS wkf011,
sum(wkf012) AS wkf012,
sum(wkf013) AS wkf013,
sum(wkf014) AS wkf014,
sum(wkf015) AS wkf015,
sum(wkf016) AS wkf016,
sum(wog001) AS wog001,
sum(wog002) AS wog002,
sum(wog003) AS wog003,
sum(wog004) AS wog004,
sum(wog005) AS wog005,
sum(wog006) AS wog006,
sum(wog007) AS wog007,
sum(wog008) AS wog008,
sum(wog009) AS wog009,
sum(wog010) AS wog010,
sum(wog011) AS wog011,
sum(wog012) AS wog012,
sum(wog013) AS wog013,
sum(wog014) AS wog014,
sum(wog015) AS wog015,
sum(wog016) AS wog016,
sum(meg001) AS meg001,
sum(meg002) AS meg002,
sum(meg003) AS meg003,
sum(meg004) AS meg004,
sum(meg005) AS meg005,
sum(meg006) AS meg006,
sum(meg007) AS meg007,
sum(meg008) AS meg008,
sum(meg009) AS meg009,
sum(meg010) AS meg010,
sum(meg011) AS meg011,
sum(meg012) AS meg012,
sum(meg013) AS meg013,
sum(meg014) AS meg014,
sum(meg015) AS meg015,
sum(meg016) AS meg016
FROM cosb
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA