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 50 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, SalesOrganization. It has 1 association to related views. It is exposed through 1 OData service (X_C_BPCUSTOMERPROCESSTP_SRV).

Data Sources (1)

SourceAliasJoin Type
I_BPCustPartnerFunctionsProcTP I_BPCustPartnerFunctionsProcTP projection

Associations (1)

CardinalityTargetAliasCondition
[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

OData Services (1)

ServiceBindingVersionContractRelease
X_C_BPCUSTOMERPROCESSTP_SRV

Fields (50)

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 CustomerName Name of Customer
SupplierFullName _ReferenceSupplier SupplierName 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
_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.CustomerName AS CustomerFullName,
  _ReferenceSupplier.SupplierName 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 I_MDChangeProcessRecordTarget AS _RecordTarget ON MasterDataChangeProcess = _RecordTarget.MasterDataChangeProcess AND MDChgProcessSrceSystem = _RecordTarget.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _RecordTarget.MDChgProcessSrceObject AND _RecordTarget.MDChgProcessSrceObjectTypeCode = '147'  -- association [0..1]
;