R_ControllingActualLineItem
Internal view for CO actual line item
R_ControllingActualLineItem is a Basic CDS View that provides data about "Internal view for CO actual line item" in SAP S/4HANA. It reads from 1 data source (acdoca) and exposes 79 fields with key fields Ledger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | RFICOACTULITEM | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Internal view for CO actual line item | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (79)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Ledger | rldnr | Ledger (Compat.) | |
| KEY | CompanyCode | rbukrs | Company Code | |
| KEY | FiscalYear | gjahr | Settlement Year | |
| KEY | AccountingDocument | belnr | SD Document | |
| KEY | LedgerGLLineItem | docln | Matching Document Line Item | |
| ControllingArea | kokrs | Org. Value | ||
| ControllingDocument | co_belnr | Document Number | ||
| ControllingDocumentItem | co_buzei | Posting Row | ||
| FiscalPeriod | poper | Posting periods | ||
| FiscalYearPeriod | Period/Year | |||
| ChartOfAccounts | ktopl | G/L Chart of Accounts | ||
| CostElement | racct | GL Account From | ||
| ControllingObject | objnr | Val. Obj. No. | ||
| GLAccountType | glaccount_type | G/L Account Type | ||
| ControllingKeySubNumber | hrkft | Origin group order | ||
| SubLedgerAcctLineItemType | slalittype | SLALineItemType | ||
| BusinessTransactionType | vrgng | Bus.Transaction | ||
| CtrlgOriginClassification | glaccount_type | G/L Account Type | ||
| OriginCtrlgDebitCreditCode | co_beknz | Dr/Cr (Origin) | ||
| ControllingDebitCreditCode | co_belkz | Dr/Cr ind. CO | ||
| CostOriginGroup | hkgrp | Origin Group | ||
| OriginSenderObject | uspob | Source Object | ||
| OriginCostCenter | ukostl | OrigCCtr | ||
| OriginCostCtrActivityType | ulstar | OrigAct. | ||
| AccountAssignment | accas | Account Assignment | ||
| AccountAssignmentType | accasty | Object Type | ||
| CostCenter | rcntr | Cost Center | ||
| ActivityType | lstar | Activity Type | ||
| OrderID | aufnr | SettlementOrder | ||
| OrderItem | aufps | Order item no. | ||
| OrderCategory | autyp | Order category | ||
| PartnerAccountAssignment | paccas | Part. Acct Assgmt | ||
| PartnerAccountAssignmentType | paccasty | Prt.object type | ||
| PartnerCostCenter | scntr | Sender Cost Ctr | ||
| PartnerCostCtrActivityType | plstar | ParActvy | ||
| PartnerOrder | paufnr | Partner order | ||
| PartnerBusinessProcess | pprznr | Part. Bus. Process | ||
| Material | matnr | Vehicle Model | ||
| Plant | werks | Receiving Plant | ||
| GlobalCurrency | rkcur | Ledger curr. | ||
| BusinessTransactionCategory | bttype | Business Transaction Type | ||
| TransactionTypeDetermination | ktosl | Transaction | ||
| WorkCenterInternalID | arbid | WorkCtrGp plan. | ||
| OrderOperation | vornr | Operation | ||
| PersonnelNumber | pernr | Personnel no. | ||
| OffsettingAccount | gkont | Offsetting Acct | ||
| OffsettingAccountType | gkoar | Offst.Acct Type | ||
| DocumentDate | bldat | Journal Entry Date | ||
| PostingDate | budat | Posting Date | ||
| AccountingDocumentItem | buzei | Posting View Item | ||
| CompanyCodeCurrency | rhcur | Local Currency | ||
| AmountInCompanyCodeCurrency | hsl | Local Crcy Amt | ||
| ControllingObjectCurrency | rco_ocur | Object Currency | ||
| AmountInGlobalCurrency | ksl | GrpCurr | ||
| FixedAmountInGlobalCrcy | kfsl | Fixed Amnt in GC | ||
| AmountInObjectCurrency | co_osl | Value/Obj. Crcy | ||
| AmountInTransactionCurrency | tsl | Trans. Currency | ||
| TransactionCurrency | rtcur | Currency | ||
| AmountInFreeDefinedCurrency1 | osl | Other Crcy Amnt | ||
| FreeDefinedCurrency1 | rocur | Free Defined Crcy 1 | ||
| AmountInFreeDefinedCurrency2 | vsl | Amount in Currency 2 | ||
| FreeDefinedCurrency2 | rvcur | Free Defined Crcy 4 | ||
| AmountInFreeDefinedCurrency3 | bsl | Exchange Key | ||
| FreeDefinedCurrency3 | rbcur | Free Defined Crcy 3 | ||
| AmountInFreeDefinedCurrency4 | csl | Amount in Currency 4 | ||
| FreeDefinedCurrency4 | rccur | Third Currency | ||
| AmountInFreeDefinedCurrency5 | dsl | Amount in Currency 5 | ||
| FreeDefinedCurrency5 | rdcur | Free Defined Crcy 5 | ||
| AmountInFreeDefinedCurrency6 | esl | Amount in Currency 6 | ||
| FreeDefinedCurrency6 | recur | Free Defined Crcy 6 | ||
| AmountInFreeDefinedCurrency7 | fsl | Amount in Currency 7 | ||
| FreeDefinedCurrency7 | rfcur | Free Defined Crcy 7 | ||
| AmountInFreeDefinedCurrency8 | gsl | Amount in Currency 8 | ||
| FreeDefinedCurrency8 | rgcur | Free Defined Crcy 8 | ||
| BaseUnit | runit | Unit/Area | ||
| Quantity | msl | Stat. KeyFig. Qty | ||
| UnitOfMeasure | rvunit | Valuation UoM | ||
| TotalQuantity | vmsl | Val. quantity | ||
| FixedQuantity | vmfsl | Fixed val. qty |
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 R_ControllingActualLineItem.
-- 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: RFICOACTULITEM
CREATE VIEW R_ControllingActualLineItem AS
SELECT
rldnr AS Ledger,
rbukrs AS CompanyCode,
gjahr AS FiscalYear,
belnr AS AccountingDocument,
docln AS LedgerGLLineItem,
kokrs AS ControllingArea,
co_belnr AS ControllingDocument,
co_buzei AS ControllingDocumentItem,
poper AS FiscalPeriod,
cast( fiscyearper as fins_fyearperiod ) AS FiscalYearPeriod,
ktopl AS ChartOfAccounts,
racct AS CostElement,
objnr AS ControllingObject,
glaccount_type AS GLAccountType,
hrkft AS ControllingKeySubNumber,
slalittype AS SubLedgerAcctLineItemType,
vrgng AS BusinessTransactionType,
glaccount_type AS CtrlgOriginClassification,
co_beknz AS OriginCtrlgDebitCreditCode,
co_belkz AS ControllingDebitCreditCode,
hkgrp AS CostOriginGroup,
uspob AS OriginSenderObject,
ukostl AS OriginCostCenter,
ulstar AS OriginCostCtrActivityType,
accas AS AccountAssignment,
accasty AS AccountAssignmentType,
rcntr AS CostCenter,
lstar AS ActivityType,
aufnr AS OrderID,
aufps AS OrderItem,
autyp AS OrderCategory,
paccas AS PartnerAccountAssignment,
paccasty AS PartnerAccountAssignmentType,
scntr AS PartnerCostCenter,
plstar AS PartnerCostCtrActivityType,
paufnr AS PartnerOrder,
pprznr AS PartnerBusinessProcess,
matnr AS Material,
werks AS Plant,
rkcur AS GlobalCurrency,
bttype AS BusinessTransactionCategory,
ktosl AS TransactionTypeDetermination,
arbid AS WorkCenterInternalID,
vornr AS OrderOperation,
pernr AS PersonnelNumber,
gkont AS OffsettingAccount,
gkoar AS OffsettingAccountType,
bldat AS DocumentDate,
budat AS PostingDate,
buzei AS AccountingDocumentItem,
rhcur AS CompanyCodeCurrency,
hsl AS AmountInCompanyCodeCurrency,
rco_ocur AS ControllingObjectCurrency,
ksl AS AmountInGlobalCurrency,
kfsl AS FixedAmountInGlobalCrcy,
co_osl AS AmountInObjectCurrency,
tsl AS AmountInTransactionCurrency,
rtcur AS TransactionCurrency,
osl AS AmountInFreeDefinedCurrency1,
rocur AS FreeDefinedCurrency1,
vsl AS AmountInFreeDefinedCurrency2,
rvcur AS FreeDefinedCurrency2,
bsl AS AmountInFreeDefinedCurrency3,
rbcur AS FreeDefinedCurrency3,
csl AS AmountInFreeDefinedCurrency4,
rccur AS FreeDefinedCurrency4,
dsl AS AmountInFreeDefinedCurrency5,
rdcur AS FreeDefinedCurrency5,
esl AS AmountInFreeDefinedCurrency6,
recur AS FreeDefinedCurrency6,
fsl AS AmountInFreeDefinedCurrency7,
rfcur AS FreeDefinedCurrency7,
gsl AS AmountInFreeDefinedCurrency8,
rgcur AS FreeDefinedCurrency8,
runit AS BaseUnit,
msl AS Quantity,
rvunit AS UnitOfMeasure,
vmsl AS TotalQuantity,
vmfsl AS FixedQuantity
FROM acdoca
;
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