I_ProcmtHubPurgOrgAPI01

DDL: I_PROCMTHUBPURGORGAPI01 SQL: IPRCMTPORG Type: view BASIC

Purchasing Org in Connected System

I_ProcmtHubPurgOrgAPI01 (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sourcing & Procurement

I_ProcmtHubPurgOrgAPI01 is a Basic CDS View (Dimension) that provides data about "Purchasing Org in Connected System" in SAP S/4HANA. It reads from 1 data source (mmpur_c_be_porgr) and exposes 6 fields with key fields ProcurementHubSourceSystem, ProcmtHubPurchasingOrg. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Purchasing Organization
StatusReleased
Prerequisites
You must have a role based on the SAP_BR_CENTRAL_PURCHASER business role template.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-PUR-HUB
CapabilitiesData Source in SQL Select
PackageSourcing & Procurement for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
mmpur_c_be_porgr mmpur_c_be_porgr from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ProcmtHubBackendSourceSystem _ProcmtHubBackendSourceSystem $projection.ProcurementHubSourceSystem = _ProcmtHubBackendSourceSystem.ProcurementHubSourceSystem

Annotations (16)

NameValueLevelField
EndUserText.label Purchasing Org in Connected System view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #ORGANIZATIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
AbapCatalog.sqlViewName IPRCMTPORG view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
ObjectModel.supportedCapabilities #SQL_DATA_SOURCE view
ObjectModel.representativeKey ProcmtHubPurchasingOrg view
Metadata.ignorePropagatedAnnotations true view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY ProcurementHubSourceSystem be_source_sys Connected System ID
KEY ProcmtHubPurchasingOrg be_purchorg Connected Purchasing Organization
ProcmtHubPurgOrgUniqueID be_purchorg_unique_id Connected Purchasing Organization Unique ID
ProcmtHubPurgOrgName be_purchorg_name Connected Purchasing Organisation Name
ProcurementHubSourceSystemName _ProcmtHubBackendSourceSystem ProcurementHubSourceSystemName Connected System Name
_ProcmtHubBackendSourceSystem _ProcmtHubBackendSourceSystem

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_ProcmtHubPurgOrgAPI01.
-- 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: IPRCMTPORG

CREATE VIEW I_ProcmtHubPurgOrgAPI01 AS
SELECT
  be_source_sys AS ProcurementHubSourceSystem,
  be_purchorg AS ProcmtHubPurchasingOrg,
  be_purchorg_unique_id AS ProcmtHubPurgOrgUniqueID,
  be_purchorg_name AS ProcmtHubPurgOrgName,
  _ProcmtHubBackendSourceSystem.ProcurementHubSourceSystemName AS ProcurementHubSourceSystemName
FROM mmpur_c_be_porgr
LEFT OUTER JOIN I_ProcmtHubBackendSourceSystem AS _ProcmtHubBackendSourceSystem ON ProcurementHubSourceSystem = _ProcmtHubBackendSourceSystem.ProcurementHubSourceSystem  -- association [1..1]
;