C_ServiceEntrySheetItemWD

DDL: C_SERVICEENTRYSHEETITEMWD SQL: CSRVCENTRSH000WD Type: view CONSUMPTION Package: APPL_MM_PUR_SES_TR

Service Entry Sheet Item With Draft

C_ServiceEntrySheetItemWD is a Consumption CDS View that provides data about "Service Entry Sheet Item With Draft" in SAP S/4HANA. It reads from 1 data source (I_ServiceEntrySheetItemTP) and exposes 94 fields with key fields ServiceEntrySheet, ServiceEntrySheetItem. It has 6 associations to related views. Part of development package APPL_MM_PUR_SES_TR.

Data Sources (1)

SourceAliasJoin Type
I_ServiceEntrySheetItemTP Document from

Associations (6)

CardinalityTargetAliasCondition
[1..1] C_ServiceEntrySheetWD _ServiceEntrySheet _ServiceEntrySheet.ServiceEntrySheet = $projection.ServiceEntrySheet
[1..*] C_SESAccountAssignmentWD _AccountAssignment _AccountAssignment.ServiceEntrySheet = $projection.ServiceEntrySheet and _AccountAssignment.ServiceEntrySheetItem = $projection.ServiceEntrySheetItem
[1..*] C_SESPricingElementTP _SESPricingElementTP _SESPricingElementTP.ServiceEntrySheet = $projection.ServiceEntrySheet and _SESPricingElementTP.ServiceEntrySheetItem = $projection.ServiceEntrySheetItem
[0..1] C_MM_TaxCodeValueHelp _TaxCode _TaxCode.TaxCode = $projection.TaxCode and _TaxCode.TaxCalculationProcedure = $projection.TaxCalculationProcedure
[0..*] C_SESTaxJurisdictionValueHelp _TaxJurisdictionValueHelp _TaxJurisdictionValueHelp.TaxJurisdiction = $projection.TaxJurisdiction and _TaxJurisdictionValueHelp.CompanyCode = $projection.PurchaseOrderItemCompanyCode
[0..1] I_CountryText _CountryText _CountryText.Country = $projection.TaxCountry and _CountryText.Language = $session.system_language

Annotations (19)

NameValueLevelField
AbapCatalog.sqlViewName CSRVCENTRSH000WD view
EndUserText.label Service Entry Sheet Item With Draft view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
Search.searchable true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.createEnabled true view
ObjectModel.draftEnabled true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
UI.headerInfo.typeName Service Entry Sheet Item view
UI.headerInfo.typeNamePlural Service Entry Sheet Items view
UI.headerInfo.description.value ServiceEntrySheetItem view
UI.headerInfo.title.value ServiceEntrySheetItemDesc view

Fields (94)

KeyFieldSource TableSource FieldDescription
KEY ServiceEntrySheet I_ServiceEntrySheetItemTP ServiceEntrySheet Service Entry Sheet
KEY ServiceEntrySheetItem I_ServiceEntrySheetItemTP ServiceEntrySheetItem Item Number of SES
PurchaseOrder I_ServiceEntrySheetItemTP PurchaseOrder Purchasing Document
PurchaseOrderItem I_ServiceEntrySheetItemTP PurchaseOrderItem Purchase Order Item
IsDeleted I_ServiceEntrySheetItemTP IsDeleted TRUE
Service I_ServiceEntrySheetItemTP Service Service Type
ServiceEntrySheetItemDesc I_ServiceEntrySheetItemTP ServiceEntrySheetItemDesc
ServicePerformer I_ServiceEntrySheetItemTP ServicePerformer Service Performer
ServicePerformerName I_ServiceEntrySheetItemTP ServicePerformerName
FormattedAddress
AddressID
InternationalPhoneNumber I_ServiceEntrySheetItemTP InternationalPhoneNumber Telephone Number
MobilePhoneNumber I_ServiceEntrySheetItemTP MobilePhoneNumber Mobile Phone Number
EmailAddress I_ServiceEntrySheetItemTP EmailAddress E-Mail Address
AccountAssignmentCategory I_ServiceEntrySheetItemTP AccountAssignmentCategory Account Assignment Category
MultipleAcctAssgmtDistribution I_ServiceEntrySheetItemTP MultipleAcctAssgmtDistribution Account Assignment Distribution
WorkItem I_ServiceEntrySheetItemTP WorkItem Work Item ID
ConfirmedQuantity I_ServiceEntrySheetItemTP ConfirmedQuantity Quantity in UnE
QuantityUnit I_ServiceEntrySheetItemTP QuantityUnit Unit of measure
ServicePerformanceDate I_ServiceEntrySheetItemTP ServicePerformanceDate Performance Start Date
ServicePerformanceEndDate I_ServiceEntrySheetItemTP ServicePerformanceEndDate
PerformancePeriodStartDate I_ServiceEntrySheetItemTP PerformancePeriodStartDate Start of Performance Period
PerformancePeriodEndDate I_ServiceEntrySheetItemTP PerformancePeriodEndDate End of Performance Period
OriginObject I_ServiceEntrySheetItemTP OriginObject Reference Document
Currency I_ServiceEntrySheetItemTP Currency Valuation Crcy
OrderPriceUnit I_ServiceEntrySheetItemTP OrderPriceUnit Order Price Un.
NetPriceAmount I_ServiceEntrySheetItemTP NetPriceAmount Net Order Price
NetPriceQuantity I_ServiceEntrySheetItemTP NetPriceQuantity Price Unit
MaterialGroup I_ServiceEntrySheetItemTP MaterialGroup Product Group
IsEndOfPurposeBlocked I_ServiceEntrySheetItemTP IsEndOfPurposeBlocked Busin. Purp. Cmpltd.
CreationDateTime I_ServiceEntrySheetItemTP CreationDateTime Timestamp
CreatedByUser I_ServiceEntrySheetItemTP CreatedByUser User Name
LastChangeDateTime I_ServiceEntrySheetItemTP LastChangeDateTime Timestamp
LastChangeUser I_ServiceEntrySheetItemTP LastChangeUser User Name
PurchasingOrganization I_ServiceEntrySheetItemTP PurchasingOrganization Purchasing Organization
PurchasingGroup I_ServiceEntrySheetItemTP PurchasingGroup Purchasing Group
Supplier I_ServiceEntrySheetItemTP Supplier Supplier
PurchaseOrderItemMaterialGroup I_ServiceEntrySheetItemTP PurchaseOrderItemMaterialGroup
PurchaseOrderItemQuantity I_ServiceEntrySheetItemTP PurchaseOrderItemQuantity
PurchaseOrderItemQuantityUnit I_ServiceEntrySheetItemTP PurchaseOrderItemQuantityUnit
PurchaseOrderItemNetAmount I_ServiceEntrySheetItemTP PurchaseOrderItemNetAmount
PurchaseOrderCurrency I_ServiceEntrySheetItemTP PurchaseOrderCurrency Order currency
Plant I_ServiceEntrySheetItemTP Plant Valuation Area
PurchaseContract I_ServiceEntrySheetItemTP PurchaseContract Purchasing Doc.
PurchaseContractItem I_ServiceEntrySheetItemTP PurchaseContractItem Item
PurchaseOrderItemCompanyCode I_ServiceEntrySheetItemTP PurchaseOrderItemCompanyCode
OverdelivTolrtdLmtRatioInPct I_ServiceEntrySheetItemTP OverdelivTolrtdLmtRatioInPct Overdeliv. Tol.
PurchaseOrderItemCategory I_ServiceEntrySheetItemTP PurchaseOrderItemCategory Item Category
PurgDocExternalItemCategory PurgDocExternalItemCategory Item Category
PurchaseOrderItemCategoryName I_ServiceEntrySheetItemTP PurchaseOrderItemCategoryName Text for ItCat.
ExpectedOverallLimitAmount I_ServiceEntrySheetItemTP ExpectedOverallLimitAmount Expected Value
TotalConfirmedQuantity I_ServiceEntrySheetItemTP TotalConfirmedQuantity Total Stated Quantity
OpenQuantity I_ServiceEntrySheetItemTP OpenQuantity PBE Entry Open Qty
NetAmount I_ServiceEntrySheetItemTP NetAmount Stated Amount
OpenAmountInPurchaseOrderCrcy I_ServiceEntrySheetItemTP OpenAmountInPurchaseOrderCrcy
SESNetAmountInclSalesTax I_ServiceEntrySheetItemTP SESNetAmountInclSalesTax Stated Amount Including Input Tax
OpenAmountInTransCrcy I_ServiceEntrySheetItemTP OpenAmountInTransCrcy Open Amt Trans Crcy
PurgDocPriceDate I_ServiceEntrySheetItemTP PurgDocPriceDate Price Date
SESItemIsFinalEntry I_ServiceEntrySheetItemTP SESItemIsFinalEntry Final Entry
MaterialType I_ServiceEntrySheetItemTP MaterialType Material Type
ConsumptionPosting I_ServiceEntrySheetItemTP ConsumptionPosting Consumption Posting
InventorySpecialStockType I_ServiceEntrySheetItemTP InventorySpecialStockType Special Stock Type
ProductType I_ServiceEntrySheetItemTP ProductType Product Type Group
ProductTypeName I_ServiceEntrySheetItemTP ProductTypeName Description
NonDeductibleInputTaxAmount I_ServiceEntrySheetItemTP NonDeductibleInputTaxAmount Non-deductible
TaxCode I_ServiceEntrySheetItemTP TaxCode Tax Code
TaxJurisdiction I_ServiceEntrySheetItemTP TaxJurisdiction Tax Jurisdiction
TaxDeterminationDate I_ServiceEntrySheetItemTP TaxDeterminationDate Tx Determination Dte
TaxCountry I_ServiceEntrySheetItemTP TaxCountry Tax Ctry/Reg.
TaxCalculationProcedure I_ServiceEntrySheetItemTP TaxCalculationProcedure Tax Procedure
_ServiceEntrySheet _ServiceEntrySheet
_AccountAssignment _AccountAssignment
_SESPricingElementTP _SESPricingElementTP
_TaxCode _TaxCode
_TaxJurisdictionValueHelp _TaxJurisdictionValueHelp
_CountryText _CountryText
_Material I_ServiceEntrySheetItemTP _Material
_MaterialText I_ServiceEntrySheetItemTP _MaterialText
_MaterialGroupText I_ServiceEntrySheetItemTP _MaterialGroupText
_AccountAssignmentCategory I_ServiceEntrySheetItemTP _AccountAssignmentCategory
_AcctAssignmentCategoryText I_ServiceEntrySheetItemTP _AcctAssignmentCategoryText
_SrvcEntrShtAcctAssgmtCat I_ServiceEntrySheetItemTP _SrvcEntrShtAcctAssgmtCat
_DocumentCurrency I_ServiceEntrySheetItemTP _DocumentCurrency
_UnitValueHelp I_ServiceEntrySheetItemTP _UnitValueHelp
_UnitText I_ServiceEntrySheetItemTP _UnitText
_PurOrdUnitOfMsrValHelp I_ServiceEntrySheetItemTP _PurOrdUnitOfMsrValHelp
_PurOrdUnitOfMsrTxt I_ServiceEntrySheetItemTP _PurOrdUnitOfMsrTxt
_ServicePerformerValueHelp I_ServiceEntrySheetItemTP _ServicePerformerValueHelp
_PurchaseOrderItemVH I_ServiceEntrySheetItemTP _PurchaseOrderItemVH
_WorkItemText I_ServiceEntrySheetItemTP _WorkItemText
_MltplAcctAssgmtDistr I_ServiceEntrySheetItemTP _MltplAcctAssgmtDistr
NoteTypeListText
PriceChangeInSESIsAllowed
PricingDocument I_ServiceEntrySheetItemTP PricingDocument Document Condition

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_ServiceEntrySheetItemWD.
-- 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: CSRVCENTRSH000WD

CREATE VIEW C_ServiceEntrySheetItemWD AS
SELECT
  Document.ServiceEntrySheet AS ServiceEntrySheet,
  Document.ServiceEntrySheetItem AS ServiceEntrySheetItem,
  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.ServicePerformerName AS ServicePerformerName,
  cast('' as contactcardformattedaddress) AS FormattedAddress,
  cast('' as ad_addrnum ) AS AddressID,
  Document.InternationalPhoneNumber AS InternationalPhoneNumber,
  Document.MobilePhoneNumber AS MobilePhoneNumber,
  Document.EmailAddress AS EmailAddress,
  Document.AccountAssignmentCategory AS AccountAssignmentCategory,
  Document.MultipleAcctAssgmtDistribution AS MultipleAcctAssgmtDistribution,
  Document.WorkItem AS WorkItem,
  Document.ConfirmedQuantity AS ConfirmedQuantity,
  Document.QuantityUnit AS QuantityUnit,
  Document.ServicePerformanceDate AS ServicePerformanceDate,
  Document.ServicePerformanceEndDate AS ServicePerformanceEndDate,
  Document.PerformancePeriodStartDate AS PerformancePeriodStartDate,
  Document.PerformancePeriodEndDate AS PerformancePeriodEndDate,
  Document.OriginObject AS OriginObject,
  Document.Currency AS Currency,
  Document.OrderPriceUnit AS OrderPriceUnit,
  Document.NetPriceAmount AS NetPriceAmount,
  Document.NetPriceQuantity AS NetPriceQuantity,
  Document.MaterialGroup AS MaterialGroup,
  Document.IsEndOfPurposeBlocked AS IsEndOfPurposeBlocked,
  Document.CreationDateTime AS CreationDateTime,
  Document.CreatedByUser AS CreatedByUser,
  Document.LastChangeDateTime AS LastChangeDateTime,
  Document.LastChangeUser AS LastChangeUser,
  Document.PurchasingOrganization AS PurchasingOrganization,
  Document.PurchasingGroup AS PurchasingGroup,
  Document.Supplier AS Supplier,
  Document.PurchaseOrderItemMaterialGroup AS PurchaseOrderItemMaterialGroup,
  Document.PurchaseOrderItemQuantity AS PurchaseOrderItemQuantity,
  Document.PurchaseOrderItemQuantityUnit AS PurchaseOrderItemQuantityUnit,
  Document.PurchaseOrderItemNetAmount AS PurchaseOrderItemNetAmount,
  Document.PurchaseOrderCurrency AS PurchaseOrderCurrency,
  Document.Plant AS Plant,
  Document.PurchaseContract AS PurchaseContract,
  Document.PurchaseContractItem AS PurchaseContractItem,
  Document.PurchaseOrderItemCompanyCode AS PurchaseOrderItemCompanyCode,
  Document.OverdelivTolrtdLmtRatioInPct AS OverdelivTolrtdLmtRatioInPct,
  Document.PurchaseOrderItemCategory AS PurchaseOrderItemCategory,
  PurgDocExternalItemCategory,
  Document.PurchaseOrderItemCategoryName AS PurchaseOrderItemCategoryName,
  Document.ExpectedOverallLimitAmount AS ExpectedOverallLimitAmount,
  Document.TotalConfirmedQuantity AS TotalConfirmedQuantity,
  Document.OpenQuantity AS OpenQuantity,
  Document.NetAmount AS NetAmount,
  Document.OpenAmountInPurchaseOrderCrcy AS OpenAmountInPurchaseOrderCrcy,
  Document.SESNetAmountInclSalesTax AS SESNetAmountInclSalesTax,
  Document.OpenAmountInTransCrcy AS OpenAmountInTransCrcy,
  Document.PurgDocPriceDate AS PurgDocPriceDate,
  Document.SESItemIsFinalEntry AS SESItemIsFinalEntry,
  Document.MaterialType AS MaterialType,
  Document.ConsumptionPosting AS ConsumptionPosting,
  Document.InventorySpecialStockType AS InventorySpecialStockType,
  Document.ProductType AS ProductType,
  Document.ProductTypeName AS ProductTypeName,
  Document.NonDeductibleInputTaxAmount AS NonDeductibleInputTaxAmount,
  Document.TaxCode AS TaxCode,
  Document.TaxJurisdiction AS TaxJurisdiction,
  Document.TaxDeterminationDate AS TaxDeterminationDate,
  Document.TaxCountry AS TaxCountry,
  Document.TaxCalculationProcedure AS TaxCalculationProcedure,
  Document._Material AS _Material,
  Document._MaterialText AS _MaterialText,
  Document._MaterialGroupText AS _MaterialGroupText,
  Document._AccountAssignmentCategory AS _AccountAssignmentCategory,
  Document._AcctAssignmentCategoryText AS _AcctAssignmentCategoryText,
  Document._SrvcEntrShtAcctAssgmtCat AS _SrvcEntrShtAcctAssgmtCat,
  Document._DocumentCurrency AS _DocumentCurrency,
  Document._UnitValueHelp AS _UnitValueHelp,
  Document._UnitText AS _UnitText,
  Document._PurOrdUnitOfMsrValHelp AS _PurOrdUnitOfMsrValHelp,
  Document._PurOrdUnitOfMsrTxt AS _PurOrdUnitOfMsrTxt,
  Document._ServicePerformerValueHelp AS _ServicePerformerValueHelp,
  Document._PurchaseOrderItemVH AS _PurchaseOrderItemVH,
  Document._WorkItemText AS _WorkItemText,
  Document._MltplAcctAssgmtDistr AS _MltplAcctAssgmtDistr,
  cast( '' as abap.sstring( 450 ) ) AS NoteTypeListText,
  cast( '' as abap.char( 1 ) ) AS PriceChangeInSESIsAllowed,
  Document.PricingDocument AS PricingDocument
FROM I_ServiceEntrySheetItemTP AS Document
LEFT OUTER JOIN C_ServiceEntrySheetWD AS _ServiceEntrySheet ON _ServiceEntrySheet.ServiceEntrySheet = ServiceEntrySheet  -- association [1..1]
LEFT OUTER JOIN C_SESAccountAssignmentWD AS _AccountAssignment ON _AccountAssignment.ServiceEntrySheet = ServiceEntrySheet AND _AccountAssignment.ServiceEntrySheetItem = ServiceEntrySheetItem  -- association [1..*]
LEFT OUTER JOIN C_SESPricingElementTP AS _SESPricingElementTP ON _SESPricingElementTP.ServiceEntrySheet = ServiceEntrySheet AND _SESPricingElementTP.ServiceEntrySheetItem = ServiceEntrySheetItem  -- association [1..*]
LEFT OUTER JOIN C_MM_TaxCodeValueHelp AS _TaxCode ON _TaxCode.TaxCode = TaxCode AND _TaxCode.TaxCalculationProcedure = TaxCalculationProcedure  -- association [0..1]
LEFT OUTER JOIN C_SESTaxJurisdictionValueHelp AS _TaxJurisdictionValueHelp ON _TaxJurisdictionValueHelp.TaxJurisdiction = TaxJurisdiction AND _TaxJurisdictionValueHelp.CompanyCode = PurchaseOrderItemCompanyCode  -- association [0..*]
LEFT OUTER JOIN I_CountryText AS _CountryText ON _CountryText.Country = TaxCountry AND _CountryText.Language = $session.system_language  -- association [0..1]
;