I_ServiceEntrySheet

DDL: I_SERVICEENTRYSHEET SQL: ISRVCENTRSHT Type: view COMPOSITE Package: APPL_MM_PUR_SES_TR

Service Entry Sheet

I_ServiceEntrySheet is a Composite CDS View that provides data about "Service Entry Sheet" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetBasic) and exposes 42 fields with key field ServiceEntrySheet. It has 9 associations to related views. Part of development package APPL_MM_PUR_SES_TR.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetBasic Document from

Associations (9)

CardinalityTargetAliasCondition
[1..*] I_ServiceEntrySheetItem _ServiceEntrySheetItem $projection.ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet
[0..*] I_SrvcEntrShtApprvlStsTxt _ApprovalStatusText $projection.ApprovalStatus = _ApprovalStatusText.ApprovalStatus
[1..1] I_SESWorkflowStatus _SESWorkflowStatus $projection.ServiceEntrySheet = _SESWorkflowStatus.ServiceEntrySheet
[0..1] I_SESWorkflowStatusValueHelp _WorkflowStatusValueHelp $projection.sesworkflowstatus = _WorkflowStatusValueHelp.SESWorkflowStatus
[0..*] I_SESWorkflowStatusText _WorkflowStatusText $projection.sesworkflowstatus = _WorkflowStatusText.SESWorkflowStatus
[0..*] I_SrvcEntrShtPurOrdValueHelp _SrvcEntrShtPurOrdValueHelp _SrvcEntrShtPurOrdValueHelp.PurchaseOrder = $projection.PurchaseOrder
[0..1] I_PurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[0..1] I_Currency _DocumentCurrency $projection.Currency = _DocumentCurrency.Currency ----Extension
[1..1] E_ServiceEntrySheet _ServiceEntrySheetExtension $projection.ServiceEntrySheet = _ServiceEntrySheetExtension.ServiceEntrySheet

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName ISRVCENTRSHT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
EndUserText.label Service Entry Sheet view
ObjectModel.compositionRoot true view
ObjectModel.representativeKey ServiceEntrySheet view
ObjectModel.updateEnabled EXTERNAL_CALCULATION view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view

Fields (42)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet I_ServiceEntrySheetBasic ServiceEntrySheet Service Entry Sheet
ServiceEntrySheetName I_ServiceEntrySheetBasic ServiceEntrySheetName Zone name
Supplier I_ServiceEntrySheetBasic Supplier Supplier
SupplierName
PurchaseOrder I_ServiceEntrySheetBasic PurchaseOrder Purchasing Document
PurchaseOrderCurrency _PurchaseOrder DocumentCurrency Document Currency
IsDeleted I_ServiceEntrySheetBasic IsDeleted TRUE
ApprovalStatus I_ServiceEntrySheetBasic ApprovalStatus Document Status
SESWorkflowStatus _SESWorkflowStatus SESWorkflowStatus
ApprovalDateTime I_ServiceEntrySheetBasic ApprovalDateTime Time Stamp
ResponsiblePerson I_ServiceEntrySheetBasic ResponsiblePerson Processor
OriginObjectType I_ServiceEntrySheetBasic OriginObjectType Origin
Currency I_ServiceEntrySheetBasic Currency Valuation Crcy
MaterialDocument I_ServiceEntrySheetBasic MaterialDocument Material Doc.
MaterialDocumentYear I_ServiceEntrySheetBasic MaterialDocumentYear Material Document Year
CreationDateTime Timestamp
CreatedByUser I_ServiceEntrySheetBasic CreatedByUser User Name
LastChangeDateTime
LastChangeUser I_ServiceEntrySheetBasic LastChangeUser User Name
PurchasingOrganization I_ServiceEntrySheetBasic PurchasingOrganization Purchasing Organization
PurchasingGroup I_ServiceEntrySheetBasic PurchasingGroup Purchasing Group
IsEndOfPurposeBlocked I_ServiceEntrySheetBasic IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
PurgDocExternalSystem I_ServiceEntrySheetBasic PurgDocExternalSystem Ext. Ref. System
PurgDocExternalReference I_ServiceEntrySheetBasic PurgDocExternalReference Ext. Reference ID
ExternalRevisionDateTime I_ServiceEntrySheetBasic ExternalRevisionDateTime External Revision
PostingDate I_ServiceEntrySheetBasic PostingDate Posting Date for GR
PricingDocument I_ServiceEntrySheetBasic PricingDocument Document Condition
TotalNetAmount
TotalSESNetAmountInclSalesTax
_ApprovalStatusValueHelp I_ServiceEntrySheetBasic _ApprovalStatusValueHelp
_ResponsiblePersonValueHelp I_ServiceEntrySheetBasic _ResponsiblePersonValueHelp
_Supplier I_ServiceEntrySheetBasic _Supplier
_ServiceEntrySheetItem _ServiceEntrySheetItem
_CreatedByUser _CreatedByUser
_LastChangeUser _LastChangeUser
_DocumentCurrency _DocumentCurrency
_PurchaseOrderCurrency _PurchaseOrder _DocumentCurrency
_SrvcEntrShtPurOrdValueHelp _SrvcEntrShtPurOrdValueHelp
_ApprovalStatusText _ApprovalStatusText
_SESWorkflowStatus _SESWorkflowStatus
_WorkflowStatusValueHelp _WorkflowStatusValueHelp
_WorkflowStatusText _WorkflowStatusText

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 I_ServiceEntrySheet.
-- 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: ISRVCENTRSHT

CREATE VIEW I_ServiceEntrySheet AS
SELECT
  Document.ServiceEntrySheet AS ServiceEntrySheet,
  Document.ServiceEntrySheetName AS ServiceEntrySheetName,
  Document.Supplier AS Supplier,
  cast(_Supplier.SupplierName as bu_name1tx) AS SupplierName,
  Document.PurchaseOrder AS PurchaseOrder,
  _PurchaseOrder.DocumentCurrency AS PurchaseOrderCurrency,
  Document.IsDeleted AS IsDeleted,
  Document.ApprovalStatus AS ApprovalStatus,
  _SESWorkflowStatus.SESWorkflowStatus AS SESWorkflowStatus,
  Document.ApprovalDateTime AS ApprovalDateTime,
  Document.ResponsiblePerson AS ResponsiblePerson,
  Document.OriginObjectType AS OriginObjectType,
  Document.Currency AS Currency,
  Document.MaterialDocument AS MaterialDocument,
  Document.MaterialDocumentYear AS MaterialDocumentYear,
  cast(CreationDateTime as mmpur_ses_created_on) AS CreationDateTime,
  Document.CreatedByUser AS CreatedByUser,
  cast(Document.LastChangeDateTime as mmpur_ses_changed_on) AS LastChangeDateTime,
  Document.LastChangeUser AS LastChangeUser,
  Document.PurchasingOrganization AS PurchasingOrganization,
  Document.PurchasingGroup AS PurchasingGroup,
  Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  Document.PurgDocExternalSystem AS PurgDocExternalSystem,
  Document.PurgDocExternalReference AS PurgDocExternalReference,
  Document.ExternalRevisionDateTime AS ExternalRevisionDateTime,
  Document.PostingDate AS PostingDate,
  Document.PricingDocument AS PricingDocument,
  cast( 0 as mmpur_ses_confirmedvalue ) AS TotalNetAmount,
  cast( 0 as mmpur_ses_total_conf_val_w_tax ) AS TotalSESNetAmountInclSalesTax,
  Document._ApprovalStatusValueHelp AS _ApprovalStatusValueHelp,
  Document._ResponsiblePersonValueHelp AS _ResponsiblePersonValueHelp,
  Document._Supplier AS _Supplier,
  _PurchaseOrder._DocumentCurrency AS _PurchaseOrderCurrency
FROM I_ServiceEntrySheetBasic AS Document
LEFT OUTER JOIN I_ServiceEntrySheetItem AS _ServiceEntrySheetItem ON ServiceEntrySheet = _ServiceEntrySheetItem.ServiceEntrySheet  -- association [1..*]
LEFT OUTER JOIN I_SrvcEntrShtApprvlStsTxt AS _ApprovalStatusText ON ApprovalStatus = _ApprovalStatusText.ApprovalStatus  -- association [0..*]
LEFT OUTER JOIN I_SESWorkflowStatus AS _SESWorkflowStatus ON ServiceEntrySheet = _SESWorkflowStatus.ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN I_SESWorkflowStatusValueHelp AS _WorkflowStatusValueHelp ON sesworkflowstatus = _WorkflowStatusValueHelp.SESWorkflowStatus  -- association [0..1]
LEFT OUTER JOIN I_SESWorkflowStatusText AS _WorkflowStatusText ON sesworkflowstatus = _WorkflowStatusText.SESWorkflowStatus  -- association [0..*]
LEFT OUTER JOIN I_SrvcEntrShtPurOrdValueHelp AS _SrvcEntrShtPurOrdValueHelp ON _SrvcEntrShtPurOrdValueHelp.PurchaseOrder = PurchaseOrder  -- association [0..*]
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON Currency = _DocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN E_ServiceEntrySheet AS _ServiceEntrySheetExtension ON ServiceEntrySheet = _ServiceEntrySheetExtension.ServiceEntrySheet  -- association [1..1]
;