C_Cust360PreliminaryBillDoc
Customer 360 Preliminary Billing Document
C_Cust360PreliminaryBillDoc is a Consumption CDS View that provides data about "Customer 360 Preliminary Billing Document" in SAP S/4HANA. It reads from 2 data sources (I_Customer360BusDocSetting, I_BillingDocumentBasic) and exposes 17 fields with key field PrelimBillingDocument.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer360BusDocSetting | Customer360BusDocSetting | inner |
| I_BillingDocumentBasic | PreliminaryBillDoc | from |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Customer 360 Preliminary Billing Document | view | |
| Metadata.allowExtensions | true | view | |
| Search.searchable | true | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PrelimBillingDocument | I_BillingDocumentBasic | BillingDocument | SD Document |
| SoldToParty | I_BillingDocumentBasic | SoldToParty | Sold-to Party | |
| CustomerName | ||||
| BillingDocumentType | I_BillingDocumentBasic | BillingDocumentType | Billing Type | |
| BillingDocumentTypeName | ||||
| OverallBillingStatus | I_BillingDocumentBasic | OverallBillingStatus | Status | |
| OverallBillingStatusDesc | ||||
| BillingDocumentDate | I_BillingDocumentBasic | BillingDocumentDate | Billing Date | |
| CreationDate | I_BillingDocumentBasic | CreationDate | Time Stamp | |
| LastChangeDate | I_BillingDocumentBasic | LastChangeDate | Time Stamp | |
| SalesOrganization | I_BillingDocumentBasic | SalesOrganization | Sales Organization | |
| SalesOrganizationName | ||||
| TotalNetAmount | I_BillingDocumentBasic | TotalNetAmount | Total Net Amount | |
| TransactionCurrency | I_BillingDocumentBasic | TransactionCurrency | Transaction Currency | |
| CurrencyName | ||||
| _SoldToParty | I_BillingDocumentBasic | _SoldToParty | ||
| _TransactionCurrency | I_BillingDocumentBasic | _TransactionCurrency |
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_Cust360PreliminaryBillDoc.
-- 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_Cust360PreliminaryBillDoc AS
SELECT
PreliminaryBillDoc.BillingDocument AS PrelimBillingDocument,
PreliminaryBillDoc.SoldToParty AS SoldToParty,
PreliminaryBillDoc._SoldToParty.CustomerName AS CustomerName,
PreliminaryBillDoc.BillingDocumentType AS BillingDocumentType,
PreliminaryBillDoc._BillingDocumentType._Text[1:Language = $session.system_language].BillingDocumentTypeName AS BillingDocumentTypeName,
PreliminaryBillDoc.OverallBillingStatus AS OverallBillingStatus,
PreliminaryBillDoc._OverallBillingStatus._Text[1:Language = $session.system_language].OverallBillingStatusDesc AS OverallBillingStatusDesc,
PreliminaryBillDoc.BillingDocumentDate AS BillingDocumentDate,
PreliminaryBillDoc.CreationDate AS CreationDate,
PreliminaryBillDoc.LastChangeDate AS LastChangeDate,
PreliminaryBillDoc.SalesOrganization AS SalesOrganization,
PreliminaryBillDoc._SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
PreliminaryBillDoc.TotalNetAmount AS TotalNetAmount,
PreliminaryBillDoc.TransactionCurrency AS TransactionCurrency,
PreliminaryBillDoc._TransactionCurrency._Text[1:Language = $session.system_language].CurrencyName AS CurrencyName,
PreliminaryBillDoc._SoldToParty AS _SoldToParty,
PreliminaryBillDoc._TransactionCurrency AS _TransactionCurrency
FROM I_BillingDocumentBasic AS PreliminaryBillDoc
INNER JOIN I_Customer360BusDocSetting AS Customer360BusDocSetting ON /* join condition not captured in parsed metadata */
;
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