C_ServiceEntrySheetDP

DDL: C_SERVICEENTRYSHEETDP Type: view_entity CONSUMPTION Package: MM_PUR_OPL_PROC_BDC

Service Entry Sheet

C_ServiceEntrySheetDP is a Consumption CDS View that provides data about "Service Entry Sheet" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetAPI01) and exposes 27 fields with key field ServiceEntrySheet. It has 6 associations to related views. It is exposed through 1 OData service (DP_SERVICEENTRYSHEET). Part of development package MM_PUR_OPL_PROC_BDC.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetAPI01 I_ServiceEntrySheetAPI01 from

Associations (6)

CardinalityTargetAliasCondition
[1..1] I_Supplier _Supplier $projection.Supplier = _Supplier.Supplier
[1..1] I_Currency _DocumentCurrency $projection.Currency = _DocumentCurrency.Currency
[1..1] C_PurchasingOrganizationDP _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[1..1] C_PurchasingGroupDP _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[1..1] C_PurchaseOrderDP _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[0..*] C_ServiceEntrySheetItemDP _ServiceEntrySheetItemDP

Annotations (13)

NameValueLevelField
Metadata.allowExtensions true view
AccessControl.authorizationCheck #MANDATORY view
DataIntegration.deltaReplication.intended true view
EndUserText.label Service Entry Sheet view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #EXTERNAL_DATA_PROVIDER view
ObjectModel.sapObjectNodeType.name ServiceEntrySheet view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #REQUIRED view
PersonalData.entitySemantics #OTHER view

OData Services (1)

ServiceBindingVersionContractRelease
DP_SERVICEENTRYSHEET DP_SERVICEENTRYSHEET C2 NOT_RELEASED

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet ServiceEntrySheet Service Entry Sheet
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_DocumentCurrency _DocumentCurrency
_Supplier _Supplier
_ServiceEntrySheetItemDP _ServiceEntrySheetItemDP
LastChangedByUser User Name
LastChangeDateTime Timestamp
CreatedByUser User Name
CreationDateTime Timestamp
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
PostingDate PostingDate Posting Date for GR
PurgDocExternalReference PurgDocExternalReference Ext. Reference ID
PurgDocExternalSystem PurgDocExternalSystem
MaterialDocumentYear MaterialDocumentYear Material Document Year
MaterialDocument MaterialDocument Material Doc.
Currency Currency Valuation Crcy
ResponsiblePerson ResponsiblePerson Processor
ApprovalDateTime ApprovalDateTime Time Stamp
ApprovalStatus ApprovalStatus Document Status
IsDeleted Deletion Indicator in Purg Document
PurchaseOrder PurchaseOrder Purchasing Document
Supplier Supplier Supplier
ServiceEntrySheetName ServiceEntrySheetName
_PurchaseOrder _PurchaseOrder

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_ServiceEntrySheetDP.
-- 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_ServiceEntrySheetDP AS
SELECT
  ServiceEntrySheet,
  cast ( LastChangedByUser as abp_lastchange_user preserving type ) AS LastChangedByUser,
  cast ( LastChangeDateTime as abp_lastchange_tstmpl preserving type ) AS LastChangeDateTime,
  cast ( CreatedByUser as abp_creation_user preserving type ) AS CreatedByUser,
  cast ( CreationDateTime as abp_creation_tstmpl preserving type ) AS CreationDateTime,
  IsEndOfPurposeBlocked,
  PurchasingGroup,
  PurchasingOrganization,
  PostingDate,
  PurgDocExternalReference,
  PurgDocExternalSystem,
  MaterialDocumentYear,
  MaterialDocument,
  Currency,
  ResponsiblePerson,
  ApprovalDateTime,
  ApprovalStatus,
  cast(IsDeleted as loekz) AS IsDeleted,
  PurchaseOrder,
  Supplier,
  ServiceEntrySheetName
FROM I_ServiceEntrySheetAPI01
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier  -- association [1..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON Currency = _DocumentCurrency.Currency  -- association [1..1]
LEFT OUTER JOIN C_PurchasingOrganizationDP AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [1..1]
LEFT OUTER JOIN C_PurchasingGroupDP AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [1..1]
LEFT OUTER JOIN C_PurchaseOrderDP AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [1..1]
LEFT OUTER JOIN C_ServiceEntrySheetItemDP AS _ServiceEntrySheetItemDP ON /* condition not available in parsed metadata */  -- association [0..*]
;