P_InvtryMgmtSuplrInfoRecdVH
P_InvtryMgmtSuplrInfoRecdVH is a Basic CDS View in SAP S/4HANA. It reads from 3 data sources (eina, mara, marc) and exposes 14 fields with key fields Material, Plant, Batch, Supplier. It has 6 associations to related views.
Associations (6)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..*] | I_MaterialText | _MaterialText | $projection.Material = _MaterialText.Material |
| [1..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [1..*] | I_MaterialTypeText | _MaterialTypeText | $projection.MaterialType = _MaterialTypeText.MaterialType |
| [1..*] | I_BatchPlant | _BatchPlant | $projection.Material = _BatchPlant.Material and $projection.Plant = _BatchPlant.Plant |
| [1..1] | I_BatchCrossPlant | _BatchCrossPlant | $projection.Material = _BatchCrossPlant.Material and $projection.batch = _BatchCrossPlant.Batch |
| [1..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PINVTRYSUPIRECVH | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Search.searchable | true | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Material | mara | matnr | Vehicle Model |
| KEY | Plant | marc | werks | Receiving Plant |
| KEY | Batch | _BatchPlant | Batch | Lot No. |
| KEY | Supplier | eina | lifnr | Vendor no. |
| MaterialName | ||||
| PlantName | _Plant | PlantName | Plant Name | |
| MaterialType | mara | mtart | Product Type | |
| MaterialTypeName | ||||
| ProductHierarchy | mara | prdha | Prod.Hierarchy | |
| SupplierName | _Supplier | OrganizationBPName1 | Name 1 | |
| SupplierBasicAuthorizationGrp | _Supplier | AuthorizationGroup | AuthorizGroup | |
| SerialNumberProfile | marc | sernp | SerialNoProfile | |
| MaterialExternalID | ||||
| _BatchCrossPlant | _BatchCrossPlant |
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 P_InvtryMgmtSuplrInfoRecdVH.
-- 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: PINVTRYSUPIRECVH
CREATE VIEW P_InvtryMgmtSuplrInfoRecdVH AS
SELECT
ma.matnr AS Material,
mc.werks AS Plant,
_BatchPlant.Batch AS Batch,
inforec.lifnr AS Supplier,
_MaterialText[1: Language=$session.system_language].MaterialName AS MaterialName,
_Plant.PlantName AS PlantName,
ma.mtart AS MaterialType,
_MaterialTypeText[1: Language=$session.system_language].MaterialTypeName AS MaterialTypeName,
ma.prdha AS ProductHierarchy,
_Supplier.OrganizationBPName1 AS SupplierName,
_Supplier.AuthorizationGroup AS SupplierBasicAuthorizationGrp,
mc.sernp AS SerialNumberProfile,
cast(ma.matnr_external as nsdm_mat_external preserving type ) AS MaterialExternalID
FROM mara AS ma
INNER JOIN marc AS mc ON /* join condition not captured in parsed metadata */
INNER JOIN eina AS inforec ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material -- association [1..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [1..1]
LEFT OUTER JOIN I_MaterialTypeText AS _MaterialTypeText ON MaterialType = _MaterialTypeText.MaterialType -- association [1..*]
LEFT OUTER JOIN I_BatchPlant AS _BatchPlant ON Material = _BatchPlant.Material AND Plant = _BatchPlant.Plant -- association [1..*]
LEFT OUTER JOIN I_BatchCrossPlant AS _BatchCrossPlant ON Material = _BatchCrossPlant.Material AND batch = _BatchCrossPlant.Batch -- association [1..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- association [1..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