C_SetlMgmtJrnlCostDistrBizVol
Intco Cost Distr Bus Vol from ACDOCA
C_SetlMgmtJrnlCostDistrBizVol is a Consumption CDS View that provides data about "Intco Cost Distr Bus Vol from ACDOCA" in SAP S/4HANA. It reads from 3 data sources (R_ConditionContract, R_ConditionDocumentItem, R_SetlMgmtUnivJrnlEntrBizVol) and exposes 40 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 4 associations to related views. Part of development package WCB_CC_SETTL_BV_SEL.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| R_ConditionContract | ConditionContract | inner |
| R_ConditionDocumentItem | ConditionContractItem | inner |
| R_SetlMgmtUnivJrnlEntrBizVol | JournalEntry | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | R_SetlMgmtCoCodeSettlmtRprstn | _SettlmtMgmtSenderSupplier | JournalEntry.CompanyCode = _SettlmtMgmtSenderSupplier.CompanyCode |
| [0..1] | R_SetlMgmtCoCodeSettlmtRprstn | _SettlmtMgmtReceiverCustomer | ConditionContractItem.CompanyCode = _SettlmtMgmtReceiverCustomer.CompanyCode |
| [0..1] | R_SettlmtDoc | _SettlmtDoc | _SettlmtDoc.SettlmtDoc = JournalEntry.ReferenceDocument and JournalEntry.ReferenceDocumentType = 'WBRK' and _SettlmtDoc.CustSettlmtCompanyCode = JournalEntry.CompanyCode |
| [0..1] | P_StlMnBzVlSetldSetlDocRlvtSel | _StlMnBzVlSetldSetlDocRlvtSel | _StlMnBzVlSetldSetlDocRlvtSel.ConditionContract = ConditionContract.ConditionContract and _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocCategory = '07' and _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey1 = JournalEntry.AccountingDocument and _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey2 = JournalEntry.CompanyCode and _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey3 = JournalEntry.FiscalYear and _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocItem = JournalEntry.LedgerGLLineItem and _StlMnBzVlSetldSetlDocRlvtSel.SettlmtDocIsCanceled <> 'X' and _StlMnBzVlSetldSetlDocRlvtSel.SettlmtMgmtAcctgTransfSts <> 'R' |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Intco Cost Distr Bus Vol from ACDOCA | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | false | view |
Fields (40)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceLedger | R_SetlMgmtUnivJrnlEntrBizVol | SourceLedger | Source Ledger |
| KEY | CompanyCode | R_SetlMgmtUnivJrnlEntrBizVol | CompanyCode | Receiver Company Code |
| KEY | FiscalYear | R_SetlMgmtUnivJrnlEntrBizVol | FiscalYear | G/L Fiscal Year |
| KEY | AccountingDocument | R_SetlMgmtUnivJrnlEntrBizVol | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | R_SetlMgmtUnivJrnlEntrBizVol | LedgerGLLineItem | Journal Entry Item |
| KEY | ConditionContract | R_ConditionContract | ConditionContract | Condition Contract |
| KEY | ConditionContractItem | R_ConditionDocumentItem | ConditionDocumentItem | |
| AccountingDocumentItem | R_SetlMgmtUnivJrnlEntrBizVol | AccountingDocumentItem | Posting View Item | |
| ReferenceDocumentType | R_SetlMgmtUnivJrnlEntrBizVol | ReferenceDocumentType | Reference Document Type | |
| ReferenceDocumentContext | R_SetlMgmtUnivJrnlEntrBizVol | ReferenceDocumentContext | Reference Document Context | |
| ReferenceDocument | R_SetlMgmtUnivJrnlEntrBizVol | ReferenceDocument | Reference Document | |
| PostingDate | R_SetlMgmtUnivJrnlEntrBizVol | PostingDate | Posting Date for GR | |
| DocumentDate | R_SetlMgmtUnivJrnlEntrBizVol | DocumentDate | Journal Entry Date | |
| AccountingDocumentType | R_SetlMgmtUnivJrnlEntrBizVol | AccountingDocumentType | Journal Entry Type | |
| ControllingBusTransacType | R_SetlMgmtUnivJrnlEntrBizVol | ControllingBusTransacType | CO Bus. Transaction | |
| AssignmentReference | R_SetlMgmtUnivJrnlEntrBizVol | AssignmentReference | Assignment Reference | |
| LastChangeDateTime | R_SetlMgmtUnivJrnlEntrBizVol | LastChangeDateTime | Timestamp | |
| SettlementDistributionRatio | R_ConditionDocumentItem | SettlementDistributionRatio | Distribution Ratio | |
| CompanyCodeCurrency | R_SetlMgmtUnivJrnlEntrBizVol | CompanyCodeCurrency | Local Currency | |
| AmountInCompanyCodeCurrency | R_SetlMgmtUnivJrnlEntrBizVol | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| ControllingObjectCurrency | R_SetlMgmtUnivJrnlEntrBizVol | ControllingObjectCurrency | CO Object Currency | |
| AmountInObjectCurrency | R_SetlMgmtUnivJrnlEntrBizVol | AmountInObjectCurrency | Amount in Obj Crcy | |
| AccountAssignmentType | R_SetlMgmtUnivJrnlEntrBizVol | AccountAssignmentType | Sndr AcctAssgmt Type | |
| GLAccount | R_SetlMgmtUnivJrnlEntrBizVol | GLAccount | General Ledger | |
| OriginCostCtrActivityType | R_SetlMgmtUnivJrnlEntrBizVol | OriginCostCtrActivityType | ||
| Product | R_SetlMgmtUnivJrnlEntrBizVol | Product | Product Sold | |
| BusinessArea | R_SetlMgmtUnivJrnlEntrBizVol | BusinessArea | Business Area | |
| SettlmtRefDocCat | R_SetlMgmtUnivJrnlEntrBizVol | SettlmtRefDocCat | SettlmtRefDocCat | |
| SettlmtRefDoc | R_SetlMgmtUnivJrnlEntrBizVol | SettlmtRefDoc | Settlmt. Ref. Doc. | |
| SettlmtRefDocFiscalYear | R_SetlMgmtUnivJrnlEntrBizVol | SettlmtRefDocFiscalYear | Year of Reference Document | |
| SettlmtRefDocCompanyCode | R_SetlMgmtUnivJrnlEntrBizVol | SettlmtRefDocCompanyCode | Ref. Company Code | |
| SettlmtMgmtSenderSupplier | _SettlmtMgmtSenderSupplier | Supplier | Supplier | |
| SalesOrganization | _SettlmtMgmtSenderSupplier | SalesOrganization | Sales Organization | |
| DistributionChannel | _SettlmtMgmtSenderSupplier | DistributionChannel | RefDistCh-Cust/Mat. | |
| Division | _SettlmtMgmtSenderSupplier | Division | Internal Division ID | |
| SettlmtMgmtReceiverCustomer | ||||
| ReceiverCompanyCode | ||||
| ReceiverOrder | ||||
| ReceiverWBSElementInternalID | ||||
| ReceiverCostCenter |
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_SetlMgmtJrnlCostDistrBizVol.
-- 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_SetlMgmtJrnlCostDistrBizVol AS
SELECT
JournalEntry.SourceLedger AS SourceLedger,
JournalEntry.CompanyCode AS CompanyCode,
JournalEntry.FiscalYear AS FiscalYear,
JournalEntry.AccountingDocument AS AccountingDocument,
JournalEntry.LedgerGLLineItem AS LedgerGLLineItem,
ConditionContract.ConditionContract AS ConditionContract,
ConditionContractItem.ConditionDocumentItem AS ConditionContractItem,
JournalEntry.AccountingDocumentItem AS AccountingDocumentItem,
JournalEntry.ReferenceDocumentType AS ReferenceDocumentType,
JournalEntry.ReferenceDocumentContext AS ReferenceDocumentContext,
JournalEntry.ReferenceDocument AS ReferenceDocument,
JournalEntry.PostingDate AS PostingDate,
JournalEntry.DocumentDate AS DocumentDate,
JournalEntry.AccountingDocumentType AS AccountingDocumentType,
JournalEntry.ControllingBusTransacType AS ControllingBusTransacType,
JournalEntry.AssignmentReference AS AssignmentReference,
JournalEntry.LastChangeDateTime AS LastChangeDateTime,
ConditionContractItem.SettlementDistributionRatio AS SettlementDistributionRatio,
JournalEntry.CompanyCodeCurrency AS CompanyCodeCurrency,
JournalEntry.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
JournalEntry.ControllingObjectCurrency AS ControllingObjectCurrency,
JournalEntry.AmountInObjectCurrency AS AmountInObjectCurrency,
JournalEntry.AccountAssignmentType AS AccountAssignmentType,
JournalEntry.GLAccount AS GLAccount,
JournalEntry.OriginCostCtrActivityType AS OriginCostCtrActivityType,
JournalEntry.Product AS Product,
JournalEntry.BusinessArea AS BusinessArea,
JournalEntry.SettlmtRefDocCat AS SettlmtRefDocCat,
JournalEntry.SettlmtRefDoc AS SettlmtRefDoc,
JournalEntry.SettlmtRefDocFiscalYear AS SettlmtRefDocFiscalYear,
JournalEntry.SettlmtRefDocCompanyCode AS SettlmtRefDocCompanyCode,
_SettlmtMgmtSenderSupplier.Supplier AS SettlmtMgmtSenderSupplier,
_SettlmtMgmtSenderSupplier.SalesOrganization AS SalesOrganization,
_SettlmtMgmtSenderSupplier.DistributionChannel AS DistributionChannel,
_SettlmtMgmtSenderSupplier.Division AS Division,
cast( _SettlmtMgmtReceiverCustomer.Customer as wlf_bukrs_kunnr_receiving preserving type ) AS SettlmtMgmtReceiverCustomer,
cast( ConditionContractItem.CompanyCode as wlf_bukrs_receiving preserving type ) AS ReceiverCompanyCode,
cast( ConditionContractItem.SettlmtMgmtOrder as wlf_aufnr_receiving preserving type ) AS ReceiverOrder,
cast( ConditionContractItem.WBSElementInternalID as wlf_ps_psp_pnr_receiving preserving type ) AS ReceiverWBSElementInternalID,
cast( ConditionContractItem.CostCenter as wlf_kostl_receiving preserving type ) AS ReceiverCostCenter
FROM R_SetlMgmtUnivJrnlEntrBizVol AS JournalEntry
INNER JOIN R_ConditionContract AS ConditionContract ON /* join condition not captured in parsed metadata */
INNER JOIN R_ConditionDocumentItem AS ConditionContractItem ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN R_SetlMgmtCoCodeSettlmtRprstn AS _SettlmtMgmtSenderSupplier ON JournalEntry.CompanyCode = _SettlmtMgmtSenderSupplier.CompanyCode -- association [0..1]
LEFT OUTER JOIN R_SetlMgmtCoCodeSettlmtRprstn AS _SettlmtMgmtReceiverCustomer ON ConditionContractItem.CompanyCode = _SettlmtMgmtReceiverCustomer.CompanyCode -- association [0..1]
LEFT OUTER JOIN R_SettlmtDoc AS _SettlmtDoc ON _SettlmtDoc.SettlmtDoc = JournalEntry.ReferenceDocument AND JournalEntry.ReferenceDocumentType = 'WBRK' AND _SettlmtDoc.CustSettlmtCompanyCode = JournalEntry.CompanyCode -- association [0..1]
LEFT OUTER JOIN P_StlMnBzVlSetldSetlDocRlvtSel AS _StlMnBzVlSetldSetlDocRlvtSel ON _StlMnBzVlSetldSetlDocRlvtSel.ConditionContract = ConditionContract.ConditionContract AND _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocCategory = '07' AND _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey1 = JournalEntry.AccountingDocument AND _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey2 = JournalEntry.CompanyCode AND _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocKey3 = JournalEntry.FiscalYear AND _StlMnBzVlSetldSetlDocRlvtSel.SetldBusVolDocItem = JournalEntry.LedgerGLLineItem AND _StlMnBzVlSetldSetlDocRlvtSel.SettlmtDocIsCanceled <> 'X' AND _StlMnBzVlSetldSetlDocRlvtSel.SettlmtMgmtAcctgTransfSts <> 'R' -- 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