FARR_LCC_JournalEntryItem
Revenue Accounting-ACDOCA View for LCC
FARR_LCC_JournalEntryItem is a CDS View that provides data about "Revenue Accounting-ACDOCA View for LCC" in SAP S/4HANA. It reads from 3 data sources (P_ACDOCA, FARR_AcctgPrncpRepLdgrMapping, finsc_ld_cmp) and exposes 11 fields with key fields company_code, hkont, contract_id, pob_id, rldnr.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_ACDOCA | _ACDOCA | from |
| FARR_AcctgPrncpRepLdgrMapping | _FARR_MAPPING | inner |
| finsc_ld_cmp | _FINSC | inner |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Revenue Accounting-ACDOCA View for LCC | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | company_code | P_ACDOCA | rbukrs | Company Code |
| KEY | hkont | P_ACDOCA | racct | GL Account From |
| KEY | contract_id | P_ACDOCA | ra_contract_id | Contract |
| KEY | pob_id | P_ACDOCA | ra_pob_id | POB |
| KEY | rldnr | P_ACDOCA | rldnr | Ledger (Compat.) |
| KEY | gjahr | P_ACDOCA | gjahr | Settlement Year |
| KEY | belnr | P_ACDOCA | belnr | SD Document |
| KEY | docln | P_ACDOCA | docln | Matching Document Line Item |
| KEY | shkzg | P_ACDOCA | drcrk | Debit/Credit |
| betrh | ||||
| hwaer |
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 FARR_LCC_JournalEntryItem.
-- 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 FARR_LCC_JournalEntryItem AS
SELECT
_ACDOCA.rbukrs AS company_code,
_ACDOCA.racct AS hkont,
_ACDOCA.ra_contract_id AS contract_id,
_ACDOCA.ra_pob_id AS pob_id,
_ACDOCA.rldnr AS rldnr,
_ACDOCA.gjahr AS gjahr,
_ACDOCA.belnr AS belnr,
_ACDOCA.docln AS docln,
_ACDOCA.drcrk AS shkzg,
cast(_ACDOCA.hsl as farr_amount_lc preserving type) AS betrh,
cast(_ACDOCA.rhcur as hwaer preserving type) AS hwaer
FROM P_ACDOCA AS _ACDOCA
INNER JOIN finsc_ld_cmp AS _FINSC ON /* join condition not captured in parsed metadata */
INNER JOIN FARR_AcctgPrncpRepLdgrMapping AS _FARR_MAPPING ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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