C_HU_ECSlsLstMatlDocCsgnmtC
Hungarian ECSL Consignment - Cube
C_HU_ECSlsLstMatlDocCsgnmtC is a Consumption CDS View (Cube) that provides data about "Hungarian ECSL Consignment - Cube" in SAP S/4HANA. It reads from 2 data sources (I_MaterialDocumentRecord, I_Supplier) and exposes 16 fields with key fields CompanyCode, MaterialDocumentYear, MaterialDocument, MaterialDocumentItem.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_MaterialDocumentRecord | MatDoc | from |
| I_Supplier | Supplier | inner |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| EndUserText.label | Hungarian ECSL Consignment - Cube | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| Analytics.internalName | #LOCAL | view | |
| Analytics.dataCategory | #CUBE | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | I_MaterialDocumentRecord | CompanyCode | Receiver Company Code |
| KEY | MaterialDocumentYear | I_MaterialDocumentRecord | MaterialDocumentYear | Material Document Year |
| KEY | MaterialDocument | I_MaterialDocumentRecord | MaterialDocument | Material Doc. |
| KEY | MaterialDocumentItem | I_MaterialDocumentRecord | MaterialDocumentItem | Material Document Item |
| Creditor | ||||
| VATRegistrationendasVATRegistration | ||||
| ReportingDate | ||||
| PostingDate | I_MaterialDocumentRecord | PostingDate | Posting Date for GR | |
| DocumentDate | I_MaterialDocumentRecord | DocumentDate | Journal Entry Date | |
| BusinessPartner | ||||
| BusinessPartnerName | ||||
| GoodsMovementType | I_MaterialDocumentRecord | GoodsMovementType | Movement Type | |
| Material | I_MaterialDocumentRecord | Material | Vehicle Model | |
| ReversedMaterialDocumentYear | I_MaterialDocumentRecord | ReversedMaterialDocumentYear | Reversed Doc Year | |
| ReversedMaterialDocument | I_MaterialDocumentRecord | ReversedMaterialDocument | Reversed Mat Doc | |
| ReversedMaterialDocumentItem | I_MaterialDocumentRecord | ReversedMaterialDocumentItem | Reversed Doc Item |
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_HU_ECSlsLstMatlDocCsgnmtC.
-- 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 C_HU_ECSlsLstMatlDocCsgnmtC AS
SELECT
MatDoc.CompanyCode AS CompanyCode,
MatDoc.MaterialDocumentYear AS MaterialDocumentYear,
MatDoc.MaterialDocument AS MaterialDocument,
MatDoc.MaterialDocumentItem AS MaterialDocumentItem,
cast(MatDoc.Supplier as fis_lifnr preserving type ) AS Creditor,
case when MatDoc.Supplier <> '' and Supplier.VATRegistration = '' and Country.IsEuropeanUnionMember = 'X' and Supplier.Country <> 'HU' then concat(Country.CountryISOCode, '0') else Supplier.VATRegistration end as VATRegistration AS VATRegistrationendasVATRegistration,
cast(MatDoc.PostingDate as glo_reporting_date ) AS ReportingDate,
MatDoc.PostingDate AS PostingDate,
MatDoc.DocumentDate AS DocumentDate,
MatDoc._BusinessPartner.BusinessPartner AS BusinessPartner,
MatDoc._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
MatDoc.GoodsMovementType AS GoodsMovementType,
MatDoc.Material AS Material,
MatDoc.ReversedMaterialDocumentYear AS ReversedMaterialDocumentYear,
MatDoc.ReversedMaterialDocument AS ReversedMaterialDocument,
MatDoc.ReversedMaterialDocumentItem AS ReversedMaterialDocumentItem
FROM I_MaterialDocumentRecord AS MatDoc
INNER JOIN I_Supplier AS Supplier ON /* join condition not captured in parsed metadata */
;
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