C_SalesDocItemDownPayt
Sales Document Down payment item
C_SalesDocItemDownPayt is a Consumption CDS View that provides data about "Sales Document Down payment item" in SAP S/4HANA. It reads from 1 data source (I_SalesDocumentItem) and exposes 21 fields with key fields SalesDocument, SalesDocumentItem, SubsequentDocument. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SalesDocumentItem | I_SalesDocumentItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SalesDocItemPricingElement | _PricingElement | $projection.SalesDocument = _PricingElement.SalesDocument and $projection.SalesDocumentItem = _PricingElement.SalesDocumentItem and _PricingElement.ConditionApplication = 'V' and _PricingElement.ConditionClass = 'D' and _PricingElement.ConditionCategory = 'D' and _PricingElement.ConditionInactiveReason = '' and _PricingElement.ConditionIsForStatistics = '' |
| [1..*] | I_SDDocumentMultiLevelProcFlow | _SubsequentDoc | $projection.SalesDocument = _SubsequentDoc.PrecedingDocument and $projection.SalesDocumentItem = _SubsequentDoc.PrecedingDocumentItem and $projection.SDDocumentCategory = _SubsequentDoc.PrecedingDocumentCategory and _SubsequentDoc.SubsequentDocumentCategory = 'M' |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSLSDOCITMDP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Sales Document Down payment item | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | SalesDocument | SD Document | |
| KEY | SalesDocumentItem | SalesDocumentItem | Sales Document Item | |
| KEY | SubsequentDocument | _SubsequentDocument | SubsequentDocument | |
| Material | Material | Vehicle Model | ||
| SDDocumentCategory | SDDocumentCategory | Document Cat. | ||
| SalesDocumentItemText | SalesDocumentItemText | Item Descr. | ||
| _MaterialText | _MaterialText | |||
| ConditionRateValue | _PricingElement | ConditionRateValue | Condition Rate Value | |
| TaxCode | _PricingElement | TaxCode | Tax Code | |
| OrderQuantity | OrderQuantity | Quantity | ||
| OrderQuantityUnit | OrderQuantityUnit | Sales Unit | ||
| NetAmount | NetAmount | Stated Amount | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| TaxAmount | TaxAmount | Tax Amt in Rptg Crcy | ||
| ConditionAmount | _PricingElement | ConditionAmount | Condition Value | |
| ConditionType | _PricingElement | ConditionType | Condition type | |
| ConditionQuantity | _PricingElement | ConditionQuantity | Pricing Unit | |
| ConditionQuantityUnit | _PricingElement | ConditionQuantityUnit | Unit of Measure | |
| ConditionCurrency | _PricingElement | ConditionCurrency | Currency | |
| _SubsequentDoc | _SubsequentDoc | |||
| _PricingElement | _PricingElement |
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_SalesDocItemDownPayt.
-- 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: CSLSDOCITMDP
CREATE VIEW C_SalesDocItemDownPayt AS
SELECT
SalesDocument,
SalesDocumentItem,
_SubsequentDocument.SubsequentDocument AS SubsequentDocument,
Material,
SDDocumentCategory,
SalesDocumentItemText,
_PricingElement.ConditionRateValue AS ConditionRateValue,
_PricingElement.TaxCode AS TaxCode,
OrderQuantity,
OrderQuantityUnit,
NetAmount,
TransactionCurrency,
TaxAmount,
_PricingElement.ConditionAmount AS ConditionAmount,
_PricingElement.ConditionType AS ConditionType,
_PricingElement.ConditionQuantity AS ConditionQuantity,
_PricingElement.ConditionQuantityUnit AS ConditionQuantityUnit,
_PricingElement.ConditionCurrency AS ConditionCurrency
FROM I_SalesDocumentItem
LEFT OUTER JOIN I_SalesDocItemPricingElement AS _PricingElement ON SalesDocument = _PricingElement.SalesDocument AND SalesDocumentItem = _PricingElement.SalesDocumentItem AND _PricingElement.ConditionApplication = 'V' AND _PricingElement.ConditionClass = 'D' AND _PricingElement.ConditionCategory = 'D' AND _PricingElement.ConditionInactiveReason = '' AND _PricingElement.ConditionIsForStatistics = '' -- association [0..1]
LEFT OUTER JOIN I_SDDocumentMultiLevelProcFlow AS _SubsequentDoc ON SalesDocument = _SubsequentDoc.PrecedingDocument AND SalesDocumentItem = _SubsequentDoc.PrecedingDocumentItem AND SDDocumentCategory = _SubsequentDoc.PrecedingDocumentCategory AND _SubsequentDoc.SubsequentDocumentCategory = 'M' -- association [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