P_LogcDocDelivery

DDL: P_LOGCDOCDELIVERY Type: view_entity CONSUMPTION

P_LogcDocDelivery is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 6 fields with key field DeliveryDocument.

Data Sources (1)

SourceAliasJoin Type
I_DeliveryDocument I_DeliveryDocument from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.private true view
VDM.viewType #CONSUMPTION view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
ProdCmplncLogsDocumentCategory
ShippingPoint ShippingPoint Shipping Point
SalesOrganization SalesOrganization Sales Organization
ShippingType ShippingType Shipping Type
CompanyCode _SalesOrganization CompanyCode Receiver Company Code

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_LogcDocDelivery.
-- 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_LogcDocDelivery AS
SELECT
  DeliveryDocument,
  cast ('LF' as ehfnd_log_doc_category) AS ProdCmplncLogsDocumentCategory,
  ShippingPoint,
  SalesOrganization,
  ShippingType,
  _SalesOrganization.CompanyCode AS CompanyCode
FROM I_DeliveryDocument
;