C_StockIssueDetails
Consumption View for stock issue details
C_StockIssueDetails is a Consumption CDS View that provides data about "Consumption View for stock issue details" in SAP S/4HANA. It reads from 1 data source (I_Stockissuedetails) and exposes 16 fields with key fields Material, Plant, MaterialGroup, SalesDocument, SalesDocumentItem. It has 3 associations to related views. Part of development package ODATA_PP_SC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Stockissuedetails | I_Stockissuedetails | from |
Parameters (3)
| Name | Type | Default |
|---|---|---|
| P_ConditionText | stck_filter_string | |
| P_StartDate | datum | |
| P_EndDate | datum |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_MaterialGroup | _MaterialGroup | $projection.MaterialGroup = _MaterialGroup.MaterialGroup |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSTCKISSUE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Consumption View for stock issue details | view | |
| Search.searchable | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | stckdet | Material | Vehicle Model |
| KEY | Plant | stckdet | Plant | Valuation Area |
| KEY | MaterialGroup | stckdet | MaterialGroup | Product Group |
| KEY | SalesDocument | stckdet | SalesDocument | SD Document |
| KEY | SalesDocumentItem | stckdet | SalesDocumentItem | Sales Document Item |
| KEY | ReferenceDocumentScheduleLine | stckdet | ReferenceDocumentScheduleLine | Schedule Line |
| KEY | Batch | stckdet | Batch | Lot No. |
| KEY | IssueType | stckdet | IssueType | Issue Type for stock |
| KEY | IssueDate | stckdet | IssueDate | Order End Date |
| IssueQuantity | stckdet | IssueQuantity | ||
| IssueAmount | stckdet | IssueAmount | ||
| QuantityUnit | stckdet | QuantityUnit | Unit of measure | |
| OrderPriceUnit | stckdet | OrderPriceUnit | Order Price Un. | |
| _Material | _Material | |||
| _Plant | _Plant | |||
| _MaterialGroup | _MaterialGroup |
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_StockIssueDetails.
-- 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: CSTCKISSUE
-- Parameters: P_ConditionText : stck_filter_string, P_StartDate : datum, P_EndDate : datum
CREATE VIEW C_StockIssueDetails AS
SELECT
stckdet.Material AS Material,
stckdet.Plant AS Plant,
stckdet.MaterialGroup AS MaterialGroup,
stckdet.SalesDocument AS SalesDocument,
stckdet.SalesDocumentItem AS SalesDocumentItem,
stckdet.ReferenceDocumentScheduleLine AS ReferenceDocumentScheduleLine,
stckdet.Batch AS Batch,
stckdet.IssueType AS IssueType,
stckdet.IssueDate AS IssueDate,
stckdet.IssueQuantity AS IssueQuantity,
stckdet.IssueAmount AS IssueAmount,
stckdet.QuantityUnit AS QuantityUnit,
stckdet.OrderPriceUnit AS OrderPriceUnit
FROM I_Stockissuedetails
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroup ON MaterialGroup = _MaterialGroup.MaterialGroup -- 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