I_PhysInvtrySupplierVH

DDL: I_PHYSINVTRYSUPPLIERVH Type: view_entity COMPOSITE Package: ODATA_MM_IM_PI_MANAGE_COUNT

Suppliers in Physical Inventory

I_PhysInvtrySupplierVH is a Composite CDS View that provides data about "Suppliers in Physical Inventory" in SAP S/4HANA. It reads from 1 data source (I_Supplier_VH) and exposes 15 fields with key fields Supplier, Plant, StorageLocation, Material, Batch. It has 3 associations to related views. It is exposed through 1 OData service (ASQL_F5430). Part of development package ODATA_MM_IM_PI_MANAGE_COUNT.

Data Sources (1)

SourceAliasJoin Type
I_Supplier_VH _supplier inner

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] I_StorageLocation _StorageLocation $projection.Plant = _StorageLocation.Plant and $projection.StorageLocation = _StorageLocation.StorageLocation
[1..1] I_Product _Product $projection.Material = _Product.Product

Annotations (12)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Suppliers in Physical Inventory view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey Supplier view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #NONE view
Consumption.ranked true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F5430 ASQL_F5430 C2 NOT_RELEASED

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY Supplier I_Supplier_VH Supplier Supplier
KEY Plant _matdoc Plant Valuation Area
KEY StorageLocation _matdoc StockIdfgStorageLocation
KEY Material _matdoc StockIdentifyingMaterial
KEY Batch _matdoc StockIdentifyingBatch
KEY InventorySpecialStockType _matdoc InventorySpecialStockType Special Stock Type
SupplierName I_Supplier_VH SupplierName Name
AuthorizationGroup I_Supplier_VH AuthorizationGroup AuthorizGroup
SupplierAccountGroup I_Supplier_VH SupplierAccountGroup Account group
IsBusinessPurposeCompleted I_Supplier_VH IsBusinessPurposeCompleted Purpose Completed
BusinessPartner I_Supplier_VH BusinessPartner Business Partner
BusinessPartnerType I_Supplier_VH BusinessPartnerType Business Partner Type
_Plant _Plant
_StorageLocation _StorageLocation
_Product _Product

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_PhysInvtrySupplierVH.
-- 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 I_PhysInvtrySupplierVH AS
SELECT
  _supplier.Supplier AS Supplier,
  _matdoc.Plant AS Plant,
  _matdoc.StockIdfgStorageLocation AS StorageLocation,
  _matdoc.StockIdentifyingMaterial AS Material,
  _matdoc.StockIdentifyingBatch AS Batch,
  _matdoc.InventorySpecialStockType AS InventorySpecialStockType,
  _supplier.SupplierName AS SupplierName,
  _supplier.AuthorizationGroup AS AuthorizationGroup,
  _supplier.SupplierAccountGroup AS SupplierAccountGroup,
  _supplier.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _supplier.BusinessPartner AS BusinessPartner,
  _supplier.BusinessPartnerType AS BusinessPartnerType
INNER JOIN I_Supplier_VH AS _supplier ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [1..1]
LEFT OUTER JOIN I_StorageLocation AS _StorageLocation ON Plant = _StorageLocation.Plant AND StorageLocation = _StorageLocation.StorageLocation  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Material = _Product.Product  -- association [1..1]
;