P_ServEntryHead

DDL: P_SERVENTRYHEAD SQL: PSRVENTHEADDAT Type: view BASIC

P_ServEntryHead is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (essr) and exposes 8 fields with key fields PurchaseOrder, PurchaseOrderItem, ServiceEntrySheet.

Data Sources (1)

SourceAliasJoin Type
essr essr from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PSRVENTHEADDAT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY PurchaseOrder ebeln Source PurchDoc
KEY PurchaseOrderItem ebelp Item pur. doc.
KEY ServiceEntrySheet lblni Entry Sheet
TotalNetAmount netwr Value
Currency waers Transaction Currency
packno packno Package number
kzabn kzabn Acceptance
CreationDate erdat Entered On

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_ServEntryHead.
-- 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: PSRVENTHEADDAT

CREATE VIEW P_ServEntryHead AS
SELECT
  ebeln AS PurchaseOrder,
  ebelp AS PurchaseOrderItem,
  lblni AS ServiceEntrySheet,
  netwr AS TotalNetAmount,
  waers AS Currency,
  packno,
  kzabn,
  erdat AS CreationDate
FROM essr
;