FAA_UPA_MIG_DA_KFC_ACDOCA01
Aggregate ACDOCA for derived area 01
FAA_UPA_MIG_DA_KFC_ACDOCA01 is a CDS View that provides data about "Aggregate ACDOCA for derived area 01" in SAP S/4HANA. It reads from 6 data sources and exposes 48 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, FiscalYear, ReferenceDocumentType.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| acdoca | acdoca | from |
| I_AssetKeyFigureSetSpec | AssetKeyFigureSetSpec | inner |
| I_AssetKeyFigureSpecification | AssetKeyFigureSpec | inner |
| I_AssetValuationView | AssetValuationView | inner |
| I_DepreciationAreaForLedger | DeprAreaForLedger | inner |
| I_TechnicalLedger | TechnicalLedger | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyFigureSet | faa_key_figure_set |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Aggregate ACDOCA for derived area 01 | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (48)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | acdoca | rbukrs | Company Code |
| KEY | MasterFixedAsset | acdoca | anln1 | Asset |
| KEY | FixedAsset | acdoca | anln2 | Sub-number |
| KEY | FiscalYear | acdoca | gjahr | Settlement Year |
| KEY | ReferenceDocumentType | |||
| KEY | ReferenceDocument | acdoca | awref | Reference Doc. |
| KEY | ReferenceDocumentContext | acdoca | aworg | Refer. Org.Unit |
| KEY | LogicalSystem | acdoca | awsys | Logical System |
| KEY | TransactionSubitem | acdoca | subta | Sub Transaction |
| KEY | AssetDepreciationArea | acdoca | afabe | Deprec. Area |
| KEY | SubLedgerAcctLineItemType | |||
| KEY | AssetAcctTransClassfctn | acdoca | movcat | Trans.Type Cat. |
| KEY | AssetAccountingKeyFigure | I_AssetKeyFigureSpecification | AssetAccountingKeyFigure | Key Figure |
| KEY | Ledger | acdoca | rldnr | Ledger (Compat.) |
| KEY | AccountingDocument | |||
| KEY | LedgerGLLineItem | |||
| KEY | DebitCreditCode | acdoca | drcrk | Debit/Credit |
| AssetClass | acdoca | anlkl | Asset Class | |
| CompanyCodeCurrencyBranch | ||||
| CompanyCodeCurrency | acdoca | rhcur | Local Currency | |
| AmountInCompanyCodeCurrency | acdoca | hsl | Local Crcy Amt | |
| GlobalCurrencyBranch | ||||
| GlobalCurrency | acdoca | rkcur | Ledger curr. | |
| AmountInGlobalCurrency | acdoca | ksl | GrpCurr | |
| FreeDefinedCurrency1Branch | ||||
| FreeDefinedCurrency1 | acdoca | rocur | Free Defined Crcy 1 | |
| AmountInFreeDefinedCurrency1 | acdoca | osl | Other Crcy Amnt | |
| FreeDefinedCurrency2Branch | ||||
| FreeDefinedCurrency2 | acdoca | rvcur | Free Defined Crcy 4 | |
| AmountInFreeDefinedCurrency2 | acdoca | vsl | Amount in Currency 2 | |
| FreeDefinedCurrency3Branch | ||||
| FreeDefinedCurrency3 | acdoca | rbcur | Free Defined Crcy 3 | |
| AmountInFreeDefinedCurrency3 | acdoca | bsl | Exchange Key | |
| FreeDefinedCurrency4Branch | ||||
| FreeDefinedCurrency4 | acdoca | rccur | Third Currency | |
| AmountInFreeDefinedCurrency4 | acdoca | csl | Amount in Currency 4 | |
| FreeDefinedCurrency5Branch | ||||
| FreeDefinedCurrency5 | acdoca | rdcur | Free Defined Crcy 5 | |
| AmountInFreeDefinedCurrency5 | acdoca | dsl | Amount in Currency 5 | |
| FreeDefinedCurrency6Branch | ||||
| FreeDefinedCurrency6 | acdoca | recur | Free Defined Crcy 6 | |
| AmountInFreeDefinedCurrency6 | acdoca | esl | Amount in Currency 6 | |
| FreeDefinedCurrency7Branch | ||||
| FreeDefinedCurrency7 | acdoca | rfcur | Free Defined Crcy 7 | |
| AmountInFreeDefinedCurrency7 | acdoca | fsl | Amount in Currency 7 | |
| FreeDefinedCurrency8Branch | ||||
| FreeDefinedCurrency8 | acdoca | rgcur | Free Defined Crcy 8 | |
| AmountInFreeDefinedCurrency8 | acdoca | gsl | Amount in Currency 8 |
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 FAA_UPA_MIG_DA_KFC_ACDOCA01.
-- 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.
-- Parameters: P_KeyFigureSet : faa_key_figure_set
CREATE VIEW FAA_UPA_MIG_DA_KFC_ACDOCA01 AS
SELECT
acdoca.rbukrs AS CompanyCode,
acdoca.anln1 AS MasterFixedAsset,
acdoca.anln2 AS FixedAsset,
acdoca.gjahr AS FiscalYear,
cast(acdoca.awtyp as fis_awtyp preserving type) AS ReferenceDocumentType,
acdoca.awref AS ReferenceDocument,
acdoca.aworg AS ReferenceDocumentContext,
acdoca.awsys AS LogicalSystem,
acdoca.subta AS TransactionSubitem,
acdoca.afabe AS AssetDepreciationArea,
cast(acdoca.slalittype as fis_slalittype preserving type) AS SubLedgerAcctLineItemType,
acdoca.movcat AS AssetAcctTransClassfctn,
AssetKeyFigureSpec.AssetAccountingKeyFigure AS AssetAccountingKeyFigure,
acdoca.rldnr AS Ledger,
cast(acdoca.belnr as fis_belnr preserving type) AS AccountingDocument,
cast(acdoca.docln as fis_docln preserving type) AS LedgerGLLineItem,
acdoca.drcrk AS DebitCreditCode,
acdoca.anlkl AS AssetClass,
cast( '10' as fis_selected_currency_branch ) AS CompanyCodeCurrencyBranch,
acdoca.rhcur AS CompanyCodeCurrency,
acdoca.hsl AS AmountInCompanyCodeCurrency,
cast( '30' as fis_selected_currency_branch ) AS GlobalCurrencyBranch,
acdoca.rkcur AS GlobalCurrency,
acdoca.ksl AS AmountInGlobalCurrency,
cast( 'F1' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency1Branch,
acdoca.rocur AS FreeDefinedCurrency1,
acdoca.osl AS AmountInFreeDefinedCurrency1,
cast( 'F2' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency2Branch,
acdoca.rvcur AS FreeDefinedCurrency2,
acdoca.vsl AS AmountInFreeDefinedCurrency2,
cast( 'F3' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency3Branch,
acdoca.rbcur AS FreeDefinedCurrency3,
acdoca.bsl AS AmountInFreeDefinedCurrency3,
cast( 'F4' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency4Branch,
acdoca.rccur AS FreeDefinedCurrency4,
acdoca.csl AS AmountInFreeDefinedCurrency4,
cast( 'F5' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency5Branch,
acdoca.rdcur AS FreeDefinedCurrency5,
acdoca.dsl AS AmountInFreeDefinedCurrency5,
cast( 'F6' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency6Branch,
acdoca.recur AS FreeDefinedCurrency6,
acdoca.esl AS AmountInFreeDefinedCurrency6,
cast( 'F7' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency7Branch,
acdoca.rfcur AS FreeDefinedCurrency7,
acdoca.fsl AS AmountInFreeDefinedCurrency7,
cast( 'F8' as fis_selected_currency_branch preserving type ) AS FreeDefinedCurrency8Branch,
acdoca.rgcur AS FreeDefinedCurrency8,
acdoca.gsl AS AmountInFreeDefinedCurrency8
FROM acdoca
INNER JOIN I_TechnicalLedger AS TechnicalLedger ON /* join condition not captured in parsed metadata */
INNER JOIN I_DepreciationAreaForLedger AS DeprAreaForLedger ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetValuationView AS AssetValuationView ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetKeyFigureSpecification AS AssetKeyFigureSpec ON /* join condition not captured in parsed metadata */
INNER JOIN I_AssetKeyFigureSetSpec AS AssetKeyFigureSetSpec 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