P_AUDIT_AT_AssetHistorySheet
Austrian Audit Asset History Sheet
P_AUDIT_AT_AssetHistorySheet is a Composite CDS View that provides data about "Austrian Audit Asset History Sheet" in SAP S/4HANA. It reads from 6 data sources and exposes 81 fields with key fields CompanyCode, AssetDepreciationArea, MasterFixedAsset, FixedAsset, Ledger. It has 1 association to related views. Part of development package GLO_FIN_IS_AUDIT_AT.
Data Sources (6)
| Source | Alias | Join Type |
|---|---|---|
| I_AssetValuationForLedger | AssetValuationForLedger | left_outer |
| I_FixedAsset | FixedAsset | left_outer |
| I_FixedAssetAssgmt | FixedAssetAssgmt | left_outer |
| I_FixedAssetForLedger | FixedAssetForLedger | left_outer |
| I_MasterFixedAsset | MasterFixedAsset | left_outer |
| P_AUDIT_AT_AstHistShtToKeyFigs | P_AUDIT_AT_AstHistShtToKeyFigs | from |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_AssetAccountingKeyFigureSet | faa_key_figure_set | |
| P_CompanyCode | fis_bukrs | |
| P_Ledger | fis_rldnr | |
| P_AssetDepreciationArea | fis_afabe | |
| P_FiscalYear | fis_gjahr | |
| P_FiscalPeriod | fis_period_to | |
| P_FiscalPeriodEndDate | fagl_keydate | |
| P_SelectedCurrencyBranch | fis_curtp |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_Supplier | _Supplier | $projection.Supplier = _Supplier.Supplier |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PAUDITATAHS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_INCLUDED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (81)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | Values | CompanyCode | Receiver Company Code |
| KEY | AssetDepreciationArea | Values | AssetDepreciationArea | Deprec. Area |
| KEY | MasterFixedAsset | Values | MasterFixedAsset | Fixed Asset |
| KEY | FixedAsset | Values | FixedAsset | Sub-number |
| KEY | Ledger | Values | Ledger | Ledger |
| KEY | FiscalYear | Values | FiscalYear | G/L Fiscal Year |
| KEY | AssetAccountingKeyFigureSet | Values | AssetAccountingKeyFigureSet | |
| KEY | CurrencyRole | Values | CurrencyRole | Curr./Val. Type |
| AssetAuthorizationContext | Values | AssetAuthorizationContext | ||
| AssetClass | Values | AssetClass | Asset Class | |
| AssetClassName | ||||
| AssetClassDescription | ||||
| MasterFixedAssetDescription | ||||
| FixedAssetDescription | I_FixedAsset | FixedAssetDescription | Description | |
| AssetAdditionalDescription | I_FixedAsset | AssetAdditionalDescription | Description (2) | |
| Supplier | I_FixedAsset | Supplier | Supplier | |
| AssetCountryofOrigin | I_FixedAsset | AssetCountryOfOrigin | Origin C/R | |
| AssetStatusAtPurchase | I_FixedAsset | AssetStatusAtPurchase | ||
| MasterFixedAssetSearchTerm | I_FixedAsset | MasterFixedAssetSearchTerm | ||
| InvestmentOrder | I_FixedAsset | InvestmentOrder | Inv. Order | |
| PartnerCompany | I_FixedAsset | PartnerCompany | Trading Partner | |
| InvestmentReason | I_FixedAsset | InvestmentReason | Invest. Reason | |
| AssetUnderConstIsInvmtMsr | I_FixedAsset | AssetUnderConstIsInvmtMsr | ||
| AcquisitionValueDate | I_FixedAssetForLedger | AcquisitionValueDate | First Acq. on | |
| AssetCapitalizationDate | I_FixedAssetForLedger | AssetCapitalizationDate | Asset Capitalization | |
| AssetDeactivationDate | I_FixedAssetForLedger | AssetCapitalizationDate | Asset Capitalization | |
| LastRetirementValueDate | I_AssetValuationForLedger | LastRetirementValueDate | ||
| DepreciationStartDate | I_AssetValuationForLedger | DepreciationStartDate | ||
| PlannedUsefulLifeInYears | I_AssetValuationForLedger | PlannedUsefulLifeInYears | Planned Use Life Yr. | |
| PlannedUsefulLifeInPeriods | I_AssetValuationForLedger | PlannedUsefulLifeInPeriods | ||
| DeprKeyChangeoverYear | I_AssetValuationForLedger | DeprKeyChangeoverYear | ||
| AssetBusinessArea | I_FixedAssetAssgmt | BusinessArea | Business Area | |
| AssetCostCenter | I_FixedAssetAssgmt | CostCenter | Cost Center | |
| ControllingArea | I_FixedAssetAssgmt | ControllingArea | Controlling Area | |
| AssetAccountDetermination | Values | AssetAccountDetermination | Account Determ. | |
| ChartOfAccounts | Values | ChartOfAccounts | Node Class | |
| AcqnProdnCostGLAccount | Values | AcqnProdnCostGLAccount | ||
| APCGLAccountDescription | ||||
| SelectedCurrencyBranch | Values | SelectedCurrencyBranch | ||
| DisplayCurrency | Values | DisplayCurrency | Display Currency | |
| AmountInDisplayCurrency1 | Values | AmountInDisplayCurrency1 | ||
| AmountInDisplayCurrency2 | Values | AmountInDisplayCurrency2 | ||
| AmountInDisplayCurrency3 | Values | AmountInDisplayCurrency3 | ||
| AmountInDisplayCurrency4 | Values | AmountInDisplayCurrency4 | ||
| AmountInDisplayCurrency5 | Values | AmountInDisplayCurrency5 | ||
| AmountInDisplayCurrency6 | Values | AmountInDisplayCurrency6 | ||
| AmountInDisplayCurrency7 | Values | AmountInDisplayCurrency7 | ||
| AmountInDisplayCurrency8 | Values | AmountInDisplayCurrency8 | ||
| AmountInDisplayCurrency9 | Values | AmountInDisplayCurrency9 | ||
| AmountInDisplayCurrency10 | Values | AmountInDisplayCurrency10 | ||
| AmountInDisplayCurrency11 | Values | AmountInDisplayCurrency11 | ||
| AmountInDisplayCurrency12 | Values | AmountInDisplayCurrency12 | ||
| AmountInDisplayCurrency13 | Values | AmountInDisplayCurrency13 | ||
| AmountInDisplayCurrency14 | Values | AmountInDisplayCurrency14 | ||
| AmountInDisplayCurrency15 | Values | AmountInDisplayCurrency15 | ||
| AmountInDisplayCurrency16 | Values | AmountInDisplayCurrency16 | ||
| AmountInDisplayCurrency17 | Values | AmountInDisplayCurrency17 | ||
| AmountInDisplayCurrency18 | Values | AmountInDisplayCurrency18 | ||
| AmountInDisplayCurrency19 | Values | AmountInDisplayCurrency19 | ||
| _CompanyCode | Values | _CompanyCode | ||
| _DepreciationArea | Values | _DepreciationArea | ||
| _MasterFixedAsset | Values | _MasterFixedAsset | ||
| _FixedAsset | Values | _FixedAsset | ||
| _Ledger | Values | _Ledger | ||
| _FiscalYear | Values | _FiscalYear | ||
| _AssetKeyFigureSet | Values | _AssetKeyFigureSet | ||
| _ChartOfAccounts | Values | _ChartOfAccounts | ||
| _AcqnProdnCostGLAccount | Values | _AcqnProdnCostGLAccount | ||
| _AssetClass | Values | _AssetClass | ||
| _AssetAccountDetermination | Values | _AssetAccountDetermination | ||
| _Supplier | _Supplier | |||
| _AssetCountryOfOrigin | I_FixedAsset | _AssetCountryOfOrigin | ||
| _AssetStatusAtPurchase | I_FixedAsset | _AssetStatusAtPurchase | ||
| _InvestmentOrder | I_FixedAsset | _InvestmentOrder | ||
| _PartnerCompany | I_FixedAsset | _PartnerCompany | ||
| _InvestmentReason | I_FixedAsset | _InvestmentReason | ||
| _BusinessArea | I_FixedAssetAssgmt | _BusinessArea | ||
| _CostCenter | I_FixedAssetAssgmt | _CostCenter | ||
| _ControllingArea | I_FixedAssetAssgmt | _ControllingArea | ||
| _SelectedCurrencyBranch | Values | _SelectedCurrencyBranch | ||
| _CurrencyRole | Values | _CurrencyRole |
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 P_AUDIT_AT_AssetHistorySheet.
-- 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: PAUDITATAHS
-- Parameters: P_AssetAccountingKeyFigureSet : faa_key_figure_set, P_CompanyCode : fis_bukrs, P_Ledger : fis_rldnr, P_AssetDepreciationArea : fis_afabe, P_FiscalYear : fis_gjahr, P_FiscalPeriod : fis_period_to, P_FiscalPeriodEndDate : fagl_keydate, P_SelectedCurrencyBranch : fis_curtp
CREATE VIEW P_AUDIT_AT_AssetHistorySheet AS
SELECT
Values.CompanyCode AS CompanyCode,
Values.AssetDepreciationArea AS AssetDepreciationArea,
Values.MasterFixedAsset AS MasterFixedAsset,
Values.FixedAsset AS FixedAsset,
Values.Ledger AS Ledger,
Values.FiscalYear AS FiscalYear,
Values.AssetAccountingKeyFigureSet AS AssetAccountingKeyFigureSet,
Values.CurrencyRole AS CurrencyRole,
Values.AssetAuthorizationContext AS AssetAuthorizationContext,
Values.AssetClass AS AssetClass,
Values._AssetClass._Text[1: Language = $session.system_language].AssetClassName AS AssetClassName,
Values._AssetClass._Text[1: Language = $session.system_language].AssetClassDescription AS AssetClassDescription,
Values._MasterFixedAsset.MasterFixedAssetDescription AS MasterFixedAssetDescription,
FixedAsset.FixedAssetDescription AS FixedAssetDescription,
FixedAsset.AssetAdditionalDescription AS AssetAdditionalDescription,
FixedAsset.Supplier AS Supplier,
FixedAsset.AssetCountryOfOrigin AS AssetCountryofOrigin,
FixedAsset.AssetStatusAtPurchase AS AssetStatusAtPurchase,
FixedAsset.MasterFixedAssetSearchTerm AS MasterFixedAssetSearchTerm,
FixedAsset.InvestmentOrder AS InvestmentOrder,
FixedAsset.PartnerCompany AS PartnerCompany,
FixedAsset.InvestmentReason AS InvestmentReason,
FixedAsset.AssetUnderConstIsInvmtMsr AS AssetUnderConstIsInvmtMsr,
FixedAssetForLedger.AcquisitionValueDate AS AcquisitionValueDate,
FixedAssetForLedger.AssetCapitalizationDate AS AssetCapitalizationDate,
FixedAssetForLedger.AssetCapitalizationDate AS AssetDeactivationDate,
AssetValuationForLedger.LastRetirementValueDate AS LastRetirementValueDate,
AssetValuationForLedger.DepreciationStartDate AS DepreciationStartDate,
AssetValuationForLedger.PlannedUsefulLifeInYears AS PlannedUsefulLifeInYears,
AssetValuationForLedger.PlannedUsefulLifeInPeriods AS PlannedUsefulLifeInPeriods,
AssetValuationForLedger.DeprKeyChangeoverYear AS DeprKeyChangeoverYear,
FixedAssetAssgmt.BusinessArea AS AssetBusinessArea,
FixedAssetAssgmt.CostCenter AS AssetCostCenter,
FixedAssetAssgmt.ControllingArea AS ControllingArea,
Values.AssetAccountDetermination AS AssetAccountDetermination,
Values.ChartOfAccounts AS ChartOfAccounts,
Values.AcqnProdnCostGLAccount AS AcqnProdnCostGLAccount,
_AcqnProdnCostGLAccount._Text[1: Language = $session.system_language].GLAccountName AS APCGLAccountDescription,
Values.SelectedCurrencyBranch AS SelectedCurrencyBranch,
Values.DisplayCurrency AS DisplayCurrency,
Values.AmountInDisplayCurrency1 AS AmountInDisplayCurrency1,
Values.AmountInDisplayCurrency2 AS AmountInDisplayCurrency2,
Values.AmountInDisplayCurrency3 AS AmountInDisplayCurrency3,
Values.AmountInDisplayCurrency4 AS AmountInDisplayCurrency4,
Values.AmountInDisplayCurrency5 AS AmountInDisplayCurrency5,
Values.AmountInDisplayCurrency6 AS AmountInDisplayCurrency6,
Values.AmountInDisplayCurrency7 AS AmountInDisplayCurrency7,
Values.AmountInDisplayCurrency8 AS AmountInDisplayCurrency8,
Values.AmountInDisplayCurrency9 AS AmountInDisplayCurrency9,
Values.AmountInDisplayCurrency10 AS AmountInDisplayCurrency10,
Values.AmountInDisplayCurrency11 AS AmountInDisplayCurrency11,
Values.AmountInDisplayCurrency12 AS AmountInDisplayCurrency12,
Values.AmountInDisplayCurrency13 AS AmountInDisplayCurrency13,
Values.AmountInDisplayCurrency14 AS AmountInDisplayCurrency14,
Values.AmountInDisplayCurrency15 AS AmountInDisplayCurrency15,
Values.AmountInDisplayCurrency16 AS AmountInDisplayCurrency16,
Values.AmountInDisplayCurrency17 AS AmountInDisplayCurrency17,
Values.AmountInDisplayCurrency18 AS AmountInDisplayCurrency18,
Values.AmountInDisplayCurrency19 AS AmountInDisplayCurrency19,
Values._CompanyCode AS _CompanyCode,
Values._DepreciationArea AS _DepreciationArea,
Values._MasterFixedAsset AS _MasterFixedAsset,
Values._FixedAsset AS _FixedAsset,
Values._Ledger AS _Ledger,
Values._FiscalYear AS _FiscalYear,
Values._AssetKeyFigureSet AS _AssetKeyFigureSet,
Values._ChartOfAccounts AS _ChartOfAccounts,
Values._AcqnProdnCostGLAccount AS _AcqnProdnCostGLAccount,
Values._AssetClass AS _AssetClass,
Values._AssetAccountDetermination AS _AssetAccountDetermination,
FixedAsset._AssetCountryOfOrigin AS _AssetCountryOfOrigin,
FixedAsset._AssetStatusAtPurchase AS _AssetStatusAtPurchase,
FixedAsset._InvestmentOrder AS _InvestmentOrder,
FixedAsset._PartnerCompany AS _PartnerCompany,
FixedAsset._InvestmentReason AS _InvestmentReason,
FixedAssetAssgmt._BusinessArea AS _BusinessArea,
FixedAssetAssgmt._CostCenter AS _CostCenter,
FixedAssetAssgmt._ControllingArea AS _ControllingArea,
Values._SelectedCurrencyBranch AS _SelectedCurrencyBranch,
Values._CurrencyRole AS _CurrencyRole
FROM P_AUDIT_AT_AstHistShtToKeyFigs
LEFT OUTER JOIN I_FixedAsset AS FixedAsset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FixedAssetAssgmt AS FixedAssetAssgmt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FixedAssetForLedger AS FixedAssetForLedger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_MasterFixedAsset AS MasterFixedAsset ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_AssetValuationForLedger AS AssetValuationForLedger ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Supplier AS _Supplier ON Supplier = _Supplier.Supplier -- 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