I_BPCustSalesAreaProcChanges
BP Customer Sales Area Process Changes
I_BPCustSalesAreaProcChanges is a Transactional CDS View that provides data about "BP Customer Sales Area Process Changes" in SAP S/4HANA. It reads from 2 data sources (I_BPCustomerSalesAreaProcess, I_BPCustomerSalesAreaProcess) and exposes 41 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, SalesOrganization. It has 4 associations to related views. Part of development package MDC_CUST_STAGING_BO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerSalesAreaProcess | Current | from |
| I_BPCustomerSalesAreaProcess | Current | union_all |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_BPCustomerProcess | _Customer | $projection.MasterDataChangeProcess = _Customer.MasterDataChangeProcess and $projection.MDChgProcessStep = _Customer.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject |
| [0..1] | I_SalesOrganizationText | _SalesOrganizationText | $projection.SalesOrganization = _SalesOrganizationText.SalesOrganization and _SalesOrganizationText.Language = $session.system_language |
| [0..1] | I_DistributionChannelText | _DistributionChannelText | $projection.DistributionChannel = _DistributionChannelText.DistributionChannel and _DistributionChannelText.Language = $session.system_language |
| [0..1] | I_DivisionText | _DivisionText | $projection.Division = _DivisionText.Division and _DivisionText.Language = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BP Customer Sales Area Process Changes | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MasterDataChangeProcess | I_BPCustomerSalesAreaProcess | MasterDataChangeProcess | Process ID |
| KEY | MDChgProcessStep | I_BPCustomerSalesAreaProcess | MDChgProcessStep | Step Number |
| KEY | MDChgProcessSrceSystem | I_BPCustomerSalesAreaProcess | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | I_BPCustomerSalesAreaProcess | MDChgProcessSrceObject | Source ID |
| KEY | SalesOrganization | I_BPCustomerSalesAreaProcess | SalesOrganization | Sales Organization |
| KEY | DistributionChannel | I_BPCustomerSalesAreaProcess | DistributionChannel | RefDistCh-Cust/Mat. |
| KEY | Division | I_BPCustomerSalesAreaProcess | Division | Internal Division ID |
| KEY | BPAssignmentID | I_BPCustomerSalesAreaProcess | BPAssignmentID | Assignment ID |
| KEY | MDChgProcessModelTableName | ModelTable | MDChgProcessModelTableName | |
| KEY | MDChangeProcessModelFieldName | |||
| KEY | char1000asMDChgProcessRecordObjectID | |||
| MDChangeProcModelTableDesc | ModelTable | MDChangeProcModelTableDesc | ||
| MDChangeProcessModelFieldDesc | ||||
| MDChgProcModelNodeExternalName | ||||
| MDChgProcModTableExternalName | ||||
| MDChgProcModFieldExternalName | ||||
| MDChgProcCurrentAttributeValue | ||||
| MDChgProcPrevAttributeValue | ||||
| MDChgProcessAttributeIsChanged | ||||
| MDChgProcessSourceModified | I_BPCustomerSalesAreaProcess | MDChgProcessSourceModified | Modified | |
| MasterDataChangeProcess | Process ID | |||
| KEY | MDChgProcessStep | I_BPCustomerSalesAreaProcess | MDChgProcessStep | Step Number |
| KEY | MDChgProcessSrceSystem | I_BPCustomerSalesAreaProcess | MDChgProcessSrceSystem | Source System |
| KEY | MDChgProcessSrceObject | I_BPCustomerSalesAreaProcess | MDChgProcessSrceObject | Source ID |
| KEY | SalesOrganization | I_BPCustomerSalesAreaProcess | SalesOrganization | Sales Organization |
| KEY | DistributionChannel | I_BPCustomerSalesAreaProcess | DistributionChannel | RefDistCh-Cust/Mat. |
| KEY | Division | I_BPCustomerSalesAreaProcess | Division | Internal Division ID |
| KEY | BPAssignmentID | I_BPCustomerSalesAreaProcess | BPAssignmentID | Assignment ID |
| KEY | MDChgProcessModelTableName | ModelField | MDChgProcessModelTableName | |
| KEY | MDChangeProcessModelFieldName | ModelField | MDChangeProcessModelFieldName | |
| KEY | char1000asMDChgProcessRecordObjectID | |||
| MDChangeProcModelTableDesc | ModelField | MDChangeProcModelTableDesc | ||
| MDChangeProcessModelFieldDesc | ModelField | MDChangeProcessModelFieldDesc | ||
| MDChgProcModelNodeExternalName | ||||
| MDChgProcModTableExternalName | ||||
| MDChgProcModFieldExternalName | ||||
| MDChgProcCurrentAttributeValue | ||||
| MDChgProcPrevAttributeValue | ||||
| MDChgProcessAttributeIsChanged | ||||
| MDChgProcessSourceModified | I_BPCustomerSalesAreaProcess | MDChgProcessSourceModified | Modified | |
| _Customer | _Customer |
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_BPCustSalesAreaProcChanges.
-- 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_BPCustSalesAreaProcChanges AS
SELECT
Current.MasterDataChangeProcess AS MasterDataChangeProcess,
Current.MDChgProcessStep AS MDChgProcessStep,
Current.MDChgProcessSrceSystem AS MDChgProcessSrceSystem,
Current.MDChgProcessSrceObject AS MDChgProcessSrceObject,
Current.SalesOrganization AS SalesOrganization,
Current.DistributionChannel AS DistributionChannel,
Current.Division AS Division,
Current.BPAssignmentID AS BPAssignmentID,
ModelTable.MDChgProcessModelTableName AS MDChgProcessModelTableName,
cast ( '' as fieldname ) AS MDChangeProcessModelFieldName,
cast( concat( concat ( concat( concat( concat( Current.MDChgProcessSrceSystem, concat( '%%', Current.MDChgProcessSrceObject )), concat( '%%', Current.SalesOrganization )), concat( '%%', Current.DistributionChannel )), concat( '%%', Current.Division )), concat( '%%', Current.BPAssignmentID )) as abap.char(1000) ) as MDChgProcessRecordObjectID AS char1000asMDChgProcessRecordObjectID,
ModelTable.MDChangeProcModelTableDesc AS MDChangeProcModelTableDesc,
cast ('' as as4text ) AS MDChangeProcessModelFieldDesc,
cast( 'BusinessPartnerSalesArea' as fieldname ) AS MDChgProcModelNodeExternalName,
cast( 'I_BPCustomerSalesAreaProcessTP' as fieldname ) AS MDChgProcModTableExternalName,
cast( '' as fieldname ) AS MDChgProcModFieldExternalName,
cast( '' as abap.char( 260 ) ) AS MDChgProcCurrentAttributeValue,
cast( '' as abap.char( 260 ) ) AS MDChgProcPrevAttributeValue,
cast( '' as boolean ) AS MDChgProcessAttributeIsChanged,
Current.MDChgProcessSourceModified AS MDChgProcessSourceModified
FROM I_BPCustomerSalesAreaProcess AS Current
LEFT OUTER JOIN I_BPCustomerProcess AS _Customer ON MasterDataChangeProcess = _Customer.MasterDataChangeProcess AND MDChgProcessStep = _Customer.MDChgProcessStep AND MDChgProcessSrceSystem = _Customer.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Customer.MDChgProcessSrceObject -- association [1..1]
LEFT OUTER JOIN I_SalesOrganizationText AS _SalesOrganizationText ON SalesOrganization = _SalesOrganizationText.SalesOrganization AND _SalesOrganizationText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_DistributionChannelText AS _DistributionChannelText ON DistributionChannel = _DistributionChannelText.DistributionChannel AND _DistributionChannelText.Language = $session.system_language -- association [0..1]
LEFT OUTER JOIN I_DivisionText AS _DivisionText ON Division = _DivisionText.Division AND _DivisionText.Language = $session.system_language -- association [0..1]
-- UNION ALL with additional select branch(es): I_BPCustomerSalesAreaProcess
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA