R_SrcgSuplrListBusPartnerTP

DDL: R_SRCGSUPLRLISTBUSPARTNERTP Type: view_entity TRANSACTIONAL Package: RAP_MM_PUR_SRCSLIST

Bus Partner for Srcg Supplier List - TP

R_SrcgSuplrListBusPartnerTP is a Transactional CDS View that provides data about "Bus Partner for Srcg Supplier List - TP" in SAP S/4HANA. It reads from 1 data source (R_SrcgSuplrListBusinessPartner) and exposes 34 fields with key field SrcgSuplrListBusPartUUID. It has 5 associations to related views. Part of development package RAP_MM_PUR_SRCSLIST.

Data Sources (1)

SourceAliasJoin Type
R_SrcgSuplrListBusinessPartner R_SrcgSuplrListBusinessPartner from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_SuplrListSuplrCntryGroupText _SuplrListSuplrCntryGroupText $projection.SupplierCountryGroup = _SuplrListSuplrCntryGroupText.SupplierCountryGroup and _SuplrListSuplrCntryGroupText.Language = $session.system_language
[0..*] I_CountryText _CountryText $projection.Country = _CountryText.Country
[0..1] I_SupplierListUpdateType _SupplierListUpdateType $projection.SupplierListUpdateType = _SupplierListUpdateType.SupplierListUpdateType
[1..1] I_UserContactCard _UserContactCard $projection.SuplrListSupplierAddedByUser = _UserContactCard.ContactCardID
[1..1] E_SrcgSuplrListBusinessPartner _Extension $projection.SrcgSuplrListBusPartUUID = _Extension.SrcgSuplrListBusPartUUID

Annotations (16)

NameValueLevelField
VDM.viewType #TRANSACTIONAL view
EndUserText.label Bus Partner for Srcg Supplier List - TP view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.representativeKey SrcgSuplrListBusPartUUID view
AbapCatalog.extensibility.extensible true view
AbapCatalog.extensibility.allowNewDatasources false view
AbapCatalog.extensibility.elementSuffix SSB view
AbapCatalog.extensibility.quota.maximumFields 404 view
AbapCatalog.extensibility.quota.maximumBytes 40400 view
AbapCatalog.extensibility.allowNewCompositions true view
Metadata.ignorePropagatedAnnotations true view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY SrcgSuplrListBusPartUUID SrcgSuplrListBusPartUUID Business Partner GUID
BusinessPartnerUUID BusinessPartnerUUID UUID
BusinessPartner BusinessPartner Issuing Authority
Supplier Supplier Supplier
AddressNumber AddressNumber Src Address No
SupplierCountryGroup SupplierCountryGroup Country/Region Group
SourcingSupplierListUUID SourcingSupplierListUUID UUID of Sourcing Supplier List
SuplrListSupplierIsMandatory SuplrListSupplierIsMandatory Mandatory Supplier
BusinessPartnerIsBlocked BusinessPartnerIsBlocked Central Block
SuplrListReferenceObjectUUID SuplrListReferenceObjectUUID Ref Object UUID
SupplierListReferenceObject SupplierListReferenceObject Reference Object
SuplrListReferenceObjectType SuplrListReferenceObjectType Ref Obj Type for Sourcing Supplier List
SourceSupplierListUUID SourceSupplierListUUID Src Suplr List UUID
SourceSupplierListType SourceSupplierListType Source Supplier List Type
SupplierListUpdateType SupplierListUpdateType Update Type
IsDeleted IsDeleted TRUE
SuplrListSuplrDeltnReasonText SuplrListSuplrDeltnReasonText Supplier Deletion Reason
SuplrListSupplierAddedByUser SuplrListSupplierAddedByUser Purchaser Resp
CountryendasCountry
EmailAddressendasEmailAddress
SupplierListName SupplierListName Supplier List Name
SupplierName _Supplier SupplierName Supplier Name
_BusinessPartnerAddress _BusinessPartnerAddress
_BusinessPartner _BusinessPartner
_SourcingSupplierList _SourcingSupplierList
_Supplier _Supplier
_CountryText _CountryText
_SupplierListUpdateType _SupplierListUpdateType
_SourcingSupplierListTP _SourcingSupplierListTP
_SrcgSuplrListSuplrSourceType _SrcgSuplrListSuplrSourceType
_SuplrListSuplrCntryGroupText _SuplrListSuplrCntryGroupText
_SupplierToBusinessPartner _SupplierToBusinessPartner
_UserContactCard _UserContactCard
_SuplrContactCard _SuplrContactCard

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view R_SrcgSuplrListBusPartnerTP.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW R_SrcgSuplrListBusPartnerTP AS
SELECT
  SrcgSuplrListBusPartUUID,
  BusinessPartnerUUID,
  BusinessPartner,
  Supplier,
  AddressNumber,
  SupplierCountryGroup,
  SourcingSupplierListUUID,
  SuplrListSupplierIsMandatory,
  BusinessPartnerIsBlocked,
  SuplrListReferenceObjectUUID,
  SupplierListReferenceObject,
  SuplrListReferenceObjectType,
  SourceSupplierListUUID,
  SourceSupplierListType,
  SupplierListUpdateType,
  IsDeleted,
  SuplrListSuplrDeltnReasonText,
  SuplrListSupplierAddedByUser,
  case Supplier when '' then _BusinessPartnerAddress.Country else _SuplrContactCard.Country end as Country AS CountryendasCountry,
  case Supplier when '' then _BusinessPartnerAddress.EmailAddress else _SuplrContactCard.EmailAddress end as EmailAddress AS EmailAddressendasEmailAddress,
  SupplierListName,
  _Supplier.SupplierName AS SupplierName
FROM R_SrcgSuplrListBusinessPartner
LEFT OUTER JOIN I_SuplrListSuplrCntryGroupText AS _SuplrListSuplrCntryGroupText ON SupplierCountryGroup = _SuplrListSuplrCntryGroupText.SupplierCountryGroup AND _SuplrListSuplrCntryGroupText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_CountryText AS _CountryText ON Country = _CountryText.Country  -- association [0..*]
LEFT OUTER JOIN I_SupplierListUpdateType AS _SupplierListUpdateType ON SupplierListUpdateType = _SupplierListUpdateType.SupplierListUpdateType  -- association [0..1]
LEFT OUTER JOIN I_UserContactCard AS _UserContactCard ON SuplrListSupplierAddedByUser = _UserContactCard.ContactCardID  -- association [1..1]
LEFT OUTER JOIN E_SrcgSuplrListBusinessPartner AS _Extension ON SrcgSuplrListBusPartUUID = _Extension.SrcgSuplrListBusPartUUID  -- association [1..1]
;