NSDM_E_MSRD
MSRD Compatibility View
NSDM_E_MSRD is a CDS View that provides data about "MSRD Compatibility View" in SAP S/4HANA. It reads from 1 data source (msrd_md) and exposes 24 fields with key fields mandt, matnr, werks, charg, sobkz.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| msrd_md | m | from |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | NSDM_V_MSRD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| EndUserText.label | MSRD Compatibility View | view | |
| ObjectModel.usageType.sizeCategory | L | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #AUTOMATED | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| AbapCatalog.viewEnhancementCategory | #PROJECTION_LIST | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | msrd_md | mandt | Editing Client |
| KEY | matnr | msrd_md | matnr | Vehicle Model |
| KEY | werks | msrd_md | werks | Receiving Plant |
| KEY | charg | msrd_md | charg | Chargeable Proc. |
| KEY | sobkz | msrd_md | sobkz | Special Stock |
| KEY | lifnr | msrd_md | lifnr | Vendor no. |
| KEY | pspnr | msrd_md | pspnr | WBS Element |
| rdspr | msrd_md | rdspr | Phys. Inv. Blk | |
| rdlab | ||||
| rdins | ||||
| rdvla | ||||
| rdvin | ||||
| rdill | msrd_md | rdill | Warehouse stock | |
| rdilq | msrd_md | rdilq | QualInspStock | |
| rdvll | msrd_md | rdvll | Warehouse stock | |
| rdvlq | msrd_md | rdvlq | QualInspStock | |
| rdfll | msrd_md | rdfll | Warehouse stock | |
| rdflq | msrd_md | rdflq | QualInspStock | |
| rddll | msrd_md | rddll | Last Count Date | |
| rdein | ||||
| rdvei | ||||
| ersda | msrd_md | ersda | Entry Date | |
| rdjin | msrd_md | rdjin | Fiscal year of current physical inventory indicator | |
| rdrue |
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 NSDM_E_MSRD.
-- 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: NSDM_V_MSRD
CREATE VIEW NSDM_E_MSRD AS
SELECT
m.mandt AS mandt,
m.matnr AS matnr,
m.werks AS werks,
m.charg AS charg,
m.sobkz AS sobkz,
m.lifnr AS lifnr,
m.pspnr AS pspnr,
m.rdspr AS rdspr,
case when t.rdlab is null then 0 else t.rdlab end AS rdlab,
case when t.rdins is null then 0 else t.rdins end AS rdins,
case when t.rdvla is null then 0 else t.rdvla end AS rdvla,
case when t.rdvin is null then 0 else t.rdvin end AS rdvin,
m.rdill AS rdill,
m.rdilq AS rdilq,
m.rdvll AS rdvll,
m.rdvlq AS rdvlq,
m.rdfll AS rdfll,
m.rdflq AS rdflq,
m.rddll AS rddll,
case when t.rdein is null then 0 else t.rdein end AS rdein,
case when t.rdvei is null then 0 else t.rdvei end AS rdvei,
m.ersda AS ersda,
m.rdjin AS rdjin,
'X' AS rdrue
FROM msrd_md AS m
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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