I_BPCustPartnerFunctionGovTP

DDL: I_BPCUSTPARTNERFUNCTIONGOVTP Type: view_entity TRANSACTIONAL Package: MDC_CUST_GOV_BO

BP Customer Partner Function Governance - TP

I_BPCustPartnerFunctionGovTP is a Transactional CDS View that provides data about "BP Customer Partner Function Governance - TP" in SAP S/4HANA. It reads from 1 data source (I_BPCustPartnerFunctionGov) and exposes 38 fields with key fields BusinessPartnerUUID, CustomerSalesAreaUUID, CustPartnerFunctionUUID, MasterDataChangeProcess, MDChgProcessSrceSystem. It has 8 associations to related views. Part of development package MDC_CUST_GOV_BO.

Data Sources (1)

SourceAliasJoin Type
I_BPCustPartnerFunctionGov I_BPCustPartnerFunctionGov from

Associations (8)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartnerGovTP _BusinessPartnerGov $projection.MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess and $projection.BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID and $projection.MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject
[1..1] I_BPCustomerGovTP _Customer $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.BusinessPartnerUUID = _Customer.BusinessPartnerUUID and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject
[0..1] I_MasterDataChangeProcess _MasterDataChangeProcess $projection.MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess
[0..1] I_ContactPerson _ContactPerson $projection.ContactPerson = _ContactPerson.ContactPerson
[0..1] I_Supplier _ReferenceSupplier $projection.Supplier = _ReferenceSupplier.Supplier
[1..1] I_PartnerFunction _PartnerFunction $projection.PartnerFunctionForEdit = _PartnerFunction.PartnerFunction
[0..1] I_Customer _ReferenceCustomer $projection.BPCustomerNumber = _ReferenceCustomer.Customer
[0..1] I_PersonWorkAgreement_1 _PersonWorkAgreement $projection.PersonnelNumber = _PersonWorkAgreement.PersonWorkAgreement

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label BP Customer Partner Function Governance - TP view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #TRANSACTIONAL view

Fields (38)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerUUID
KEY CustomerSalesAreaUUID
KEY CustPartnerFunctionUUID
KEY MasterDataChangeProcess MasterDataChangeProcess Process ID
KEY MDChgProcessSrceSystem MDChgProcessSrceSystem Source System
KEY MDChgProcessSrceObject MDChgProcessSrceObject Source ID
KEY SalesOrganization SalesOrganization Sales Organization
KEY DistributionChannel DistributionChannel RefDistCh-Cust/Mat.
KEY Division Division Internal Division ID
KEY PartnerFunction PartnerFunction Partner Functn
KEY PartnerCounter PartnerCounter Partner counter
MDChgProcessStep MDChgProcessStep Step Number
BPAssignmentID BPAssignmentID Assignment ID
Customer Customer Sold-to Party
PartnerFunctionType PartnerFunctionType Partner Type
SalesOrganizationForEdit SalesOrganization Sales Organization
DistributionChannelForEdit DistributionChannel RefDistCh-Cust/Mat.
DivisionForEdit Division Internal Division ID
PartnerFunctionForEdit PartnerFunction Partner Functn
PartnerCounterForEdit PartnerCounter Partner counter
BPCustomerNumber BPCustomerNumber Customer
Supplier Supplier Supplier
PersonnelNumber PersonnelNumber Personnel No.
ContactPerson ContactPerson Contact Person Key
CustomerPartnerDescription CustomerPartnerDescription Partner desc.
DefaultPartner DefaultPartner Default Partner
PartnerFunctionLanguageDepdnt
AddressID AddressID Ship-to address
MasterDataIsCurrent MasterDataIsCurrent Truth Value
_Customer _Customer
_CustomerToBusinessPartner _CustomerToBusinessPartner
_PartnerFunction _PartnerFunction
_CustomerSalesArea _CustomerSalesArea
_BusinessPartnerGov _BusinessPartnerGov
_ContactPerson _ContactPerson
_ReferenceCustomer _ReferenceCustomer
_ReferenceSupplier _ReferenceSupplier
_PersonWorkAgreement _PersonWorkAgreement

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 I_BPCustPartnerFunctionGovTP.
-- 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 I_BPCustPartnerFunctionGovTP AS
SELECT
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS BusinessPartnerUUID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS CustomerSalesAreaUUID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x ) AS CustPartnerFunctionUUID,
  MasterDataChangeProcess,
  MDChgProcessSrceSystem,
  MDChgProcessSrceObject,
  SalesOrganization,
  DistributionChannel,
  Division,
  PartnerFunction,
  PartnerCounter,
  MDChgProcessStep,
  BPAssignmentID,
  Customer,
  PartnerFunctionType,
  SalesOrganization AS SalesOrganizationForEdit,
  DistributionChannel AS DistributionChannelForEdit,
  Division AS DivisionForEdit,
  PartnerFunction AS PartnerFunctionForEdit,
  PartnerCounter AS PartnerCounterForEdit,
  BPCustomerNumber,
  Supplier,
  PersonnelNumber,
  ContactPerson,
  CustomerPartnerDescription,
  DefaultPartner,
  _PartnerFunction._PartnerFunctionLangDepdnt[1: Language=$session.system_language].PartnerFunctionLanguageDepdnt AS PartnerFunctionLanguageDepdnt,
  AddressID,
  MasterDataIsCurrent
FROM I_BPCustPartnerFunctionGov
LEFT OUTER JOIN I_BusinessPartnerGovTP AS _BusinessPartnerGov ON MasterDataChangeProcess = _BusinessPartnerGov.MasterDataChangeProcess AND BusinessPartnerUUID = _BusinessPartnerGov.BusinessPartnerUUID AND MDChgProcessSrceSystem = _BusinessPartnerGov.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _BusinessPartnerGov.MDChgProcessSrceObject  -- association [1..1]
LEFT OUTER JOIN I_BPCustomerGovTP AS _Customer ON MasterDataChangeProcess = _Customer.MasterDataChangeProcess AND BusinessPartnerUUID = _Customer.BusinessPartnerUUID AND MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject  -- association [1..1]
LEFT OUTER JOIN I_MasterDataChangeProcess AS _MasterDataChangeProcess ON MasterDataChangeProcess = _MasterDataChangeProcess.MasterDataChangeProcess  -- association [0..1]
LEFT OUTER JOIN I_ContactPerson AS _ContactPerson ON ContactPerson = _ContactPerson.ContactPerson  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _ReferenceSupplier ON Supplier = _ReferenceSupplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_PartnerFunction AS _PartnerFunction ON PartnerFunctionForEdit = _PartnerFunction.PartnerFunction  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _ReferenceCustomer ON BPCustomerNumber = _ReferenceCustomer.Customer  -- association [0..1]
LEFT OUTER JOIN I_PersonWorkAgreement_1 AS _PersonWorkAgreement ON PersonnelNumber = _PersonWorkAgreement.PersonWorkAgreement  -- association [0..1]
;