C_ActyTypeRcvgCostCtrItm
Receiving Cost Centers Line Items
C_ActyTypeRcvgCostCtrItm is a Consumption CDS View that provides data about "Receiving Cost Centers Line Items" in SAP S/4HANA. It reads from 1 data source (I_JournalEntryItem) and exposes 76 fields with key fields ActyTypeWhereUsedObjType, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_JournalEntryItem | I_JournalEntryItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CostCenterActivityType | _CostCtrActivityType | $projection.ControllingArea = _CostCtrActivityType.ControllingArea and $projection.CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType and $projection.PostingDate >= _CostCtrActivityType.ValidityStartDate and $projection.PostingDate <= _CostCtrActivityType.ValidityEndDate |
| [0..1] | I_CostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter and $projection.PostingDate >= _CostCenter.ValidityStartDate and $projection.PostingDate <= _CostCenter.ValidityEndDate |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CWUATRCCI | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Receiving Cost Centers Line Items | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.preserveKey | true | view | |
| Metadata.allowExtensions | true | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (76)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ActyTypeWhereUsedObjType | |||
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | Ledger | Ledger | |
| CompanyCodeName | _CompanyCodeText | CompanyCodeName | Company Name | |
| CostCtrActivityType | CostCtrActivityType | Activity Type | ||
| CostCtrActivityTypeName | ||||
| CostCtrActivityTypeDesc | ||||
| CostCenterValidityStartDate | ||||
| CostCenterValidityEndDate | ||||
| CostCenter | PartnerCostCenter | Sender Cost Ctr | ||
| SenderCostCenter | CostCenter | Cost Center | ||
| CostCenterName | ||||
| PostingDate | PostingDate | Posting Date for GR | ||
| Quantity | Quantity | Value | ||
| BaseUnit | Unit of Measure | |||
| UnitOfMeasureName | ||||
| AmountInTransactionCurrency | Pt Crcy Amt | |||
| TransactionCurrency | Transaction Currency | |||
| AmountInCompanyCodeCurrency | Local Crcy Amt | |||
| CompanyCodeCurrency | Local Currency | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| AmountInGlobalCurrency | Amount in Global Currency | |||
| GlobalCurrency | GM Billing Element: Global Currency | |||
| AmountInBalanceTransacCrcy | Amount in Balance Transaction Currency | |||
| BalanceTransactionCurrency | Currency | |||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| AccountingDocumentItem | AccountingDocumentItem | Posting View Item | ||
| ReferenceDocumentType | Reference Document Type | |||
| ReferenceDocument | Reference Document | |||
| IsLeadingLedger | _Ledger | IsLeadingLedger | ||
| NumberOfUniqueObjects | ||||
| NumberOfMatches | ||||
| ValidityStartDate | PostingDate | Posting Date for GR | ||
| ValidityEndDate | PostingDate | Posting Date for GR | ||
| CostCtrActyTypeValdtyStartDate | ||||
| CostCtrActyTypeValdtyEndDate | ||||
| SalesDocument | I_JournalEntryItem | SalesDocument | SD Document | |
| FixedAsset | I_JournalEntryItem | FixedAsset | Sub-number | |
| MasterFixedAsset | I_JournalEntryItem | MasterFixedAsset | Fixed Asset | |
| Customer | I_JournalEntryItem | Customer | Sold-to Party | |
| Supplier | I_JournalEntryItem | Supplier | Supplier | |
| AccountingDocumentType | I_JournalEntryItem | AccountingDocumentType | Journal Entry Type | |
| GLAccount | I_JournalEntryItem | GLAccount | General Ledger | |
| OrderID | I_JournalEntryItem | OrderID | Order ID | |
| ProfitCenter | I_JournalEntryItem | ProfitCenter | Profit Center | |
| ValuationArea | I_JournalEntryItem | ValuationArea | Valuation Area | |
| Plant | I_JournalEntryItem | Plant | Valuation Area | |
| SalesOrganization | I_JournalEntryItem | SalesOrganization | Sales Organization | |
| FinancialAccountType | I_JournalEntryItem | FinancialAccountType | Fin. Account Type | |
| BusinessArea | I_JournalEntryItem | BusinessArea | Business Area | |
| Segment | I_JournalEntryItem | Segment | Segment number | |
| DistributionChannel | I_JournalEntryItem | DistributionChannel | RefDistCh-Cust/Mat. | |
| OrganizationDivision | I_JournalEntryItem | OrganizationDivision | Org. Division | |
| ServiceDocument | ServiceDocument | Transaction ID | ||
| ServiceDocumentItem | ServiceDocumentItem | Service Document | ||
| ServiceDocumentType | ServiceDocumentType | Transaction Type | ||
| FXUBRQ3X467AssetClass | ||||
| FunctionalArea | ||||
| _ServiceDocument | _ServiceDocument | |||
| _Order | _Order | |||
| _SalesDocument | _SalesDocument | |||
| _FixedAsset | _FixedAsset | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _Customer | _Customer | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _Supplier | _Supplier | |||
| _Ledger | _Ledger | |||
| _SourceLedger | _SourceLedger | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _CostCtrActivityType | _CostCtrActivityType | |||
| _CostCenter | _CostCenter |
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_ActyTypeRcvgCostCtrItm.
-- 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: CWUATRCCI
CREATE VIEW C_ActyTypeRcvgCostCtrItm AS
SELECT
cast ('3RCCI' as actytypewhereusedobjecttypevh) AS ActyTypeWhereUsedObjType,
SourceLedger,
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
Ledger,
_CompanyCodeText.CompanyCodeName AS CompanyCodeName,
CostCtrActivityType,
cast(_CostCtrActivityType._Text[ Language = $session.system_language ].CostCtrActivityTypeName as actytypename preserving type ) AS CostCtrActivityTypeName,
cast(_CostCtrActivityType._Text[ Language = $session.system_language ].CostCtrActivityTypeDesc as actytypedesc preserving type ) AS CostCtrActivityTypeDesc,
cast(_CostCenter.ValidityStartDate as costcentervaliditystartdate preserving type ) AS CostCenterValidityStartDate,
cast(_CostCenter.ValidityEndDate as costcentervalidityenddate preserving type ) AS CostCenterValidityEndDate,
PartnerCostCenter AS CostCenter,
CostCenter AS SenderCostCenter,
_CostCenter._Text[ Language = $session.system_language ].CostCenterName AS CostCenterName,
PostingDate,
Quantity,
cast (BaseUnit as unitofmsmt) AS BaseUnit,
_BaseUnit._Text[ Language = $session.system_language ].UnitOfMeasureName AS UnitOfMeasureName,
cast(AmountInTransactionCurrency as amtintranscrcy preserving type ) AS AmountInTransactionCurrency,
cast(TransactionCurrency as fis_rwcur preserving type ) AS TransactionCurrency,
cast(AmountInCompanyCodeCurrency as amtincccrcy preserving type ) AS AmountInCompanyCodeCurrency,
cast(CompanyCodeCurrency as cccrcy preserving type ) AS CompanyCodeCurrency,
ControllingArea,
cast(AmountInGlobalCurrency as amtingcrcy preserving type ) AS AmountInGlobalCurrency,
cast(GlobalCurrency as fis_rkcur preserving type ) AS GlobalCurrency,
cast(AmountInBalanceTransacCrcy as amtinbltcrcy preserving type ) AS AmountInBalanceTransacCrcy,
cast(BalanceTransactionCurrency as bltcrcy preserving type ) AS BalanceTransactionCurrency,
FiscalPeriod,
AccountingDocumentItem,
cast(ReferenceDocumentType as referencedocumenttype preserving type ) AS ReferenceDocumentType,
cast(ReferenceDocument as referencedocument preserving type ) AS ReferenceDocument,
_Ledger.IsLeadingLedger AS IsLeadingLedger,
cast (0 as actytypewhereusedobjcount) AS NumberOfUniqueObjects,
cast (0 as actytypewhereusedobjmatch) AS NumberOfMatches,
PostingDate AS ValidityStartDate,
PostingDate AS ValidityEndDate,
cast( _CostCtrActivityType.ValidityStartDate as activitytypevaliditystartdate preserving type ) AS CostCtrActyTypeValdtyStartDate,
cast( _CostCtrActivityType.ValidityEndDate as activitytypevalidityenddate preserving type ) AS CostCtrActyTypeValdtyEndDate,
I_JournalEntryItem.SalesDocument AS SalesDocument,
I_JournalEntryItem.FixedAsset AS FixedAsset,
I_JournalEntryItem.MasterFixedAsset AS MasterFixedAsset,
I_JournalEntryItem.Customer AS Customer,
I_JournalEntryItem.Supplier AS Supplier,
I_JournalEntryItem.AccountingDocumentType AS AccountingDocumentType,
I_JournalEntryItem.GLAccount AS GLAccount,
I_JournalEntryItem.OrderID AS OrderID,
I_JournalEntryItem.ProfitCenter AS ProfitCenter,
I_JournalEntryItem.ValuationArea AS ValuationArea,
I_JournalEntryItem.Plant AS Plant,
I_JournalEntryItem.SalesOrganization AS SalesOrganization,
I_JournalEntryItem.FinancialAccountType AS FinancialAccountType,
I_JournalEntryItem.BusinessArea AS BusinessArea,
I_JournalEntryItem.Segment AS Segment,
I_JournalEntryItem.DistributionChannel AS DistributionChannel,
I_JournalEntryItem.OrganizationDivision AS OrganizationDivision,
ServiceDocument,
ServiceDocumentItem,
ServiceDocumentType
FROM I_JournalEntryItem
LEFT OUTER JOIN I_CostCenterActivityType AS _CostCtrActivityType ON ControllingArea = _CostCtrActivityType.ControllingArea AND CostCtrActivityType = _CostCtrActivityType.CostCtrActivityType AND PostingDate >= _CostCtrActivityType.ValidityStartDate AND PostingDate <= _CostCtrActivityType.ValidityEndDate -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter AND PostingDate >= _CostCenter.ValidityStartDate AND PostingDate <= _CostCenter.ValidityEndDate -- 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