R_SrvcQtanItemPartnerAddressTP

DDL: R_SRVCQTANITEMPARTNERADDRESSTP Type: view_entity TRANSACTIONAL Package: CRMS4_SERVICE_QUOTATION_RAP

Prtn Addr For Service Quotation Item-TP

R_SrvcQtanItemPartnerAddressTP is a Transactional CDS View that provides data about "Prtn Addr For Service Quotation Item-TP" in SAP S/4HANA. It reads from 2 data sources (I_ServiceDocumentItem, R_SrvcDocItemPartnerAddress) and exposes 37 fields with key fields ServiceQuotation, ServiceQuotationItem, CustMgmtPartnerFunction, CustMgmtBusinessPartner. It has 1 association to related views. Part of development package CRMS4_SERVICE_QUOTATION_RAP.

Data Sources (2)

SourceAliasJoin Type
I_ServiceDocumentItem ServiceOrderItem inner
R_SrvcDocItemPartnerAddress ServicePartnerAddress from

Associations (1)

CardinalityTargetAliasCondition
[0..1] R_ServiceQuotationTP _ServiceQuotationTP $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #TRANSACTIONAL view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Prtn Addr For Service Quotation Item-TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation R_SrvcDocItemPartnerAddress ServiceDocument
KEY ServiceQuotationItem R_SrvcDocItemPartnerAddress ServiceDocumentItem
KEY CustMgmtPartnerFunction R_SrvcDocItemPartnerAddress CustMgmtPartnerFunction
KEY CustMgmtBusinessPartner R_SrvcDocItemPartnerAddress CustMgmtBusinessPartner
CityName R_SrvcDocItemPartnerAddress CityName
CorrespondenceLanguage R_SrvcDocItemPartnerAddress CorrespondenceLanguage
Country R_SrvcDocItemPartnerAddress Country
DistrictName R_SrvcDocItemPartnerAddress DistrictName
EmailAddress R_SrvcDocItemPartnerAddress EmailAddress
FaxAreaCodeSubscriberNumber R_SrvcDocItemPartnerAddress FaxAreaCodeSubscriberNumber
FaxExtensionNumber R_SrvcDocItemPartnerAddress FaxExtensionNumber
FaxNumberCountry R_SrvcDocItemPartnerAddress FaxNumberCountry
FormOfAddress R_SrvcDocItemPartnerAddress FormOfAddress
HouseNumber R_SrvcDocItemPartnerAddress HouseNumber
MobileNumber R_SrvcDocItemPartnerAddress MobileNumber
MobilePhoneCountry R_SrvcDocItemPartnerAddress MobilePhoneCountry
OrganizationName1 R_SrvcDocItemPartnerAddress OrganizationName1
OrganizationName2 R_SrvcDocItemPartnerAddress OrganizationName2
OrganizationName3 R_SrvcDocItemPartnerAddress OrganizationName3
OrganizationName4 R_SrvcDocItemPartnerAddress OrganizationName4
PersonFamilyName R_SrvcDocItemPartnerAddress PersonFamilyName
PersonGivenName R_SrvcDocItemPartnerAddress PersonGivenName
PhoneExtensionNumber R_SrvcDocItemPartnerAddress PhoneExtensionNumber
PhoneNumber R_SrvcDocItemPartnerAddress PhoneNumber
POBox R_SrvcDocItemPartnerAddress POBox
POBoxPostalCode R_SrvcDocItemPartnerAddress POBoxPostalCode
PostalCode R_SrvcDocItemPartnerAddress PostalCode
Region R_SrvcDocItemPartnerAddress Region
StreetName R_SrvcDocItemPartnerAddress StreetName
StreetPrefixName1 R_SrvcDocItemPartnerAddress StreetPrefixName1
StreetPrefixName2 R_SrvcDocItemPartnerAddress StreetPrefixName2
StreetSuffixName1 R_SrvcDocItemPartnerAddress StreetSuffixName1
StreetSuffixName2 R_SrvcDocItemPartnerAddress StreetSuffixName2
TaxJurisdiction R_SrvcDocItemPartnerAddress TaxJurisdiction
TransportZone R_SrvcDocItemPartnerAddress TransportZone
_SrvcQtanItemPartnerTP _SrvcQtanItemPartnerTP
_ServiceQuotationTP _ServiceQuotationTP
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
  ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Prtn Addr For Service Quotation Item-TP'
@ObjectModel: {
   usageType: {dataClass:      #TRANSACTIONAL,
                serviceQuality: #C,
                sizeCategory:   #L}
}
define view entity R_SrvcQtanItemPartnerAddressTP
  as select from R_SrvcDocItemPartnerAddress as ServicePartnerAddress
    inner join   I_ServiceDocumentItem       as ServiceOrderItem on  ServicePartnerAddress.ServiceDocument           = ServiceOrderItem.ServiceDocument
                                                                 and ServicePartnerAddress.ServiceDocumentItem       = ServiceOrderItem.ServiceDocumentItem
                                                                 and ServiceOrderItem.ServiceObjectType              = 'BUS2000116'
                                                                 and ServiceOrderItem.ServiceDocumentItemIsQuotation is not initial

  association        to parent R_SrvcQtanItemPartnerTP as _SrvcQtanItemPartnerTP on  $projection.ServiceQuotation        = _SrvcQtanItemPartnerTP.ServiceQuotation
                                                                                 and $projection.ServiceQuotationItem    = _SrvcQtanItemPartnerTP.ServiceQuotationItem
                                                                                 and $projection.CustMgmtPartnerFunction = _SrvcQtanItemPartnerTP.CustMgmtPartnerFunction
                                                                                 and $projection.CustMgmtBusinessPartner = _SrvcQtanItemPartnerTP.CustMgmtBusinessPartner
  association [0..1] to R_ServiceQuotationTP           as _ServiceQuotationTP    on  $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation

{
      @ObjectModel.foreignKey.association: '_ServiceQuotationTP'
  key ServicePartnerAddress.ServiceDocument     as ServiceQuotation,
  key ServicePartnerAddress.ServiceDocumentItem as ServiceQuotationItem,
  key ServicePartnerAddress.CustMgmtPartnerFunction,
  key ServicePartnerAddress.CustMgmtBusinessPartner,
      ServicePartnerAddress.CityName,
      ServicePartnerAddress.CorrespondenceLanguage,
      ServicePartnerAddress.Country,
      ServicePartnerAddress.DistrictName,
      ServicePartnerAddress.EmailAddress,
      ServicePartnerAddress.FaxAreaCodeSubscriberNumber,
      ServicePartnerAddress.FaxExtensionNumber,
      ServicePartnerAddress.FaxNumberCountry,
      ServicePartnerAddress.FormOfAddress,
      ServicePartnerAddress.HouseNumber,
      ServicePartnerAddress.MobileNumber,
      ServicePartnerAddress.MobilePhoneCountry,
      ServicePartnerAddress.OrganizationName1,
      ServicePartnerAddress.OrganizationName2,
      ServicePartnerAddress.OrganizationName3,
      ServicePartnerAddress.OrganizationName4,
      ServicePartnerAddress.PersonFamilyName,
      ServicePartnerAddress.PersonGivenName,
      ServicePartnerAddress.PhoneExtensionNumber,
      ServicePartnerAddress.PhoneNumber,
      //  PhoneNumberCountry,

      ServicePartnerAddress.POBox,
      ServicePartnerAddress.POBoxPostalCode,
      ServicePartnerAddress.PostalCode,
      ServicePartnerAddress.Region,
      ServicePartnerAddress.StreetName,
      ServicePartnerAddress.StreetPrefixName1,
      ServicePartnerAddress.StreetPrefixName2,
      ServicePartnerAddress.StreetSuffixName1,
      ServicePartnerAddress.StreetSuffixName2,
      ServicePartnerAddress.TaxJurisdiction,
      ServicePartnerAddress.TransportZone,

      //Associations

      _SrvcQtanItemPartnerTP,
      _ServiceQuotationTP
}
where
      ServicePartnerAddress.CustMgmtObjectType  = 'BUS2000116'
  and ServicePartnerAddress.ServiceDocumentItem is not initial