C_BPSuplrPurchasingOrgProcTP
Projection for Purchasing Org Process
C_BPSuplrPurchasingOrgProcTP is a Consumption CDS View that provides data about "Projection for Purchasing Org Process" in SAP S/4HANA. It reads from 1 data source (I_BPSuplrPurchasingOrgProcTP) and exposes 79 fields with key fields MasterDataChangeProcess, MDChgProcessStep, MDChgProcessSrceSystem, MDChgProcessSrceObject, BPAssignmentID. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BPSuplrPurchasingOrgProcTP | I_BPSuplrPurchasingOrgProcTP | projection |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_BPSuplrPurgOrgProcessChanges | _Changes | $projection.MasterDataChangeProcess = _Changes.MasterDataChangeProcess and $projection.MDChgProcessStep = _Changes.MDChgProcessStep and $projection.MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem and $projection.MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject and $projection.PurchasingOrganization = _Changes.PurchasingOrganization 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 | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Projection for Purchasing Org Process | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #CONSUMPTION | view |
Fields (79)
| 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 | BPAssignmentID | BPAssignmentID | Assignment ID | |
| KEY | PurchasingOrganization | PurchasingOrganization | Purchasing Organization | |
| PurchasingOrganizationName | _PurchasingOrganization | PurchasingOrganizationName | Purch. Org. Name | |
| Supplier | Supplier | Supplier | ||
| PurchasingGroup | PurchasingGroup | Purchasing Group | ||
| PurchasingGroupName | _PurchasingGroup | PurchasingGroupName | Purchasing Grp. Name | |
| PurchasingIsBlockedForSupplier | PurchasingIsBlockedForSupplier | Pur. block POrg | ||
| SupplierRespSalesPersonName | SupplierRespSalesPersonName | Salesperson | ||
| SupplierPhoneNumber | SupplierPhoneNumber | Telephone | ||
| PurchaseOrderCurrency | PurchaseOrderCurrency | Order currency | ||
| CurrencyNamelocalized | ||||
| MinimumOrderAmount | MinimumOrderAmount | Minimum value | ||
| CalculationSchemaGroupCode | CalculationSchemaGroupCode | Schema Grp Supp | ||
| PaymentTerms | PaymentTerms | Pyt Terms | ||
| CustomerPaymentTermsNamelocalized | ||||
| PricingDateControl | PricingDateControl | Pr. Date Cat. | ||
| PricingDateControlTextlocalized | ||||
| SupplierABCClassificationCode | SupplierABCClassificationCode | ABC indicator | ||
| ShippingCondition | ShippingCondition | Shipping Conditions | ||
| ShippingConditionNamelocalized | ||||
| PurOrdAutoGenerationIsAllowed | PurOrdAutoGenerationIsAllowed | Automatic PO | ||
| InvoiceIsGoodsReceiptBased | InvoiceIsGoodsReceiptBased | GR-Based IV | ||
| IncotermsClassification | IncotermsClassification | Incoterms | ||
| IncotermsClassificationNamelocalized | ||||
| IncotermsTransferLocation | IncotermsTransferLocation | Incoterms 2 | ||
| IncotermsVersion | IncotermsVersion | Inco. Version | ||
| IncotermsVersionNamelocalized | ||||
| IncotermsLocation1 | IncotermsLocation1 | Inco. Location1 | ||
| IncotermsLocation2 | IncotermsLocation2 | Inco. Location2 | ||
| DeletionIndicator | DeletionIndicator | Deletion Ind. | ||
| PlannedDeliveryDurationInDays | PlannedDeliveryDurationInDays | Plnd dely time | ||
| SupplierConfirmationControlKey | SupplierConfirmationControlKey | Conf. Control | ||
| IsOrderAcknRqd | IsOrderAcknRqd | Acknowl. Reqd. | ||
| EvaldReceiptSettlementIsActive | EvaldReceiptSettlementIsActive | ERS | ||
| AutomaticEvaluatedRcptSettlmt | AutomaticEvaluatedRcptSettlmt | Aut. GRSet Ret | ||
| SupplierAccountNumber | SupplierAccountNumber | Acc. w. supplier | ||
| SuplrIsSubjToSubsqntSettlement | SuplrIsSubjToSubsqntSettlement | Subseq. Settlmt | ||
| SuplrPurgOrgAgrmtOfBusVolIsRqd | SuplrPurgOrgAgrmtOfBusVolIsRqd | BVC | ||
| SuplrInvcRevalIsAllowed | SuplrInvcRevalIsAllowed | Revaluation | ||
| SuplrPurgOrgIsRlvtForPriceDetn | SuplrPurgOrgIsRlvtForPriceDetn | Price determin. | ||
| IntrastatCrsBorderTrMode | IntrastatCrsBorderTrMode | Mode of Trans. | ||
| ProductUnitGroup | ProductUnitGroup | UoM Group | ||
| RoundingProfile | RoundingProfile | Rnding Profile | ||
| LogisticalRoundingProfileNamelocalized | ||||
| SuplrDiscountInKindIsGranted | SuplrDiscountInKindIsGranted | Checkbox | ||
| SuplrIsRlvtForSettlmtMgmt | SuplrIsRlvtForSettlmtMgmt | Settlem. Mgmt. | ||
| InvoiceIsMMServiceEntryBased | InvoiceIsMMServiceEntryBased | Srv.-Based Inv. Ver. | ||
| ProdStockAndSlsDataTransfPrfl | ProdStockAndSlsDataTransfPrfl | PROACT control prof | ||
| MDChgProcessSourceModified | MDChgProcessSourceModified | Modified | ||
| MDChgProcessSourceModifBinary | MDChgProcessSourceModifBinary | |||
| MDChgProcSrceLastChgdDateTime | MDChgProcSrceLastChgdDateTime | |||
| virtualSupplierNumberDisplaylifnr | ||||
| sstring255 | ||||
| sstring260 | ||||
| sstring260 | ||||
| MDChgProcKPIRecordTypeText | ||||
| MDChgProcKPIRecordType | _RecordType | MDChgProcKPIRecordType | ||
| MDChgProcKPIRecordStatusText | ||||
| MDChgProcessValidationStatus | _BusinessPartner | MDChgProcessValidationStatus | ||
| MDChgProcKPIUpdateStatusText | _KPIUpdateStatusText | MDChangeProcKPIValueKeyDesc | ||
| MDChgProcKPIUpdateStatus | MDChgProcKPIUpdateStatus | |||
| virtualMDChangeProcessMessageTypesymsgty | ||||
| virtualMDChangeProcessMessageIDmsgid | ||||
| virtualMDChangeProcessMessageNumbermsgno | ||||
| MDChgProcessActivationTarget | _BusinessPartner | MDChgProcessActivationTarget | ||
| MDChgProcKPIRecordTargetText | ||||
| MDChgProcessReplicationStatus | _BusinessPartner | MDChgProcessReplicationStatus | ||
| MDChgProcReplicationStatusText | ||||
| _IncotermsClassification | _IncotermsClassification | |||
| _KPIUpdateStatusText | _KPIUpdateStatusText | |||
| _PurchasingGroup | _PurchasingGroup | |||
| _RecordMessages | _RecordMessages | |||
| _RecordType | _RecordType | |||
| _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_BPSuplrPurchasingOrgProcTP.
-- 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_BPSuplrPurchasingOrgProcTP AS
SELECT
MasterDataChangeProcess,
MDChgProcessStep,
MDChgProcessSrceSystem,
MDChgProcessSrceObject,
BPAssignmentID,
PurchasingOrganization,
_PurchasingOrganization.PurchasingOrganizationName AS PurchasingOrganizationName,
Supplier,
PurchasingGroup,
_PurchasingGroup.PurchasingGroupName AS PurchasingGroupName,
PurchasingIsBlockedForSupplier,
SupplierRespSalesPersonName,
SupplierPhoneNumber,
PurchaseOrderCurrency,
_Currency._Text.CurrencyName : localized AS CurrencyNamelocalized,
MinimumOrderAmount,
CalculationSchemaGroupCode,
PaymentTerms,
_PaymentTerms._Text.CustomerPaymentTermsName : localized AS CustomerPaymentTermsNamelocalized,
PricingDateControl,
_PriceDateControl._Text.PricingDateControlText : localized AS PricingDateControlTextlocalized,
SupplierABCClassificationCode,
ShippingCondition,
_ShippingCondition._Text.ShippingConditionName : localized AS ShippingConditionNamelocalized,
PurOrdAutoGenerationIsAllowed,
InvoiceIsGoodsReceiptBased,
IncotermsClassification,
_IncotermsClassification._Text.IncotermsClassificationName : localized AS IncotermsClassificationNamelocalized,
IncotermsTransferLocation,
IncotermsVersion,
_IncotermsVersion._Text.IncotermsVersionName : localized AS IncotermsVersionNamelocalized,
IncotermsLocation1,
IncotermsLocation2,
DeletionIndicator,
PlannedDeliveryDurationInDays,
SupplierConfirmationControlKey,
IsOrderAcknRqd,
EvaldReceiptSettlementIsActive,
AutomaticEvaluatedRcptSettlmt,
SupplierAccountNumber,
SuplrIsSubjToSubsqntSettlement,
SuplrPurgOrgAgrmtOfBusVolIsRqd,
SuplrInvcRevalIsAllowed,
SuplrPurgOrgIsRlvtForPriceDetn,
IntrastatCrsBorderTrMode,
ProductUnitGroup,
RoundingProfile,
_LogisticalRoundingProfile._Text.LogisticalRoundingProfileName : localized AS LogisticalRoundingProfileNamelocalized,
SuplrDiscountInKindIsGranted,
SuplrIsRlvtForSettlmtMgmt,
InvoiceIsMMServiceEntryBased,
ProdStockAndSlsDataTransfPrfl,
MDChgProcessSourceModified,
MDChgProcessSourceModifBinary,
MDChgProcSrceLastChgdDateTime,
virtual SupplierNumberDisplay : lifnr AS virtualSupplierNumberDisplaylifnr,
virtual SourceSystem : abap.sstring( 255 ) AS sstring255,
virtual MDChgProcModifdObjectsCount : abap.sstring( 260 ) AS sstring260,
_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_BPSuplrPurchasingOrgProcTP
LEFT OUTER JOIN C_BPSuplrPurgOrgProcessChanges AS _Changes ON MasterDataChangeProcess = _Changes.MasterDataChangeProcess AND MDChgProcessStep = _Changes.MDChgProcessStep AND MDChgProcessSrceSystem = _Changes.MDChgProcessSrceSystem AND MDChgProcessSrceObject = _Changes.MDChgProcessSrceObject AND PurchasingOrganization = _Changes.PurchasingOrganization 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
- 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