C_SlsDocFlfmtPurgDocItem
Sales Doc Fulfillment: Purg Doc Item
C_SlsDocFlfmtPurgDocItem is a Consumption CDS View that provides data about "Sales Doc Fulfillment: Purg Doc Item" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentItem) and exposes 21 fields with key fields PurchasingDocument, PurchasingDocumentItem. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurchasingDocumentItem | Item | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | E_PurchasingDocumentItem | _Extension | $projection.PurchasingDocument = _Extension.PurchasingDocument and $projection.PurchasingDocumentItem = _Extension.PurchasingDocumentItem |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.representativeKey | PurchasingDocumentItem | view | |
| EndUserText.label | Sales Doc Fulfillment: Purg Doc Item | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Search.searchable | false | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| Metadata.allowExtensions | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | CSOFPURGDOCITM | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PurchasingDocument | I_PurchasingDocumentItem | PurchasingDocument | Purchasing Document |
| KEY | PurchasingDocumentItem | I_PurchasingDocumentItem | PurchasingDocumentItem | Purchasing Doc. Item |
| Material | ||||
| MaterialName | ||||
| MaterialGroup | ||||
| Plant | I_PurchasingDocumentItem | Plant | Valuation Area | |
| PurchasingDocumentItemText | I_PurchasingDocumentItem | PurchasingDocumentItemText | Short Text | |
| PurchasingDocumentItemCategory | I_PurchasingDocumentItem | PurchasingDocumentItemCategory | Item Category | |
| OrderQuantityUnit | I_PurchasingDocumentItem | OrderQuantityUnit | Sales Unit | |
| OrderQuantity | I_PurchasingDocumentItem | OrderQuantity | Quantity | |
| DocumentCurrency | I_PurchasingDocumentItem | DocumentCurrency | Document Currency | |
| NetAmount | I_PurchasingDocumentItem | NetAmount | Stated Amount | |
| IsCompletelyDelivered | I_PurchasingDocumentItem | IsCompletelyDelivered | Is completely delivered | |
| IsFinallyInvoiced | I_PurchasingDocumentItem | IsFinallyInvoiced | Final Invoice | |
| DeliveryDate | ItemDeliveryDate | DeliveryDate | Delivery Date | |
| _PurchasingDocument | _PurchasingDocument | |||
| _MaterialGroup | _MaterialGroup | |||
| _Plant | _Plant | |||
| _PurgDocumentItemCategory | _PurgDocumentItemCategory | |||
| _OrderQuantityUnit | _OrderQuantityUnit | |||
| _DocumentCurrency | _DocumentCurrency |
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_SlsDocFlfmtPurgDocItem.
-- 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: CSOFPURGDOCITM
CREATE VIEW C_SlsDocFlfmtPurgDocItem AS
SELECT
Item.PurchasingDocument AS PurchasingDocument,
Item.PurchasingDocumentItem AS PurchasingDocumentItem,
cast(Item.Material as productnumber preserving type ) AS Material,
Item._Material._Text[1:Language=$session.system_language].MaterialName AS MaterialName,
cast(Item.MaterialGroup as productgroup preserving type ) AS MaterialGroup,
Item.Plant AS Plant,
Item.PurchasingDocumentItemText AS PurchasingDocumentItemText,
Item.PurchasingDocumentItemCategory AS PurchasingDocumentItemCategory,
Item.OrderQuantityUnit AS OrderQuantityUnit,
Item.OrderQuantity AS OrderQuantity,
Item.DocumentCurrency AS DocumentCurrency,
Item.NetAmount AS NetAmount,
Item.IsCompletelyDelivered AS IsCompletelyDelivered,
Item.IsFinallyInvoiced AS IsFinallyInvoiced,
ItemDeliveryDate.DeliveryDate AS DeliveryDate
FROM I_PurchasingDocumentItem AS Item
LEFT OUTER JOIN E_PurchasingDocumentItem AS _Extension ON PurchasingDocument = _Extension.PurchasingDocument AND PurchasingDocumentItem = _Extension.PurchasingDocumentItem -- 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