C_Openbillingrequest
Open Billing Request
C_Openbillingrequest is a Consumption CDS View that provides data about "Open Billing Request" in SAP S/4HANA. It reads from 2 data sources (I_BillingDueListItem, I_SalesDocument) and exposes 22 fields with key fields BillingDocumentCategory, BillingDocumentType, BillingDocumentDate, SalesOrganization, SoldToParty. It has 3 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BillingDueListItem | BillingDocument | from |
| I_SalesDocument | SalesDocument | inner |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_EngagementProjectItem | _Item | $projection.SalesDocument = _Item.EngagementProjectItem and _Item.EngagementProjectItemType = '0SOH' |
| [0..1] | I_Customer_VH | _Customer | $projection.SoldToParty = _Customer.Customer |
| [0..1] | I_BillingDocumentType | _BillingDocumentType | $projection.BillingDocumentType = _BillingDocumentType.BillingDocumentType |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | COPENBILLINGREQ | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| OData.publish | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Open Billing Request | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BillingDocumentCategory | I_BillingDueListItem | BillingDocumentCategory | BillingCategory |
| KEY | BillingDocumentType | I_BillingDueListItem | BillingDocumentType | Billing Type |
| KEY | BillingDocumentDate | I_BillingDueListItem | BillingDocumentDate | Billing Date |
| KEY | SalesOrganization | I_BillingDueListItem | SalesOrganization | Sales Organization |
| KEY | SoldToParty | I_BillingDueListItem | Customer | Customer |
| KEY | DestinationCountry | I_BillingDueListItem | DestinationCountry | Dest. Ctry/Reg |
| KEY | ReferenceSDDocument | I_BillingDueListItem | ReferenceSDDocument | Document Number |
| SalesDocument | I_SalesDocument | ReferenceSDDocument | Reference Doc. | |
| ReferenceSDDocumentCategory | I_BillingDueListItem | ReferenceSDDocumentCategory | Prec.Doc.Categ. | |
| NetAmount | I_BillingDueListItem | NetAmount | Net Amount | |
| TransactionCurrency | I_BillingDueListItem | TransactionCurrency | Transaction Currency | |
| CustomerName | Customer Name | |||
| SalesDocumentType | I_SalesDocument | SalesDocumentType | Sales Doc. Type | |
| OrganizationDivision | I_SalesDocument | OrganizationDivision | Org. Division | |
| DistributionChannel | I_SalesDocument | DistributionChannel | RefDistCh-Cust/Mat. | |
| EngagementProjectUUID | _Item | EngagementProjectUUID | Engmnt Project UUID | |
| EngagementProject | Project ID | |||
| EngagementProjectName | Project Name | |||
| _Customer | _Customer | |||
| _BillingDocumentType | _BillingDocumentType | |||
| _Item | _Item | |||
| _ReferenceSDDocumentCategory | I_BillingDueListItem | _ReferenceSDDocumentCategory |
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_Openbillingrequest.
-- 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: COPENBILLINGREQ
CREATE VIEW C_Openbillingrequest AS
SELECT
BillingDocument.BillingDocumentCategory AS BillingDocumentCategory,
BillingDocument.BillingDocumentType AS BillingDocumentType,
BillingDocument.BillingDocumentDate AS BillingDocumentDate,
BillingDocument.SalesOrganization AS SalesOrganization,
BillingDocument.Customer AS SoldToParty,
BillingDocument.DestinationCountry AS DestinationCountry,
BillingDocument.ReferenceSDDocument AS ReferenceSDDocument,
SalesDocument.ReferenceSDDocument AS SalesDocument,
BillingDocument.ReferenceSDDocumentCategory AS ReferenceSDDocumentCategory,
BillingDocument.NetAmount AS NetAmount,
BillingDocument.TransactionCurrency AS TransactionCurrency,
BillingDocument._Customer.CustomerName AS CustomerName,
SalesDocument.SalesDocumentType AS SalesDocumentType,
SalesDocument.OrganizationDivision AS OrganizationDivision,
SalesDocument.DistributionChannel AS DistributionChannel,
_Item.EngagementProjectUUID AS EngagementProjectUUID,
_Item._EngagementProject.EngagementProject AS EngagementProject,
_Item._EngagementProject.EngagementProjectName AS EngagementProjectName,
BillingDocument._ReferenceSDDocumentCategory AS _ReferenceSDDocumentCategory
FROM I_BillingDueListItem AS BillingDocument
INNER JOIN I_SalesDocument AS SalesDocument ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_EngagementProjectItem AS _Item ON SalesDocument = _Item.EngagementProjectItem AND _Item.EngagementProjectItemType = '0SOH' -- association [0..*]
LEFT OUTER JOIN I_Customer_VH AS _Customer ON SoldToParty = _Customer.Customer -- association [0..1]
LEFT OUTER JOIN I_BillingDocumentType AS _BillingDocumentType ON BillingDocumentType = _BillingDocumentType.BillingDocumentType -- association [0..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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