A_BusSolnOrdPartner

DDL: A_BUSSOLNORDPARTNER Type: view_entity COMPOSITE Package: ODATA_CRMS4_SOLUTIONORDER

Solution Order Partner

A_BusSolnOrdPartner is a Composite CDS View that provides data about "Solution Order Partner" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocument, I_CustMgmtPartner) and exposes 6 fields with key fields BusinessSolutionOrder, CustMgmtPartnerFunction, CustMgmtBusinessPartner. It has 2 associations to related views. Part of development package ODATA_CRMS4_SOLUTIONORDER.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocument SolutionOrder inner
I_CustMgmtPartner SolutionOrderPartner from

Associations (2)

CardinalityTargetAliasCondition
[0..1] A_BusSolnOrdPartnerAddress _Address $projection.BusinessSolutionOrder = _Address.BusinessSolutionOrder and $projection.CustMgmtPartnerFunction = _Address.CustMgmtPartnerFunction and $projection.CustMgmtBusinessPartner = _Address.CustMgmtBusinessPartner
[1] A_BusinessSolutionOrder _BusinessSolutionOrder $projection.BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder

Annotations (11)

NameValueLevelField
EndUserText.label Solution Order Partner view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
Metadata.ignorePropagatedAnnotations true view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY BusinessSolutionOrder I_CustMgmtPartner CustMgmtDocument
KEY CustMgmtPartnerFunction I_CustMgmtPartner CustMgmtPartnerFunction
KEY CustMgmtBusinessPartner I_CustMgmtPartner CustMgmtBusinessPartner
CustMgmtPartnerIsMainPartner I_CustMgmtPartner CustMgmtPartnerIsMainPartner
_Address _Address
_BusinessSolutionOrder _BusinessSolutionOrder
//@ClientHandling.algorithm:#SESSION_VARIABLE

@EndUserText.label: 'Solution Order Partner'
@VDM: {
  viewType: #COMPOSITE,
  lifecycle.contract.type: #PUBLIC_REMOTE_API
}
//@OData.entityType.name:'BusSolnOrdItmPartner_Type'

//@AbapCatalog: {

//  sqlViewName: 'ABSOPARTNER',

//  compiler.compareFilter: true,

//  preserveKey: true

//}

@AccessControl: {
  authorizationCheck:#MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@ObjectModel: {
   createEnabled: true,
   updateEnabled: true,
   deleteEnabled: true,
   usageType: {
     dataClass:      #TRANSACTIONAL,
     serviceQuality: #B,
     sizeCategory:   #L
   }
}
@Metadata.ignorePropagatedAnnotations: true

define view entity A_BusSolnOrdPartner as select from I_CustMgmtPartner as SolutionOrderPartner
  inner join  I_ServiceDocument as SolutionOrder on  SolutionOrderPartner.CustMgmtDocument          = SolutionOrder.ServiceDocument
                                                and SolutionOrderPartner.CustMgmtObjectType        = SolutionOrder.ServiceObjectType
                                                and SolutionOrderPartner.CustMgmtDocumentItem      = '000000'
                                                and SolutionOrder.ServiceObjectType           = 'BUS2000172'
                                                and SolutionOrder.ServiceDocumentIsQuotation  is initial
                                                and SolutionOrder.ServiceDocumentTemplateType is initial

association [0..1] to A_BusSolnOrdPartnerAddress as _Address on $projection.BusinessSolutionOrder = _Address.BusinessSolutionOrder
                                                             and $projection.CustMgmtPartnerFunction = _Address.CustMgmtPartnerFunction
                                                             and $projection.CustMgmtBusinessPartner = _Address.CustMgmtBusinessPartner
association [1] to A_BusinessSolutionOrder as _BusinessSolutionOrder on $projection.BusinessSolutionOrder = _BusinessSolutionOrder.BusinessSolutionOrder

{
  key SolutionOrderPartner.CustMgmtDocument as BusinessSolutionOrder,
  key SolutionOrderPartner.CustMgmtPartnerFunction,
  key SolutionOrderPartner.CustMgmtBusinessPartner,
  SolutionOrderPartner.CustMgmtPartnerIsMainPartner,
  
  _Address,
  _BusinessSolutionOrder
}