I_ProcmtHubPurgDocType

DDL: I_PROCMTHUBPURGDOCTYPE SQL: ICPODOCTYPE Type: view BASIC

Document type basic view

I_ProcmtHubPurgDocType is a Basic CDS View that provides data about "Document type basic view" in SAP S/4HANA. It reads from 1 data source (mmpur_ext_t161) and exposes 4 fields with key fields PurchasingDocumentType, PurchasingDocumentCategory, ExtSourceSystem. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
mmpur_ext_t161 mmpur_ext_t161 from

Associations (1)

CardinalityTargetAliasCondition
[1..*] I_ProcmtHubPurgDocTypeText _Purchasingdocumenttypetext $projection.PurchasingDocumentType = _Purchasingdocumenttypetext.PurchasingDocumentType and $projection.PurchasingDocumentCategory = _Purchasingdocumenttypetext.PurchasingDocumentCategory and $projection.ExtSourceSystem = _Purchasingdocumenttypetext.ExtSourceSystem

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICPODOCTYPE view
ObjectModel.representativeKey PurchasingDocumentType view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Document type basic view view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType documenttype Order Type
KEY PurchasingDocumentCategory documentcategory Document Category
KEY ExtSourceSystem extsourcesystem Connected System ID
_Purchasingdocumenttypetext _Purchasingdocumenttypetext

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_ProcmtHubPurgDocType.
-- 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: ICPODOCTYPE

CREATE VIEW I_ProcmtHubPurgDocType AS
SELECT
  documenttype AS PurchasingDocumentType,
  documentcategory AS PurchasingDocumentCategory,
  ExtSourceSystem
FROM mmpur_ext_t161
LEFT OUTER JOIN I_ProcmtHubPurgDocTypeText AS _Purchasingdocumenttypetext ON PurchasingDocumentType = _Purchasingdocumenttypetext.PurchasingDocumentType AND PurchasingDocumentCategory = _Purchasingdocumenttypetext.PurchasingDocumentCategory AND ExtSourceSystem = _Purchasingdocumenttypetext.ExtSourceSystem  -- association [1..*]
;