C_MMPurchasingInfoRecordHelp

DDL: C_MMPURCHASINGINFORECORDHELP SQL: PMMPURINFRECHELP Type: view CONSUMPTION Package: ODATA_MM_COMMONS_VH

Purchasing Info Record Help

C_MMPurchasingInfoRecordHelp is a Consumption CDS View that provides data about "Purchasing Info Record Help" in SAP S/4HANA. It reads from 2 data sources (I_PurgInfoRecdOrgPlantData, I_PurchasingInfoRecord) and exposes 14 fields with key fields PurchasingInfoRecord, PurchasingOrganization, PurchasingInfoRecordCategory, Plant. It has 3 associations to related views. It is exposed through 5 OData services (ASQL_F2594, ASQL_F2667, ASQL_F2668, ...). Part of development package ODATA_MM_COMMONS_VH.

Data Sources (2)

SourceAliasJoin Type
I_PurgInfoRecdOrgPlantData OrgPlantData left_outer
I_PurchasingInfoRecord PurchasingInfoRecord from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_MaterialText _MaterialText $projection.Material = _MaterialText.Material
[0..*] I_MaterialGroupText _MaterialGroupText $projection.materialgroup = _MaterialGroupText.MaterialGroup
[0..*] I_SupplierPurchasingOrg _SupplierPurchasingOrg $projection.Supplier = _SupplierPurchasingOrg.Supplier

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PMMPURINFRECHELP view
Analytics.dataExtraction.enabled false view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

OData Services (5)

ServiceBindingVersionContractRelease
ASQL_F2594 ASQL_F2594 C2 NOT_RELEASED
ASQL_F2667 ASQL_F2667 C2 NOT_RELEASED
ASQL_F2668 ASQL_F2668 C2 NOT_RELEASED
ASQL_F4562 ASQL_F4562 C2 NOT_RELEASED
ASQL_F5241 ASQL_F5241 C2 NOT_RELEASED

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PurchasingInfoRecord I_PurchasingInfoRecord PurchasingInfoRecord Info Record
KEY PurchasingOrganization PurchasingOrganization Purchasing Organization
KEY PurchasingInfoRecordCategory PurchasingInfoRecordCategory Infotype
KEY Plant Plant Valuation Area
Supplier Supplier Supplier
SupplierName _Supplier SupplierName Supplier Name
PurchasingOrganizationName _PurchasingOrganization PurchasingOrganizationName Purch. Org. Name
PlantName _Plant PlantName Plant Name
Material Material Vehicle Model
_MaterialText _MaterialText
MaterialGroup Material Group
_MaterialGroupText _MaterialGroupText
_SupplierPurchasingOrg _SupplierPurchasingOrg
PurchasingGroup I_PurgInfoRecdOrgPlantData PurchasingGroup Purchasing Group

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 C_MMPurchasingInfoRecordHelp.
-- 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: PMMPURINFRECHELP

CREATE VIEW C_MMPurchasingInfoRecordHelp AS
SELECT
  PurchasingInfoRecord.PurchasingInfoRecord AS PurchasingInfoRecord,
  PurchasingOrganization,
  PurchasingInfoRecordCategory,
  Plant,
  Supplier,
  _Supplier.SupplierName AS SupplierName,
  _PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
  _Plant.PlantName AS PlantName,
  Material,
  PurchasingInfoRecord._MaterialGroup.MaterialGroup AS MaterialGroup,
  OrgPlantData.PurchasingGroup AS PurchasingGroup
FROM I_PurchasingInfoRecord AS PurchasingInfoRecord
LEFT OUTER JOIN I_PurgInfoRecdOrgPlantData AS OrgPlantData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MaterialText AS _MaterialText ON Material = _MaterialText.Material  -- association [0..*]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON materialgroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_SupplierPurchasingOrg AS _SupplierPurchasingOrg ON Supplier = _SupplierPurchasingOrg.Supplier  -- association [0..*]
;