R_SrvcQtanPartnerAddressTP

DDL: R_SRVCQTANPARTNERADDRESSTP Type: view_entity TRANSACTIONAL Package: CRMS4_SERVICE_QUOTATION_RAP

Partner Address For Service Quotation-TP

R_SrvcQtanPartnerAddressTP is a Transactional CDS View that provides data about "Partner Address For Service Quotation-TP" in SAP S/4HANA. It reads from 2 data sources (I_SrvcDocPartnerAddress, I_ServiceDocument) and exposes 36 fields with key fields ServiceQuotation, CustMgmtPartnerFunction, CustMgmtBusinessPartner. It has 1 association to related views. Part of development package CRMS4_SERVICE_QUOTATION_RAP.

Data Sources (2)

SourceAliasJoin Type
I_SrvcDocPartnerAddress I_SrvcDocPartnerAddress from
I_ServiceDocument ServiceQuotation inner

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 Partner Address For Service Quotation-TP view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (36)

KeyFieldSource TableSource FieldDescription
KEY ServiceQuotation I_SrvcDocPartnerAddress ServiceDocument
KEY CustMgmtPartnerFunction I_SrvcDocPartnerAddress CustMgmtPartnerFunction
KEY CustMgmtBusinessPartner I_SrvcDocPartnerAddress CustMgmtBusinessPartner
CityName I_SrvcDocPartnerAddress CityName
CorrespondenceLanguage I_SrvcDocPartnerAddress CorrespondenceLanguage
Country I_SrvcDocPartnerAddress Country
DistrictName I_SrvcDocPartnerAddress DistrictName
EmailAddress I_SrvcDocPartnerAddress EmailAddress
FaxAreaCodeSubscriberNumber I_SrvcDocPartnerAddress FaxAreaCodeSubscriberNumber
FaxExtensionNumber I_SrvcDocPartnerAddress FaxExtensionNumber
FaxNumberCountry I_SrvcDocPartnerAddress FaxNumberCountry
FormOfAddress I_SrvcDocPartnerAddress FormOfAddress
HouseNumber I_SrvcDocPartnerAddress HouseNumber
MobileNumber I_SrvcDocPartnerAddress MobileNumber
MobilePhoneCountry I_SrvcDocPartnerAddress MobilePhoneCountry
OrganizationName1 I_SrvcDocPartnerAddress OrganizationName1
OrganizationName2 I_SrvcDocPartnerAddress OrganizationName2
OrganizationName3 I_SrvcDocPartnerAddress OrganizationName3
OrganizationName4 I_SrvcDocPartnerAddress OrganizationName4
PersonFamilyName I_SrvcDocPartnerAddress PersonFamilyName
PersonGivenName I_SrvcDocPartnerAddress PersonGivenName
PhoneExtensionNumber I_SrvcDocPartnerAddress PhoneExtensionNumber
PhoneNumber I_SrvcDocPartnerAddress PhoneNumber
POBox I_SrvcDocPartnerAddress POBox
POBoxPostalCode I_SrvcDocPartnerAddress POBoxPostalCode
PostalCode I_SrvcDocPartnerAddress PostalCode
Region I_SrvcDocPartnerAddress Region
StreetName I_SrvcDocPartnerAddress StreetName
StreetPrefixName1 I_SrvcDocPartnerAddress StreetPrefixName1
StreetPrefixName2 I_SrvcDocPartnerAddress StreetPrefixName2
StreetSuffixName1 I_SrvcDocPartnerAddress StreetSuffixName1
StreetSuffixName2 I_SrvcDocPartnerAddress StreetSuffixName2
TaxJurisdiction I_SrvcDocPartnerAddress TaxJurisdiction
TransportZone I_SrvcDocPartnerAddress TransportZone
_SrvcQtanPartnerTP _SrvcQtanPartnerTP
_ServiceQuotationTP _ServiceQuotationTP
@AccessControl: {
  authorizationCheck: #MANDATORY,
  personalData.blocking: #('TRANSACTIONAL_DATA')
}
@VDM: {
  viewType: #TRANSACTIONAL,
  lifecycle.contract.type: #SAP_INTERNAL_API
}
@Metadata:
{
  ignorePropagatedAnnotations: true
}
@EndUserText.label: 'Partner Address For Service Quotation-TP'
@ObjectModel: {
   usageType: {dataClass:      #TRANSACTIONAL,
                serviceQuality: #C,
                sizeCategory:   #L}
}
define view entity R_SrvcQtanPartnerAddressTP
  as select from I_SrvcDocPartnerAddress

    inner join   I_ServiceDocument as ServiceQuotation on  ServiceQuotation.ServiceDocument            = I_SrvcDocPartnerAddress.ServiceDocument
                                                       and ServiceQuotation.ServiceObjectType          = 'BUS2000116'
                                                       and ServiceQuotation.ServiceDocumentIsQuotation is not initial


  association        to parent R_SrvcQtanPartnerTP as _SrvcQtanPartnerTP  on  $projection.ServiceQuotation        = _SrvcQtanPartnerTP.ServiceQuotation
                                                                          and $projection.CustMgmtPartnerFunction = _SrvcQtanPartnerTP.CustMgmtPartnerFunction
                                                                          and $projection.CustMgmtBusinessPartner = _SrvcQtanPartnerTP.CustMgmtBusinessPartner
  association [0..1] to R_ServiceQuotationTP       as _ServiceQuotationTP on  $projection.ServiceQuotation = _ServiceQuotationTP.ServiceQuotation

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

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

      //Associations

      _SrvcQtanPartnerTP,
      _ServiceQuotationTP
}
where
      I_SrvcDocPartnerAddress.CustMgmtObjectType  = 'BUS2000116'
  and I_SrvcDocPartnerAddress.ServiceDocumentItem is initial