I_CustProjSlsOrdItmBillgPln
Billing Plan of Sales Order Item for Customer Project
I_CustProjSlsOrdItmBillgPln (Composite)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
Sales
I_CustProjSlsOrdItmBillgPln is a Composite CDS View that provides data about "Billing Plan of Sales Order Item for Customer Project" in SAP S/4HANA. It reads from 2 data sources (I_SalesDocItemBillingPlan, I_CustProjSlsOrdItem) and exposes 14 fields with key fields CustomerProject, SalesOrderItem. It has 4 associations to related views.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | SD-BIL-IV-BP |
| Capabilities | Data Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocItemBillingPlan | BillingPlan | inner |
| I_CustProjSlsOrdItem | CustProjSlsOrdItem | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CustProjSlsOrd | _CustomerProject | $projection.CustomerProject = _CustomerProject.CustomerProject |
| [1..1] | I_SalesOrder | _SalesOrder | $projection.SalesOrder = _SalesOrder.SalesOrder |
| [0..1] | I_BillingPlanCategory | _BillingPlanCategory | $projection.BillingPlanCategory = _BillingPlanCategory.BillingPlanCategory |
| [0..1] | I_BillingPlanUsageCategory | _BillingPlanUsageCategory | $projection.BillingPlanUsageCategory = _BillingPlanUsageCategory.BillingPlanUsageCategory |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Billing Plan of Sales Order Item for Customer Project | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CustomerProject | I_CustProjSlsOrdItem | CustomerProject | Commercial Project ID |
| KEY | SalesOrderItem | I_CustProjSlsOrdItem | SalesOrderItem | Sales Order Item |
| SalesOrder | I_CustProjSlsOrdItem | SalesOrder | SD Document | |
| BillingPlan | Billing Plan Number / Invoicing Plan Number | |||
| BillingPlanCategory | I_SalesDocItemBillingPlan | BillingPlanCategory | Billing plan category | |
| BillingPlanUsageCategory | I_SalesDocItemBillingPlan | BillingPlanUsageCategory | Billing Plan Usage Category | |
| SalesOrderType | _SalesOrder | SalesOrderType | Sales Order Type | |
| OrganizationDivision | _SalesOrder | OrganizationDivision | Org. Division | |
| SalesOrganization | _SalesOrder | SalesOrganization | Sales Organization | |
| DistributionChannel | _SalesOrder | DistributionChannel | Distribution Channel | |
| _CustomerProject | _CustomerProject | |||
| _SalesOrder | _SalesOrder | |||
| _BillingPlanCategory | _BillingPlanCategory | |||
| _BillingPlanUsageCategory | _BillingPlanUsageCategory |
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 I_CustProjSlsOrdItmBillgPln.
-- 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 I_CustProjSlsOrdItmBillgPln AS
SELECT
CustProjSlsOrdItem.CustomerProject AS CustomerProject,
CustProjSlsOrdItem.SalesOrderItem AS SalesOrderItem,
CustProjSlsOrdItem.SalesOrder AS SalesOrder,
cast( CustProjSlsOrdItem.BillingPlan as fplnr preserving type ) AS BillingPlan,
BillingPlan.BillingPlanCategory AS BillingPlanCategory,
BillingPlan.BillingPlanUsageCategory AS BillingPlanUsageCategory,
_SalesOrder.SalesOrderType AS SalesOrderType,
_SalesOrder.OrganizationDivision AS OrganizationDivision,
_SalesOrder.SalesOrganization AS SalesOrganization,
_SalesOrder.DistributionChannel AS DistributionChannel
FROM I_CustProjSlsOrdItem AS CustProjSlsOrdItem
INNER JOIN I_SalesDocItemBillingPlan AS BillingPlan ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CustProjSlsOrd AS _CustomerProject ON CustomerProject = _CustomerProject.CustomerProject -- association [1..1]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder -- association [1..1]
LEFT OUTER JOIN I_BillingPlanCategory AS _BillingPlanCategory ON BillingPlanCategory = _BillingPlanCategory.BillingPlanCategory -- association [0..1]
LEFT OUTER JOIN I_BillingPlanUsageCategory AS _BillingPlanUsageCategory ON BillingPlanUsageCategory = _BillingPlanUsageCategory.BillingPlanUsageCategory -- association [0..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