C_BPCustomerSalesAreaProcessTP
BP Customer Sales Area Data
C_BPCustomerSalesAreaProcessTP is a Consumption CDS View that provides data about "BP Customer Sales Area Data" in SAP S/4HANA. It reads from 1 data source (I_BPCustomerSalesAreaProcessTP) and exposes 116 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, SalesOrganization. It has 2 associations to related views. It is exposed through 2 OData services (ASQL_F7205A, X_C_BPCUSTOMERPROCESSTP_SRV). Part of development package MDC_CUST_STAGING_BO.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BPCustomerSalesAreaProcessTP | I_BPCustomerSalesAreaProcessTP | projection |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_BPCustSalesAreaProcChanges | _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.BPAssignmentID = _Changes.BPAssignmentID 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 (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | BP Customer Sales Area Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| ASQL_F7205A | ASQL_F7205A | C2 | NOT_RELEASED | |
| X_C_BPCUSTOMERPROCESSTP_SRV |
Fields (116)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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 | BPAssignmentID | BPAssignmentID | Assignment ID | |
| SalesOrganizationNamelocalized | ||||
| DistributionChannelNamelocalized | ||||
| DivisionNamelocalized | ||||
| Customer | Customer | Sold-to Party | ||
| SalesDistrict | SalesDistrict | Sales District | ||
| SalesDistrictNamelocalized | ||||
| SalesOffice | SalesOffice | Sales Office | ||
| SalesOfficeNamelocalized | ||||
| SalesGroup | SalesGroup | Sales Group | ||
| SalesGroupNamelocalized | ||||
| CustomerGroup | CustomerGroup | Customer Group | ||
| CustomerGroupNamelocalized | ||||
| AuthorizationGroup | AuthorizationGroup | AuthorizGroup | ||
| AuthorizationGroupNamelocalized | ||||
| DeletionIndicator | DeletionIndicator | Deletion Ind. | ||
| OrderIsBlockedForCustomer | OrderIsBlockedForCustomer | Order block | ||
| BPCustomerPricingProcedure | BPCustomerPricingProcedure | Cust.Pric.Proc. | ||
| CustomerPriceGroup | CustomerPriceGroup | CustPrice Group | ||
| CustomerPriceGroupNamelocalized | ||||
| PriceListType | PriceListType | Price List Tp. | ||
| PriceListTypeNamelocalized | ||||
| ItemOrderProbabilityInPercent | ItemOrderProbabilityInPercent | Order Probab. | ||
| DeliveryIsBlocked | DeliveryIsBlocked | Delivery block | ||
| DeliveryBlockReasonTextlocalized | ||||
| CompleteDeliveryIsDefined | CompleteDeliveryIsDefined | Complete Dlv. | ||
| MaxNmbrOfPartialDelivery | MaxNmbrOfPartialDelivery | Max.Part.Deliv. | ||
| PartialDeliveryIsAllowed | PartialDeliveryIsAllowed | Partial Deliv. | ||
| PartialDeliveryIsAllowedTextlocalized | ||||
| OrderCombinationIsAllowed | OrderCombinationIsAllowed | Order Combinat. | ||
| DeliveryPriority | DeliveryPriority | Delivery Prior. | ||
| DeliveryPriorityDesclocalized | ||||
| AccountByCustomer | AccountByCustomer | Acct at cust. | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| ShippingConditionNamelocalized | ||||
| BillingIsBlockedForCustomer | BillingIsBlockedForCustomer | Billing block | ||
| BillingBlockReasonDescriptionlocalized | ||||
| ManualInvoiceMaintIsRelevant | ManualInvoiceMaintIsRelevant | Man.Inv.Maint. | ||
| InvcCalendarDateIdentification | InvcCalendarDateIdentification | Invoicing Dates | ||
| FactoryCalendarNamelocalized | ||||
| InvoiceListSchedule | InvoiceListSchedule | Inv.List Sched. | ||
| Currency | Currency | Valuation Crcy | ||
| CurrencyNamelocalized | ||||
| CustomerABCClassification | CustomerABCClassification | ABC class | ||
| CustomerAccountAssignmentGroup | CustomerAccountAssignmentGroup | AccAssmtGrpCust | ||
| CustomerAccountAssgmtGrpNamelocalized | ||||
| CustomerPaymentTerms | CustomerPaymentTerms | Pyt Terms | ||
| CustomerPaymentTermsNamelocalized | ||||
| SupplyingPlant | SupplyingPlant | Supplying Plant | ||
| PlantName | ||||
| SalesItemProposal | SalesItemProposal | Item proposal | ||
| AdditionalCustomerGroup1 | AdditionalCustomerGroup1 | Customer Grp 1 | ||
| AdditionalCustomerGroup1Namelocalized | ||||
| AdditionalCustomerGroup2 | AdditionalCustomerGroup2 | Customer Grp 2 | ||
| AdditionalCustomerGroup2Namelocalized | ||||
| AdditionalCustomerGroup3 | AdditionalCustomerGroup3 | Customer Grp 3 | ||
| AdditionalCustomerGroup3Namelocalized | ||||
| AdditionalCustomerGroup4 | AdditionalCustomerGroup4 | Customer Grp 4 | ||
| AdditionalCustomerGroup4Namelocalized | ||||
| AdditionalCustomerGroup5 | AdditionalCustomerGroup5 | Customer Grp 5 | ||
| AdditionalCustomerGroup5Namelocalized | ||||
| CustomerIsRebateRelevant | CustomerIsRebateRelevant | Rebate | ||
| ExchangeRateType | ExchangeRateType | Exch. Rate Type | ||
| ExchangeRateTypeNamelocalized | ||||
| InspSbstHasNoTimeOrQuantity | InspSbstHasNoTimeOrQuantity | Price determin. | ||
| CustomerPaytGuarProced | CustomerPaytGuarProced | Paym.guar.proc. | ||
| CustomerPaytGuarProcedNamelocalized | ||||
| CreditControlArea | CreditControlArea | Credit Control Area | ||
| CreditControlAreaNamelocalized | ||||
| CustomerSalesAreaIsBlocked | CustomerSalesAreaIsBlocked | TRUE | ||
| SuplrIsRlvtForSettlmtMgmt | SuplrIsRlvtForSettlmtMgmt | Settlem. Mgmt. | ||
| ProductUnitGroup | ProductUnitGroup | UoM Group | ||
| UnitOfMeasureNamelocalized | ||||
| OverdelivTolrtdLmtRatioInPct | OverdelivTolrtdLmtRatioInPct | Overdeliv. Tol. | ||
| UnderdelivTolrtdLmtRatioInPct | UnderdelivTolrtdLmtRatioInPct | Underdel. Tol. | ||
| SlsUnlmtdOvrdelivIsAllwd | SlsUnlmtdOvrdelivIsAllwd | Unlimited Tol. | ||
| CustProdProposalProcedure | CustProdProposalProcedure | PP cust. proc. | ||
| SlsDocIsRlvtForProofOfDeliv | SlsDocIsRlvtForProofOfDeliv | POD-relevant | ||
| ProofOfDeliveryTimeValue | ProofOfDeliveryTimeValue | POD timeframe | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsClassificationNamelocalized | ||||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsVersionNamelocalized | ||||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| IsBusinessPurposeCompleted | IsBusinessPurposeCompleted | Purpose Completed | ||
| MDChgProcSrceLastChgdDateTime | MDChgProcSrceLastChgdDateTime | |||
| MDChgProcessSourceModified | MDChgProcessSourceModified | Modified | ||
| MDChgProcessSourceModifBinary | MDChgProcessSourceModifBinary | |||
| sstring255 | ||||
| sstring260 | ||||
| sstring260 | ||||
| virtualCustomerNumberDisplaykunnr | ||||
| MDChgProcKPIRecordTypeText | ||||
| MDChgProcKPIRecordType | _RecordType | MDChgProcKPIRecordType | ||
| MDChgProcKPIRecordStatusText | ||||
| MDChgProcessValidationStatus | _BusinessPartner | MDChgProcessValidationStatus | ||
| MDChgProcKPIUpdateStatusText | _KPIUpdateStatusText | MDChangeProcKPIValueKeyDesc | ||
| MDChgProcKPIUpdateStatus | MDChgProcKPIUpdateStatus | Row Type | ||
| virtualMDChangeProcessMessageTypesymsgty | Message Type | |||
| virtualMDChangeProcessMessageIDmsgid | Log Message Class | |||
| virtualMDChangeProcessMessageNumbermsgno | Log Message Number | |||
| MDChgProcessActivationTarget | _BusinessPartner | MDChgProcessActivationTarget | Activation Result | |
| MDChgProcKPIRecordTargetText | ||||
| MDChgProcessReplicationStatus | _BusinessPartner | MDChgProcessReplicationStatus | ||
| MDChgProcReplicationStatusText | ||||
| _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_BPCustomerSalesAreaProcessTP.
-- 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_BPCustomerSalesAreaProcessTP AS
SELECT
MasterDataChangeProcess,
MDChgProcessStep,
MDChgProcessSrceSystem,
MDChgProcessSrceObject,
SalesOrganization,
DistributionChannel,
Division,
BPAssignmentID,
_SalesArea._SalesOrganization._Text.SalesOrganizationName : localized AS SalesOrganizationNamelocalized,
_SalesArea._DistributionChannel._Text.DistributionChannelName : localized AS DistributionChannelNamelocalized,
_SalesArea._Division._Text.DivisionName : localized AS DivisionNamelocalized,
Customer,
SalesDistrict,
_SalesDistrict._Text.SalesDistrictName : localized AS SalesDistrictNamelocalized,
SalesOffice,
_SalesOffice._SalesOffice._Text.SalesOfficeName : localized AS SalesOfficeNamelocalized,
SalesGroup,
_SalesOfficeSalesGroup._SalesGroup._Text.SalesGroupName : localized AS SalesGroupNamelocalized,
CustomerGroup,
_CustomerGroup._Text.CustomerGroupName : localized AS CustomerGroupNamelocalized,
AuthorizationGroup,
_AuthorizationGroup._Text.AuthorizationGroupName : localized AS AuthorizationGroupNamelocalized,
DeletionIndicator,
OrderIsBlockedForCustomer,
BPCustomerPricingProcedure,
CustomerPriceGroup,
_PriceGroup._Text.CustomerPriceGroupName : localized AS CustomerPriceGroupNamelocalized,
PriceListType,
_PriceListType._Text.PriceListTypeName : localized AS PriceListTypeNamelocalized,
ItemOrderProbabilityInPercent,
DeliveryIsBlocked,
_DeliveryBlockReason._Text.DeliveryBlockReasonText : localized AS DeliveryBlockReasonTextlocalized,
CompleteDeliveryIsDefined,
MaxNmbrOfPartialDelivery,
PartialDeliveryIsAllowed,
_PartialDeliveryItem._Text.PartialDeliveryIsAllowedText : localized AS PartialDeliveryIsAllowedTextlocalized,
OrderCombinationIsAllowed,
DeliveryPriority,
_DeliveryPriority._Text.DeliveryPriorityDesc : localized AS DeliveryPriorityDesclocalized,
AccountByCustomer,
ShippingCondition,
_ShippingCondition._Text.ShippingConditionName : localized AS ShippingConditionNamelocalized,
BillingIsBlockedForCustomer,
_BillingBlockReason._Text.BillingBlockReasonDescription : localized AS BillingBlockReasonDescriptionlocalized,
ManualInvoiceMaintIsRelevant,
InvcCalendarDateIdentification,
_InvoiceCalendar._Text.FactoryCalendarName : localized AS FactoryCalendarNamelocalized,
InvoiceListSchedule,
Currency,
_Currency._Text.CurrencyName : localized AS CurrencyNamelocalized,
CustomerABCClassification,
CustomerAccountAssignmentGroup,
_AccountAssgmtGroup._Text.CustomerAccountAssgmtGrpName : localized AS CustomerAccountAssgmtGrpNamelocalized,
CustomerPaymentTerms,
_PaymentTerms._Text.CustomerPaymentTermsName : localized AS CustomerPaymentTermsNamelocalized,
SupplyingPlant,
_Plant._Plant.PlantName AS PlantName,
SalesItemProposal,
AdditionalCustomerGroup1,
_AdditionalCustomerGroup1._Text.AdditionalCustomerGroup1Name : localized AS AdditionalCustomerGroup1Namelocalized,
AdditionalCustomerGroup2,
_AdditionalCustomerGroup2._Text.AdditionalCustomerGroup2Name : localized AS AdditionalCustomerGroup2Namelocalized,
AdditionalCustomerGroup3,
_AdditionalCustomerGroup3._Text.AdditionalCustomerGroup3Name : localized AS AdditionalCustomerGroup3Namelocalized,
AdditionalCustomerGroup4,
_AdditionalCustomerGroup4._Text.AdditionalCustomerGroup4Name : localized AS AdditionalCustomerGroup4Namelocalized,
AdditionalCustomerGroup5,
_AdditionalCustomerGroup5._Text.AdditionalCustomerGroup5Name : localized AS AdditionalCustomerGroup5Namelocalized,
CustomerIsRebateRelevant,
ExchangeRateType,
_ExchangeRateType._Text.ExchangeRateTypeName : localized AS ExchangeRateTypeNamelocalized,
InspSbstHasNoTimeOrQuantity,
CustomerPaytGuarProced,
_CustomerPaytGuarProced._Text.CustomerPaytGuarProcedName : localized AS CustomerPaytGuarProcedNamelocalized,
CreditControlArea,
_CreditControlArea._Text.CreditControlAreaName : localized AS CreditControlAreaNamelocalized,
CustomerSalesAreaIsBlocked,
SuplrIsRlvtForSettlmtMgmt,
ProductUnitGroup,
_ProductUnitGroup._UnitOfMeasureText.UnitOfMeasureName : localized AS UnitOfMeasureNamelocalized,
OverdelivTolrtdLmtRatioInPct,
UnderdelivTolrtdLmtRatioInPct,
SlsUnlmtdOvrdelivIsAllwd,
CustProdProposalProcedure,
SlsDocIsRlvtForProofOfDeliv,
ProofOfDeliveryTimeValue,
IncotermsClassification,
_IncotermsClassification._Text.IncotermsClassificationName : localized AS IncotermsClassificationNamelocalized,
IncotermsTransferLocation,
IncotermsVersion,
_IncotermsVersion._Text.IncotermsVersionName : localized AS IncotermsVersionNamelocalized,
IncotermsLocation1,
IncotermsLocation2,
IsBusinessPurposeCompleted,
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_BPCustomerSalesAreaProcessTP
LEFT OUTER JOIN C_BPCustSalesAreaProcChanges 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 BPAssignmentID = _Changes.BPAssignmentID 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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