I_AssetLedgerTP

DDL: I_ASSETLEDGERTP SQL: IASSETLDGRTP Type: view TRANSACTIONAL

Asset Ledger

I_AssetLedgerTP is a Transactional CDS View that provides data about "Asset Ledger" in SAP S/4HANA. It reads from 1 data source (I_FixedAssetForLedger) and exposes 16 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_FixedAssetForLedger AssetLedger from

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_AssetTP _AssetTP $projection.CompanyCode = _AssetTP.CompanyCode and $projection.MasterFixedAsset = _AssetTP.MasterFixedAsset and $projection.FixedAsset = _AssetTP.FixedAsset

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IASSETLDGRTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Asset Ledger view
VDM.viewType #TRANSACTIONAL view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.allowExtensions false view
ObjectModel.writeActivePersistence FAAV_MD_LD view
ObjectModel.writeDraftPersistence FAAD_MD_LD view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_FixedAssetForLedger CompanyCode Receiver Company Code
KEY MasterFixedAsset I_FixedAssetForLedger MasterFixedAsset Fixed Asset
KEY FixedAsset I_FixedAssetForLedger FixedAsset Sub-number
KEY Ledger I_FixedAssetForLedger Ledger Ledger
AssetCapitalizationDate I_FixedAssetForLedger AssetCapitalizationDate Asset Capitalization
AssetDeactivationDate I_FixedAssetForLedger AssetDeactivationDate
AcquisitionValueDate I_FixedAssetForLedger AcquisitionValueDate
FirstAcquisitionFiscalYear I_FixedAssetForLedger FirstAcquisitionFiscalYear Acquisition Yr
FirstAcquisitionFiscalPeriod I_FixedAssetForLedger FirstAcquisitionFiscalPeriod
LastRevaluationDate I_FixedAssetForLedger LastRevaluationDate
_AssetTP _AssetTP
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_FixedAsset _FixedAsset
_Ledger _Ledger
_AssetValuationForLedger _AssetValuationForLedger

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_AssetLedgerTP.
-- 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: IASSETLDGRTP

CREATE VIEW I_AssetLedgerTP AS
SELECT
  AssetLedger.CompanyCode AS CompanyCode,
  AssetLedger.MasterFixedAsset AS MasterFixedAsset,
  AssetLedger.FixedAsset AS FixedAsset,
  AssetLedger.Ledger AS Ledger,
  AssetLedger.AssetCapitalizationDate AS AssetCapitalizationDate,
  AssetLedger.AssetDeactivationDate AS AssetDeactivationDate,
  AssetLedger.AcquisitionValueDate AS AcquisitionValueDate,
  AssetLedger.FirstAcquisitionFiscalYear AS FirstAcquisitionFiscalYear,
  AssetLedger.FirstAcquisitionFiscalPeriod AS FirstAcquisitionFiscalPeriod,
  AssetLedger.LastRevaluationDate AS LastRevaluationDate
FROM I_FixedAssetForLedger AS AssetLedger
LEFT OUTER JOIN I_AssetTP AS _AssetTP ON CompanyCode = _AssetTP.CompanyCode AND MasterFixedAsset = _AssetTP.MasterFixedAsset AND FixedAsset = _AssetTP.FixedAsset  -- association [1..1]
;