I_PurCtrAccountWD
BO View for I_PurCtrAccountWD
I_PurCtrAccountWD is a Transactional CDS View that provides data about "BO View for I_PurCtrAccountWD" in SAP S/4HANA. It reads from 1 data source (I_PurCtrAccount) and exposes 76 fields with key fields AccountAssignment, PurchaseContractItem, PurchaseContract. It has 21 associations to related views. Part of development package VDM_MM_PUR_CON.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_PurCtrAccount | Document | from |
Associations (21)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_PurchaseContractWD | _PurchaseContractWD | _PurchaseContractWD.PurchaseContract = $projection.PurchaseContract |
| [1..1] | I_PurchaseContractItemWD | _PurchaseContractItemWD | _PurchaseContractItemWD.PurchaseContractItem = $projection.PurchaseContractItem and _PurchaseContractItemWD.PurchaseContract = $projection.PurchaseContract |
| [0..1] | I_CostCenter | _CostCenter | _CostCenter.ControllingArea = $projection.ControllingArea and _CostCenter.CostCenter = $projection.CostCenter and _CostCenter.ValidityEndDate >= $projection.ValidityDate and _CostCenter.ValidityStartDate <= $projection.ValidityDate |
| [0..*] | I_CostCenterText | _CostCenterText | _CostCenterText.ControllingArea = $projection.ControllingArea and _CostCenterText.CostCenter = $projection.CostCenter and _CostCenterText.ValidityEndDate >= $projection.ValidityDate |
| [0..1] | I_BusinessArea | _BusinessArea | _BusinessArea.BusinessArea = $projection.BusinessArea |
| [0..*] | I_BusinessAreaText | _BusinessAreaText | _BusinessAreaText.BusinessArea = $projection.BusinessArea |
| [0..1] | I_ProfitCenter | _ProfitCenter | _ProfitCenter.ControllingArea = $projection.ControllingArea and _ProfitCenter.ProfitCenter = $projection.ProfitCenter and _ProfitCenter.ValidityEndDate >= $projection.ValidityDate and _ProfitCenter.ValidityStartDate <= $projection.ValidityDate |
| [0..*] | I_ProfitCenterText | _ProfitCenterText | _ProfitCenterText.ControllingArea = $projection.ControllingArea and _ProfitCenterText.ProfitCenter = $projection.ProfitCenter and _ProfitCenterText.ValidityEndDate >= $projection.ValidityDate |
| [0..1] | I_SalesOrder | _SalesOrder | _SalesOrder.SalesOrder = $projection.SalesOrder |
| [0..1] | I_SalesOrderItem | _SalesOrderItem | _SalesOrderItem.SalesOrder = $projection.SalesOrderItem and _SalesOrderItem.SalesOrderItem = $projection.SalesOrder |
| [0..1] | I_ControllingArea | _ControllingArea | _ControllingArea.ControllingArea = $projection.ControllingArea |
| [0..1] | I_SalesDocumentScheduleLine | _SalesDocumentScheduleLine | _SalesDocumentScheduleLine.SalesDocument = $projection.SalesOrder and _SalesDocumentScheduleLine.SalesDocumentItem = $projection.SalesOrderItem and _SalesDocumentScheduleLine.ScheduleLine = $projection.SalesOrderScheduleLine |
| [0..1] | I_WBSElementByInternalKey | _WBSElementByInternalKey | _WBSElementByInternalKey.WBSElementInternalID = $projection.WBSElementInternalID |
| [0..1] | I_FunctionalArea | _FunctionalArea | _FunctionalArea.FunctionalArea = $projection.FunctionalArea |
| [0..*] | I_FunctionalAreaText | _FunctionalAreaText | _FunctionalAreaText.FunctionalArea = $projection.FunctionalArea |
| [0..1] | I_CostCenterActivityType | _CostCenterActivityType | _CostCenterActivityType.ControllingArea = $projection.ControllingArea and _CostCenterActivityType.CostCtrActivityType = $projection.CostCtrActivityType and _CostCenterActivityType.ValidityEndDate >= $projection.ValidityDate and _CostCenterActivityType.ValidityStartDate <= $projection.ValidityDate |
| [0..*] | I_CostCenterActivityTypeText | _CostCenterActivityTypeText | _CostCenterActivityTypeText.ControllingArea = $projection.ControllingArea and _CostCenterActivityTypeText.CostCtrActivityType = $projection.CostCtrActivityType and _CostCenterActivityTypeText.ValidityEndDate >= $projection.ValidityDate |
| [0..1] | I_BusinessProcess | _BusinessProcess | _BusinessProcess.BusinessProcess = $projection.BusinessProcess and _BusinessProcess.ControllingArea = $projection.ControllingArea |
| [0..*] | I_BusinessProcessText | _BusinessProcessText | _BusinessProcessText.BusinessProcess = $projection.BusinessProcess and _BusinessProcessText.ControllingArea = $projection.ControllingArea and _BusinessProcessText.ValidityEndDate >= $projection.ValidityDate |
| [0..*] | I_GLAccount | _GLAccount | $projection.GLAccount = _GLAccount.GLAccount |
| [0..*] | I_FixedAsset | _FixedAsset | $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IPURCTRACCNTWD | view | |
| EndUserText.label | BO View for I_PurCtrAccountWD | view | |
| ObjectModel.draftEnabled | true | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.writeDraftPersistence | PURCTR_ITM_ACT_D | view | |
| ObjectModel.createEnabled | true | view | |
| ObjectModel.updateEnabled | true | view | |
| ObjectModel.deleteEnabled | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (76)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | AccountAssignment | I_PurCtrAccount | AccountAssignment | Sender Acct Assgmt |
| KEY | PurchaseContractItem | I_PurCtrAccount | PurchaseContractItem | Item |
| KEY | PurchaseContract | I_PurCtrAccount | PurchaseContract | Purchasing Doc. |
| PurchaseContractForEdit | I_PurCtrAccount | PurchaseContract | Purchasing Doc. | |
| PurchaseContractItemForEdit | I_PurCtrAccount | PurchaseContractItem | Item | |
| AccountAssignmentForEdit | I_PurCtrAccount | AccountAssignment | Sender Acct Assgmt | |
| CostCenter | I_PurCtrAccount | CostCenter | Cost Center | |
| MasterFixedAsset | I_PurCtrAccount | MasterFixedAsset | Fixed Asset | |
| ProjectNetwork | I_PurCtrAccount | ProjectNetwork | Order | |
| Quantity | I_PurCtrAccount | Quantity | Value | |
| MultipleAcctAssgmtDistrPercent | I_PurCtrAccount | MultipleAcctAssgmtDistrPercent | Distribution | |
| PurgDocNetAmount | I_PurCtrAccount | PurgDocNetAmount | Net Value | |
| IsDeleted | I_PurCtrAccount | IsDeleted | TRUE | |
| GLAccount | I_PurCtrAccount | GLAccount | General Ledger | |
| BusinessArea | I_PurCtrAccount | BusinessArea | Business Area | |
| SalesOrder | I_PurCtrAccount | SalesOrder | SD Document | |
| SalesOrderItem | I_PurCtrAccount | SalesOrderItem | Sales Order Item | |
| SalesOrderScheduleLine | I_PurCtrAccount | SalesOrderScheduleLine | SOrder schedule | |
| FixedAsset | I_PurCtrAccount | FixedAsset | Sub-number | |
| OrderID | I_PurCtrAccount | OrderID | Order ID | |
| UnloadingPointName | I_PurCtrAccount | UnloadingPointName | Unloading Point Name | |
| ControllingArea | I_PurCtrAccount | ControllingArea | Controlling Area | |
| CostObject | I_PurCtrAccount | CostObject | Cost Object | |
| ProfitabilitySegment | I_PurCtrAccount | ProfitabilitySegment_2 | Profit. segment | |
| ProfitCenter | I_PurCtrAccount | ProfitCenter | Profit Center | |
| WBSElementInternalID | ||||
| WBSElement | I_PurCtrAccount | WBSElement | WBS Internal ID | |
| WBSElementExternalID | I_PurCtrAccount | WBSElementExternalID | WBS Element External ID | |
| WBSDescription | I_PurCtrAccount | WBSDescription | WBS Element Name | |
| ProjectNetworkInternalID | I_PurCtrAccount | ProjectNetworkInternalID | Plan No.f.Oper. | |
| CommitmentItem | ||||
| FundsCenter | I_PurCtrAccount | FundsCenter | Funds Center | |
| Fund | I_PurCtrAccount | Fund | Sender Fund | |
| FunctionalArea | I_PurCtrAccount | FunctionalArea | Sendr Fctl Area | |
| LastChangedDate | I_PurCtrAccount | LastChangedDate | Created On | |
| GoodsRecipientName | I_PurCtrAccount | GoodsRecipientName | Recipient Name | |
| IsFinallyInvoiced | I_PurCtrAccount | IsFinallyInvoiced | Final Invoice | |
| RealEstateObject | ||||
| NetworkActivityInternalID | I_PurCtrAccount | NetworkActivityInternalID | Counter | |
| PartnerAccountNumber | I_PurCtrAccount | PartnerAccountNumber | Partner | |
| JointVentureRecoveryCode | I_PurCtrAccount | JointVentureRecoveryCode | Recovery Ind. | |
| SettlementReferenceDate | I_PurCtrAccount | SettlementReferenceDate | Reference date | |
| OrderInternalID | I_PurCtrAccount | OrderInternalID | Plan No.f.Oper. | |
| OrderIntBillOfOperationsItem | I_PurCtrAccount | OrderIntBillOfOperationsItem | Order Internal Bill of Operations Item | |
| TaxCode | I_PurCtrAccount | TaxCode | Tax Code | |
| TaxJurisdiction | I_PurCtrAccount | TaxJurisdiction | Tax Jurisdiction | |
| NonDeductibleInputTaxAmount | I_PurCtrAccount | NonDeductibleInputTaxAmount | Non-deductible | |
| CostCtrActivityType | I_PurCtrAccount | CostCtrActivityType | Activity Type | |
| BusinessProcess | I_PurCtrAccount | BusinessProcess | Business Process | |
| GrantID | I_PurCtrAccount | GrantID | Sender Grant | |
| BudgetPeriod | I_PurCtrAccount | BudgetPeriod | Budget Period | |
| EarmarkedFundsDocument | I_PurCtrAccount | EarmarkedFundsDocument | Earmarked Funds | |
| ValidityDate | I_PurCtrAccount | ValidityDate | Valid On | |
| DocumentCurrency | I_PurCtrAccount | DocumentCurrency | Document Currency | |
| OrderQuantityUnit | I_PurCtrAccount | OrderQuantityUnit | Sales Unit | |
| _PurchaseContractItemWD | _PurchaseContractItemWD | |||
| _PurchaseContractWD | _PurchaseContractWD | |||
| _CostCenter | _CostCenter | |||
| _CostCenterText | _CostCenterText | |||
| _BusinessArea | _BusinessArea | |||
| _BusinessAreaText | _BusinessAreaText | |||
| _ProfitCenter | _ProfitCenter | |||
| _ProfitCenterText | _ProfitCenterText | |||
| _SalesOrder | _SalesOrder | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _ControllingArea | _ControllingArea | |||
| _SalesDocumentScheduleLine | _SalesDocumentScheduleLine | |||
| _WBSElementByInternalKey | _WBSElementByInternalKey | |||
| _FunctionalArea | _FunctionalArea | |||
| _FunctionalAreaText | _FunctionalAreaText | |||
| _CostCenterActivityType | _CostCenterActivityType | |||
| _CostCenterActivityTypeText | _CostCenterActivityTypeText | |||
| _BusinessProcess | _BusinessProcess | |||
| _BusinessProcessText | _BusinessProcessText | |||
| _GLAccount | _GLAccount | |||
| _FixedAsset | _FixedAsset |
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_PurCtrAccountWD.
-- 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.
-- SQL view name: IPURCTRACCNTWD
CREATE VIEW I_PurCtrAccountWD AS
SELECT
Document.AccountAssignment AS AccountAssignment,
Document.PurchaseContractItem AS PurchaseContractItem,
Document.PurchaseContract AS PurchaseContract,
Document.PurchaseContract AS PurchaseContractForEdit,
Document.PurchaseContractItem AS PurchaseContractItemForEdit,
Document.AccountAssignment AS AccountAssignmentForEdit,
Document.CostCenter AS CostCenter,
Document.MasterFixedAsset AS MasterFixedAsset,
Document.ProjectNetwork AS ProjectNetwork,
Document.Quantity AS Quantity,
Document.MultipleAcctAssgmtDistrPercent AS MultipleAcctAssgmtDistrPercent,
Document.PurgDocNetAmount AS PurgDocNetAmount,
Document.IsDeleted AS IsDeleted,
Document.GLAccount AS GLAccount,
Document.BusinessArea AS BusinessArea,
Document.SalesOrder AS SalesOrder,
Document.SalesOrderItem AS SalesOrderItem,
Document.SalesOrderScheduleLine AS SalesOrderScheduleLine,
Document.FixedAsset AS FixedAsset,
Document.OrderID AS OrderID,
Document.UnloadingPointName AS UnloadingPointName,
Document.ControllingArea AS ControllingArea,
Document.CostObject AS CostObject,
Document.ProfitabilitySegment_2 AS ProfitabilitySegment,
Document.ProfitCenter AS ProfitCenter,
cast( Document.WBSElementInternalID_2 as ps_psp_pnr ) AS WBSElementInternalID,
Document.WBSElement AS WBSElement,
Document.WBSElementExternalID AS WBSElementExternalID,
Document.WBSDescription AS WBSDescription,
Document.ProjectNetworkInternalID AS ProjectNetworkInternalID,
cast(Document.CommitmentItemShortID as fipos ) AS CommitmentItem,
Document.FundsCenter AS FundsCenter,
Document.Fund AS Fund,
Document.FunctionalArea AS FunctionalArea,
Document.LastChangedDate AS LastChangedDate,
Document.GoodsRecipientName AS GoodsRecipientName,
Document.IsFinallyInvoiced AS IsFinallyInvoiced,
cast( Document.REInternalFinNumber as imkey ) AS RealEstateObject,
Document.NetworkActivityInternalID AS NetworkActivityInternalID,
Document.PartnerAccountNumber AS PartnerAccountNumber,
Document.JointVentureRecoveryCode AS JointVentureRecoveryCode,
Document.SettlementReferenceDate AS SettlementReferenceDate,
Document.OrderInternalID AS OrderInternalID,
Document.OrderIntBillOfOperationsItem AS OrderIntBillOfOperationsItem,
Document.TaxCode AS TaxCode,
Document.TaxJurisdiction AS TaxJurisdiction,
Document.NonDeductibleInputTaxAmount AS NonDeductibleInputTaxAmount,
Document.CostCtrActivityType AS CostCtrActivityType,
Document.BusinessProcess AS BusinessProcess,
Document.GrantID AS GrantID,
Document.BudgetPeriod AS BudgetPeriod,
Document.EarmarkedFundsDocument AS EarmarkedFundsDocument,
Document.ValidityDate AS ValidityDate,
Document.DocumentCurrency AS DocumentCurrency,
Document.OrderQuantityUnit AS OrderQuantityUnit
FROM I_PurCtrAccount AS Document
LEFT OUTER JOIN I_PurchaseContractWD AS _PurchaseContractWD ON _PurchaseContractWD.PurchaseContract = PurchaseContract -- association [1..1]
LEFT OUTER JOIN I_PurchaseContractItemWD AS _PurchaseContractItemWD ON _PurchaseContractItemWD.PurchaseContractItem = PurchaseContractItem AND _PurchaseContractItemWD.PurchaseContract = PurchaseContract -- association [1..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON _CostCenter.ControllingArea = ControllingArea AND _CostCenter.CostCenter = CostCenter AND _CostCenter.ValidityEndDate >= ValidityDate AND _CostCenter.ValidityStartDate <= ValidityDate -- association [0..1]
LEFT OUTER JOIN I_CostCenterText AS _CostCenterText ON _CostCenterText.ControllingArea = ControllingArea AND _CostCenterText.CostCenter = CostCenter AND _CostCenterText.ValidityEndDate >= ValidityDate -- association [0..*]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON _BusinessArea.BusinessArea = BusinessArea -- association [0..1]
LEFT OUTER JOIN I_BusinessAreaText AS _BusinessAreaText ON _BusinessAreaText.BusinessArea = BusinessArea -- association [0..*]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON _ProfitCenter.ControllingArea = ControllingArea AND _ProfitCenter.ProfitCenter = ProfitCenter AND _ProfitCenter.ValidityEndDate >= ValidityDate AND _ProfitCenter.ValidityStartDate <= ValidityDate -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _ProfitCenterText ON _ProfitCenterText.ControllingArea = ControllingArea AND _ProfitCenterText.ProfitCenter = ProfitCenter AND _ProfitCenterText.ValidityEndDate >= ValidityDate -- association [0..*]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON _SalesOrder.SalesOrder = SalesOrder -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON _SalesOrderItem.SalesOrder = SalesOrderItem AND _SalesOrderItem.SalesOrderItem = SalesOrder -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON _ControllingArea.ControllingArea = ControllingArea -- association [0..1]
LEFT OUTER JOIN I_SalesDocumentScheduleLine AS _SalesDocumentScheduleLine ON _SalesDocumentScheduleLine.SalesDocument = SalesOrder AND _SalesDocumentScheduleLine.SalesDocumentItem = SalesOrderItem AND _SalesDocumentScheduleLine.ScheduleLine = SalesOrderScheduleLine -- association [0..1]
LEFT OUTER JOIN I_WBSElementByInternalKey AS _WBSElementByInternalKey ON _WBSElementByInternalKey.WBSElementInternalID = WBSElementInternalID -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON _FunctionalArea.FunctionalArea = FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_FunctionalAreaText AS _FunctionalAreaText ON _FunctionalAreaText.FunctionalArea = FunctionalArea -- association [0..*]
LEFT OUTER JOIN I_CostCenterActivityType AS _CostCenterActivityType ON _CostCenterActivityType.ControllingArea = ControllingArea AND _CostCenterActivityType.CostCtrActivityType = CostCtrActivityType AND _CostCenterActivityType.ValidityEndDate >= ValidityDate AND _CostCenterActivityType.ValidityStartDate <= ValidityDate -- association [0..1]
LEFT OUTER JOIN I_CostCenterActivityTypeText AS _CostCenterActivityTypeText ON _CostCenterActivityTypeText.ControllingArea = ControllingArea AND _CostCenterActivityTypeText.CostCtrActivityType = CostCtrActivityType AND _CostCenterActivityTypeText.ValidityEndDate >= ValidityDate -- association [0..*]
LEFT OUTER JOIN I_BusinessProcess AS _BusinessProcess ON _BusinessProcess.BusinessProcess = BusinessProcess AND _BusinessProcess.ControllingArea = ControllingArea -- association [0..1]
LEFT OUTER JOIN I_BusinessProcessText AS _BusinessProcessText ON _BusinessProcessText.BusinessProcess = BusinessProcess AND _BusinessProcessText.ControllingArea = ControllingArea AND _BusinessProcessText.ValidityEndDate >= ValidityDate -- association [0..*]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount -- association [0..*]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset -- association [0..*]
;
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