C_DspDocFlwPurchaseDocItemVH

DDL: C_DSPDOCFLWPURCHASEDOCITEMVH Type: view_entity CONSUMPTION

Purchasing Document Items VH for DDF

C_DspDocFlwPurchaseDocItemVH is a Consumption CDS View that provides data about "Purchasing Document Items VH for DDF" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocument) and exposes 14 fields with key fields PurchasingDocument, PurchasingDocumentItem.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocument I_PurchasingDocument from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
EndUserText.label Purchasing Document Items VH for DDF view
Search.searchable true view
Consumption.ranked true view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument PurchasingDocument Purchasing Document
KEY PurchasingDocumentItem
PurchasingDocumentTypeName
CompanyCode CompanyCode Receiver Company Code
CreationDate Time Stamp
PurchasingOrganization PurchasingOrganization Purchasing Organization
Supplier Supplier Supplier
AnchorDocument Purchasing Document
ReferenceDocumentType
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingDocumentType PurchasingDocumentType RFQ Type
PurchasingDocumentCategory PurchasingDocumentCategory Doc. Category
PurchasingDocumentOrigin PurchasingDocumentOrigin Status
PurchasingGroup 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_DspDocFlwPurchaseDocItemVH.
-- 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.

CREATE VIEW C_DspDocFlwPurchaseDocItemVH AS
SELECT
  PurchasingDocument,
  I_PurchasingDocument._PurchasingDocumentItem.PurchasingDocumentItem AS PurchasingDocumentItem,
  _PurchasingDocumentType._Text[1:Language = $session.system_language].PurchasingDocumentTypeName AS PurchasingDocumentTypeName,
  CompanyCode,
  cast( CreationDate as fac_ddf_document_date preserving type ) AS CreationDate,
  PurchasingOrganization,
  Supplier,
  cast( PurchasingDocument as fac_ddf_anchor_document ) AS AnchorDocument,
  cast( 'BUS2012' as swo_objtyp) AS ReferenceDocumentType,
  IsEndOfPurposeBlocked,
  PurchasingDocumentType,
  PurchasingDocumentCategory,
  PurchasingDocumentOrigin,
  PurchasingGroup
FROM I_PurchasingDocument
;