I_AssetValuationScrapAmount

DDL: I_ASSETVALUATIONSCRAPAMOUNT Type: view_entity COMPOSITE Package: FINS_FIS_AA_MD

Fixed Asset Valuation Scrap Values

I_AssetValuationScrapAmount (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_AssetValuationScrapAmount is a Composite CDS View that provides data about "Fixed Asset Valuation Scrap Values" in SAP S/4HANA. It reads from 1 data source (P_AssetValuationScrapAmount) and exposes 44 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, AssetRealDepreciationArea. It has 16 associations to related views. Part of development package FINS_FIS_AA_MD.

SAP Help Documentation

CategoryFixed Asset Valuation (Ledger-Dependent Data)
Data CategoryDimension
StatusReleased
Purpose
This CDS view enables you to display the scrap amounts for an asset in all currencies. For a specific valuation, this CDS view answers the following business question: What is the scrap value in each of the defined currencies? Note You use this CDS view if you are working with explicit scrap values or if you specify scrap values as a percentage of the APC for the depreciation area. However, the CDS view is not suitable for you if the scrap value results from the depreciation keys with a cutoff value key. This CDS view supplements the information contained in the CDS view I_AssetValuationForLedger (see Fixed Asset Valuation (Ledger-Dependent Data) ). To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: Asset Class / Company Code Company Code / Plant Company Code / Cost Center These restriction types are edited in the Maintain Business Roles app.

Structure
Important Fields Important fields in this view include the following: Field Name Is Key Data Element Description Comment CompanyCode X BUKRS Company Code Company Code MasterFixedAsset X ANLN1 Asset Main Asset Number FixedAsset X ANLN2 Subnumber Asset Subnumber Ledger X FINS_LEDGER Ledger Ledger in General Ledger Accounting AssetRealDepreciationArea X AFABE_D Depreciation area Real depreciation area ValidityEndDate X BDATU Valid To Date Validity Ends ValidityStartDate ADATU Valid From Date for Beginning of Validity AcqnProdnCostScrapPercent SCHRW_PROZ Scrap Value Percent Scrap Value as Percentage of APC ScrapAmountInCoCodeCrcy FAA_MD_SCRAP_VALUE_HSL Value in CompCd Crcy Scrap Value in Company Code Currency CompanyCodeCurrency FIS_HWAER Company Code Currency Company Code Currency ScrapAmountInGlobCrcy FAA_MD_SCRAP_VALUE_KSL Value in Gl. Crcy Scrap Value in Global Currency GlobalCurrency FINS_CURRK Global Currency Global Currency ScrapAmountInFreeDefinedCrcy1 FAA_MD_SCRAP_VALUE_OSL Value in Currency 1 Scrap Value in Freely Defined Currency 1 FreeDefinedCurrency1 FINS_CURR1 Free Defined Crcy 1 Freely Defined Currency 1 ScrapAmountInFreeDefinedCrcy2 FAA_MD_SCRAP_VALUE_VSL Value in Currency 2 Scrap Value in Freely Defined Currency 2 FreeDefinedCurrency2 FINS_CURR2 Free Defined Crcy 2 Freely Defined Currency 2 ScrapAmountInFreeDefinedCrcy3 FAA_MD_SCRAP_VALUE_BSL Value in Currency 3 Scrap Value in Freely Defined Currency 3 FreeDefinedCurrency3 FINS_CURR3 Free Defined Crcy 3 Freely Defined Currency 3 ScrapAmountInFreeDefinedCrcy4 FAA_MD_SCRAP_VALUE_CSL Value in Currency 4 Scrap Value in Freely Defined Currency 4 FreeDefinedCurrency4 FINS_CURR4 Free Defined Crcy 4 Freely Defined Currency 4 ScrapAmountInFreeDefinedCrcy5 FAA_MD_SCRAP_VALUE_DSL Value in Currency 5 Scrap Value in Freely Defined Currency 5 FreeDefinedCurrency5 FINS_CURR5 Free Defined Crcy 5 Freely Defined Currency 5 ScrapAmountInFreeDefinedCrcy6 FAA_MD_SCRAP_VALUE_ESL Value in Currency 6 Scrap Value in Freely Defined Currency 6 FreeDefinedCurrency6 FINS_CURR6 Free Defined Crcy 6 Freely Defined Currency 6 ScrapAmountInFreeDefinedCrcy7 FAA_MD_SCRAP_VALUE_FSL Value in Currency 7 Scrap Value in Freely Defined Currency 7 FreeDefinedCurrency7 FINS_CURR7 Free Defined Crcy 7 Freely Defined Currency 7 ScrapAmountInFreeDefinedCrcy8 FAA_MD_SCRAP_VALUE_GSL Value in Currency 8 Scrap Value in Freely Defined Currency 8 FreeDefinedCurrency8 FINS_CURR8 Free Defined Crcy 8 Freely Defined Currency 8

Additional Information
For more information, see the following: For the I_AssetValuationForLedger CDS view, see Fi

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentFI-FIO-AA-ANA-2CL
CapabilitiesData Source for Defining CDS Entities,Data Source in SQL Select,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view enables you to display the scrap amounts for an asset in all currencies.</p> <p>For a specific valuation, this CDS view answers the following business question:</p> <ul> <li><p>What is the scrap value in each of the defined currencies?</p></li> </ul> <p>This CDS view supplements the information contained in the CDS view I_AssetValuationForLedger (see Fixed Asset Valuation (Ledger-Dependent Data)).</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
P_AssetValuationScrapAmount P_AssetValuationScrapAmount from

Associations (16)

CardinalityTargetAliasCondition
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_MasterFixedAsset _MasterFixedAsset $projection.CompanyCode = _MasterFixedAsset.CompanyCode and $projection.MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset
[1..1] I_FixedAsset _FixedAsset $projection.CompanyCode = _FixedAsset.CompanyCode and $projection.MasterFixedAsset = _FixedAsset.MasterFixedAsset and $projection.FixedAsset = _FixedAsset.FixedAsset
[1..1] I_AssetValuationForLedger _AssetValuationForLedger $projection.CompanyCode = _AssetValuationForLedger.CompanyCode and $projection.MasterFixedAsset = _AssetValuationForLedger.MasterFixedAsset and $projection.FixedAsset = _AssetValuationForLedger.FixedAsset and $projection.Ledger = _AssetValuationForLedger.Ledger and $projection.AssetRealDepreciationArea = _AssetValuationForLedger.AssetRealDepreciationArea and $projection.ValidityEndDate = _AssetValuationForLedger.ValidityEndDate
[1..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..1] I_DepreciationAreaForLedger _DepreciationArea $projection.CompanyCode = _DepreciationArea.CompanyCode and $projection.Ledger = _DepreciationArea.Ledger and $projection.AssetRealDepreciationArea = _DepreciationArea.AssetDepreciationArea
[0..1] I_Currency _CompanyCodeCurrency $projection.CompanyCodeCurrency = _CompanyCodeCurrency.Currency
[0..1] I_Currency _GlobalCurrency $projection.GlobalCurrency = _GlobalCurrency.Currency
[0..1] I_Currency _FreeDefinedCurrency1 $projection.FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency
[0..1] I_Currency _FreeDefinedCurrency2 $projection.FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency
[0..1] I_Currency _FreeDefinedCurrency3 $projection.FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency
[0..1] I_Currency _FreeDefinedCurrency4 $projection.FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency
[0..1] I_Currency _FreeDefinedCurrency5 $projection.FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency
[0..1] I_Currency _FreeDefinedCurrency6 $projection.FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency
[0..1] I_Currency _FreeDefinedCurrency7 $projection.FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency
[0..1] I_Currency _FreeDefinedCurrency8 $projection.FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Fixed Asset Valuation Scrap Values view
VDM.viewType #COMPOSITE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.modelingPattern #NONE view

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Main Asset Number
KEY FixedAsset FixedAsset Asset Subnumber
KEY Ledger Ledger Ledger in General Ledger Accounting
KEY AssetRealDepreciationArea AssetRealDepreciationArea Real depreciation area
KEY ValidityEndDate ValidityEndDate Date Validity Ends
ValidityStartDate ValidityStartDate Date for Beginning of Validity
AcqnProdnCostScrapPercent AcqnProdnCostScrapPercent Scrap Value as Percentage of APC
ScrapAmountInCoCodeCrcy ScrapAmountInCoCodeCrcy Scrap Value in Company Code Currency
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
ScrapAmountInGlobCrcy ScrapAmountInGlobCrcy Scrap Value in Global Currency
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
ScrapAmountInFreeDefinedCrcy1 ScrapAmountInFreeDefinedCrcy1 Scrap Value in Freely Defined Currency 1
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
ScrapAmountInFreeDefinedCrcy2 ScrapAmountInFreeDefinedCrcy2 Scrap Value in Freely Defined Currency 2
FreeDefinedCurrency2 FreeDefinedCurrency2 Freely Defined Currency 2
ScrapAmountInFreeDefinedCrcy3 ScrapAmountInFreeDefinedCrcy3 Scrap Value in Freely Defined Currency 3
FreeDefinedCurrency3 FreeDefinedCurrency3 Freely Defined Currency 3
ScrapAmountInFreeDefinedCrcy4 ScrapAmountInFreeDefinedCrcy4 Scrap Value in Freely Defined Currency 4
FreeDefinedCurrency4 FreeDefinedCurrency4 Freely Defined Currency 4
ScrapAmountInFreeDefinedCrcy5 ScrapAmountInFreeDefinedCrcy5 Scrap Value in Freely Defined Currency 5
FreeDefinedCurrency5 FreeDefinedCurrency5 Freely Defined Currency 5
ScrapAmountInFreeDefinedCrcy6 ScrapAmountInFreeDefinedCrcy6 Scrap Value in Freely Defined Currency 6
FreeDefinedCurrency6 FreeDefinedCurrency6 Freely Defined Currency 6
ScrapAmountInFreeDefinedCrcy7 ScrapAmountInFreeDefinedCrcy7 Scrap Value in Freely Defined Currency 7
FreeDefinedCurrency7 FreeDefinedCurrency7 Freely Defined Currency 7
ScrapAmountInFreeDefinedCrcy8 ScrapAmountInFreeDefinedCrcy8 Scrap Value in Freely Defined Currency 8
FreeDefinedCurrency8 FreeDefinedCurrency8 Freely Defined Currency 8
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_AssetValuationForLedger _AssetValuationForLedger
_Ledger _Ledger
_DepreciationArea _DepreciationArea
_CompanyCodeCurrency _CompanyCodeCurrency
_GlobalCurrency _GlobalCurrency
_FreeDefinedCurrency1 _FreeDefinedCurrency1
_FreeDefinedCurrency2 _FreeDefinedCurrency2
_FreeDefinedCurrency3 _FreeDefinedCurrency3
_FreeDefinedCurrency4 _FreeDefinedCurrency4
_FreeDefinedCurrency5 _FreeDefinedCurrency5
_FreeDefinedCurrency6 _FreeDefinedCurrency6
_FreeDefinedCurrency7 _FreeDefinedCurrency7
_FreeDefinedCurrency8 _FreeDefinedCurrency8

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 I_AssetValuationScrapAmount.
-- 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 I_AssetValuationScrapAmount AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  Ledger,
  AssetRealDepreciationArea,
  ValidityEndDate,
  ValidityStartDate,
  AcqnProdnCostScrapPercent,
  ScrapAmountInCoCodeCrcy,
  CompanyCodeCurrency,
  ScrapAmountInGlobCrcy,
  GlobalCurrency,
  ScrapAmountInFreeDefinedCrcy1,
  FreeDefinedCurrency1,
  ScrapAmountInFreeDefinedCrcy2,
  FreeDefinedCurrency2,
  ScrapAmountInFreeDefinedCrcy3,
  FreeDefinedCurrency3,
  ScrapAmountInFreeDefinedCrcy4,
  FreeDefinedCurrency4,
  ScrapAmountInFreeDefinedCrcy5,
  FreeDefinedCurrency5,
  ScrapAmountInFreeDefinedCrcy6,
  FreeDefinedCurrency6,
  ScrapAmountInFreeDefinedCrcy7,
  FreeDefinedCurrency7,
  ScrapAmountInFreeDefinedCrcy8,
  FreeDefinedCurrency8
FROM P_AssetValuationScrapAmount
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_MasterFixedAsset AS _MasterFixedAsset ON CompanyCode = _MasterFixedAsset.CompanyCode AND MasterFixedAsset = _MasterFixedAsset.MasterFixedAsset  -- association [1..1]
LEFT OUTER JOIN I_FixedAsset AS _FixedAsset ON CompanyCode = _FixedAsset.CompanyCode AND MasterFixedAsset = _FixedAsset.MasterFixedAsset AND FixedAsset = _FixedAsset.FixedAsset  -- association [1..1]
LEFT OUTER JOIN I_AssetValuationForLedger AS _AssetValuationForLedger ON CompanyCode = _AssetValuationForLedger.CompanyCode AND MasterFixedAsset = _AssetValuationForLedger.MasterFixedAsset AND FixedAsset = _AssetValuationForLedger.FixedAsset AND Ledger = _AssetValuationForLedger.Ledger AND AssetRealDepreciationArea = _AssetValuationForLedger.AssetRealDepreciationArea AND ValidityEndDate = _AssetValuationForLedger.ValidityEndDate  -- association [1..1]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [1..1]
LEFT OUTER JOIN I_DepreciationAreaForLedger AS _DepreciationArea ON CompanyCode = _DepreciationArea.CompanyCode AND Ledger = _DepreciationArea.Ledger AND AssetRealDepreciationArea = _DepreciationArea.AssetDepreciationArea  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _CompanyCodeCurrency ON CompanyCodeCurrency = _CompanyCodeCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _GlobalCurrency ON GlobalCurrency = _GlobalCurrency.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency1 ON FreeDefinedCurrency1 = _FreeDefinedCurrency1.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency2 ON FreeDefinedCurrency2 = _FreeDefinedCurrency2.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency3 ON FreeDefinedCurrency3 = _FreeDefinedCurrency3.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency4 ON FreeDefinedCurrency4 = _FreeDefinedCurrency4.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency5 ON FreeDefinedCurrency5 = _FreeDefinedCurrency5.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency6 ON FreeDefinedCurrency6 = _FreeDefinedCurrency6.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency7 ON FreeDefinedCurrency7 = _FreeDefinedCurrency7.Currency  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _FreeDefinedCurrency8 ON FreeDefinedCurrency8 = _FreeDefinedCurrency8.Currency  -- association [0..1]
;