C_ServiceEntrySheetItemDP

DDL: C_SERVICEENTRYSHEETITEMDP Type: view_entity CONSUMPTION Package: MM_PUR_OPL_PROC_BDC

Service Entry Sheet Item

C_ServiceEntrySheetItemDP is a Consumption CDS View that provides data about "Service Entry Sheet Item" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetItemAPI01) and exposes 40 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem. It has 11 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_ServiceEntrySheetItemAPI01 I_ServiceEntrySheetItemAPI01 from

Associations (11)

CardinalityTargetAliasCondition
[0..1] I_Product _Product $projection.Service = _Product.Product
[0..1] I_AccountAssignmentCategory _AccountAssignmentCategory $projection.AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory
[0..1] I_UnitOfMeasure _UnitOfMeasure $projection.QuantityUnit = _UnitOfMeasure.UnitOfMeasure
[0..1] I_Currency _DocumentCurrency $projection.Currency = _DocumentCurrency.Currency
[0..1] C_PurchasingOrganizationDP _PurchasingOrganization $projection.PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization
[0..1] C_PurchasingGroupDP _PurchasingGroup $projection.PurchasingGroup = _PurchasingGroup.PurchasingGroup
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant
[1..1] C_PurchaseOrderDP _PurchaseOrder $projection.PurchaseOrder = _PurchaseOrder.PurchaseOrder
[1..1] C_PurchaseOrderItemDP _PurchaseOrderItem $projection.PurchaseOrder = _PurchaseOrderItem.PurchaseOrder and $projection.PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem
[0..1] C_PurchaseContractDP _PurchaseContract $projection.PurchaseContract = _PurchaseContract.PurchaseContract
[0..1] C_PurchaseContractItemDP _PurchaseContractItem $projection.PurchaseContract = _PurchaseContractItem.PurchaseContract and $projection.PurchaseContractItem = _PurchaseContractItem.PurchaseContractItem

Annotations (13)

NameValueLevelField
Metadata.allowExtensions true view
AccessControl.authorizationCheck #MANDATORY view
DataIntegration.deltaReplication.intended true view
EndUserText.label Service Entry Sheet Item view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #EXTERNAL_DATA_PROVIDER view
ObjectModel.sapObjectNodeType.name ServiceEntrySheetItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B 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 (40)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem ServiceEntrySheetItem Item Number of SES
_Plant _Plant
_PurchasingGroup _PurchasingGroup
_PurchasingOrganization _PurchasingOrganization
_DocumentCurrency _DocumentCurrency
_UnitOfMeasure _UnitOfMeasure
_AccountAssignmentCategory _AccountAssignmentCategory
_Product _Product
_ServiceEntrySheetDP _ServiceEntrySheetDP
LastChangedByUser User Name
LastChangeDateTime Timestamp
CreatedByUser User Name
CreationDateTime Timestamp
IsEndOfPurposeBlocked IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
Plant Plant Valuation Area
PurchasingGroup PurchasingGroup Purchasing Group
PurchasingOrganization PurchasingOrganization Purchasing Organization
PurchaseContractItem PurchaseContractItem Item
PurchaseContract PurchaseContract Purchasing Doc.
PurgDocItemExternalReference PurgDocItemExternalReference
Currency Currency Valuation Crcy
NetPriceAmount Price per Unit
NetAmount Stated Amount
ServicePerformanceDate ServicePerformanceDate
QuantityUnit QuantityUnit Unit of measure
ConfirmedQuantity ConfirmedQuantity Quantity in UnE
WorkItem WorkItem Work Item ID
MultipleAcctAssgmtDistribution MultipleAcctAssgmtDistribution Distribution
AccountAssignmentCategory AccountAssignmentCategory Acct Assgmt Cat
ServicePerformer ServicePerformer Service Performer
ServiceEntrySheetItemDesc ServiceEntrySheetItemDesc
Service Service Service Type
IsDeleted Deletion Indicator in Purg Document
PurchaseOrderItem PurchaseOrderItem Purchasing Document Item
PurchaseOrder PurchaseOrder Purchasing Document
_PurchaseOrder _PurchaseOrder
_PurchaseOrderItem _PurchaseOrderItem
_PurchaseContract _PurchaseContract
_PurchaseContractItem _PurchaseContractItem

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_ServiceEntrySheetItemDP.
-- 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_ServiceEntrySheetItemDP AS
SELECT
  ServiceEntrySheet,
  ServiceEntrySheetItem,
  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,
  Plant,
  PurchasingGroup,
  PurchasingOrganization,
  PurchaseContractItem,
  PurchaseContract,
  PurgDocItemExternalReference,
  Currency,
  curr_to_decfloat_amount(NetPriceAmount) AS NetPriceAmount,
  curr_to_decfloat_amount(NetAmount) AS NetAmount,
  ServicePerformanceDate,
  QuantityUnit,
  ConfirmedQuantity,
  WorkItem,
  MultipleAcctAssgmtDistribution,
  AccountAssignmentCategory,
  ServicePerformer,
  ServiceEntrySheetItemDesc,
  Service,
  cast(IsDeleted as loekz) AS IsDeleted,
  PurchaseOrderItem,
  PurchaseOrder
FROM I_ServiceEntrySheetItemAPI01
LEFT OUTER JOIN I_Product AS _Product ON Service = _Product.Product  -- association [0..1]
LEFT OUTER JOIN I_AccountAssignmentCategory AS _AccountAssignmentCategory ON AccountAssignmentCategory = _AccountAssignmentCategory.AccountAssignmentCategory  -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON QuantityUnit = _UnitOfMeasure.UnitOfMeasure  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _DocumentCurrency ON Currency = _DocumentCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN C_PurchasingOrganizationDP AS _PurchasingOrganization ON PurchasingOrganization = _PurchasingOrganization.PurchasingOrganization  -- association [0..1]
LEFT OUTER JOIN C_PurchasingGroupDP AS _PurchasingGroup ON PurchasingGroup = _PurchasingGroup.PurchasingGroup  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
LEFT OUTER JOIN C_PurchaseOrderDP AS _PurchaseOrder ON PurchaseOrder = _PurchaseOrder.PurchaseOrder  -- association [1..1]
LEFT OUTER JOIN C_PurchaseOrderItemDP AS _PurchaseOrderItem ON PurchaseOrder = _PurchaseOrderItem.PurchaseOrder AND PurchaseOrderItem = _PurchaseOrderItem.PurchaseOrderItem  -- association [1..1]
LEFT OUTER JOIN C_PurchaseContractDP AS _PurchaseContract ON PurchaseContract = _PurchaseContract.PurchaseContract  -- association [0..1]
LEFT OUTER JOIN C_PurchaseContractItemDP AS _PurchaseContractItem ON PurchaseContract = _PurchaseContractItem.PurchaseContract AND PurchaseContractItem = _PurchaseContractItem.PurchaseContractItem  -- association [0..1]
;