I_MaterialSampleDetails
CDS View for Material Sample Details
I_MaterialSampleDetails is a Composite CDS View that provides data about "CDS View for Material Sample Details" in SAP S/4HANA. It reads from 7 data sources and exposes 16 fields with key field MaterialSample. Part of development package ODATA_QM_SAMPLE.
Data Sources (7)
| Source | Alias | Join Type |
|---|---|---|
| I_Customer | I_Customer | left_outer |
| I_InspectionLot | I_InspectionLot | left_outer |
| I_MaterialSample | I_MaterialSample | from |
| I_MaterialSampleDrawing | I_MaterialSampleDrawing | left_outer |
| I_Supplier | I_Supplier | left_outer |
| I_Supplier | I_Supplier | left_outer |
| I_User | I_User | left_outer |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISAMPLEDETAIL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| EndUserText.label | CDS View for Material Sample Details | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #C | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MaterialSample | I_MaterialSample | MaterialSample | Sample |
| InspectionLot | I_MaterialSample | InspectionLot | Inspection Lot | |
| MaterialSampleDrawing | I_MaterialSample | MaterialSampleDrawing | ||
| Plant | I_MaterialSample | Plant | Valuation Area | |
| MatlQualityAuthorizationGroup | I_MaterialSample | MatlQualityAuthorizationGroup | QM Matl Auth. | |
| Supplier | _MaterialSampleDrawing | Supplier | Supplier | |
| SupplierName | _Supplier | SupplierName | Supplier Name | |
| Manufacturer | _MaterialSampleDrawing | Manufacturer | Manufacturer | |
| ManufacturerName | _Manufacturer | SupplierName | Supplier Name | |
| Customer | _MaterialSampleDrawing | Customer | Sold-to Party | |
| CustomerName | _Customer | CustomerName | Name of Customer | |
| CreatedByUser | _MaterialSampleDrawing | CreatedByUser | User Name | |
| CreationDate | _MaterialSampleDrawing | CreationDate | Time Stamp | |
| CreationTime | _MaterialSampleDrawing | CreationTime | Time of Change | |
| FullName | _UserCreatedBy | UserDescription | Full Name | |
| IsBusinessPurposeCompleted | _MaterialSampleDrawing | IsBusinessPurposeCompleted | Purpose Completed |
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_MaterialSampleDetails.
-- 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: ISAMPLEDETAIL
CREATE VIEW I_MaterialSampleDetails AS
SELECT
I_MaterialSample.MaterialSample AS MaterialSample,
I_MaterialSample.InspectionLot AS InspectionLot,
I_MaterialSample.MaterialSampleDrawing AS MaterialSampleDrawing,
I_MaterialSample.Plant AS Plant,
I_MaterialSample.MatlQualityAuthorizationGroup AS MatlQualityAuthorizationGroup,
_MaterialSampleDrawing.Supplier AS Supplier,
_Supplier.SupplierName AS SupplierName,
_MaterialSampleDrawing.Manufacturer AS Manufacturer,
_Manufacturer.SupplierName AS ManufacturerName,
_MaterialSampleDrawing.Customer AS Customer,
_Customer.CustomerName AS CustomerName,
_MaterialSampleDrawing.CreatedByUser AS CreatedByUser,
_MaterialSampleDrawing.CreationDate AS CreationDate,
_MaterialSampleDrawing.CreationTime AS CreationTime,
_UserCreatedBy.UserDescription AS FullName,
_MaterialSampleDrawing.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted
FROM I_MaterialSample
LEFT OUTER JOIN I_InspectionLot ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialSampleDrawing ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Customer ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_User 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