C_StRpFxdAstRetirementFormCube
Fixed Asset Retirement Form Cube
C_StRpFxdAstRetirementFormCube is a Consumption CDS View (Cube) that provides data about "Fixed Asset Retirement Form Cube" in SAP S/4HANA. It reads from 3 data sources (P_STRPFxdAssetFormCompanyCode, I_FixedAssetFormNumber, I_AssetBalanceCube) and exposes 63 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, AccountingDocument. It has 10 associations to related views. Part of development package GLO_FIN_IS_AA_GEN.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_STRPFxdAssetFormCompanyCode | AssetFormCompCode | left_outer |
| I_FixedAssetFormNumber | FormNumber | left_outer |
| I_AssetBalanceCube | I_AssetBalanceCube | from |
Parameters (7)
| Name | Type | Default |
|---|---|---|
| P_FiscalYear | fis_gjahr | |
| P_ToFiscalPeriod | fis_period_to | |
| P_FromPostingDate | fis_budat_from | |
| P_ToPostingDate | fis_budat_to | |
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_DateFieldPrintedOnForm | fiaagen_frm_date_fld_prntd | |
| P_NationalClsfctnSourceField | fiaagen_natl_clfn_srce_fld |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_FxdAstAssgmtByFsclPerdEndDte | _AssignmentByFiscalPeriodEnd | FixedAssetVal.CompanyCode = _AssignmentByFiscalPeriodEnd.CompanyCode and FixedAssetVal.Ledger = _AssignmentByFiscalPeriodEnd.Ledger and FixedAssetVal.AssetDepreciationArea = _AssignmentByFiscalPeriodEnd.AssetDepreciationArea and FixedAssetVal.MasterFixedAsset = _AssignmentByFiscalPeriodEnd.MasterFixedAsset and FixedAssetVal.FixedAsset = _AssignmentByFiscalPeriodEnd.FixedAsset |
| [0..1] | I_Plant | _AssetPlant | $projection.AssetPlant = _AssetPlant.Plant |
| [0..1] | I_Location | _AssetLocation | $projection.assetlocation = _AssetLocation.Location and $projection.AssetPlant = _AssetLocation.Plant |
| [0..*] | I_CostCenter | _AssetCostCenter | $projection.ControllingArea = _AssetCostCenter.ControllingArea and $projection.AssetCostCenter = _AssetCostCenter.CostCenter |
| [0..1] | I_BusinessArea | _AssetBusinessArea | $projection.AssetBusinessArea = _AssetBusinessArea.BusinessArea |
| [0..1] | I_Group1AssetEvaluationKey | _EvaluationGroup1 | $projection.Group1AssetEvaluationKey = _EvaluationGroup1.Group1AssetEvaluationKey |
| [0..1] | I_Group2AssetEvaluationKey | _EvaluationGroup2 | $projection.Group2AssetEvaluationKey = _EvaluationGroup2.Group2AssetEvaluationKey |
| [0..1] | I_Group3AssetEvaluationKey | _EvaluationGroup3 | $projection.Group3AssetEvaluationKey = _EvaluationGroup3.Group3AssetEvaluationKey |
| [0..1] | I_Group4AssetEvaluationKey | _EvaluationGroup4 | $projection.Group4AssetEvaluationKey = _EvaluationGroup4.Group4AssetEvaluationKey |
| [0..1] | I_Group5AssetEvaluationKey | _EvaluationGroup5 | $projection.Group5AssetEvaluationKey = _EvaluationGroup5.Group5AssetEvaluationKey |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CSRFARETFORMC | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Analytics.dataCategory | #CUBE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | Fixed Asset Retirement Form Cube | view | |
| Metadata.allowExtensions | true | view |
Fields (63)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | FixedAssetVal | CompanyCode | Receiver Company Code |
| KEY | AssetDepreciationArea | AssetDepreciationArea | Deprec. Area | |
| KEY | MasterFixedAsset | FixedAssetVal | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | FixedAssetVal | FixedAsset | Sub-number |
| KEY | AccountingDocument | FixedAssetVal | AccountingDocument | Journal Entry |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | FixedAssetVal | Ledger | Ledger |
| KEY | FiscalYear | FixedAssetVal | FiscalYear | G/L Fiscal Year |
| KEY | SubLedgerAcctLineItemType | SubLedgerAcctLineItemType | SLALineItemType | |
| KEY | AssetAcctTransClassfctn | AssetAcctTransClassfctn | Trans.Type Cat. | |
| KEY | AssetAccountingKeyFigureSet | FixedAssetVal | AssetAccountingKeyFigureSet | |
| KEY | AssetAccountingKeyFigure | AssetAccountingKeyFigure | ||
| KEY | DebitCreditCode | DebitCreditCode | Single-Character Flag | |
| CompanyCodeName | P_STRPFxdAssetFormCompanyCode | FullName | Name | |
| ControllingArea | ControllingArea | Controlling Area | ||
| Inventory | Inventory | Ci Inventory | ||
| PostingDate | PostingDate | Posting Date for GR | ||
| DocumentDate | DocumentDate | Journal Entry Date | ||
| AssetValueDate | AssetValueDate | Reference date | ||
| AssetClass | AssetClass | Asset Class | ||
| FixedAssetDescription | _FixedAsset | FixedAssetDescription | Description | |
| AssetAdditionalDescription | _FixedAsset | AssetAdditionalDescription | ||
| Group1AssetEvaluationKey | Group1AssetEvaluationKey | |||
| Group2AssetEvaluationKey | Group2AssetEvaluationKey | |||
| Group3AssetEvaluationKey | Group3AssetEvaluationKey | |||
| Group4AssetEvaluationKey | Group4AssetEvaluationKey | |||
| Group5AssetEvaluationKey | Group5AssetEvaluationKey | |||
| AssetTransactionType | AssetTransactionType | Trans.Type | ||
| AssetTransactionTypeName | ||||
| Country | Country | Venue: Ctry/Reg | ||
| AssetSerialNumber | AssetSerialNumber | |||
| CompanyCodeCurrency | Display Currency | |||
| GLAccount | GLAccount | General Ledger | ||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| AssetPlant | ||||
| AssetLocation | ||||
| AssetCostCenter | ||||
| AssetBusinessArea | ||||
| FixedAssetFormNumber | I_FixedAssetFormNumber | FixedAssetFormNumber | Form Number | |
| StatryRptgEntity | I_FixedAssetFormNumber | StatryRptgEntity | Reporting Entity | |
| StatryRptCategory | I_FixedAssetFormNumber | StatryRptCategory | Report ID | |
| StatryRptRunID | I_FixedAssetFormNumber | StatryRptRunID | Report Run ID | |
| _CompanyCode | _CompanyCode | |||
| _Country | _Country | |||
| _DepreciationArea | _DepreciationArea | |||
| _MasterFixedAsset | _MasterFixedAsset | |||
| _FixedAsset | _FixedAsset | |||
| _JournalEntry | _JournalEntry | |||
| _Ledger | FixedAssetVal | _Ledger | ||
| _FiscalYear | FixedAssetVal | _FiscalYear | ||
| _SubLedgerAccLineItemType | _SubLedgerAccLineItemType | |||
| _AssetAcctTransClassfctn | _AssetAcctTransClassfctn | |||
| _AssetKeyFigure | _AssetKeyFigure | |||
| _AssetKeyFigureSet | _AssetKeyFigureSet | |||
| _AssetClass | _AssetClass | |||
| _GLAccountInChartOfAccounts | _GLAccountInChartOfAccounts | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _AssetPlant | _AssetPlant | |||
| _AssetLocation | _AssetLocation | |||
| _AssetCostCenter | _AssetCostCenter | |||
| _AssetBusinessArea | _AssetBusinessArea | |||
| _ControllingArea | _ControllingArea | |||
| _AssetTransactionType | _AssetTransactionType |
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_StRpFxdAstRetirementFormCube.
-- 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: CSRFARETFORMC
-- Parameters: P_FiscalYear : fis_gjahr, P_ToFiscalPeriod : fis_period_to, P_FromPostingDate : fis_budat_from, P_ToPostingDate : fis_budat_to, P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_DateFieldPrintedOnForm : fiaagen_frm_date_fld_prntd, P_NationalClsfctnSourceField : fiaagen_natl_clfn_srce_fld
CREATE VIEW C_StRpFxdAstRetirementFormCube AS
SELECT
FixedAssetVal.CompanyCode AS CompanyCode,
AssetDepreciationArea,
FixedAssetVal.MasterFixedAsset AS MasterFixedAsset,
FixedAssetVal.FixedAsset AS FixedAsset,
FixedAssetVal.AccountingDocument AS AccountingDocument,
LedgerGLLineItem,
FixedAssetVal.Ledger AS Ledger,
FixedAssetVal.FiscalYear AS FiscalYear,
SubLedgerAcctLineItemType,
AssetAcctTransClassfctn,
FixedAssetVal.AssetAccountingKeyFigureSet AS AssetAccountingKeyFigureSet,
AssetAccountingKeyFigure,
DebitCreditCode,
AssetFormCompCode.FullName AS CompanyCodeName,
ControllingArea,
Inventory,
PostingDate,
DocumentDate,
AssetValueDate,
AssetClass,
_FixedAsset.FixedAssetDescription AS FixedAssetDescription,
_FixedAsset.AssetAdditionalDescription AS AssetAdditionalDescription,
Group1AssetEvaluationKey,
Group2AssetEvaluationKey,
Group3AssetEvaluationKey,
Group4AssetEvaluationKey,
Group5AssetEvaluationKey,
AssetTransactionType,
_AssetTransactionType._Text[1:Language = $session.system_language].AssetTransactionTypeName AS AssetTransactionTypeName,
Country,
AssetSerialNumber,
cast (DisplayCurrency as waers) AS CompanyCodeCurrency,
GLAccount,
ChartOfAccounts,
cast (_AssignmentByFiscalPeriodEnd( P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_ToFiscalPeriod).Plant as faa_werks) AS AssetPlant,
_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_ToFiscalPeriod).AssetLocation AS AssetLocation,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_ToFiscalPeriod).CostCenter as faa_kostl) AS AssetCostCenter,
cast (_AssignmentByFiscalPeriodEnd(P_FiscalYear: :P_FiscalYear, P_FiscalPeriod: :P_ToFiscalPeriod).BusinessArea as faa_gsber) AS AssetBusinessArea,
FormNumber.FixedAssetFormNumber AS FixedAssetFormNumber,
FormNumber.StatryRptgEntity AS StatryRptgEntity,
FormNumber.StatryRptCategory AS StatryRptCategory,
FormNumber.StatryRptRunID AS StatryRptRunID,
FixedAssetVal._Ledger AS _Ledger,
FixedAssetVal._FiscalYear AS _FiscalYear
FROM I_AssetBalanceCube
LEFT OUTER JOIN I_FixedAssetFormNumber AS FormNumber ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_STRPFxdAssetFormCompanyCode AS AssetFormCompCode ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FxdAstAssgmtByFsclPerdEndDte AS _AssignmentByFiscalPeriodEnd ON FixedAssetVal.CompanyCode = _AssignmentByFiscalPeriodEnd.CompanyCode AND FixedAssetVal.Ledger = _AssignmentByFiscalPeriodEnd.Ledger AND FixedAssetVal.AssetDepreciationArea = _AssignmentByFiscalPeriodEnd.AssetDepreciationArea AND FixedAssetVal.MasterFixedAsset = _AssignmentByFiscalPeriodEnd.MasterFixedAsset AND FixedAssetVal.FixedAsset = _AssignmentByFiscalPeriodEnd.FixedAsset -- association [0..1]
LEFT OUTER JOIN I_Plant AS _AssetPlant ON AssetPlant = _AssetPlant.Plant -- association [0..1]
LEFT OUTER JOIN I_Location AS _AssetLocation ON assetlocation = _AssetLocation.Location AND AssetPlant = _AssetLocation.Plant -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _AssetCostCenter ON ControllingArea = _AssetCostCenter.ControllingArea AND AssetCostCenter = _AssetCostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_BusinessArea AS _AssetBusinessArea ON AssetBusinessArea = _AssetBusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_Group1AssetEvaluationKey AS _EvaluationGroup1 ON Group1AssetEvaluationKey = _EvaluationGroup1.Group1AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group2AssetEvaluationKey AS _EvaluationGroup2 ON Group2AssetEvaluationKey = _EvaluationGroup2.Group2AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group3AssetEvaluationKey AS _EvaluationGroup3 ON Group3AssetEvaluationKey = _EvaluationGroup3.Group3AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group4AssetEvaluationKey AS _EvaluationGroup4 ON Group4AssetEvaluationKey = _EvaluationGroup4.Group4AssetEvaluationKey -- association [0..1]
LEFT OUTER JOIN I_Group5AssetEvaluationKey AS _EvaluationGroup5 ON Group5AssetEvaluationKey = _EvaluationGroup5.Group5AssetEvaluationKey -- 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