C_DspDocFlwPurchaseDocVH

DDL: C_DSPDOCFLWPURCHASEDOCVH Type: view_entity CONSUMPTION Package: ODATA_GL_DSP_DOC_FLW

Purchasing Documents VH for DDF

C_DspDocFlwPurchaseDocVH is a Consumption CDS View that provides data about "Purchasing Documents VH for DDF" in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocument) and exposes 16 fields with key field PurchasingDocument. It is exposed through 1 OData service (ASQL_F3665). Part of development package ODATA_GL_DSP_DOC_FLW.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocument I_PurchasingDocument from

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
EndUserText.label Purchasing Documents VH for DDF view
Search.searchable true view
Consumption.ranked true view

OData Services (1)

ServiceBindingVersionContractRelease
ASQL_F3665 ASQL_F3665 C2 NOT_RELEASED

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY PurchasingDocument PurchasingDocument Purchasing Document
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
_CompanyCode _CompanyCode
_PurchasingOrganization _PurchasingOrganization
_Supplier _Supplier

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_DspDocFlwPurchaseDocVH.
-- 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_DspDocFlwPurchaseDocVH AS
SELECT
  PurchasingDocument,
  _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
;