C_PurReqnTypeForWorkflow

DDL: C_PURREQNTYPEFORWORKFLOW SQL: CMMPURGDOCTYP Type: view CONSUMPTION

Purchasing Document Type

C_PurReqnTypeForWorkflow is a Consumption CDS View that provides data about "Purchasing Document Type" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocumentType) and exposes 3 fields with key field PurchasingDocumentType. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocumentType I_PurchasingDocumentType from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_PurchasingDocumentTypeText _Text $projection.PurchasingDocumentType = _Text.PurchasingDocumentType and $projection.PurchasingDocumentCategory = _Text.PurchasingDocumentCategory and _Text.Language = $session.system_language

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName CMMPURGDOCTYP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #D view
EndUserText.label Purchasing Document Type view
VDM.viewType #CONSUMPTION view
Search.searchable true view
ObjectModel.semanticKey PurchasingDocumentType view
ObjectModel.representativeKey PurchasingDocumentType view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
_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 C_PurReqnTypeForWorkflow.
-- 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: CMMPURGDOCTYP

CREATE VIEW C_PurReqnTypeForWorkflow AS
SELECT
  PurchasingDocumentType,
  PurchasingDocumentCategory
FROM I_PurchasingDocumentType
LEFT OUTER JOIN I_PurchasingDocumentTypeText AS _Text ON PurchasingDocumentType = _Text.PurchasingDocumentType AND PurchasingDocumentCategory = _Text.PurchasingDocumentCategory AND _Text.Language = $session.system_language  -- association [0..1]
;