C_BPCustPartnerFunctionsProcTP

DDL: C_BPCUSTPARTNERFUNCTIONSPROCTP Type: view_entity CONSUMPTION

BP Customer Partner Functions Data

C_BPCustPartnerFunctionsProcTP is a Consumption CDS View that provides data about "BP Customer Partner Functions Data" in SAP S/4HANA. It reads from 1 data source (I_BPCustPartnerFunctionsProcTP) and exposes 51 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, SalesOrganization. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_BPCustPartnerFunctionsProcTP I_BPCustPartnerFunctionsProcTP projection

Associations (2)

CardinalityTargetAliasCondition
[0..*] C_BPCustPrtnFuncProcChanges _Changes $projection.MasterDataChangeProcess = _Changes.MasterDataChangeProcess and $projection.MDChgProcessStep = _Changes.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject and $projection.SalesOrganization = _Changes.SalesOrganization and $projection.DistributionChannel = _Changes.DistributionChannel and $projection.Division = _Changes.Division and $projection.PartnerFunction = _Changes.PartnerFunction and $projection.PartnerCounter = _Changes.PartnerCounter and _Changes.MDChgProcessSourceModified = 'X'
[0..1] I_MDChangeProcessRecordTarget _RecordTarget $projection.MasterDataChangeProcess = _RecordTarget.MasterDataChangeProcess and $projection.MDChgProcessSrceSystem = _RecordTarget.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _RecordTarget.MDChgProcessSrceObject and _RecordTarget.MDChgProcessSrceObjectTypeCode = '147'

Annotations (7)

NameValueLevelField
EndUserText.label BP Customer Partner Functions Data view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view

Fields (51)

KeyFieldSource TableSource FieldDescription
KEY MasterDataChangeProcess MasterDataChangeProcess Process ID
KEY MDChgProcessStep MDChgProcessStep Step Number
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
KEY BPAssignmentID BPAssignmentID Assignment ID
SalesOrganizationNamelocalized
DistributionChannelNamelocalized
DivisionNamelocalized
PartnerFunctionNamelocalized
Customer Customer Sold-to Party
PartnerFunctionPartnerNumber PartnerFunctionPartnerNumber Ref. to suplr
virtualBusinessPartnerNamebu_nameor1
PartnerFunctionType PartnerFunctionType Partner Type
CustomerFullName _ReferenceCustomer BPCustomerName Name of Customer
SupplierFullName _ReferenceSupplier BPSupplierName Supplier Name
ContactPersonFullName _ContactPerson PersonFullName Full Name
PersonFullName _PersonWorkAgreement PersonFullName Full Name
Supplier Supplier Supplier
BPCustomerNumber BPCustomerNumber Customer
PersonnelNumber PersonnelNumber Personnel No.
ContactPerson ContactPerson Contact Person Key
CustomerPartnerDescription CustomerPartnerDescription Partner desc.
DefaultPartner DefaultPartner Default Partner
MDChgProcSrceLastChgdDateTime MDChgProcSrceLastChgdDateTime
MDChgProcessSourceModified MDChgProcessSourceModified Modified
MDChgProcessSourceModifBinary MDChgProcessSourceModifBinary
sstring255
sstring260
sstring260
virtualCustomerNumberDisplaykunnr
MDChgProcKPIRecordTypeText
MDChgProcKPIRecordType _RecordType MDChgProcKPIRecordType
MDChgProcKPIRecordStatusText
MDChgProcessValidationStatus _BusinessPartner MDChgProcessValidationStatus
MDChgProcKPIUpdateStatusText _KPIUpdateStatusText MDChangeProcKPIValueKeyDesc
MDChgProcKPIUpdateStatus MDChgProcKPIUpdateStatus
virtualMDChangeProcessMessageTypesymsgty
virtualMDChangeProcessMessageIDmsgid
virtualMDChangeProcessMessageNumbermsgno
MDChgProcessActivationTarget _BusinessPartner MDChgProcessActivationTarget
MDChgProcKPIRecordTargetText
MDChgProcessReplicationStatus _BusinessPartner MDChgProcessReplicationStatus
MDChgProcReplicationStatusText
_RecordMessages _RecordMessages
_Changes _Changes
_RecordTarget _RecordTarget

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 C_BPCustPartnerFunctionsProcTP.
-- 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 C_BPCustPartnerFunctionsProcTP AS
SELECT
  MasterDataChangeProcess,
  MDChgProcessStep,
  MDChgProcessSrceSystem,
  MDChgProcessSrceObject,
  SalesOrganization,
  DistributionChannel,
  Division,
  PartnerFunction,
  PartnerCounter,
  BPAssignmentID,
  _CustomerSalesArea._SalesArea._SalesOrganization._Text.SalesOrganizationName : localized AS SalesOrganizationNamelocalized,
  _CustomerSalesArea._SalesArea._DistributionChannel._Text.DistributionChannelName : localized AS DistributionChannelNamelocalized,
  _CustomerSalesArea._SalesArea._Division._Text.DivisionName : localized AS DivisionNamelocalized,
  _PartnerFunction._Text.PartnerFunctionName : localized AS PartnerFunctionNamelocalized,
  Customer,
  PartnerFunctionPartnerNumber,
  virtual BusinessPartnerName : bu_nameor1 AS virtualBusinessPartnerNamebu_nameor1,
  PartnerFunctionType,
  _ReferenceCustomer.BPCustomerName AS CustomerFullName,
  _ReferenceSupplier.BPSupplierName AS SupplierFullName,
  _ContactPerson.PersonFullName AS ContactPersonFullName,
  _PersonWorkAgreement.PersonFullName AS PersonFullName,
  Supplier,
  BPCustomerNumber,
  PersonnelNumber,
  ContactPerson,
  CustomerPartnerDescription,
  DefaultPartner,
  MDChgProcSrceLastChgdDateTime,
  MDChgProcessSourceModified,
  MDChgProcessSourceModifBinary,
  virtual SourceSystem : abap.sstring( 255 ) AS sstring255,
  virtual MDChgProcModifdObjectsCount : abap.sstring( 260 ) AS sstring260,
  virtual CustomerNumberDisplay : kunnr AS virtualCustomerNumberDisplaykunnr,
  _RecordType._KPIRecordTypeText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordTypeText,
  _RecordType.MDChgProcKPIRecordType AS MDChgProcKPIRecordType,
  _BusinessPartner._KPIRecordStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordStatusText,
  _BusinessPartner.MDChgProcessValidationStatus AS MDChgProcessValidationStatus,
  _KPIUpdateStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIUpdateStatusText,
  MDChgProcKPIUpdateStatus,
  virtual MDChangeProcessMessageType : symsgty AS virtualMDChangeProcessMessageTypesymsgty,
  virtual MDChangeProcessMessageID : msgid AS virtualMDChangeProcessMessageIDmsgid,
  virtual MDChangeProcessMessageNumber : msgno AS virtualMDChangeProcessMessageNumbermsgno,
  _BusinessPartner.MDChgProcessActivationTarget AS MDChgProcessActivationTarget,
  _BusinessPartner._RecordTargetText.MDChangeProcKPIValueKeyDesc AS MDChgProcKPIRecordTargetText,
  _BusinessPartner.MDChgProcessReplicationStatus AS MDChgProcessReplicationStatus,
  _BusinessPartner._ReplicationStatusText.MDChangeProcKPIValueKeyDesc AS MDChgProcReplicationStatusText
FROM I_BPCustPartnerFunctionsProcTP
LEFT OUTER JOIN C_BPCustPrtnFuncProcChanges AS _Changes ON MasterDataChangeProcess = _Changes.MasterDataChangeProcess AND MDChgProcessStep = _Changes.MDChgProcessStep AND MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject AND SalesOrganization = _Changes.SalesOrganization AND DistributionChannel = _Changes.DistributionChannel AND Division = _Changes.Division AND PartnerFunction = _Changes.PartnerFunction AND PartnerCounter = _Changes.PartnerCounter AND _Changes.MDChgProcessSourceModified = 'X'  -- association [0..*]
LEFT OUTER JOIN I_MDChangeProcessRecordTarget AS _RecordTarget ON MasterDataChangeProcess = _RecordTarget.MasterDataChangeProcess AND MDChgProcessSrceSystem = _RecordTarget.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _RecordTarget.MDChgProcessSrceObject AND _RecordTarget.MDChgProcessSrceObjectTypeCode = '147'  -- association [0..1]
;