I_SlsContrItemBillingPlanItem
Billing Plan Item of Sales Contract Item
I_SlsContrItemBillingPlanItem is a Composite CDS View that provides data about "Billing Plan Item of Sales Contract Item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocItemBillingPlanItem) and exposes 42 fields with key fields SalesContract, SalesContractItem, BillingPlan, BillingPlanItem. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocItemBillingPlanItem | SalesDocItemBillingPlanItem | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SalesContract | _SalesContract | _SalesContract.SalesContract = $projection.SalesContract |
| [1..1] | I_SalesContractItem | _SalesContractItem | _SalesContractItem.SalesContract = $projection.SalesContract and _SalesContractItem.SalesContractItem = $projection.SalesContractItem |
| [1..1] | I_SalesContractItemBillingPlan | _SalesContractItemBillingPlan | _SalesContractItemBillingPlan.SalesContract = $projection.SalesContract and _SalesContractItemBillingPlan.SalesContractItem = $projection.SalesContractItem and _SalesContractItemBillingPlan.BillingPlan = $projection.BillingPlan |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Billing Plan Item of Sales Contract Item | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (42)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesContract | SD Document | ||
| KEY | SalesContractItem | Sales Document Item | ||
| KEY | BillingPlan | I_SalesDocItemBillingPlanItem | BillingPlan | Bill. Plan No. |
| KEY | BillingPlanItem | I_SalesDocItemBillingPlanItem | BillingPlanItem | Item |
| BillingPlanBillingDate | I_SalesDocItemBillingPlanItem | BillingPlanBillingDate | ||
| BillingPlanServiceStartDate | I_SalesDocItemBillingPlanItem | BillingPlanServiceStartDate | ||
| BillingPlanServiceEndDate | I_SalesDocItemBillingPlanItem | BillingPlanServiceEndDate | ||
| BillingPlanAmount | I_SalesDocItemBillingPlanItem | BillingPlanAmount | ||
| TransactionCurrency | I_SalesDocItemBillingPlanItem | TransactionCurrency | Transaction Currency | |
| BillingBlockReason | I_SalesDocItemBillingPlanItem | BillingBlockReason | ||
| BillingPlanRelatedBillgStatus | I_SalesDocItemBillingPlanItem | BillingPlanRelatedBillgStatus | ||
| BillingPlanType | I_SalesDocItemBillingPlanItem | BillingPlanType | ||
| BillingPlanDateCategory | I_SalesDocItemBillingPlanItem | BillingPlanDateCategory | ||
| CustomerPaymentTerms | I_SalesDocItemBillingPlanItem | CustomerPaymentTerms | Pyt Terms | |
| ProposedBillingDocumentType | I_SalesDocItemBillingPlanItem | ProposedBillingDocumentType | ||
| AdoptingBillingDateID | I_SalesDocItemBillingPlanItem | AdoptingBillingDateID | ||
| BillingPlanBillingRule | I_SalesDocItemBillingPlanItem | BillingPlanBillingRule | ||
| BillingPlanDateDescriptionCode | I_SalesDocItemBillingPlanItem | BillingPlanDateDescriptionCode | ||
| BillingPlanMilestoneUsage | I_SalesDocItemBillingPlanItem | BillingPlanMilestoneUsage | ||
| BillingPlanAmountPercent | I_SalesDocItemBillingPlanItem | BillingPlanAmountPercent | ||
| BillgPlnDteCorrectionRfndType | I_SalesDocItemBillingPlanItem | BillgPlnDteCorrectionRfndType | ||
| AccountingExchangeRate | I_SalesDocItemBillingPlanItem | AccountingExchangeRate | Exch.Rate Acct. | |
| PostponementReason | I_SalesDocItemBillingPlanItem | PostponementReason | ||
| SalesContractType | _SalesContract | SalesContractType | ||
| SalesOrganization | _SalesContract | SalesOrganization | Sales Organization | |
| DistributionChannel | _SalesContract | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | _SalesContract | OrganizationDivision | Org. Division | |
| _SalesContract | _SalesContract | |||
| _SalesContractItem | _SalesContractItem | |||
| _SalesContractItemBillingPlan | _SalesContractItemBillingPlan | |||
| _TransactionCurrency | I_SalesDocItemBillingPlanItem | _TransactionCurrency | ||
| _BillingBlockReason | I_SalesDocItemBillingPlanItem | _BillingBlockReason | ||
| _BillingPlanRelatedBillgSts | I_SalesDocItemBillingPlanItem | _BillingPlanRelatedBillgSts | ||
| _BillingPlanType | I_SalesDocItemBillingPlanItem | _BillingPlanType | ||
| _BillingPlanDateCategory | I_SalesDocItemBillingPlanItem | _BillingPlanDateCategory | ||
| _CustomerPaymentTerms | I_SalesDocItemBillingPlanItem | _CustomerPaymentTerms | ||
| _BillingDocumentType | I_SalesDocItemBillingPlanItem | _BillingDocumentType | ||
| _AdoptingBillingDateID | I_SalesDocItemBillingPlanItem | _AdoptingBillingDateID | ||
| _BillingPlanBillingRule | I_SalesDocItemBillingPlanItem | _BillingPlanBillingRule | ||
| _BillgPlnDteDescCode | I_SalesDocItemBillingPlanItem | _BillgPlnDteDescCode | ||
| _BillingPlanMilestoneUsage | I_SalesDocItemBillingPlanItem | _BillingPlanMilestoneUsage | ||
| _BillgPlnDteCrrtnRfndType | I_SalesDocItemBillingPlanItem | _BillgPlnDteCrrtnRfndType |
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_SlsContrItemBillingPlanItem.
-- 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_SlsContrItemBillingPlanItem AS
SELECT
cast(SalesDocument as sales_contract preserving type) AS SalesContract,
cast(SalesDocumentItem as sales_contract_item preserving type) AS SalesContractItem,
SalesDocItemBillingPlanItem.BillingPlan AS BillingPlan,
SalesDocItemBillingPlanItem.BillingPlanItem AS BillingPlanItem,
SalesDocItemBillingPlanItem.BillingPlanBillingDate AS BillingPlanBillingDate,
SalesDocItemBillingPlanItem.BillingPlanServiceStartDate AS BillingPlanServiceStartDate,
SalesDocItemBillingPlanItem.BillingPlanServiceEndDate AS BillingPlanServiceEndDate,
SalesDocItemBillingPlanItem.BillingPlanAmount AS BillingPlanAmount,
SalesDocItemBillingPlanItem.TransactionCurrency AS TransactionCurrency,
SalesDocItemBillingPlanItem.BillingBlockReason AS BillingBlockReason,
SalesDocItemBillingPlanItem.BillingPlanRelatedBillgStatus AS BillingPlanRelatedBillgStatus,
SalesDocItemBillingPlanItem.BillingPlanType AS BillingPlanType,
SalesDocItemBillingPlanItem.BillingPlanDateCategory AS BillingPlanDateCategory,
SalesDocItemBillingPlanItem.CustomerPaymentTerms AS CustomerPaymentTerms,
SalesDocItemBillingPlanItem.ProposedBillingDocumentType AS ProposedBillingDocumentType,
SalesDocItemBillingPlanItem.AdoptingBillingDateID AS AdoptingBillingDateID,
SalesDocItemBillingPlanItem.BillingPlanBillingRule AS BillingPlanBillingRule,
SalesDocItemBillingPlanItem.BillingPlanDateDescriptionCode AS BillingPlanDateDescriptionCode,
SalesDocItemBillingPlanItem.BillingPlanMilestoneUsage AS BillingPlanMilestoneUsage,
SalesDocItemBillingPlanItem.BillingPlanAmountPercent AS BillingPlanAmountPercent,
SalesDocItemBillingPlanItem.BillgPlnDteCorrectionRfndType AS BillgPlnDteCorrectionRfndType,
SalesDocItemBillingPlanItem.AccountingExchangeRate AS AccountingExchangeRate,
SalesDocItemBillingPlanItem.PostponementReason AS PostponementReason,
_SalesContract.SalesContractType AS SalesContractType,
_SalesContract.SalesOrganization AS SalesOrganization,
_SalesContract.DistributionChannel AS DistributionChannel,
_SalesContract.OrganizationDivision AS OrganizationDivision,
SalesDocItemBillingPlanItem._TransactionCurrency AS _TransactionCurrency,
SalesDocItemBillingPlanItem._BillingBlockReason AS _BillingBlockReason,
SalesDocItemBillingPlanItem._BillingPlanRelatedBillgSts AS _BillingPlanRelatedBillgSts,
SalesDocItemBillingPlanItem._BillingPlanType AS _BillingPlanType,
SalesDocItemBillingPlanItem._BillingPlanDateCategory AS _BillingPlanDateCategory,
SalesDocItemBillingPlanItem._CustomerPaymentTerms AS _CustomerPaymentTerms,
SalesDocItemBillingPlanItem._BillingDocumentType AS _BillingDocumentType,
SalesDocItemBillingPlanItem._AdoptingBillingDateID AS _AdoptingBillingDateID,
SalesDocItemBillingPlanItem._BillingPlanBillingRule AS _BillingPlanBillingRule,
SalesDocItemBillingPlanItem._BillgPlnDteDescCode AS _BillgPlnDteDescCode,
SalesDocItemBillingPlanItem._BillingPlanMilestoneUsage AS _BillingPlanMilestoneUsage,
SalesDocItemBillingPlanItem._BillgPlnDteCrrtnRfndType AS _BillgPlnDteCrrtnRfndType
FROM I_SalesDocItemBillingPlanItem AS SalesDocItemBillingPlanItem
LEFT OUTER JOIN I_SalesContract AS _SalesContract ON _SalesContract.SalesContract = SalesContract -- association [1..1]
LEFT OUTER JOIN I_SalesContractItem AS _SalesContractItem ON _SalesContractItem.SalesContract = SalesContract AND _SalesContractItem.SalesContractItem = SalesContractItem -- association [1..1]
LEFT OUTER JOIN I_SalesContractItemBillingPlan AS _SalesContractItemBillingPlan ON _SalesContractItemBillingPlan.SalesContract = SalesContract AND _SalesContractItemBillingPlan.SalesContractItem = SalesContractItem AND _SalesContractItemBillingPlan.BillingPlan = BillingPlan -- 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