C_CABillgDocSource
Quellpositionen des Abrechnungsbelegs
C_CABillgDocSource is a Consumption CDS View that provides data about "Quellpositionen des Abrechnungsbelegs" in SAP S/4HANA. It reads from 1 data source (I_CABillgDocSource) and exposes 46 fields with key fields CABillgDocument, CABillgDocSourceItem. It has 1 association to related views. Part of development package ODATA_O2C_CI_BILLDOC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CABillgDocSource | _CABillgDocSource | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | C_CABillgDocHeader | _CABillgHeader | $projection.CABillgDocument = _CABillgHeader.CABillgDocument |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | Quellpositionen des Abrechnungsbelegs | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (46)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CABillgDocument | I_CABillgDocSource | CABillgDocument | Billing Doc. |
| KEY | CABillgDocSourceItem | I_CABillgDocSource | CABillgDocSourceItem | Source Item |
| CABillgRecordType | I_CABillgDocSource | CABillgRecordType | Record Type | |
| CACnsmpnItmClass | I_CABillgDocSource | CACnsmpnItmClass | ||
| CABllbleItmClass | I_CABillgDocSource | CABllbleItmClass | Class | |
| CABillgSubprocess | I_CABillgDocSource | CABillgSubprocess | Subprocess | |
| CABllbleItmType | I_CABillgDocSource | CABllbleItmType | Bill.Item Type | |
| CABillgDocCreationDate | I_CABillgDocSource | CABillgDocCreationDate | Billed On | |
| CABillgGroupingSourceItems | I_CABillgDocSource | CABillgGroupingSourceItems | Source Item Grp | |
| CABillgIsDocumentSimulated | I_CABillgDocSource | CABillgIsDocumentSimulated | Simulation Doc. | |
| CABllbleItmStatus | I_CABillgDocSource | CABllbleItmStatus | Status | |
| CABllbleItmRecordType | I_CABillgDocSource | CABllbleItmRecordType | Record Type | |
| CABllbleItmDatabaseTable | I_CABillgDocSource | CABllbleItmDatabaseTable | ||
| CABillgGroupingBillableItem | I_CABillgDocSource | CABillgGroupingBillableItem | Bill.Items Grp | |
| CABllbleItmSourceTransType | I_CABillgDocSource | CABllbleItmSourceTransType | ||
| CABillgSourceTransRefType | I_CABillgDocSource | CABillgSourceTransRefType | Reference Type | |
| CABillgSourceTransRef | I_CABillgDocSource | CABillgSourceTransRef | ||
| CABllbleItmPrimary | I_CABillgDocSource | CABllbleItmPrimary | Primary Item | |
| CABllbleItmPrimaryType | I_CABillgDocSource | CABllbleItmPrimaryType | Rel. Type | |
| CABllbleItmOriginMonth | I_CABillgDocSource | CABllbleItmOriginMonth | ||
| CABllbleItmCreationMonth | I_CABillgDocSource | CABllbleItmCreationMonth | ||
| CABllbleItmAmount | I_CABillgDocSource | CABllbleItmAmount | Amount | |
| CABllbleItmCurrency | I_CABillgDocSource | CABllbleItmCurrency | Currency | |
| CABllbleItmNumber | I_CABillgDocSource | CABllbleItmNumber | Number of Billable Items | |
| CACnsmpnItmClassText | ||||
| CABllbleItmClassText | ||||
| CABllbleItmTypeText | ||||
| CABllbleItmSrceTransTypeText | ||||
| CABillgSubprocessText | ||||
| CABillgRecordTypeText | ||||
| CABllbleItmStatusText | ||||
| CABllbleItmRecordTypeText | ||||
| CABillgSourceTransRefTypeTxt | ||||
| CABllbleItmPrimaryTypeText | ||||
| _CABillgHeader | _CABillgHeader | |||
| _CABillgDocHeader | _CABillgDocHeader | |||
| _CACnsmpnItmClass | _CACnsmpnItmClass | |||
| _CABllbleItmClass | _CABllbleItmClass | |||
| _CABllbleItmType | _CABllbleItmType | |||
| _CABllbleItmSrceTransType | _CABllbleItmSrceTransType | |||
| _CABillgSubprocess | _CABillgSubprocess | |||
| _CABillgRecordType | _CABillgRecordType | |||
| _CABllbleItmStatus | _CABllbleItmStatus | |||
| _CABllbleItmRecordType | _CABllbleItmRecordType | |||
| _CABillgSourceTransRefType | _CABillgSourceTransRefType | |||
| _CABllbleItmPrimaryType | _CABllbleItmPrimaryType |
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 C_CABillgDocSource.
-- 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.
CREATE VIEW C_CABillgDocSource AS
SELECT
_CABillgDocSource.CABillgDocument AS CABillgDocument,
_CABillgDocSource.CABillgDocSourceItem AS CABillgDocSourceItem,
_CABillgDocSource.CABillgRecordType AS CABillgRecordType,
_CABillgDocSource.CACnsmpnItmClass AS CACnsmpnItmClass,
_CABillgDocSource.CABllbleItmClass AS CABllbleItmClass,
_CABillgDocSource.CABillgSubprocess AS CABillgSubprocess,
_CABillgDocSource.CABllbleItmType AS CABllbleItmType,
_CABillgDocSource.CABillgDocCreationDate AS CABillgDocCreationDate,
_CABillgDocSource.CABillgGroupingSourceItems AS CABillgGroupingSourceItems,
_CABillgDocSource.CABillgIsDocumentSimulated AS CABillgIsDocumentSimulated,
_CABillgDocSource.CABllbleItmStatus AS CABllbleItmStatus,
_CABillgDocSource.CABllbleItmRecordType AS CABllbleItmRecordType,
_CABillgDocSource.CABllbleItmDatabaseTable AS CABllbleItmDatabaseTable,
_CABillgDocSource.CABillgGroupingBillableItem AS CABillgGroupingBillableItem,
_CABillgDocSource.CABllbleItmSourceTransType AS CABllbleItmSourceTransType,
_CABillgDocSource.CABillgSourceTransRefType AS CABillgSourceTransRefType,
_CABillgDocSource.CABillgSourceTransRef AS CABillgSourceTransRef,
_CABillgDocSource.CABllbleItmPrimary AS CABllbleItmPrimary,
_CABillgDocSource.CABllbleItmPrimaryType AS CABllbleItmPrimaryType,
_CABillgDocSource.CABllbleItmOriginMonth AS CABllbleItmOriginMonth,
_CABillgDocSource.CABllbleItmCreationMonth AS CABllbleItmCreationMonth,
_CABillgDocSource.CABllbleItmAmount AS CABllbleItmAmount,
_CABillgDocSource.CABllbleItmCurrency AS CABllbleItmCurrency,
_CABillgDocSource.CABllbleItmNumber AS CABllbleItmNumber,
_CACnsmpnItmClass._CACnsmpnItmClassText[1: Language=$session.system_language].CACnsmpnItmClassText AS CACnsmpnItmClassText,
_CABllbleItmClass._CABllbleItmClassText[1: Language=$session.system_language].CABllbleItmClassText AS CABllbleItmClassText,
_CABllbleItmType._CABllbleItmTypeText[1: Language=$session.system_language].CABllbleItmTypeText AS CABllbleItmTypeText,
_CABllbleItmSrceTransType._CABllbleItmSrceTransTypeText[1: Language=$session.system_language].CABllbleItmSrceTransTypeText AS CABllbleItmSrceTransTypeText,
_CABillgSubprocess._CABillgSubprocessText[1: Language=$session.system_language].CABillgSubprocessText AS CABillgSubprocessText,
_CABillgRecordType._CABillgRecordTypeText[1: Language=$session.system_language].CABillgRecordTypeText AS CABillgRecordTypeText,
_CABllbleItmStatus._CABllbleItmStatusText[1: Language=$session.system_language].CABllbleItmStatusText AS CABllbleItmStatusText,
_CABllbleItmRecordType._CABllbleItmRecordTypeText[1: Language=$session.system_language].CABllbleItmRecordTypeText AS CABllbleItmRecordTypeText,
_CABillgSourceTransRefType._CABillgSourceTransRefTypeTxt[1: Language=$session.system_language].CABillgSourceTransRefTypeTxt AS CABillgSourceTransRefTypeTxt,
_CABllbleItmPrimaryType._CABllbleItmPrimaryTypeText[1: Language=$session.system_language].CABllbleItmPrimaryTypeText AS CABllbleItmPrimaryTypeText
FROM I_CABillgDocSource AS _CABillgDocSource
LEFT OUTER JOIN C_CABillgDocHeader AS _CABillgHeader ON CABillgDocument = _CABillgHeader.CABillgDocument -- association [1..1]
;
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