I_ServiceEntrySheetItem

DDL: I_SERVICEENTRYSHEETITEM SQL: ISRVCENTRSHTITM Type: view COMPOSITE Package: APPL_MM_PUR_SES_TR

Service Entry Sheet Item

I_ServiceEntrySheetItem is a Composite CDS View that provides data about "Service Entry Sheet Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetItemBasic) and exposes 88 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem. It has 18 associations to related views. Part of development package APPL_MM_PUR_SES_TR.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetItemBasic Document from

Associations (18)

CardinalityTargetAliasCondition
[1..1] I_ServiceEntrySheet _ServiceEntrySheet $projection.ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet
[1..*] I_ServiceEntrySheetAcctAssgmt _AccountAssignment $projection.ServiceEntrySheet = _AccountAssignment.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _AccountAssignment.ServiceEntrySheetItem
[0..1] I_MaterialGroup _MaterialGroupValueHelp $projection.PurchaseOrderItemMaterialGroup = _MaterialGroupValueHelp.MaterialGroup
[0..*] I_MaterialGroupText _MaterialGroupText $projection.MaterialGroup = _MaterialGroupText.MaterialGroup
[0..1] I_AcctAssignmentCategoryText _AcctAssignmentCategoryText $projection.AccountAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory and _AcctAssignmentCategoryText.Language = $session.system_language
[0..1] I_SrvcEntrShtAcctAssgmtCat _SrvcEntrShtAcctAssgmtCat _SrvcEntrShtAcctAssgmtCat.AccountAssignmentCategory = $projection.AccountAssignmentCategory
[0..1] I_PurchaseOrder _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[0..1] R_PurchaseOrderItem _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
[0..1] I_ProductTypeCodeText _ProductTypeText _ProductTypeText.ProductTypeCode = $projection.ProductType and _ProductTypeText.Language = $session.system_language
[0..1] I_PurgDocScheduleLine _ScheduleLine $projection.PurchaseOrder = _ScheduleLine.PurchasingDocument and $projection.PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem
[0..1] I_Currency _DocumentCurrency $projection.Currency = _DocumentCurrency.Currency
[0..*] I_UnitOfMeasureText _UnitText $projection.QuantityUnit = _UnitText.UnitOfMeasure
[0..1] I_UnitOfMeasure _PurOrdUnitOfMsrValHelp $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrValHelp.UnitOfMeasure
[0..*] I_UnitOfMeasureText _PurOrdUnitOfMsrTxt $projection.PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrTxt.UnitOfMeasure
[0..1] I_WorkItemText _WorkItemText $projection.WorkItem = _WorkItemText.WorkItem and _WorkItemText.Language = $session.system_language
[0..*] I_SESPricingElement _SESPricingElement $projection.ServiceEntrySheet = _SESPricingElement.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _SESPricingElement.ServiceEntrySheetItem and $projection.ServiceEntrySheetItem is not initial
[0..*] I_ServiceEntrySheetItemNote _ServiceEntrySheetItemNote $projection.ServiceEntrySheet = _ServiceEntrySheetItemNote.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItemNote.ServiceEntrySheetItem and $projection.ServiceEntrySheetItem is not initial ----Extension
[1..1] E_ServiceEntrySheetItem _ServiceEntrySheetItmExtension $projection.ServiceEntrySheet = _ServiceEntrySheetItmExtension.ServiceEntrySheet and $projection.ServiceEntrySheetItem = _ServiceEntrySheetItmExtension.ServiceEntrySheetItem

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName ISRVCENTRSHTITM view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
EndUserText.label Service Entry Sheet Item view
VDM.viewType #COMPOSITE view
ObjectModel.representativeKey ServiceEntrySheetItem 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 (88)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet I_ServiceEntrySheetItemBasic ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem I_ServiceEntrySheetItemBasic ServiceEntrySheetItem Item Number of SES
ServiceEntrySheetItemUniqueID
PurchaseOrder I_ServiceEntrySheetItemBasic PurchaseOrder Reference Purchase Order
PurchaseOrderItem I_ServiceEntrySheetItemBasic PurchaseOrderItem Purchasing Document Item
IsDeleted I_ServiceEntrySheetItemBasic IsDeleted TRUE
Service I_ServiceEntrySheetItemBasic Service Service Type
ServiceEntrySheetItemDesc I_ServiceEntrySheetItemBasic ServiceEntrySheetItemDesc Well Code Des.
ServicePerformer I_ServiceEntrySheetItemBasic ServicePerformer Service Performer
AccountAssignmentCategory I_ServiceEntrySheetItemBasic AccountAssignmentCategory Acct Assgmt Cat
MultipleAcctAssgmtDistribution I_ServiceEntrySheetItemBasic MultipleAcctAssgmtDistribution Distribution
WorkItem I_ServiceEntrySheetItemBasic WorkItem Work Item ID
ConfirmedQuantity I_ServiceEntrySheetItemBasic ConfirmedQuantity Quantity in UnE
QuantityUnit I_ServiceEntrySheetItemBasic QuantityUnit Unit of measure
OrderPriceUnit I_ServiceEntrySheetItemBasic OrderPriceUnit Order Price Un.
OrderPriceUnitToOrderUnitNmrtr I_ServiceEntrySheetItemBasic OrderPriceUnitToOrderUnitNmrtr Quantity Conversion Numerator
OrdPriceUnitToOrderUnitDnmntr I_ServiceEntrySheetItemBasic OrdPriceUnitToOrderUnitDnmntr Quantity Conversion Denominator
QtyInPurchaseOrderPriceUnit I_ServiceEntrySheetItemBasic QtyInPurchaseOrderPriceUnit Qty in OPUn
NetPriceQuantity I_ServiceEntrySheetItemBasic NetPriceQuantity Price Unit
ServicePerformanceDate I_ServiceEntrySheetItemBasic ServicePerformanceDate Performance Date
ServicePerformanceEndDate I_ServiceEntrySheetItemBasic ServicePerformanceEndDate Performance End Date
PerformancePeriodStartDate _ScheduleLine PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate _ScheduleLine PerformancePeriodEndDate End of Performance Period
OriginObject I_ServiceEntrySheetItemBasic OriginObject Reference Document
Currency I_ServiceEntrySheetItemBasic Currency Valuation Crcy
NetPriceAmount I_ServiceEntrySheetItemBasic NetPriceAmount Net Price
MaterialGroup I_ServiceEntrySheetItemBasic MaterialGroup Product Group
IsEndOfPurposeBlocked I_ServiceEntrySheetItemBasic IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
CreationDateTime Timestamp
CreatedByUser I_ServiceEntrySheetItemBasic CreatedByUser User Name
LastChangeDateTime I_ServiceEntrySheetItemBasic LastChangeDateTime Timestamp
LastChangeUser I_ServiceEntrySheetItemBasic LastChangeUser User Name
Plant I_ServiceEntrySheetItemBasic Plant Valuation Area
PurgDocItemExternalReference I_ServiceEntrySheetItemBasic PurgDocItemExternalReference Ext. Reference ID
PurchaseContract I_ServiceEntrySheetItemBasic PurchaseContract Purchasing Doc.
PurchaseContractItem I_ServiceEntrySheetItemBasic PurchaseContractItem Item
PurchasingOrganization I_ServiceEntrySheetItemBasic PurchasingOrganization Purchasing Organization
PurchasingGroup I_ServiceEntrySheetItemBasic PurchasingGroup Purchasing Group
ParentObjectIsDeleted I_ServiceEntrySheetItemBasic ParentObjectIsDeleted TRUE
PurOrderItemPlant
PurchaseOrderType
Supplier _PurchaseOrder Supplier Supplier
PurchaseOrderItemMaterialGroup _PurchaseOrderItem MaterialGroup Product Group
PurchaseOrderItemQuantity _PurchaseOrderItem OrderQuantity Quantity
PurchaseOrderItemQuantityUnit _PurchaseOrderItem PurchaseOrderQuantityUnit Order Unit
PurchaseOrderItemNetAmount _PurchaseOrderItem NetAmount Stated Amount
PurchaseOrderCurrency _PurchaseOrderItem DocumentCurrency Purchase Order Currency
PurchaseOrderItemCompanyCode _PurchaseOrderItem CompanyCode Receiver Company Code
OverdelivTolrtdLmtRatioInPct _PurchaseOrderItem OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
PurchaseOrderItemCategory _PurchaseOrderItem PurchaseOrderItemCategory Item Category
ExpectedOverallLimitAmount _PurchaseOrderItem ExpectedOverallLimitAmount Expected Value
OverallLimitAmount _PurchaseOrderItem OverallLimitAmount Overall Limit
TotalConfirmedQuantity
OpenQuantity
OpenAmountInPurchaseOrderCrcy
NetAmount I_ServiceEntrySheetItemBasic NetAmount Stated Amount
NetAmountInPurchaseOrderCrcy I_ServiceEntrySheetItemBasic NetAmount Stated Amount
NonDeductibleInputTaxAmount I_ServiceEntrySheetItemBasic NonDeductibleInputTaxAmount Non-deductible
SESNetAmountInclSalesTax
TaxCode I_ServiceEntrySheetItemBasic TaxCode Tax Code
TaxCountry I_ServiceEntrySheetItemBasic TaxCountry Tax Ctry/Reg.
TaxDeterminationDate I_ServiceEntrySheetItemBasic TaxDeterminationDate Tx Determination Dte
TaxJurisdiction I_ServiceEntrySheetItemBasic TaxJurisdiction Tax Jurisdiction
TaxCalculationProcedure I_ServiceEntrySheetItemBasic TaxCalculationProcedure Tax Procedure
PurgDocPriceDate I_ServiceEntrySheetItemBasic PurgDocPriceDate Price Date
SESItemIsFinalEntry I_ServiceEntrySheetItemBasic SESItemIsFinalEntry Final Entry
MaterialType _Material MaterialType Material Type
ConsumptionPosting _AccountAssignmentCategory ConsumptionPosting Consumption Posting
InventorySpecialStockType _AccountAssignmentCategory InventorySpecialStockType Special Stock Type
ProductType _PurchaseOrderItem ProductType Product Type Group
_ServiceEntrySheet _ServiceEntrySheet
_AccountAssignment _AccountAssignment
_SESPricingElement _SESPricingElement
_ServiceEntrySheetItemNote _ServiceEntrySheetItemNote
_Material I_ServiceEntrySheetItemBasic _Material
_MaterialGroup I_ServiceEntrySheetItemBasic _MaterialGroup
_AccountAssignmentCategory I_ServiceEntrySheetItemBasic _AccountAssignmentCategory
_UnitValueHelp I_ServiceEntrySheetItemBasic _UnitValueHelp
_MaterialGroupText _MaterialGroupText
_MaterialGroupValueHelp _MaterialGroupValueHelp
_AcctAssignmentCategoryText _AcctAssignmentCategoryText
_SrvcEntrShtAcctAssgmtCat _SrvcEntrShtAcctAssgmtCat
_DocumentCurrency _DocumentCurrency
_UnitText _UnitText
_PurOrdUnitOfMsrValHelp _PurOrdUnitOfMsrValHelp
_PurOrdUnitOfMsrTxt _PurOrdUnitOfMsrTxt
_WorkItemText _WorkItemText
_ProductTypeText _ProductTypeText

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_ServiceEntrySheetItem.
-- 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: ISRVCENTRSHTITM

CREATE VIEW I_ServiceEntrySheetItem AS
SELECT
  Document.ServiceEntrySheet AS ServiceEntrySheet,
  Document.ServiceEntrySheetItem AS ServiceEntrySheetItem,
  cast(concat(Document.ServiceEntrySheet, Document.ServiceEntrySheetItem) as purchasingdocumentitemuniqueid) AS ServiceEntrySheetItemUniqueID,
  Document.PurchaseOrder AS PurchaseOrder,
  Document.PurchaseOrderItem AS PurchaseOrderItem,
  Document.IsDeleted AS IsDeleted,
  Document.Service AS Service,
  Document.ServiceEntrySheetItemDesc AS ServiceEntrySheetItemDesc,
  Document.ServicePerformer AS ServicePerformer,
  Document.AccountAssignmentCategory AS AccountAssignmentCategory,
  Document.MultipleAcctAssgmtDistribution AS MultipleAcctAssgmtDistribution,
  Document.WorkItem AS WorkItem,
  Document.ConfirmedQuantity AS ConfirmedQuantity,
  Document.QuantityUnit AS QuantityUnit,
  Document.OrderPriceUnit AS OrderPriceUnit,
  Document.OrderPriceUnitToOrderUnitNmrtr AS OrderPriceUnitToOrderUnitNmrtr,
  Document.OrdPriceUnitToOrderUnitDnmntr AS OrdPriceUnitToOrderUnitDnmntr,
  Document.QtyInPurchaseOrderPriceUnit AS QtyInPurchaseOrderPriceUnit,
  Document.NetPriceQuantity AS NetPriceQuantity,
  Document.ServicePerformanceDate AS ServicePerformanceDate,
  Document.ServicePerformanceEndDate AS ServicePerformanceEndDate,
  _ScheduleLine.PerformancePeriodStartDate AS PerformancePeriodStartDate,
  _ScheduleLine.PerformancePeriodEndDate AS PerformancePeriodEndDate,
  Document.OriginObject AS OriginObject,
  Document.Currency AS Currency,
  Document.NetPriceAmount AS NetPriceAmount,
  Document.MaterialGroup AS MaterialGroup,
  Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  cast(CreationDateTime as mmpur_ses_created_on preserving type ) AS CreationDateTime,
  Document.CreatedByUser AS CreatedByUser,
  Document.LastChangeDateTime AS LastChangeDateTime,
  Document.LastChangeUser AS LastChangeUser,
  Document.Plant AS Plant,
  Document.PurgDocItemExternalReference AS PurgDocItemExternalReference,
  Document.PurchaseContract AS PurchaseContract,
  Document.PurchaseContractItem AS PurchaseContractItem,
  Document.PurchasingOrganization AS PurchasingOrganization,
  Document.PurchasingGroup AS PurchasingGroup,
  Document.ParentObjectIsDeleted AS ParentObjectIsDeleted,
  cast(' ' as ewerk) AS PurOrderItemPlant,
  cast(' ' as esart) AS PurchaseOrderType,
  _PurchaseOrder.Supplier AS Supplier,
  _PurchaseOrderItem.MaterialGroup AS PurchaseOrderItemMaterialGroup,
  _PurchaseOrderItem.OrderQuantity AS PurchaseOrderItemQuantity,
  _PurchaseOrderItem.PurchaseOrderQuantityUnit AS PurchaseOrderItemQuantityUnit,
  _PurchaseOrderItem.NetAmount AS PurchaseOrderItemNetAmount,
  _PurchaseOrderItem.DocumentCurrency AS PurchaseOrderCurrency,
  _PurchaseOrderItem.CompanyCode AS PurchaseOrderItemCompanyCode,
  _PurchaseOrderItem.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
  _PurchaseOrderItem.PurchaseOrderItemCategory AS PurchaseOrderItemCategory,
  _PurchaseOrderItem.ExpectedOverallLimitAmount AS ExpectedOverallLimitAmount,
  _PurchaseOrderItem.OverallLimitAmount AS OverallLimitAmount,
  cast(0 as mmpur_ses_confirmedquantity) AS TotalConfirmedQuantity,
  cast(0 as mmpur_ses_openquantity) AS OpenQuantity,
  cast(0 as mmpur_ses_open_amount_po_crcy) AS OpenAmountInPurchaseOrderCrcy,
  Document.NetAmount AS NetAmount,
  Document.NetAmount AS NetAmountInPurchaseOrderCrcy,
  Document.NonDeductibleInputTaxAmount AS NonDeductibleInputTaxAmount,
  cast( (Document.NetAmount + Document.NonDeductibleInputTaxAmount ) as mmpur_ses_confirmedvalue_w_tax ) AS SESNetAmountInclSalesTax,
  Document.TaxCode AS TaxCode,
  Document.TaxCountry AS TaxCountry,
  Document.TaxDeterminationDate AS TaxDeterminationDate,
  Document.TaxJurisdiction AS TaxJurisdiction,
  Document.TaxCalculationProcedure AS TaxCalculationProcedure,
  Document.PurgDocPriceDate AS PurgDocPriceDate,
  Document.SESItemIsFinalEntry AS SESItemIsFinalEntry,
  _Material.MaterialType AS MaterialType,
  _AccountAssignmentCategory.ConsumptionPosting AS ConsumptionPosting,
  _AccountAssignmentCategory.InventorySpecialStockType AS InventorySpecialStockType,
  _PurchaseOrderItem.ProductType AS ProductType,
  Document._Material AS _Material,
  Document._MaterialGroup AS _MaterialGroup,
  Document._AccountAssignmentCategory AS _AccountAssignmentCategory,
  Document._UnitValueHelp AS _UnitValueHelp
FROM I_ServiceEntrySheetItemBasic AS Document
LEFT OUTER JOIN I_ServiceEntrySheet AS _ServiceEntrySheet ON ServiceEntrySheet = _ServiceEntrySheet.ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN I_ServiceEntrySheetAcctAssgmt AS _AccountAssignment ON ServiceEntrySheet = _AccountAssignment.ServiceEntrySheet AND ServiceEntrySheetItem = _AccountAssignment.ServiceEntrySheetItem  -- association [1..*]
LEFT OUTER JOIN I_MaterialGroup AS _MaterialGroupValueHelp ON PurchaseOrderItemMaterialGroup = _MaterialGroupValueHelp.MaterialGroup  -- association [0..1]
LEFT OUTER JOIN I_MaterialGroupText AS _MaterialGroupText ON MaterialGroup = _MaterialGroupText.MaterialGroup  -- association [0..*]
LEFT OUTER JOIN I_AcctAssignmentCategoryText AS _AcctAssignmentCategoryText ON AccountAssignmentCategory = _AcctAssignmentCategoryText.AccountAssignmentCategory AND _AcctAssignmentCategoryText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SrvcEntrShtAcctAssgmtCat AS _SrvcEntrShtAcctAssgmtCat ON _SrvcEntrShtAcctAssgmtCat.AccountAssignmentCategory = AccountAssignmentCategory  -- association [0..1]
LEFT OUTER JOIN I_PurchaseOrder AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [0..1]
LEFT OUTER JOIN R_PurchaseOrderItem AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem  -- association [0..1]
LEFT OUTER JOIN I_ProductTypeCodeText AS _ProductTypeText ON _ProductTypeText.ProductTypeCode = ProductType AND _ProductTypeText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_PurgDocScheduleLine AS _ScheduleLine ON PurchaseOrder = _ScheduleLine.PurchasingDocument AND PurchaseOrderItem = _ScheduleLine.PurchasingDocumentItem  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON Currency = _DocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _UnitText ON QuantityUnit = _UnitText.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_UnitOfMeasure AS _PurOrdUnitOfMsrValHelp ON PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrValHelp.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasureText AS _PurOrdUnitOfMsrTxt ON PurchaseOrderItemQuantityUnit = _PurOrdUnitOfMsrTxt.UnitOfMeasure  -- association [0..*]
LEFT OUTER JOIN I_WorkItemText AS _WorkItemText ON WorkItem = _WorkItemText.WorkItem AND _WorkItemText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_SESPricingElement AS _SESPricingElement ON ServiceEntrySheet = _SESPricingElement.ServiceEntrySheet AND ServiceEntrySheetItem = _SESPricingElement.ServiceEntrySheetItem AND ServiceEntrySheetItem is not initial  -- association [0..*]
LEFT OUTER JOIN I_ServiceEntrySheetItemNote AS _ServiceEntrySheetItemNote ON ServiceEntrySheet = _ServiceEntrySheetItemNote.ServiceEntrySheet AND ServiceEntrySheetItem = _ServiceEntrySheetItemNote.ServiceEntrySheetItem AND ServiceEntrySheetItem is not initial  -- association [0..*]
LEFT OUTER JOIN E_ServiceEntrySheetItem AS _ServiceEntrySheetItmExtension ON ServiceEntrySheet = _ServiceEntrySheetItmExtension.ServiceEntrySheet AND ServiceEntrySheetItem = _ServiceEntrySheetItmExtension.ServiceEntrySheetItem  -- association [1..1]
;