P_PurchaseOrderForCIC

DDL: P_PURCHASEORDERFORCIC Type: view_entity BASIC

P_PurchaseOrderForCIC is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (I_PurchasingDocument) and exposes 14 fields with key field Id.

Data Sources (1)

SourceAliasJoin Type
I_PurchasingDocument I_PurchasingDocument from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.private true view
VDM.viewType #BASIC view

Fields (14)

KeyFieldSource TableSource FieldDescription
KEY Id PurchasingDocument Purchasing Document
Display_Id
Description PurchasingDocumentName Purch. Doc. Name
Note
Type PurchasingDocumentType RFQ Type
Supplier Supplier Supplier
Purchasing_Organization PurchasingOrganization Purchasing Organization
Purchasing_Group PurchasingGroup Purchasing Group
Currency DocumentCurrency Document Currency
Status PurchasingProcessingStatus Proc. State
SupplyingPlant SupplyingPlant Supplying Plant
PurchasingDocumentDeletionCode PurchasingDocumentDeletionCode Del. Indicator
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingCompletenessStatus PurchasingCompletenessStatus Incomplete

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 P_PurchaseOrderForCIC.
-- 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 P_PurchaseOrderForCIC AS
SELECT
  PurchasingDocument AS Id,
  '' AS Display_Id,
  PurchasingDocumentName AS Description,
  '' AS Note,
  PurchasingDocumentType AS Type,
  Supplier,
  PurchasingOrganization AS Purchasing_Organization,
  PurchasingGroup AS Purchasing_Group,
  DocumentCurrency AS Currency,
  PurchasingProcessingStatus AS Status,
  SupplyingPlant,
  PurchasingDocumentDeletionCode,
  IsEndOfPurposeBlocked,
  PurchasingCompletenessStatus
FROM I_PurchasingDocument
;