nsdm_e_mslb
MSLB Compatibility View
nsdm_e_mslb is a CDS View that provides data about "MSLB Compatibility View" in SAP S/4HANA. It reads from 1 data source (mslb) and exposes 34 fields with key fields mandt, matnr, werks, charg, sobkz. Part of development package MBND_PUBLIC.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| mslb | t | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.sqlViewName | NSDM_V_MSLB | view | |
| EndUserText.label | MSLB Compatibility View | view | |
| DataAging.noAgingRestriction | false | 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 (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | mandt | mslb | mandt | Editing Client |
| KEY | matnr | mslb | matnr | Vehicle Model |
| KEY | werks | mslb | werks | Receiving Plant |
| KEY | charg | mslb | charg | Chargeable Proc. |
| KEY | sobkz | mslb | sobkz | Special Stock |
| KEY | lifnr | mslb | lifnr | Vendor no. |
| lfgja | ||||
| lfmon | ||||
| lbspr | mslb | lbspr | Phys. Inv. Blk | |
| lblab | ||||
| lbins | ||||
| lbvla | ||||
| lbvin | ||||
| lbill | mslb | lbill | Warehouse stock | |
| lbilq | mslb | lbilq | QualInspStock | |
| lbvll | mslb | lbvll | Warehouse stock | |
| lbvlq | mslb | lbvlq | QualInspStock | |
| lbfll | mslb | lbfll | Warehouse stock | |
| lbflq | mslb | lbflq | QualInspStock | |
| lbdll | mslb | lbdll | Last Count Date | |
| lbein | ||||
| lbvei | ||||
| ersda | mslb | ersda | Entry Date | |
| lbjin | mslb | lbjin | Fiscal year of current physical inventory indicator | |
| lbrue | ||||
| lbuml | ||||
| sgt_scat | mslb | sgt_scat | Stock Segment | |
| /cwm/lblab | ||||
| /cwm/lbins | ||||
| /cwm/lbvla | ||||
| /cwm/lbvin | ||||
| /cwm/lbein | ||||
| /cwm/lbvei | ||||
| /cwm/lbuml |
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_mslb.
-- 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_MSLB
CREATE VIEW nsdm_e_mslb AS
SELECT
t.mandt AS mandt,
t.matnr AS matnr,
t.werks AS werks,
t.charg AS charg,
t.sobkz AS sobkz,
t.lifnr AS lifnr,
case when m.gjper is null then '0000' else cast(substring(m.gjper, 1, 4) as abap.numc(4)) end AS lfgja,
case when m.gjper is null then '00' else cast(substring(m.gjper, 6, 2) as abap.numc(2)) end AS lfmon,
t.lbspr AS lbspr,
case when m.lblab is null then 0 else m.lblab end AS lblab,
case when m.lbins is null then 0 else m.lbins end AS lbins,
case when m.lbvla is null then 0 else m.lbvla end AS lbvla,
case when m.lbvin is null then 0 else m.lbvin end AS lbvin,
t.lbill AS lbill,
t.lbilq AS lbilq,
t.lbvll AS lbvll,
t.lbvlq AS lbvlq,
t.lbfll AS lbfll,
t.lbflq AS lbflq,
t.lbdll AS lbdll,
case when m.lbein is null then 0 else m.lbein end AS lbein,
case when m.lbvei is null then 0 else m.lbvei end AS lbvei,
t.ersda AS ersda,
t.lbjin AS lbjin,
case when m.lbrue is null then ' ' else m.lbrue end AS lbrue,
case when m.lbuml is null then 0 else m.lbuml end AS lbuml,
t.sgt_scat AS sgt_scat,
case when m./cwm/lblab is null then 0 else m./cwm/lblab end AS /cwm/lblab,
case when m./cwm/lbins is null then 0 else m./cwm/lbins end AS /cwm/lbins,
case when m./cwm/lbvla is null then 0 else m./cwm/lbvla end AS /cwm/lbvla,
case when m./cwm/lbvin is null then 0 else m./cwm/lbvin end AS /cwm/lbvin,
case when m./cwm/lbein is null then 0 else m./cwm/lbein end AS /cwm/lbein,
case when m./cwm/lbvei is null then 0 else m./cwm/lbvei end AS /cwm/lbvei,
case when m./cwm/lbuml is null then 0 else m./cwm/lbuml end AS /cwm/lbuml
FROM mslb AS t
;
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