R_BusinessSolutionOrderItemTP

DDL: R_BUSINESSSOLUTIONORDERITEMTP Type: view_entity TRANSACTIONAL

Business Solution Order Item -TP

R_BusinessSolutionOrderItemTP is a Transactional CDS View that provides data about "Business Solution Order Item -TP" in SAP S/4HANA. It reads from 1 data source (I_ServiceDocumentItemEnhcd) and exposes 130 fields with key fields BusinessSolutionOrder, BusinessSolutionOrderItem. It has 32 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_ServiceDocumentItemEnhcd I_ServiceDocumentItemEnhcd from

Associations (32)

CardinalityTargetAliasCondition
[1..1] I_ServiceDocumentItemEnhcd _ServiceDocItemEnhcd $projection.BusinessSolutionOrder = _ServiceDocItemEnhcd.ServiceDocument and $projection.BusinessSolutionOrderItem = _ServiceDocItemEnhcd.ServiceDocumentItem and _ServiceDocItemEnhcd.ServiceObjectType = 'BUS2000172'
[0..1] I_CustMgmtExtRefID _ItemExternalReference $projection.BusinessSolutionOrder = _ItemExternalReference.CustMgmtDocument and $projection.BusinessSolutionOrderItem = _ItemExternalReference.CustMgmtDocumentItem and _ItemExternalReference.CustMgmtObjectType = 'BUS2000172' and _ItemExternalReference.CustMgmtExtRefIDType = '0013'
[0..1] I_CustMgmtExtRefID _HeaderExternalReference $projection.BusinessSolutionOrder = _HeaderExternalReference.CustMgmtDocument and _HeaderExternalReference.CustMgmtObjectType = 'BUS2000172' and _HeaderExternalReference.CustMgmtExtRefIDType = '0012'
[0..1] I_BusinessPartner _RespEmployee $projection.RespEmployeeBusinessPartnerId = _RespEmployee.BusinessPartner
[0..1] I_ServiceDocumentItemPrdcssr_3 _ReferenceSrvcContract $projection.ServiceDocumentItemCharUUID = _ReferenceSrvcContract.ServiceDocumentItemCharUUID and _ReferenceSrvcContract.ServiceDocItmPrdcssrBusObjType = 'BUS2000137'
[0..1] I_SrvcMgmtObjectStatus _BusSolnOrdItemStatus $projection.BusinessSolutionOrderItemUUID = _BusSolnOrdItemStatus.SrvcMgmtObjectUUID and ( _BusSolnOrdItemStatus.SrvcMgmtObjectStatus = 'I1002' or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus = 'I1003' or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus = 'I1004' or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus = 'I1005' ) and _BusSolnOrdItemStatus.SrvcMgmtObjectStatusIsInactive = ''
[0..1] I_SalesDocumentRjcnReasonText _RejectionReasonText $projection.BusSolnOrdItmRjcnReason = _RejectionReasonText.SalesDocumentRjcnReason and $projection.Language = _RejectionReasonText.Language
[0..1] I_CustMgmtPartner _ProjectManager $projection.BusinessSolutionOrder = _ProjectManager.CustMgmtDocument and $projection.BusinessSolutionOrderItem = _ProjectManager.CustMgmtDocumentItem and _ProjectManager.CustMgmtPartnerFunction = 'PROJM001' and _ProjectManager.CustMgmtPartFunctionCategory = '0093' and _ProjectManager.CustMgmtObjectType = 'BUS2000172'
[0..1] I_CustMgmtPartner _ServicePerformer _ServicePerformer.CustMgmtPartnerFunction = '00000028' and _ServicePerformer.CustMgmtPartFunctionCategory = '0091' and $projection.BusinessSolutionOrder = _ServicePerformer.CustMgmtDocument and $projection.BusinessSolutionOrderItem = _ServicePerformer.CustMgmtDocumentItem
[0..1] E_ServiceDocumentItem _Extension _Extension.ServiceCategory = 'BUS2000172' and $projection.BusinessSolutionOrder = _Extension.ServiceOrderItem and $projection.BusinessSolutionOrderItem = _Extension.ServiceLineExternalID
[0..1] I_SrvcMgmtObjectStatus _ServiceContractDetn $projection.BusinessSolutionOrderItemUUID = _ServiceContractDetn.SrvcMgmtObjectUUID and _ServiceContractDetn.SrvcMgmtObjectStatus = 'I0994' and _ServiceContractDetn.SrvcMgmtObjectStatusIsInactive = ''
[0..1] I_CustMgmtDateRule _SettlementPeriodRule $projection.SettlementPeriodRuleUUID = _SettlementPeriodRule.CustMgmtDateRuleUUID
[0..*] R_BusSolnOrdItmPartnerTP _BusSolnOrdItmPartnerTP
[0..*] R_BusSolnOrdItmRefObjectTP _BusSolnOrdItmRefObjectTP
[0..*] R_BusSolnOrdItmPriceElementTP _BusSolnOrdItmPriceElementTP
[0..*] R_BusSolnOrdItmProductTP _BusSolnOrdItmProductTP
[0..*] R_BusSolnOrdItmUserStatusTP _BusSolnOrdItmUserStatusTP
[0..*] R_BSOrdItmRateElementTP _BSOrdItmRateElementTP
[0..*] R_BSOrdItmSubscrpnParameterTP _BSOrdItmSubscrpnParameterTP
[0..*] R_BSOrdItmSubscrpnPriceParamTP _BSOrdItmSubscrpnPriceParamTP
[0..*] R_BusSolnOrdItmAppointmentTP _BusSolnOrdItmAppointmentTP
[0..*] R_BusSolnOrdItmDurationTP _BusSolnOrdItmDurationTP
[0..*] R_BusSolnOrdItmFUPSalesOrderTP _BusSolnOrdItmFUPSalesOrderTP
[0..*] R_BusSolnOrdItmFUPSrvcOrdTP _BusSolnOrdItmFUPSrvcOrdTP
[0..*] R_BusSolnOrdItmFUPSrvcContrTP _BusSolnOrdItmFUPSrvcContrTP
[0..*] R_BusSolnOrdItmFUPSubscrpnTP _BusSolnOrdItmFUPSubscrpnTP
[0..*] R_BusSolnOrdItmFUPEntProjectTP _BusSolnOrdItmFUPEntProjectTP
[0..*] R_BSOrdItmPrdcssrSrvcContrTP _BSOrdItmPrdcssrSrvcContrTP
[0..*] R_BusSolnOrdItmScheduleLineTP _BusSolnOrdItmScheduleLineTP
[0..*] R_BSOrdItmSubscrpnPriceAgrmtTP _BSOrdItmSubscrpnPriceAgrmtTP
[0..*] R_BusSolnOrdItmConfigurationTP _BusSolnOrdItmConfigurationTP
[0..*] R_BusSolnOrdItemLongTextTP _BusSolnOrdItemLongTextTP

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
ObjectModel.representativeKey BusinessSolutionOrderItem view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Business Solution Order Item -TP view

Fields (130)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder ServiceDocument
KEY BusinessSolutionOrderItem ServiceDocumentItem
ParentBusSolnOrdItem _ParentServiceDocItem_2 ServiceDocumentItem
ServiceDocumentItemObjectType ServiceDocumentItemObjectType
BusSolnOrdItmCategory ServiceDocItemCategory
BusinessSolutionOrderItemUUID ServiceDocumentItemUUID
ServiceDocumentItemCharUUID ServiceDocumentItemCharUUID
BusSolnOrdItmDescription ServiceDocumentItemDescription
Language Language
PostingDate PostingDate
PlannedServiceStartDateTime PlannedServiceStartDateTime
PlannedServiceEndDateTime PlannedServiceEndDateTime
RequestedServiceStartDateTime RequestedServiceStartDateTime
RequestedServiceEndDateTime RequestedServiceEndDateTime
RequestedDeliveryUTCDateTime RequestedDeliveryUTCDateTime
ServiceDocItemCreationDateTime ServiceDocItemCreationDateTime
ServiceDocItemChangedDateTime ServiceDocItemChangedDateTime
ServiceDocItemCreatedByUser ServiceDocItemCreatedByUser
ServiceDocItemChangedByUser ServiceDocItemChangedByUser
BusSolnOrdExtReference _HeaderExternalReference CustMgmtExtRefID
BusSolnOrdItmExtReference _ItemExternalReference CustMgmtExtRefID
Product Product
Quantity ServiceDocumentItemQuantity
QuantityUnit ServiceDocItemQuantityUnit
SoldToParty SoldToParty
ShipToParty ShipToParty
BillToParty BillToParty
PayerParty PayerParty
ContactPersonBusinessPartnerId ContactPerson
RespEmployeeBusinessPartnerId ResponsibleEmployee
ProjectManager _ProjectManager CustMgmtBusinessPartner
ServicePerformer _ServicePerformer CustMgmtBusinessPartner
BusSolnOrdItmStatus ServiceDocumentItemStatus
BusSolnOrdItmIsRejected ServiceDocumentItemIsRejected
ServiceDocItemBillingStatus ServiceDocItemBillingStatus
SrvcDocItmDeliveryStatus SrvcDocItmDeliveryStatus
SrvcDocItemTransferStatus SrvcDocItemTransferStatus
TransactionCurrency TransactionCurrency
ServiceDocumentItemNetAmount ServiceDocumentItemNetAmount
ItemGrossWeight ItemGrossWeight
ItemNetWeight ItemNetWeight
ItemVolume ItemVolume
ItemVolumeUnit ItemVolumeUnit
ItemWeightUnit ItemWeightUnit
DeliveryBlockReason DeliveryBlockReason
ItemOrderProbabilityInPercent ItemOrderProbabilityInPercent
DeliveryGroup DeliveryGroup
Plant Plant
ResponseProfile ResponseProfile
ServiceProfile ServiceProfile
ReferenceServiceContract
ReferenceServiceContractItem
SalesOrganization SalesOrganization
DistributionChannel DistributionChannel
Division Division
SalesOffice SalesOffice
SalesGroup SalesGroup
ResponsibleCostCenter ResponsibleCostCenter
EnterpriseProjectServiceOrg EnterpriseProjectServiceOrg
BillingBlockReason BillingBlockReason
BusSolnOrdItmRjcnReason ServiceDocItemRejectionReason
MaterialPricingGroup MaterialPricingGroup
PartialDeliveryIsAllowed PartialDeliveryIsAllowed
PaymentTerms PaymentTerms
ProfitCenter ProfitCenter
PurchaseOrderByCustomer PurchaseOrderByCustomer
BillableControl BillableControl
TimeSheetOvertimeCategory TimeSheetOvertimeCategory
SrvcContrItemRnwlDuration SrvcContrItemRnwlDuration
SrvcContrItemRnwlDurationUnit SrvcContrItemRnwlDurationUnit
SrvcContrItemExtensionDuration SrvcContrItemExtensionDuration
SrvcContrItemExtnDurationUnit SrvcContrItemExtnDurationUnit
SrvcMgmtBillgPlanBillgDateRule _BillPlanDateRule CustMgmtDateRuleName
SettlementPeriodRuleUUID SettlementPeriodRuleUUID
SettlementPeriodRule _SettlementPeriodRule CustMgmtDateRuleName
MidBillgCycExprtnIsAllowed MidBillgCycExprtnIsAllowed
SubscrpnContrAutoRnwlIsActv SubscrpnContrAutoRnwlIsActv
SubscriptionBillingCycle _ServiceDocItemEnhcd SubscriptionBillingCycle
SalesOrganizationOrgUnitID SalesOrganizationOrgUnitID
SalesOfficeOrgUnitID SalesOfficeOrgUnitID
SalesGroupOrgUnitID SalesGroupOrgUnitID
ServiceOrganization ServiceOrganization
ServiceDocumentType ServiceDocumentType
SrvcDocItmPartReferenceItem SrvcDocItmPartReferenceItem
SrvcDocItmApptRefObjectUUID SrvcDocItmApptRefObjectUUID
SrvcDocItmApptReferenceItem SrvcDocItmApptReferenceItem
ServiceObjectType ServiceObjectType
_SalesOrganizationOrgUnit_2 _SalesOrganizationOrgUnit_2
_SalesOfficeOrgUnit_2 _SalesOfficeOrgUnit_2
_SalesGroupOrgUnit_2 _SalesGroupOrgUnit_2
_ServiceOrganizationOrgUnit_2 _ServiceOrganizationOrgUnit_2
_ServiceDocItemCategory _ServiceDocItemCategory
_ServiceDocItemStatus _ServiceDocItemStatus
_ServiceDocItemEnhcd _ServiceDocItemEnhcd
_SrvcDocItemTransferStatus _SrvcDocItemTransferStatus
_BusSolnOrdItmPartnerTP _BusSolnOrdItmPartnerTP
_BusSolnOrdItmRefObjectTP _BusSolnOrdItmRefObjectTP
_BusSolnOrdItmPriceElementTP _BusSolnOrdItmPriceElementTP
_BusSolnOrdItmProductTP _BusSolnOrdItmProductTP
_BusSolnOrdItmUserStatusTP _BusSolnOrdItmUserStatusTP
_BSOrdItmRateElementTP _BSOrdItmRateElementTP
_BSOrdItmSubscrpnParameterTP _BSOrdItmSubscrpnParameterTP
_BSOrdItmSubscrpnPriceParamTP _BSOrdItmSubscrpnPriceParamTP
_BusSolnOrdItmAppointmentTP _BusSolnOrdItmAppointmentTP
_BusSolnOrdItmDurationTP _BusSolnOrdItmDurationTP
_BusSolnOrdItmFUPSalesOrderTP _BusSolnOrdItmFUPSalesOrderTP
_BusSolnOrdItmFUPSrvcOrdTP _BusSolnOrdItmFUPSrvcOrdTP
_BusSolnOrdItmFUPSrvcContrTP _BusSolnOrdItmFUPSrvcContrTP
_BusSolnOrdItmFUPSubscrpnTP _BusSolnOrdItmFUPSubscrpnTP
_BusSolnOrdItmFUPEntProjectTP _BusSolnOrdItmFUPEntProjectTP
_BSOrdItmPrdcssrSrvcContrTP _BSOrdItmPrdcssrSrvcContrTP
_BusSolnOrdItmScheduleLineTP _BusSolnOrdItmScheduleLineTP
_BusSolnOrdItmConfigurationTP _BusSolnOrdItmConfigurationTP
_BSOrdItmSubscrpnPriceAgrmtTP _BSOrdItmSubscrpnPriceAgrmtTP
_BusSolnOrdItemLongTextTP _BusSolnOrdItemLongTextTP
_BusinessSolutionOrder _BusinessSolutionOrder
_SoldToParty _SoldToParty
_ShipToParty _ShipToParty
_BillToParty _BillToParty
_PayerParty _PayerParty
_ContactPerson _ContactPerson
_RespEmployee _RespEmployee
_BusSolnOrdItemStatus _BusSolnOrdItemStatus
_RejectionReasonText _RejectionReasonText
_ServiceDocument _ServiceDocument
_Product _Product
_TransactionCurrency _TransactionCurrency
_ServiceDocItemRejectionReason _ServiceDocItemRejectionReason
_ServiceObjType _ServiceObjType
_ServiceDocOvertimeCat _ServiceDocOvertimeCat
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}

@ObjectModel: {
  semanticKey: ['BusinessSolutionOrderItem'],
  representativeKey: 'BusinessSolutionOrderItem',
  usageType:{
    dataClass:      #TRANSACTIONAL,
    serviceQuality: #C,
    sizeCategory:   #L
  }
}

@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}

@EndUserText.label: 'Business Solution Order Item -TP'

define view entity R_BusinessSolutionOrderItemTP
  as select from I_ServiceDocumentItemEnhcd

  association        to parent R_BusinessSolutionOrderTP as _BusinessSolutionOrder   on  $projection.BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder

  association [1..1] to I_ServiceDocumentItemEnhcd       as _ServiceDocItemEnhcd     on  $projection.BusinessSolutionOrder      = _ServiceDocItemEnhcd.ServiceDocument
                                                                                     and $projection.BusinessSolutionOrderItem  = _ServiceDocItemEnhcd.ServiceDocumentItem
                                                                                     and _ServiceDocItemEnhcd.ServiceObjectType = 'BUS2000172'

  association [0..1] to I_CustMgmtExtRefID               as _ItemExternalReference   on  $projection.BusinessSolutionOrder           = _ItemExternalReference.CustMgmtDocument
                                                                                     and $projection.BusinessSolutionOrderItem       = _ItemExternalReference.CustMgmtDocumentItem
                                                                                     and _ItemExternalReference.CustMgmtObjectType   = 'BUS2000172'
                                                                                     and _ItemExternalReference.CustMgmtExtRefIDType = '0013'

  association [0..1] to I_CustMgmtExtRefID               as _HeaderExternalReference on  $projection.BusinessSolutionOrder             = _HeaderExternalReference.CustMgmtDocument
                                                                                     and _HeaderExternalReference.CustMgmtObjectType   = 'BUS2000172'
                                                                                     and _HeaderExternalReference.CustMgmtExtRefIDType = '0012'

  association [0..1] to I_BusinessPartner                as _RespEmployee            on  $projection.RespEmployeeBusinessPartnerId = _RespEmployee.BusinessPartner

  association [0..1] to I_ServiceDocumentItemPrdcssr_3   as _ReferenceSrvcContract   on  $projection.ServiceDocumentItemCharUUID               = _ReferenceSrvcContract.ServiceDocumentItemCharUUID
                                                                                     and _ReferenceSrvcContract.ServiceDocItmPrdcssrBusObjType = 'BUS2000137'
 
  association [0..1] to I_SrvcMgmtObjectStatus         as _BusSolnOrdItemStatus    on  $projection.BusinessSolutionOrderItemUUID = _BusSolnOrdItemStatus.SrvcMgmtObjectUUID
                                                                                     and (
                                                                                        _BusSolnOrdItemStatus.SrvcMgmtObjectStatus          = 'I1002'
                                                                                        or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus       = 'I1003'
                                                                                        or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus       = 'I1004'
                                                                                        or _BusSolnOrdItemStatus.SrvcMgmtObjectStatus       = 'I1005'
                                                                                      )
                                                                                     and _BusSolnOrdItemStatus.SrvcMgmtObjectStatusIsInactive     = ''                                                                                  
  
  association [0..1] to I_SalesDocumentRjcnReasonText    as _RejectionReasonText     on  $projection.BusSolnOrdItmRjcnReason = _RejectionReasonText.SalesDocumentRjcnReason
                                                                                     and $projection.Language                = _RejectionReasonText.Language


  association [0..1] to I_CustMgmtPartner                as _ProjectManager          on  $projection.BusinessSolutionOrder            = _ProjectManager.CustMgmtDocument
                                                                                     and $projection.BusinessSolutionOrderItem        = _ProjectManager.CustMgmtDocumentItem
                                                                                     and _ProjectManager.CustMgmtPartnerFunction      = 'PROJM001'
                                                                                     and _ProjectManager.CustMgmtPartFunctionCategory = '0093'
                                                                                     and _ProjectManager.CustMgmtObjectType           = 'BUS2000172'

  association [0..1] to I_CustMgmtPartner                as _ServicePerformer        on  _ServicePerformer.CustMgmtPartnerFunction      = '00000028'
                                                                                     and _ServicePerformer.CustMgmtPartFunctionCategory = '0091'
                                                                                     and $projection.BusinessSolutionOrder              = _ServicePerformer.CustMgmtDocument
                                                                                     and $projection.BusinessSolutionOrderItem          = _ServicePerformer.CustMgmtDocumentItem
  
  association [0..1] to E_ServiceDocumentItem            as _Extension               on  _Extension.ServiceCategory            = 'BUS2000172'
                                                                                     and $projection.BusinessSolutionOrder     = _Extension.ServiceOrderItem
                                                                                     and $projection.BusinessSolutionOrderItem = _Extension.ServiceLineExternalID

  association [0..1] to I_SrvcMgmtObjectStatus              as _ServiceContractDetn  on  $projection.BusinessSolutionOrderItemUUID = _ServiceContractDetn.SrvcMgmtObjectUUID
                                                                                     and _ServiceContractDetn.SrvcMgmtObjectStatus          = 'I0994'
                                                                                     and _ServiceContractDetn.SrvcMgmtObjectStatusIsInactive     = ''
  association [0..1] to I_CustMgmtDateRule            as _SettlementPeriodRule       on  $projection.SettlementPeriodRuleUUID = _SettlementPeriodRule.CustMgmtDateRuleUUID  

  composition [0..*] of R_BusSolnOrdItmPartnerTP         as _BusSolnOrdItmPartnerTP
  composition [0..*] of R_BusSolnOrdItmRefObjectTP       as _BusSolnOrdItmRefObjectTP
  composition [0..*] of R_BusSolnOrdItmPriceElementTP    as _BusSolnOrdItmPriceElementTP
  composition [0..*] of R_BusSolnOrdItmProductTP         as _BusSolnOrdItmProductTP
  composition [0..*] of R_BusSolnOrdItmUserStatusTP      as _BusSolnOrdItmUserStatusTP
  composition [0..*] of R_BSOrdItmRateElementTP          as _BSOrdItmRateElementTP
  composition [0..*] of R_BSOrdItmSubscrpnParameterTP    as _BSOrdItmSubscrpnParameterTP
  composition [0..*] of R_BSOrdItmSubscrpnPriceParamTP   as _BSOrdItmSubscrpnPriceParamTP
  composition [0..*] of R_BusSolnOrdItmAppointmentTP     as _BusSolnOrdItmAppointmentTP
  composition [0..*] of R_BusSolnOrdItmDurationTP        as _BusSolnOrdItmDurationTP
  composition [0..*] of R_BusSolnOrdItmFUPSalesOrderTP   as _BusSolnOrdItmFUPSalesOrderTP
  composition [0..*] of R_BusSolnOrdItmFUPSrvcOrdTP      as _BusSolnOrdItmFUPSrvcOrdTP
  composition [0..*] of R_BusSolnOrdItmFUPSrvcContrTP    as _BusSolnOrdItmFUPSrvcContrTP
  composition [0..*] of R_BusSolnOrdItmFUPSubscrpnTP     as _BusSolnOrdItmFUPSubscrpnTP
  composition [0..*] of R_BusSolnOrdItmFUPEntProjectTP   as _BusSolnOrdItmFUPEntProjectTP
  composition [0..*] of R_BSOrdItmPrdcssrSrvcContrTP     as _BSOrdItmPrdcssrSrvcContrTP
  composition [0..*] of R_BusSolnOrdItmScheduleLineTP    as _BusSolnOrdItmScheduleLineTP
  composition [0..*] of R_BSOrdItmSubscrpnPriceAgrmtTP   as _BSOrdItmSubscrpnPriceAgrmtTP
  composition [0..*] of R_BusSolnOrdItmConfigurationTP   as _BusSolnOrdItmConfigurationTP
  composition [0..*] of R_BusSolnOrdItemLongTextTP       as _BusSolnOrdItemLongTextTP
{
      // Administrative

      @ObjectModel.foreignKey.association: '_ServiceDocument'
  key ServiceDocument                                           as BusinessSolutionOrder,
  key ServiceDocumentItem                                       as BusinessSolutionOrderItem,

      _ParentServiceDocItem_2.ServiceDocumentItem               as ParentBusSolnOrdItem,
      ServiceDocumentItemObjectType,
      ServiceDocItemCategory                                    as BusSolnOrdItmCategory,

      @Semantics.uuid: true
      ServiceDocumentItemUUID                                   as BusinessSolutionOrderItemUUID,

      @Semantics.uuid: true
      ServiceDocumentItemCharUUID,
      ServiceDocumentItemDescription                            as BusSolnOrdItmDescription,
      Language,
      PostingDate,

      PlannedServiceStartDateTime,
      PlannedServiceEndDateTime,
      RequestedServiceStartDateTime,
      RequestedServiceEndDateTime,
      RequestedDeliveryUTCDateTime,
      ServiceDocItemCreationDateTime,
      ServiceDocItemChangedDateTime,
      ServiceDocItemCreatedByUser,
      ServiceDocItemChangedByUser,
      _HeaderExternalReference.CustMgmtExtRefID                 as BusSolnOrdExtReference,
      _ItemExternalReference.CustMgmtExtRefID                   as BusSolnOrdItmExtReference,


      // Item

      @ObjectModel.foreignKey.association: '_Product'
      Product,

      @Semantics.quantity.unitOfMeasure: 'QuantityUnit'
      ServiceDocumentItemQuantity                               as Quantity,
      ServiceDocItemQuantityUnit                                as QuantityUnit,


      // Partners

      @ObjectModel.foreignKey.association: '_SoldToParty'
      SoldToParty,

      @ObjectModel.foreignKey.association: '_ShipToParty'
      ShipToParty,

      @ObjectModel.foreignKey.association: '_BillToParty'
      BillToParty,

      @ObjectModel.foreignKey.association: '_PayerParty'
      PayerParty,

      @ObjectModel.foreignKey.association: '_ContactPerson'
      ContactPerson                                             as ContactPersonBusinessPartnerId,

      @ObjectModel.foreignKey.association: '_RespEmployee'
      ResponsibleEmployee                                       as RespEmployeeBusinessPartnerId,

      _ProjectManager.CustMgmtBusinessPartner                   as ProjectManager,
      _ServicePerformer.CustMgmtBusinessPartner                 as ServicePerformer,

      // Status

      cast(case _BusSolnOrdItemStatus.SrvcMgmtObjectStatus
      when 'I1002' then 'X'
      else ' '
      end                  as   xfeld preserving type)          as BusSolnOrdItmIsNew,

      cast(case _BusSolnOrdItemStatus.SrvcMgmtObjectStatus
      when 'I1003' then 'X'
      else ' '
      end                  as   xfeld preserving type)          as BusSolnOrdItmIsInProcess,

      cast(case _BusSolnOrdItemStatus.SrvcMgmtObjectStatus
      when 'I1004' then 'X'
      else ' '
      end                  as   xfeld preserving type)          as BusSolnOrdItmIsReleased,

      cast(case _BusSolnOrdItemStatus.SrvcMgmtObjectStatus
      when 'I1005' then 'X'
      else ' '
      end                  as   xfeld preserving type)          as BusSolnOrdItmIsCompleted,

      ServiceDocumentItemStatus                                 as BusSolnOrdItmStatus,

      @Semantics.booleanIndicator: true
      ServiceDocumentItemIsRejected                             as BusSolnOrdItmIsRejected,
      ServiceDocItemBillingStatus,
      @ObjectModel.sapObjectNodeTypeReference: 'SrvcDocDeliveryStatus'
      SrvcDocItmDeliveryStatus,

      @ObjectModel.foreignKey.association: '_SrvcDocItemTransferStatus'
      SrvcDocItemTransferStatus, //Distribution Status



      // Pricing

      @ObjectModel.foreignKey.association: '_TransactionCurrency'
      TransactionCurrency,

      @Semantics.amount.currencyCode: 'TransactionCurrency'
      ServiceDocumentItemNetAmount,


      // Shipping

      @Semantics.quantity.unitOfMeasure: 'ItemWeightUnit'
      ItemGrossWeight,

      @Semantics.quantity.unitOfMeasure: 'ItemWeightUnit'
      ItemNetWeight,

      @Semantics.quantity.unitOfMeasure: 'ItemVolumeUnit'
      ItemVolume,
      ItemVolumeUnit,
      ItemWeightUnit,
      DeliveryBlockReason,
      ItemOrderProbabilityInPercent,

      cast( case when ServiceDocumentItemObjectType = 'BUS2000131'
      then IncotermsPart1
      else ''
      end as crmt_incoterms1 preserving type )                  as IncotermsPart1,

      cast( case when ServiceDocumentItemObjectType = 'BUS2000131'
      then IncotermsPart2
      else ''
      end as crmt_incoterms2 preserving type )                  as IncotermsPart2,

      cast( case when ServiceDocumentItemObjectType = 'BUS2000131'  
      then OrderCombinationIsAllowed
      else ''
      end as crmt_ordercombind preserving type )                as OrderCombinationIsAllowed,
      
      DeliveryGroup,
      
      cast (case when ServiceDocumentItemObjectType = 'BUS2000131' 
      then DeliveryPriority 
      else '00' 
      end as crmt_dlv_prio preserving type )                   as DeliveryPriority,

      Plant,

      // SLA

      ResponseProfile,
      ServiceProfile,


      // Reference Documents

      _ReferenceSrvcContract._ServiceDocItm.ServiceDocument     as ReferenceServiceContract,
      _ReferenceSrvcContract._ServiceDocItm.ServiceDocumentItem as ReferenceServiceContractItem,
      
      cast (case when _ServiceContractDetn.SrvcMgmtObjectStatus = 'I0994'
      then 'X' 
      else '' 
      end as xfeld  preserving type )                           as SrvcContrDetnIsSpprsd,

      // Organization

      SalesOrganization,
      DistributionChannel,
      Division,
      SalesOffice,
      SalesGroup,
      ResponsibleCostCenter,
      EnterpriseProjectServiceOrg,

      // Other

      BillingBlockReason,
      @ObjectModel.foreignKey.association: '_ServiceDocItemRejectionReason'
      ServiceDocItemRejectionReason                             as BusSolnOrdItmRjcnReason,
      MaterialPricingGroup,
      PartialDeliveryIsAllowed,
      PaymentTerms,
      ProfitCenter,
      PurchaseOrderByCustomer,
      BillableControl,
      
      @ObjectModel.foreignKey.association: '_ServiceDocOvertimeCat'
      TimeSheetOvertimeCategory,

      // Service Contract Related

      @Semantics.quantity.unitOfMeasure: 'SrvcContrItemRnwlDurationUnit'
      SrvcContrItemRnwlDuration,
      SrvcContrItemRnwlDurationUnit,

      @Semantics.quantity.unitOfMeasure: 'SrvcContrItemRnwlDurationUnit'
      SrvcContrItemExtensionDuration,
      SrvcContrItemExtnDurationUnit,

      _BillPlanDateRule.CustMgmtDateRuleName                    as SrvcMgmtBillgPlanBillgDateRule,
      SettlementPeriodRuleUUID,
      _SettlementPeriodRule.CustMgmtDateRuleName                  as SettlementPeriodRule,


      // Subscription Related

      cast(case SubscrpnContrTrmsAreSpecified
      when 'Y' then 'X'
      when ' ' then 'X'
      else '' end  as crms4_ovrwrt_default_terms_db)            as SubscrpnContrTrmsAreSpecified,

      MidBillgCycExprtnIsAllowed,
      SubscrpnContrAutoRnwlIsActv,
      _ServiceDocItemEnhcd.SubscriptionBillingCycle,


      // For Authorization

      SalesOrganizationOrgUnitID,
      SalesOfficeOrgUnitID,
      SalesGroupOrgUnitID,
      ServiceOrganization,
      @ObjectModel.sapObjectNodeTypeReference: 'ServiceDocumentType'
      ServiceDocumentType,

      //Inheritance of Complex set RAP

      SrvcDocItmPartReferenceItem, //For Item Partner

      SrvcDocItmApptRefObjectUUID, //For Item Appointment UUID

      SrvcDocItmApptReferenceItem, // For Appointment and Duration



      @ObjectModel.foreignKey.association: '_ServiceObjType'
      ServiceObjectType,

      //Below fields are added in order to consume in C_BusSolnOrdItmListRptAndObjPg


      _SalesOrganizationOrgUnit_2,
      _SalesOfficeOrgUnit_2,
      _SalesGroupOrgUnit_2,
      _ServiceOrganizationOrgUnit_2,
      _ServiceDocItemCategory,
      _ServiceDocItemStatus,
      _ServiceDocItemEnhcd,
      _SrvcDocItemTransferStatus,

      // Compositions

      _BusSolnOrdItmPartnerTP,
      _BusSolnOrdItmRefObjectTP,
      _BusSolnOrdItmPriceElementTP,
      _BusSolnOrdItmProductTP,
      _BusSolnOrdItmUserStatusTP,
      _BSOrdItmRateElementTP,
      _BSOrdItmSubscrpnParameterTP,
      _BSOrdItmSubscrpnPriceParamTP,
      _BusSolnOrdItmAppointmentTP,
      _BusSolnOrdItmDurationTP,
      _BusSolnOrdItmFUPSalesOrderTP,
      _BusSolnOrdItmFUPSrvcOrdTP,
      _BusSolnOrdItmFUPSrvcContrTP,
      _BusSolnOrdItmFUPSubscrpnTP,
      _BusSolnOrdItmFUPEntProjectTP,
      _BSOrdItmPrdcssrSrvcContrTP,
      _BusSolnOrdItmScheduleLineTP,
      _BusSolnOrdItmConfigurationTP,
      _BSOrdItmSubscrpnPriceAgrmtTP,
      _BusSolnOrdItemLongTextTP,


      // Associations

      _BusinessSolutionOrder,
      _SoldToParty,
      _ShipToParty,
      _BillToParty,
      _PayerParty,
      _ContactPerson,
      _RespEmployee,
      _BusSolnOrdItemStatus,
      _RejectionReasonText,
      _ServiceDocument,
      _Product,
      _TransactionCurrency,
      _ServiceDocItemRejectionReason,
      _ServiceObjType,
      _ServiceDocOvertimeCat

}
where
  ServiceObjectType = 'BUS2000172'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTMGMTDATERULE",
"I_CUSTMGMTEXTREFID",
"I_CUSTMGMTPARTNER",
"I_SERVICEDOCUMENTITEMENHCD",
"I_SERVICEDOCUMENTITEMPRDCSSR_3",
"I_SRVCMGMTOBJECTSTATUS"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CURRENCY",
"I_CUSTMGMTBUSOBJTYPE",
"I_PRODUCT",
"I_SALESDOCUMENTRJCNREASON",
"I_SALESDOCUMENTRJCNREASONTEXT",
"I_SERVICEDOCITEMCATEGORY",
"I_SERVICEDOCUMENTENHCD",
"I_SERVICEDOCUMENTITEMENHCD",
"I_SERVICEDOCUMENTSTATUS",
"I_SRVCDOCTRANSFERSTATUS",
"I_SRVCMGMTOBJECTSTATUS",
"I_SRVCMGMTORGANIZATIONUNIT",
"I_TIMESHEETOVERTIMECAT",
"R_BSORDITMPRDCSSRSRVCCONTRTP",
"R_BSORDITMRATEELEMENTTP",
"R_BSORDITMSUBSCRPNPARAMETERTP",
"R_BSORDITMSUBSCRPNPRICEAGRMTTP",
"R_BSORDITMSUBSCRPNPRICEPARAMTP",
"R_BUSINESSSOLUTIONORDERTP",
"R_BUSSOLNORDITEMLONGTEXTTP",
"R_BUSSOLNORDITMAPPOINTMENTTP",
"R_BUSSOLNORDITMCONFIGURATIONTP",
"R_BUSSOLNORDITMDURATIONTP",
"R_BUSSOLNORDITMFUPENTPROJECTTP",
"R_BUSSOLNORDITMFUPSALESORDERTP",
"R_BUSSOLNORDITMFUPSRVCCONTRTP",
"R_BUSSOLNORDITMFUPSRVCORDTP",
"R_BUSSOLNORDITMFUPSUBSCRPNTP",
"R_BUSSOLNORDITMPARTNERTP",
"R_BUSSOLNORDITMPRICEELEMENTTP",
"R_BUSSOLNORDITMPRODUCTTP",
"R_BUSSOLNORDITMREFOBJECTTP",
"R_BUSSOLNORDITMSCHEDULELINETP",
"R_BUSSOLNORDITMUSERSTATUSTP"
],
"BASE":
[
"I_SERVICEDOCUMENTITEMENHCD"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/