I_ServiceDocumentItemEnhcd

DDL: I_SERVICEDOCUMENTITEMENHCD Type: view COMPOSITE

Service Transaction Item Enhanced

I_ServiceDocumentItemEnhcd is a Composite CDS View (Dimension) that provides data about "Service Transaction Item Enhanced" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItem) and exposes 407 fields with key fields ServiceObjectType, ServiceDocument, ServiceDocumentItem. It has 18 associations to related views.

SAP Help Documentation

CategoryCommon CDS Views for Service
Data CategoryDimension
StatusReleased
Purpose
This CDS view in combination with the CDS view I_ServiceDocumentEnhcd provides the prerequisites for answering the following business questions: Which product requires repairs most frequently? Which product creates the highest service revenue? Which functional location / equipment requires the most repairs? How many service orders have been created for a service contract? How much revenue has been indirectly created for a service contract through service orders? How many service orders have triggered a purchasing cycle? Which service orders and service contracts are related to a specific solution order?

Prerequisites
Authorizations Users who want to use this CDS view must have the following authorization objects assigned: Authorization Object Description CRM_ORD_OP Authorization Object CRM Order – Own Documents CRM_SEO Authorization Object CRM Order – Business Object Service Order CRM_CON_SE Authorization Object CRM Order – Bus.Ob.Service Confirmation CRM_CO_SE Authorization Object CRM Order – Bus. Ob. Service Contract CRMS4_SOLO Authorization Object for Solution Order CRM_ORD_PR Authorization Object CRM Order – Business Transaction Type CRMS4_SLSO Sales Organizational Units of Service Transactions CRM_ORD_OE Authorization Object CRM Order – Allowed Organ. Units

Structure
Object Types This view relates to the following SAP object types: ServiceContract ServiceOrder ServiceConfirmation Attributes The following are some important attributes in this CDS view: Attribute Description ServiceObjectType Transaction category ServiceDocument Transaction ID ServiceDocumentItem Item number in transaction ServiceDocumentItemObjectType Object type RefBusinessSolutionOrder Reference to a solution order ID RefBusinessSolutionOrderItem Item number in a referenced solution order

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItem I_ServiceDocumentItem from

Associations (18)

CardinalityTargetAliasCondition
[1] I_ServiceDocumentEnhcd _ServiceDocument $projection.ServiceObjectType = _ServiceDocument.ServiceObjectType and $projection.ServiceDocument = _ServiceDocument.ServiceDocument
[1] I_ServiceDocumentItemEnhcd _ParentServiceDocItem $projection.ParentServiceDocumentItemUUID = _ParentServiceDocItem.ServiceDocumentItemUUID
[1] I_ServiceDocumentItemEnhcd _ParentServiceDocItem_2 $projection.ServiceObjectType = _ParentServiceDocItem_2.ServiceObjectType and $projection.ServiceDocument = _ParentServiceDocItem_2.ServiceDocument and $projection.ParentServiceDocumentItemUUID = _ParentServiceDocItem_2.ServiceDocumentItemUUID
[0..*] I_ServiceDocumentRefObject _ServiceDocItemRefObj $projection.ServiceObjectType = _ServiceDocItemRefObj.ServiceObjectType and $projection.ServiceDocument = _ServiceDocItemRefObj.ServiceDocument and $projection.ServiceDocumentItem = _ServiceDocItemRefObj.ServiceDocumentItem
[0..1] I_ServiceDocumentRefObject _ServiceDocItemMainRefObj $projection.ServiceObjectType = _ServiceDocItemMainRefObj.ServiceObjectType and $projection.ServiceDocument = _ServiceDocItemMainRefObj.ServiceDocument and $projection.ServiceDocumentItem = _ServiceDocItemMainRefObj.ServiceDocumentItem and _ServiceDocItemMainRefObj.SrvcRefObjIsMainObject = 'X'
[0..*] I_ServiceDocumentLongText _ServiceDocLongText $projection.ServiceObjectType = _ServiceDocLongText.ServiceObjectType and $projection.ServiceDocument = _ServiceDocLongText.ServiceDocument and $projection.ServiceDocumentItem = _ServiceDocLongText.ServiceDocumentItem and _ServiceDocLongText.TextObjectCategory = 'CRM_ORDERI'
[1..*] I_ServiceDocItemNote _ServiceDocItemNote $projection.ServiceDocumentItemUUID = _ServiceDocItemNote.ServiceDocumentItemUUID
[0..1] I_ServiceDocItemTypeSlsSttg _ServiceDocItemTypeSlsSttg $projection.ServiceDocItemCategory = _ServiceDocItemTypeSlsSttg.ServiceDocItemCategory
[1] I_ServiceDocumentItemPrdcssr _ServiceDocItmPredecessor $projection.ServiceDocumentItemUUID = _ServiceDocItmPredecessor.ServiceDocumentItemUUID and $projection.ServiceDocumentItemObjectType = _ServiceDocItmPredecessor.ServiceDocumentItemObjectType and _ServiceDocItmPredecessor.CharcLength = 32
[0..*] I_ServiceDocumentItemSuccessor _ServiceDocItmSuccessor $projection.ServiceDocumentItemUUID = _ServiceDocItmSuccessor.ServiceDocumentItemUUID and $projection.ServiceDocumentItemObjectType = _ServiceDocItmSuccessor.ServiceDocumentItemObjectType and _ServiceDocItmSuccessor.CharcLength = 32
[0..1] I_ServiceDocumentItemPrdcssr_2 _ServiceDocItmPrdcssr_2 $projection.ServiceDocumentItemCharUUID = _ServiceDocItmPrdcssr_2.ServiceDocumentItemCharUUID
[0..*] I_ServiceDocumentItemSuccssr_2 _ServiceDocItmSuccssr_2 $projection.ServiceDocumentItemCharUUID = _ServiceDocItmSuccssr_2.ServiceDocumentItemCharUUID
[0..1] I_ServiceDocumentItemPrdcssr_3 _ServiceDocumentItemPrdcssr_3 $projection.ServiceDocumentItemCharUUID = _ServiceDocumentItemPrdcssr_3.ServiceDocumentItemCharUUID
[0..*] I_ServiceDocumentItemSuccssr_3 _ServiceDocumentItemSuccssr_3 $projection.ServiceDocumentItemCharUUID = _ServiceDocumentItemSuccssr_3.ServiceDocumentItemCharUUID
[0..1] I_MaterialPricingGroup _SrvcMaterialPricingGroup $projection.SrvcMaterialPricingGroup = _SrvcMaterialPricingGroup.MaterialPricingGroup
[0..1] E_ServiceDocumentItem _ServiceDocItemExt $projection.ServiceObjectType = _ServiceDocItemExt.ServiceCategory and $projection.ServiceDocument = _ServiceDocItemExt.ServiceOrderItem and $projection.ServiceDocumentItem = _ServiceDocItemExt.ServiceLineExternalID
[0..*] I_CustMgmtPartner _CustMgmtPartner $projection.ServiceDocument = _CustMgmtPartner.CustMgmtDocument and $projection.ServiceObjectType = _CustMgmtPartner.CustMgmtObjectType and $projection.SrvcDocItmPartReferenceItem = _CustMgmtPartner.CustMgmtDocumentItem
[0..1] I_WorkCenter _WorkCenter $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and WorkCenterTypeCode = 'A'

Annotations (16)

NameValueLevelField
EndUserText.label Service Transaction Item Enhanced view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AbapCatalog.sqlViewName ISERVDOCITMENHCD view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey ServiceDocumentItem view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Analytics.dataCategory #DIMENSION view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view

Fields (407)

KeyFieldSource TableSource FieldDescription
KEY ServiceObjectType ServiceObjectType Object Type
KEY ServiceDocument ServiceDocument Transaction ID
KEY ServiceDocumentItem ServiceDocumentItem Service Document
ServiceDocumentDescription ServiceDocumentDescription Description
ServiceDocumentType ServiceDocumentType Transaction Type
ServiceDocumentItemPriority ServiceDocumentItemPriority Workflow priority
PostingDate PostingDate Posting Date for GR
ServicesRenderedDate ServicesRenderedDate Services Rendered Date
SrvcDocItmPostingDateTime SrvcDocItmPostingDateTime
SrvcDocItmValdtyStartDateTime SrvcDocItmValdtyStartDateTime
SrvcDocItmValdtyEndDateTime SrvcDocItmValdtyEndDateTime
ServiceDocumentItemUUID ServiceDocumentItemUUID Push ItemGU
ServiceDocumentItemCharUUID ServiceDocumentItemCharUUID Object GUID
ServiceDocumentItemObjectType ServiceDocumentItemObjectType Object Type
ServiceDocumentUUID ServiceDocumentUUID Object GUID
ParentServiceDocumentItemUUID ParentServiceDocumentItemUUID UUID
ServiceDocumentItemDescription ServiceDocumentItemDescription Short Text
Language Language Report Text Language
ServiceDocumentTemplateType ServiceDocumentTemplateType Template Type
ServiceDocItemCreationDateTime ServiceDocItemCreationDateTime Created On
ServiceDocItemChangedDateTime ServiceDocItemChangedDateTime Changed On
IntcoRcvgSalesOrganization IntcoRcvgSalesOrganization Sales Org.
MaintenancePlanningPlant MaintenancePlanningPlant Planning Plant
WorkCenterInternalID WorkCenterInternalID Work Center
ServiceDocItemCreatedByUser ServiceDocItemCreatedByUser Created By
ServiceDocItemChangedByUser ServiceDocItemChangedByUser Changed By
OriginallyRequestedProduct OriginallyRequestedProduct Product
MaterialByCustomer MaterialByCustomer Customer Mat.
Product Product Product Sold
ServiceDocItemCategory ServiceDocItemCategory Item Category
ProfitCenter ProfitCenter Profit Center
ResponsibleCostCenter ResponsibleCostCenter Responsible Cost Center
ControllingArea ControllingArea Controlling Area
ProfitCenterDeterminationDate ProfitCenterDeterminationDate Date
RefBusinessSolutionOrder RefBusinessSolutionOrder Ref. Soltn Order ID
RefBusinessSolutionOrderItem RefBusinessSolutionOrderItem Ref. Item Number
SrvcDocItmRequestedQuantity SrvcDocItmRequestedQuantity Ordered Quantity
InvoiceAmountInInvoiceDocCrcy InvoiceAmountInInvoiceDocCrcy Invoice Value
InvoiceQuantity InvoiceQuantity Invoiced Quantity
SrvcDocItmDeliveredQuantity SrvcDocItmDeliveredQuantity Delivered Quantity
SrvcDocItmReleasedQuantity SrvcDocItmReleasedQuantity Released Quantity
CumulativeConfirmedQuantity CumulativeConfirmedQuantity Confirmed Qty
SrvcDocItmReldAmtInTransCrcy SrvcDocItmReldAmtInTransCrcy
SrvcDocItmOrdToBaseQtyNmrtr SrvcDocItmOrdToBaseQtyNmrtr
SrvcDocItmOrdToBaseQtyDnmntr SrvcDocItmOrdToBaseQtyDnmntr
OrderToBaseQuantityExponent OrderToBaseQuantityExponent
ServiceDocItemQuantityUnit ServiceDocItemQuantityUnit
SrvcDocItemBaseQuantityUnit SrvcDocItemBaseQuantityUnit
Batch Batch Lot No.
ValuationType ValuationType Valuation Type
BillingDateTime BillingDateTime
BillingDocCreationDateTime BillingDocCreationDateTime
BillingPlanTimeZone BillingPlanTimeZone
SrvcDocBillingPlanType SrvcDocBillingPlanType
BillingPriceSourceName BillingPriceSourceName
DocumentDescription
SoldToPartyCountry SoldToPartyCountry
SoldToPartyRegion SoldToPartyRegion
SoldToParty SoldToParty Sold-to Party
ServiceTeam ServiceTeam
ResponsibleEmployee ResponsibleEmployee Employee Resp.
ServiceEmployee ServiceEmployee
ContactPerson ContactPerson Contact Person Key
PayerParty PayerParty Payer
BillToParty BillToParty Inv. Recipient
ShipToParty ShipToParty Ship-To Party (obsolete)
ServiceDocumentItemStatus ServiceDocumentItemStatus
ServiceDocumentItemHasError ServiceDocumentItemHasError
SrvcDocItmIsReleasedForBilling SrvcDocItmIsReleasedForBilling
ServiceDocItemBillingStatus ServiceDocItemBillingStatus
ServiceDocumentItemIsOpen ServiceDocumentItemIsOpen
SrvcDocItmDeliveryStatus SrvcDocItmDeliveryStatus
SrvcDocItmGoodsIssueStatus SrvcDocItmGoodsIssueStatus
ServiceDocumentItemIsReleased ServiceDocumentItemIsReleased
ServiceDocumentItemIsRejected ServiceDocumentItemIsRejected
SrvcDocItemIsWithdrawn SrvcDocItemIsWithdrawn
ServiceDocumentItemIsQuotation ServiceDocumentItemIsQuotation
SrvcDocItemTransferStatus SrvcDocItemTransferStatus
MaintSrvcOrdExecutionStatus MaintSrvcOrdExecutionStatus
SrvcDocItemExecutionStatus SrvcDocItemExecutionStatus
ServiceDocumentItemQuantity ServiceDocumentItemQuantity
TransactionCurrency TransactionCurrency Transaction Currency
StatisticsCurrency StatisticsCurrency
ExchangeRateType ExchangeRateType Exch. Rate Type
ExchangeRateDate ExchangeRateDate Translatn Date
AccountingExchangeRate AccountingExchangeRate Exch.Rate Acct.
PaymentTerms PaymentTerms Pyt Terms
PaymentMethod PaymentMethod Pymt Meth.
SrvcSEPAMandateRelevance SrvcSEPAMandateRelevance
SEPAMandate SEPAMandate SEPA Mandate
WBSElementInternalID WBSElementInternalID WBS Internal ID
BillableControl BillableControl Billable Control
ServiceDocumentItemNetAmount ServiceDocumentItemNetAmount
ServiceDocumentItemTaxAmount ServiceDocumentItemTaxAmount
ServiceDocItemGrossAmount ServiceDocItemGrossAmount
PriceReferenceCPQQuotation PriceReferenceCPQQuotation
PriceReferenceCPQQuotationItem PriceReferenceCPQQuotationItem
PricingDate PricingDate Pricing Date
BillingBlockReason BillingBlockReason
SrvcDocItmBillingRelevance SrvcDocItmBillingRelevance
DynItemProcessorPrfl DynItemProcessorPrfl
SrvcDocBillingPlanTemplate SrvcDocBillingPlanTemplate
ProductGroup ProductGroup Product Sold Group
SrvcMaterialPricingGroup SrvcMaterialPricingGroup
MaterialPricingGroup_2 MaterialPricingGroup_2
ProductGroup1 ProductGroup1
ProductGroup2 ProductGroup2
ProductGroup3 ProductGroup3
ProductGroup4 ProductGroup4
ProductGroup5 ProductGroup5
ProductHierarchy ProductHierarchy Prod.hierarchy
Industry Industry Industry Sector
PurchaseOrderByCustomer PurchaseOrderByCustomer Purchase Order Number
PurchaseOrderByShipToParty PurchaseOrderByShipToParty
CustPurOrdDateByShipToParty CustPurOrdDateByShipToParty
ServiceDocItemRejectionReason ServiceDocItemRejectionReason
CustomerGroup CustomerGroup Customer Group
AdditionalCustomerGroup1 AdditionalCustomerGroup1 Customer Grp 1
AdditionalCustomerGroup2 AdditionalCustomerGroup2 Customer Grp 2
AdditionalCustomerGroup3 AdditionalCustomerGroup3 Customer Grp 3
AdditionalCustomerGroup4 AdditionalCustomerGroup4 Customer Grp 4
AdditionalCustomerGroup5 AdditionalCustomerGroup5 Customer Grp 5
Plant Plant Valuation Area
ServiceSchema1Category1UUID ServiceSchema1Category1UUID
ServiceSchema1Category2UUID ServiceSchema1Category2UUID
ServiceSchema1Category3UUID ServiceSchema1Category3UUID
ServiceSchema1Category4UUID ServiceSchema1Category4UUID
ServiceSchema1Category5UUID ServiceSchema1Category5UUID
ServiceSchema1Category6UUID ServiceSchema1Category6UUID
ServiceSchema1Category7UUID ServiceSchema1Category7UUID
ServiceSchema1Category8UUID ServiceSchema1Category8UUID
ServiceSchema1Category9UUID ServiceSchema1Category9UUID
ServiceSchema1Category10UUID ServiceSchema1Category10UUID
SrvcCatztnSchema1 SrvcCatztnSchema1
SrvcCatztnSchemaCategory1 SrvcCatztnSchemaCategory1
ServiceSchema2Category1UUID ServiceSchema2Category1UUID
ServiceSchema2Category2UUID ServiceSchema2Category2UUID
ServiceSchema2Category3UUID ServiceSchema2Category3UUID
ServiceSchema2Category4UUID ServiceSchema2Category4UUID
ServiceSchema2Category5UUID ServiceSchema2Category5UUID
ServiceSchema2Category6UUID ServiceSchema2Category6UUID
ServiceSchema2Category7UUID ServiceSchema2Category7UUID
ServiceSchema2Category8UUID ServiceSchema2Category8UUID
ServiceSchema2Category9UUID ServiceSchema2Category9UUID
ServiceSchema2Category10UUID ServiceSchema2Category10UUID
SrvcCatztnSchema2 SrvcCatztnSchema2
SrvcCatztnSchemaCategory2 SrvcCatztnSchemaCategory2
SettlementPeriodRuleUUID SettlementPeriodRuleUUID
BillingPlanBillingDateRuleUUID BillingPlanBillingDateRuleUUID
BillingPlanPriceDateRule BillingPlanPriceDateRule
BillingPlanIsFinalized BillingPlanIsFinalized Bill.Plan Finalized
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
Division Division Internal Division ID
ResponsibleSalesOrganization ResponsibleSalesOrganization
ServiceOrganization ServiceOrganization
ResponsibleServiceOrganization ResponsibleServiceOrganization
SalesOrganization SalesOrganization Sales Organization
SalesOffice SalesOffice Sales Office
SalesGroup SalesGroup Sales Group
RespyMgmtServiceTeam RespyMgmtServiceTeam
EnterpriseServiceOrganization EnterpriseServiceOrganization
EnterpriseProjectServiceOrg EnterpriseProjectServiceOrg Service Org.
RequestedServiceStartDateTime RequestedServiceStartDateTime
RequestedServiceEndDateTime RequestedServiceEndDateTime
ServiceContrItemStartDateTime ServiceContrItemStartDateTime
ServiceContrItemEndDateTime ServiceContrItemEndDateTime
clientNULLasRequestedServiceStartDate
clientNULLasRequestedServiceEndDate
clientNULLasServiceContractItemStartDate
clientNULLasServiceContractItemEndDate
ServiceFirstResponseByDateTime ServiceFirstResponseByDateTime
clientNULLasServiceFirstResponseByDate
SrvcDocItemSLADueByDateTime SrvcDocItemSLADueByDateTime
clientNULLasSrvcDocItemSLADueByDate
ActualServiceStartDateTime ActualServiceStartDateTime
ActualServiceEndDateTime ActualServiceEndDateTime
SrvcContrItemRnwlDuration SrvcContrItemRnwlDuration
SrvcContrItemRnwlDurationUnit SrvcContrItemRnwlDurationUnit
SrvcContrItemExtensionDuration SrvcContrItemExtensionDuration
SrvcContrItemExtnDurationUnit SrvcContrItemExtnDurationUnit
PlannedServiceStartDateTime PlannedServiceStartDateTime
PlannedServiceEndDateTime PlannedServiceEndDateTime
clientNULLasPlannedServiceStartDate
clientNULLasPlannedServiceEndDate
SrvcDocItmTmeSliceStrtDteTme SrvcDocItmTmeSliceStrtDteTme
SrvcDocItmTmeSliceEndDteTme SrvcDocItmTmeSliceEndDteTme
SrvcContrItemRenewalDateTime SrvcContrItemRenewalDateTime
ActualServiceDuration ActualServiceDuration
ActualServiceDurationUnit ActualServiceDurationUnit
ServiceWorkDuration ServiceWorkDuration
ServiceWorkDuration_2 ServiceWorkDuration_2
ServiceWorkDurationUnit ServiceWorkDurationUnit
SrvcOrderConfirmationRelevance SrvcOrderConfirmationRelevance
ServiceTransactionChargeType ServiceTransactionChargeType
SrvcTransactionValuationType SrvcTransactionValuationType
ResponseProfile ResponseProfile Response Prof.
ServiceProfile ServiceProfile Service Profile
ServiceDuration ServiceDuration Work Duration
ServiceDurationUnit ServiceDurationUnit Unit
TimeSheetOvertimeCategory TimeSheetOvertimeCategory
MasterWarranty MasterWarranty
ContractAccount ContractAccount Contract Acct
ItemOrderProbabilityInPercent ItemOrderProbabilityInPercent Order Probab.
QuotationIsAccepted QuotationIsAccepted
ConfigurationNumber ConfigurationNumber Int. object no.
IncotermsPart1 IncotermsPart1 Incoterms
IncotermsPart2 IncotermsPart2 Incoterms 2
DeliveryPriority DeliveryPriority Delivery Prior.
OrderCombinationIsAllowed OrderCombinationIsAllowed Order Combinat.
PartialDeliveryIsAllowed PartialDeliveryIsAllowed Partial Deliv.
CABillgCycle CABillgCycle Billing Cycle
RevenueAccountingReference RevenueAccountingReference
RevenueAccountingRefType RevenueAccountingRefType
ItemGrossWeight ItemGrossWeight Gross Weight
ItemNetWeight ItemNetWeight Net Weight
ItemWeightUnit ItemWeightUnit Unit of Weight
ItemVolume ItemVolume Volume
ItemVolumeUnit ItemVolumeUnit Volume Unit
MaterialPricingGroup MaterialPricingGroup
CustomerPriceGroup CustomerPriceGroup CustPrice Group
DeliveryGroup DeliveryGroup Delivery Group
DeliveryBlockReason DeliveryBlockReason Delivery Block
RequestedDeliveryUTCDateTime RequestedDeliveryDateTime
ErlstConfirmedDeliveryDateTime ErlstConfirmedDeliveryDateTime
LtstConfirmedDeliveryDateTime LtstConfirmedDeliveryDateTime
clientNULLasRequestedDeliveryDate
SubscrpnOrdProdSelType SubscrpnOrdProdSelType
SubscriptionContract SubscriptionContract Transaction ID
SrvcTransChangeProcess SrvcTransChangeProcess
SrvcTransChangeProcessType SrvcTransChangeProcessType
SrvcTransChgProcSourceItemUUID SrvcTransChgProcSourceItemUUID
CustMgmtMasterAgreement CustMgmtMasterAgreement
CustMgmtMstrAgrmtItem CustMgmtMstrAgrmtItem
SubscrpnContrActivationStatus SubscrpnContrActivationStatus
SubscrpnContrTimeSliceStatus SubscrpnContrTimeSliceStatus
SharingContractID SharingContractID Sharing Contract
CrsCatalogMappingVersionNumber CrsCatalogMappingVersionNumber Version
CustMgmtMstrAgrmtParentItem CustMgmtMstrAgrmtParentItem
SubscrpnContractSharingGroupID SubscrpnContractSharingGroupID Sharing Group ID
CAPartnerSettlementRule CAPartnerSettlementRule Settlement Rule
ChangeProcessGroup ChangeProcessGroup BTMF Process Group
BusSolutionQtnItemIsPhased BusSolutionQtnItemIsPhased
BusSolnQtnItmPhasedPrdcssrItem BusSolnQtnItmPhasedPrdcssrItem
SubscriptionContractItem SubscriptionContractItem Item Number in Doc.
SrvcDocItemWithdrawalReason SrvcDocItemWithdrawalReason
SrvcDocItemRefundType SrvcDocItemRefundType
SrvcDocItmRecrrgChrgNetAmount SrvcDocItmRecrrgChrgNetAmount
SubscrpnContrTrmsAreSpecified SubscrpnContrTrmsAreSpecified
MidBillgCycExprtnIsAllowed MidBillgCycExprtnIsAllowed
SrvcDocItmRecrrgChrgTaxAmount SrvcDocItmRecrrgChrgTaxAmount
SrvcDocItmRecrrgChrgGrossAmt SrvcDocItmRecrrgChrgGrossAmt
SrvcDocItmRecrrgChrgDuration SrvcDocItmRecrrgChrgDuration
SrvcDocItmRecrrgChrgDurnUnit SrvcDocItmRecrrgChrgDurnUnit
SubscriptionContractReference SubscriptionContractReference
SubscriptionBillingCycle SubscriptionBillingCycle
SubscriptionContractExternalID SubscriptionContractExternalID Contract Number
SbscrShContrSvTrMtAgrItmUUID SbscrShContrSvTrMtAgrItmUUID
SbscrShContrSvTrMtAgrItmCstPrd SbscrShContrSvTrMtAgrItmCstPrd
SvTrMtAgrItmIsFxdConfign SvTrMtAgrItmIsFxdConfign
SubscrpnContrItmBillgPlnCyc SubscrpnContrItmBillgPlnCyc
ServiceDocumentItemCanclnParty ServiceDocumentItemCanclnParty
ServiceDocumentItmCanclnReason ServiceDocumentItmCanclnReason
SrvcDocItmCanclnProcedure SrvcDocItmCanclnProcedure
ServiceDocumentRnwlDuration ServiceDocumentRnwlDuration
ServiceDocRnwlDurationUnit ServiceDocRnwlDurationUnit
ServiceDocExtensionDuration ServiceDocExtensionDuration
ServiceDocExtnDurationUnit ServiceDocExtnDurationUnit
SrvcDocItemGracePeriod SrvcDocItemGracePeriod
SrvcDocItemGracePeriodUnit SrvcDocItemGracePeriodUnit
SrvcDocItmGrcePerdEndDateTime SrvcDocItmGrcePerdEndDateTime
SbscrContrItmBizValdStrtDteTme SbscrContrItmBizValdStrtDteTme
SbscrContrItmBizValdEndDteTme SbscrContrItmBizValdEndDteTme
SubscrpnContrAutoRnwlIsActv SubscrpnContrAutoRnwlIsActv
BillOfMaterialItemNodeNumber BillOfMaterialItemNodeNumber Item node
ReferenceInHouseRepair ReferenceInHouseRepair
ReferenceInHouseRepairItem ReferenceInHouseRepairItem
RefInHouseRepairIsExisting RefInHouseRepairIsExisting
SrvcDocItemCreditStatus SrvcDocItemCreditStatus
SrvcDocItmGTSEmbargoStatus SrvcDocItmGTSEmbargoStatus
SrvcDocItmGTSScreeningStatus SrvcDocItmGTSScreeningStatus
SrvcDocItmGTSLglControlStatus SrvcDocItmGTSLglControlStatus
SrvcDocItmBslnCostPostgStatus SrvcDocItmBslnCostPostgStatus
SrvcDocItmContinuousCostStatus SrvcDocItmContinuousCostStatus
SrvcDocItemIsUnplanned SrvcDocItemIsUnplanned
ShippingCondition ShippingCondition Shipping Conditions
SrvcDocSubitemOrigin SrvcDocSubitemOrigin
SrvcDocItemCategoryUsage SrvcDocItemCategoryUsage
SrvcDocItmAcctAssgmtObjectType SrvcDocItmAcctAssgmtObjectType
SrvcDocItmAcctAssgmtObject SrvcDocItmAcctAssgmtObject
MaterialSubstitutionReason MaterialSubstitutionReason
_ParentServiceDocItem _ParentServiceDocItem
_ParentServiceDocItem_2 _ParentServiceDocItem_2
_ServiceDocItemRefObj _ServiceDocItemRefObj
_ServiceDocItemMainRefObj _ServiceDocItemMainRefObj
_ServiceDocItemNote _ServiceDocItemNote
_ServiceDocLongText _ServiceDocLongText
_ServiceDocItemTypeSlsSttg _ServiceDocItemTypeSlsSttg
_ServiceDocItmPredecessor _ServiceDocItmPredecessor
_ServiceDocItmSuccessor _ServiceDocItmSuccessor
_ServiceDocItmPrdcssr_2 _ServiceDocItmPrdcssr_2
_ServiceDocItmSuccssr_2 _ServiceDocItmSuccssr_2
_ServiceObjType _ServiceObjType
_ServiceDocument _ServiceDocument
_ServiceDocumentType _ServiceDocumentType
_ServiceDocItemPriority _ServiceDocItemPriority
_ServiceDocItemCategory _ServiceDocItemCategory
_ProfitCenter _ProfitCenter
_ControllingArea _ControllingArea
_SrvcMgmtProductHierarchy _SrvcMgmtProductHierarchy
_WorkCenter _WorkCenter
_SoldToParty _SoldToParty
_RespEmployee _RespEmployee
_ServiceTeam _ServiceTeam
_ServiceEmployee _ServiceEmployee
_ContactPerson _ContactPerson
_PayerParty _PayerParty
_BillToParty _BillToParty
_ShipToParty _ShipToParty
_ServiceDocItemStatus _ServiceDocItemStatus
_SrvcDocItmLifecycleStatus _SrvcDocItmLifecycleStatus
_ServiceDocItemHasError _ServiceDocItemHasError
_ServiceDocItemBillingStatus _ServiceDocItemBillingStatus
_SrvcDocItemIsRelForBillgSts _SrvcDocItemIsRelForBillgSts
_ServiceDocumentIsOpen _ServiceDocumentIsOpen
_SrvcDocItemTransferStatus _SrvcDocItemTransferStatus
_BillingBlockReason _BillingBlockReason
_SrvcDocItemBillgRlvnce _SrvcDocItemBillgRlvnce
_BillingRequestItem _BillingRequestItem
_ServiceProductList _ServiceProductList
_SrvcMgmtBillgPlanTemplate _SrvcMgmtBillgPlanTemplate
_BaseUnit _BaseUnit
_BaseUnit_2 _BaseUnit_2
_SalesUnit _SalesUnit
_WeightUnit _WeightUnit
_VolumeUnit _VolumeUnit
_TransactionCurrency _TransactionCurrency
_PaymentTerms _PaymentTerms
_PaymentMethod _PaymentMethod
_SrvcSEPAMandateRelevance _SrvcSEPAMandateRelevance
_FixedPrice _FixedPrice
_StatusObjItemStatus _StatusObjItemStatus
_SalesOrganizationOrgUnit _SalesOrganizationOrgUnit
_SalesOrganizationOrgUnit_2 _SalesOrganizationOrgUnit_2
_SalesOfficeOrgUnit _SalesOfficeOrgUnit
_SalesOfficeOrgUnit_2 _SalesOfficeOrgUnit_2
_SalesGroupOrgUnit _SalesGroupOrgUnit
_SalesGroupOrgUnit_2 _SalesGroupOrgUnit_2
_SalesOrganization _SalesOrganization
_SalesOffice _SalesOffice
_SalesGroup _SalesGroup
_Division _Division
_DistributionChannel _DistributionChannel
_ServiceTeamHeader _ServiceTeamHeader
_EnterpriseServiceOrg _EnterpriseServiceOrg
_ServiceOrganizationOrgUnit _ServiceOrganizationOrgUnit
_ServiceOrganizationOrgUnit_2 _ServiceOrganizationOrgUnit_2
_RespSrvcOrganizationOrgUnit _RespSrvcOrganizationOrgUnit
_RespSrvcOrganizationOrgUnit_2 _RespSrvcOrganizationOrgUnit_2
_ServiceDocOvertimeCat _ServiceDocOvertimeCat
_Industry _Industry
_ServiceDocItemRejectionReason _ServiceDocItemRejectionReason
_SoldToPartyRegion _SoldToPartyRegion
_SoldToPartyCountry _SoldToPartyCountry
_SettlementDateRule _SettlementDateRule
_BillPlanDateRule _BillPlanDateRule
_ResponseProfile _ResponseProfile
_ServiceProfile _ServiceProfile
_TechResource _TechResource
_MasterAgrmtItem _MasterAgrmtItem
_BillableControl _BillableControl
_DeliveryBlockReason _DeliveryBlockReason
_ProductGroup _ProductGroup
_Product _Product
_SrvcMaterialPricingGroup _SrvcMaterialPricingGroup
_MaterialPricingGroup_2 _MaterialPricingGroup_2
_AdditionalMaterialGroup1 _AdditionalMaterialGroup1
_AdditionalMaterialGroup2 _AdditionalMaterialGroup2
_AdditionalMaterialGroup3 _AdditionalMaterialGroup3
_AdditionalMaterialGroup4 _AdditionalMaterialGroup4
_AdditionalMaterialGroup5 _AdditionalMaterialGroup5
_CustomerGroup _CustomerGroup
_AdditionalCustomerGroup1 _AdditionalCustomerGroup1
_AdditionalCustomerGroup2 _AdditionalCustomerGroup2
_AdditionalCustomerGroup3 _AdditionalCustomerGroup3
_AdditionalCustomerGroup4 _AdditionalCustomerGroup4
_AdditionalCustomerGroup5 _AdditionalCustomerGroup5
_ActualServiceDurationUnit _ActualServiceDurationUnit
_ServiceDurationUnit _ServiceDurationUnit
_SrvcContrItemRnwlDurationUnit _SrvcContrItemRnwlDurationUnit
_SrvcContrItemExtnDurationUnit _SrvcContrItemExtnDurationUnit
_ServiceDocumentItemPrdcssr_3 _ServiceDocumentItemPrdcssr_3
_ServiceDocumentItemSuccssr_3 _ServiceDocumentItemSuccssr_3
_SrvcDocItemCreditStatus _SrvcDocItemCreditStatus
_SrvcDocItmGTSLglControlStatus _SrvcDocItmGTSLglControlStatus
_SrvcDocItmGTSScreeningStatus _SrvcDocItmGTSScreeningStatus
_SrvcDocItmGTSEmbargoStatus _SrvcDocItmGTSEmbargoStatus
_SrvcDocItmBslnCostPostgStat _SrvcDocItmBslnCostPostgStat
_SrvcDocItmContinuousCostStat _SrvcDocItmContinuousCostStat
_SrvcDocExecutionStatus _SrvcDocExecutionStatus
SrvcDocItmPartReferenceItem SrvcDocItmPartReferenceItem
SrvcDocItmApptRefObjectUUID SrvcDocItmApptRefObjectUUID
SrvcDocItmApptReferenceItem SrvcDocItmApptReferenceItem
_CustMgmtPartner _CustMgmtPartner
_SrvcDocIsQuotation _SrvcDocIsQuotation

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_ServiceDocumentItemEnhcd.
-- 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 I_ServiceDocumentItemEnhcd AS
SELECT
  ServiceObjectType,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceDocumentDescription,
  ServiceDocumentType,
  ServiceDocumentItemPriority,
  PostingDate,
  ServicesRenderedDate,
  SrvcDocItmPostingDateTime,
  SrvcDocItmValdtyStartDateTime,
  SrvcDocItmValdtyEndDateTime,
  ServiceDocumentItemUUID,
  ServiceDocumentItemCharUUID,
  ServiceDocumentItemObjectType,
  ServiceDocumentUUID,
  ParentServiceDocumentItemUUID,
  ServiceDocumentItemDescription,
  Language,
  ServiceDocumentTemplateType,
  ServiceDocItemCreationDateTime,
  ServiceDocItemChangedDateTime,
  IntcoRcvgSalesOrganization,
  MaintenancePlanningPlant,
  WorkCenterInternalID,
  ServiceDocItemCreatedByUser,
  ServiceDocItemChangedByUser,
  OriginallyRequestedProduct,
  MaterialByCustomer,
  Product,
  ServiceDocItemCategory,
  ProfitCenter,
  ResponsibleCostCenter,
  ControllingArea,
  ProfitCenterDeterminationDate,
  RefBusinessSolutionOrder,
  RefBusinessSolutionOrderItem,
  SrvcDocItmRequestedQuantity,
  InvoiceAmountInInvoiceDocCrcy,
  InvoiceQuantity,
  SrvcDocItmDeliveredQuantity,
  SrvcDocItmReleasedQuantity,
  CumulativeConfirmedQuantity,
  SrvcDocItmReldAmtInTransCrcy,
  SrvcDocItmOrdToBaseQtyNmrtr,
  SrvcDocItmOrdToBaseQtyDnmntr,
  OrderToBaseQuantityExponent,
  ServiceDocItemQuantityUnit,
  SrvcDocItemBaseQuantityUnit,
  Batch,
  ValuationType,
  BillingDateTime,
  BillingDocCreationDateTime,
  BillingPlanTimeZone,
  SrvcDocBillingPlanType,
  BillingPriceSourceName,
  cast( '' as abap.char( 16 ) ) AS DocumentDescription,
  SoldToPartyCountry,
  SoldToPartyRegion,
  SoldToParty,
  ServiceTeam,
  ResponsibleEmployee,
  ServiceEmployee,
  ContactPerson,
  PayerParty,
  BillToParty,
  ShipToParty,
  ServiceDocumentItemStatus,
  ServiceDocumentItemHasError,
  SrvcDocItmIsReleasedForBilling,
  ServiceDocItemBillingStatus,
  ServiceDocumentItemIsOpen,
  SrvcDocItmDeliveryStatus,
  SrvcDocItmGoodsIssueStatus,
  ServiceDocumentItemIsReleased,
  ServiceDocumentItemIsRejected,
  SrvcDocItemIsWithdrawn,
  ServiceDocumentItemIsQuotation,
  SrvcDocItemTransferStatus,
  MaintSrvcOrdExecutionStatus,
  SrvcDocItemExecutionStatus,
  ServiceDocumentItemQuantity,
  TransactionCurrency,
  StatisticsCurrency,
  ExchangeRateType,
  ExchangeRateDate,
  AccountingExchangeRate,
  PaymentTerms,
  PaymentMethod,
  SrvcSEPAMandateRelevance,
  SEPAMandate,
  WBSElementInternalID,
  BillableControl,
  ServiceDocumentItemNetAmount,
  ServiceDocumentItemTaxAmount,
  ServiceDocItemGrossAmount,
  PriceReferenceCPQQuotation,
  PriceReferenceCPQQuotationItem,
  PricingDate,
  BillingBlockReason,
  SrvcDocItmBillingRelevance,
  DynItemProcessorPrfl,
  SrvcDocBillingPlanTemplate,
  ProductGroup,
  SrvcMaterialPricingGroup,
  MaterialPricingGroup_2,
  ProductGroup1,
  ProductGroup2,
  ProductGroup3,
  ProductGroup4,
  ProductGroup5,
  ProductHierarchy,
  Industry,
  PurchaseOrderByCustomer,
  PurchaseOrderByShipToParty,
  CustPurOrdDateByShipToParty,
  ServiceDocItemRejectionReason,
  CustomerGroup,
  AdditionalCustomerGroup1,
  AdditionalCustomerGroup2,
  AdditionalCustomerGroup3,
  AdditionalCustomerGroup4,
  AdditionalCustomerGroup5,
  Plant,
  ServiceSchema1Category1UUID,
  ServiceSchema1Category2UUID,
  ServiceSchema1Category3UUID,
  ServiceSchema1Category4UUID,
  ServiceSchema1Category5UUID,
  ServiceSchema1Category6UUID,
  ServiceSchema1Category7UUID,
  ServiceSchema1Category8UUID,
  ServiceSchema1Category9UUID,
  ServiceSchema1Category10UUID,
  SrvcCatztnSchema1,
  SrvcCatztnSchemaCategory1,
  ServiceSchema2Category1UUID,
  ServiceSchema2Category2UUID,
  ServiceSchema2Category3UUID,
  ServiceSchema2Category4UUID,
  ServiceSchema2Category5UUID,
  ServiceSchema2Category6UUID,
  ServiceSchema2Category7UUID,
  ServiceSchema2Category8UUID,
  ServiceSchema2Category9UUID,
  ServiceSchema2Category10UUID,
  SrvcCatztnSchema2,
  SrvcCatztnSchemaCategory2,
  SettlementPeriodRuleUUID,
  BillingPlanBillingDateRuleUUID,
  BillingPlanPriceDateRule,
  BillingPlanIsFinalized,
  SalesOrganizationOrgUnitID,
  SalesOfficeOrgUnitID,
  SalesGroupOrgUnitID,
  DistributionChannel,
  Division,
  ResponsibleSalesOrganization,
  ServiceOrganization,
  ResponsibleServiceOrganization,
  SalesOrganization,
  SalesOffice,
  SalesGroup,
  RespyMgmtServiceTeam,
  EnterpriseServiceOrganization,
  EnterpriseProjectServiceOrg,
  RequestedServiceStartDateTime,
  RequestedServiceEndDateTime,
  ServiceContrItemStartDateTime,
  ServiceContrItemEndDateTime,
  tstmp_to_dats( RequestedServiceStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as RequestedServiceStartDate AS clientNULLasRequestedServiceStartDate,
  tstmp_to_dats( RequestedServiceEndDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as RequestedServiceEndDate AS clientNULLasRequestedServiceEndDate,
  tstmp_to_dats( ServiceContrItemStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ServiceContractItemStartDate AS clientNULLasServiceContractItemStartDate,
  tstmp_to_dats( ServiceContrItemEndDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ServiceContractItemEndDate AS clientNULLasServiceContractItemEndDate,
  ServiceFirstResponseByDateTime,
  tstmp_to_dats( ServiceFirstResponseByDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as ServiceFirstResponseByDate AS clientNULLasServiceFirstResponseByDate,
  SrvcDocItemSLADueByDateTime,
  tstmp_to_dats( SrvcDocItemSLADueByDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as SrvcDocItemSLADueByDate AS clientNULLasSrvcDocItemSLADueByDate,
  ActualServiceStartDateTime,
  ActualServiceEndDateTime,
  SrvcContrItemRnwlDuration,
  SrvcContrItemRnwlDurationUnit,
  SrvcContrItemExtensionDuration,
  SrvcContrItemExtnDurationUnit,
  PlannedServiceStartDateTime,
  PlannedServiceEndDateTime,
  tstmp_to_dats( PlannedServiceStartDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as PlannedServiceStartDate AS clientNULLasPlannedServiceStartDate,
  tstmp_to_dats( PlannedServiceEndDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as PlannedServiceEndDate AS clientNULLasPlannedServiceEndDate,
  SrvcDocItmTmeSliceStrtDteTme,
  SrvcDocItmTmeSliceEndDteTme,
  SrvcContrItemRenewalDateTime,
  ActualServiceDuration,
  ActualServiceDurationUnit,
  ServiceWorkDuration,
  ServiceWorkDuration_2,
  ServiceWorkDurationUnit,
  SrvcOrderConfirmationRelevance,
  ServiceTransactionChargeType,
  SrvcTransactionValuationType,
  ResponseProfile,
  ServiceProfile,
  ServiceDuration,
  ServiceDurationUnit,
  TimeSheetOvertimeCategory,
  MasterWarranty,
  ContractAccount,
  ItemOrderProbabilityInPercent,
  QuotationIsAccepted,
  ConfigurationNumber,
  IncotermsPart1,
  IncotermsPart2,
  DeliveryPriority,
  OrderCombinationIsAllowed,
  PartialDeliveryIsAllowed,
  CABillgCycle,
  RevenueAccountingReference,
  RevenueAccountingRefType,
  ItemGrossWeight,
  ItemNetWeight,
  ItemWeightUnit,
  ItemVolume,
  ItemVolumeUnit,
  MaterialPricingGroup,
  CustomerPriceGroup,
  DeliveryGroup,
  DeliveryBlockReason,
  RequestedDeliveryDateTime AS RequestedDeliveryUTCDateTime,
  ErlstConfirmedDeliveryDateTime,
  LtstConfirmedDeliveryDateTime,
  tstmp_to_dats( RequestedDeliveryDateTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) as RequestedDeliveryDate AS clientNULLasRequestedDeliveryDate,
  SubscrpnOrdProdSelType,
  SubscriptionContract,
  SrvcTransChangeProcess,
  SrvcTransChangeProcessType,
  SrvcTransChgProcSourceItemUUID,
  CustMgmtMasterAgreement,
  CustMgmtMstrAgrmtItem,
  SubscrpnContrActivationStatus,
  SubscrpnContrTimeSliceStatus,
  SharingContractID,
  CrsCatalogMappingVersionNumber,
  CustMgmtMstrAgrmtParentItem,
  SubscrpnContractSharingGroupID,
  CAPartnerSettlementRule,
  ChangeProcessGroup,
  BusSolutionQtnItemIsPhased,
  BusSolnQtnItmPhasedPrdcssrItem,
  SubscriptionContractItem,
  SrvcDocItemWithdrawalReason,
  SrvcDocItemRefundType,
  SrvcDocItmRecrrgChrgNetAmount,
  SubscrpnContrTrmsAreSpecified,
  MidBillgCycExprtnIsAllowed,
  SrvcDocItmRecrrgChrgTaxAmount,
  SrvcDocItmRecrrgChrgGrossAmt,
  SrvcDocItmRecrrgChrgDuration,
  SrvcDocItmRecrrgChrgDurnUnit,
  SubscriptionContractReference,
  SubscriptionBillingCycle,
  SubscriptionContractExternalID,
  SbscrShContrSvTrMtAgrItmUUID,
  SbscrShContrSvTrMtAgrItmCstPrd,
  SvTrMtAgrItmIsFxdConfign,
  SubscrpnContrItmBillgPlnCyc,
  ServiceDocumentItemCanclnParty,
  ServiceDocumentItmCanclnReason,
  SrvcDocItmCanclnProcedure,
  ServiceDocumentRnwlDuration,
  ServiceDocRnwlDurationUnit,
  ServiceDocExtensionDuration,
  ServiceDocExtnDurationUnit,
  SrvcDocItemGracePeriod,
  SrvcDocItemGracePeriodUnit,
  SrvcDocItmGrcePerdEndDateTime,
  SbscrContrItmBizValdStrtDteTme,
  SbscrContrItmBizValdEndDteTme,
  SubscrpnContrAutoRnwlIsActv,
  BillOfMaterialItemNodeNumber,
  ReferenceInHouseRepair,
  ReferenceInHouseRepairItem,
  RefInHouseRepairIsExisting,
  SrvcDocItemCreditStatus,
  SrvcDocItmGTSEmbargoStatus,
  SrvcDocItmGTSScreeningStatus,
  SrvcDocItmGTSLglControlStatus,
  SrvcDocItmBslnCostPostgStatus,
  SrvcDocItmContinuousCostStatus,
  SrvcDocItemIsUnplanned,
  ShippingCondition,
  SrvcDocSubitemOrigin,
  SrvcDocItemCategoryUsage,
  SrvcDocItmAcctAssgmtObjectType,
  SrvcDocItmAcctAssgmtObject,
  MaterialSubstitutionReason,
  SrvcDocItmPartReferenceItem,
  SrvcDocItmApptRefObjectUUID,
  SrvcDocItmApptReferenceItem
FROM I_ServiceDocumentItem
LEFT OUTER JOIN I_ServiceDocumentEnhcd AS _ServiceDocument ON ServiceObjectType = _ServiceDocument.ServiceObjectType AND ServiceDocument = _ServiceDocument.ServiceDocument  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ParentServiceDocItem ON ParentServiceDocumentItemUUID = _ParentServiceDocItem.ServiceDocumentItemUUID  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentItemEnhcd AS _ParentServiceDocItem_2 ON ServiceObjectType = _ParentServiceDocItem_2.ServiceObjectType AND ServiceDocument = _ParentServiceDocItem_2.ServiceDocument AND ParentServiceDocumentItemUUID = _ParentServiceDocItem_2.ServiceDocumentItemUUID  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentRefObject AS _ServiceDocItemRefObj ON ServiceObjectType = _ServiceDocItemRefObj.ServiceObjectType AND ServiceDocument = _ServiceDocItemRefObj.ServiceDocument AND ServiceDocumentItem = _ServiceDocItemRefObj.ServiceDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_ServiceDocumentRefObject AS _ServiceDocItemMainRefObj ON ServiceObjectType = _ServiceDocItemMainRefObj.ServiceObjectType AND ServiceDocument = _ServiceDocItemMainRefObj.ServiceDocument AND ServiceDocumentItem = _ServiceDocItemMainRefObj.ServiceDocumentItem AND _ServiceDocItemMainRefObj.SrvcRefObjIsMainObject = 'X'  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentLongText AS _ServiceDocLongText ON ServiceObjectType = _ServiceDocLongText.ServiceObjectType AND ServiceDocument = _ServiceDocLongText.ServiceDocument AND ServiceDocumentItem = _ServiceDocLongText.ServiceDocumentItem AND _ServiceDocLongText.TextObjectCategory = 'CRM_ORDERI'  -- association [0..*]
LEFT OUTER JOIN I_ServiceDocItemNote AS _ServiceDocItemNote ON ServiceDocumentItemUUID = _ServiceDocItemNote.ServiceDocumentItemUUID  -- association [1..*]
LEFT OUTER JOIN I_ServiceDocItemTypeSlsSttg AS _ServiceDocItemTypeSlsSttg ON ServiceDocItemCategory = _ServiceDocItemTypeSlsSttg.ServiceDocItemCategory  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentItemPrdcssr AS _ServiceDocItmPredecessor ON ServiceDocumentItemUUID = _ServiceDocItmPredecessor.ServiceDocumentItemUUID AND ServiceDocumentItemObjectType = _ServiceDocItmPredecessor.ServiceDocumentItemObjectType AND _ServiceDocItmPredecessor.CharcLength = 32  -- association [1]
LEFT OUTER JOIN I_ServiceDocumentItemSuccessor AS _ServiceDocItmSuccessor ON ServiceDocumentItemUUID = _ServiceDocItmSuccessor.ServiceDocumentItemUUID AND ServiceDocumentItemObjectType = _ServiceDocItmSuccessor.ServiceDocumentItemObjectType AND _ServiceDocItmSuccessor.CharcLength = 32  -- association [0..*]
LEFT OUTER JOIN I_ServiceDocumentItemPrdcssr_2 AS _ServiceDocItmPrdcssr_2 ON ServiceDocumentItemCharUUID = _ServiceDocItmPrdcssr_2.ServiceDocumentItemCharUUID  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentItemSuccssr_2 AS _ServiceDocItmSuccssr_2 ON ServiceDocumentItemCharUUID = _ServiceDocItmSuccssr_2.ServiceDocumentItemCharUUID  -- association [0..*]
LEFT OUTER JOIN I_ServiceDocumentItemPrdcssr_3 AS _ServiceDocumentItemPrdcssr_3 ON ServiceDocumentItemCharUUID = _ServiceDocumentItemPrdcssr_3.ServiceDocumentItemCharUUID  -- association [0..1]
LEFT OUTER JOIN I_ServiceDocumentItemSuccssr_3 AS _ServiceDocumentItemSuccssr_3 ON ServiceDocumentItemCharUUID = _ServiceDocumentItemSuccssr_3.ServiceDocumentItemCharUUID  -- association [0..*]
LEFT OUTER JOIN I_MaterialPricingGroup AS _SrvcMaterialPricingGroup ON SrvcMaterialPricingGroup = _SrvcMaterialPricingGroup.MaterialPricingGroup  -- association [0..1]
LEFT OUTER JOIN E_ServiceDocumentItem AS _ServiceDocItemExt ON ServiceObjectType = _ServiceDocItemExt.ServiceCategory AND ServiceDocument = _ServiceDocItemExt.ServiceOrderItem AND ServiceDocumentItem = _ServiceDocItemExt.ServiceLineExternalID  -- association [0..1]
LEFT OUTER JOIN I_CustMgmtPartner AS _CustMgmtPartner ON ServiceDocument = _CustMgmtPartner.CustMgmtDocument AND ServiceObjectType = _CustMgmtPartner.CustMgmtObjectType AND SrvcDocItmPartReferenceItem = _CustMgmtPartner.CustMgmtDocumentItem  -- association [0..*]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND WorkCenterTypeCode = 'A'  -- association [0..1]
;