R_SrvcConfPartnerTP

DDL: R_SRVCCONFPARTNERTP Type: view_entity TRANSACTIONAL

Service Confirmation Partner - TP

R_SrvcConfPartnerTP is a Transactional CDS View that provides data about "Service Confirmation Partner - TP" in SAP S/4HANA. It reads from 1 data source (I_CustMgmtPartner) and exposes 9 fields with key fields ServiceConfirmation, CustMgmtPartnerFunction, CustMgmtBusinessPartner. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustMgmtPartner I_CustMgmtPartner from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CustMgmtPartnerFuncText _PartnerFunction $projection.CustMgmtPartnerFunction = _PartnerFunction.PartnerFunction and _PartnerFunction.Language = $session.system_language
[0..1] I_BusinessPartner _BusinessPartner $projection.CustMgmtBusinessPartner = _BusinessPartner.BusinessPartner
[0..*] R_SrvcConfPartnerAddressTP _SrvcConfPartnerAddressTP

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Service Confirmation Partner - TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY ServiceConfirmation CustMgmtDocument
KEY CustMgmtPartnerFunction CustMgmtPartnerFunction
KEY CustMgmtBusinessPartner CustMgmtBusinessPartner
CustMgmtPartFunctionCategory CustMgmtPartFunctionCategory
CustMgmtPartnerIsMainPartner CustMgmtPartnerIsMainPartner
_PartnerFunction _PartnerFunction
_BusinessPartner _BusinessPartner
_SrvcConfPartnerAddressTP _SrvcConfPartnerAddressTP
_ServiceConfirmationTP _ServiceConfirmationTP
@AccessControl: {
  authorizationCheck: #CHECK,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
  ignorePropagatedAnnotations: true
}

@EndUserText.label: 'Service Confirmation Partner - TP'

@ObjectModel: {
   usageType: {dataClass:      #TRANSACTIONAL,
                serviceQuality: #B,
                sizeCategory:   #L}
}


define view entity R_SrvcConfPartnerTP
  as select from I_CustMgmtPartner
  association        to parent R_ServiceConfirmationTP as _ServiceConfirmationTP on  $projection.ServiceConfirmation = _ServiceConfirmationTP.ServiceConfirmation

  association [0..1] to I_CustMgmtPartnerFuncText      as _PartnerFunction       on  $projection.CustMgmtPartnerFunction = _PartnerFunction.PartnerFunction
                                                                                 and _PartnerFunction.Language           = $session.system_language
  association [0..1] to I_BusinessPartner              as _BusinessPartner       on  $projection.CustMgmtBusinessPartner = _BusinessPartner.BusinessPartner

  composition [0..*] of R_SrvcConfPartnerAddressTP     as _SrvcConfPartnerAddressTP

{

       @ObjectModel.foreignKey.association: '_ServiceConfirmationTP'
  key  CustMgmtDocument as ServiceConfirmation,
  key  CustMgmtPartnerFunction,
  key  CustMgmtBusinessPartner,
       CustMgmtPartFunctionCategory,
       CustMgmtPartnerIsMainPartner,


       //Association

       _PartnerFunction,
       _BusinessPartner,
       _SrvcConfPartnerAddressTP,
       _ServiceConfirmationTP

}
where
      CustMgmtObjectType   = 'BUS2000117' // Service Confirmation

  and CustMgmtDocumentItem is initial
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CUSTMGMTPARTNER"
],
"ASSOCIATED":
[
"I_BUSINESSPARTNER",
"I_CUSTMGMTPARTNERFUNCTEXT",
"R_SERVICECONFIRMATIONTP",
"R_SRVCCONFPARTNERADDRESSTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/