I_PurchasingDocumentOrigin

DDL: I_PURCHASINGDOCUMENTORIGIN SQL: IMMPURGDOCORIG Type: view BASIC

Purchasing Document Origin

I_PurchasingDocumentOrigin (Basic)

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

PurchasingDocumentOrigin · Database & Data Management

I_PurchasingDocumentOrigin is a Basic CDS View (Dimension) that provides data about "Purchasing Document Origin" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 3 fields with key field PurchasingDocumentOrigin. It has 1 association to related views.

SAP API Hub

StateC1
Line of BusinessDatabase & Data Management
Application ComponentMM
CapabilitiesData Source for Data Extraction, Analytical Dimension, Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Data Provider for Value Help
PackageDatabase & Data Management for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
dd07l dd07l from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_PurchasingDocumentOriginText _Text

Annotations (21)

NameValueLevelField
AbapCatalog.sqlViewName IMMPURGDOCORIG view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Purchasing Document Origin view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.representativeKey PurchasingDocumentOrigin view
ObjectModel.resultSet.sizeCategory #XS view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.sapObjectNodeType.name PurchasingDocumentOrigin view
Search.searchable true view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
VDM.viewType #BASIC view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentOrigin Purchasing Document Origin
DomainValue dd07l domvalue_l Values for Domains: Single Value/Lower Limit
_Text _Text

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_PurchasingDocumentOrigin.
-- 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: IMMPURGDOCORIG

CREATE VIEW I_PurchasingDocumentOrigin AS
SELECT
  cast ( domvalue_l as vdm_purhasingdocumentorigin ) AS PurchasingDocumentOrigin,
  dd07l.domvalue_l AS DomainValue
FROM dd07l
LEFT OUTER JOIN I_PurchasingDocumentOriginText AS _Text ON /* condition not available in parsed metadata */  -- association [0..*]
;