I_FixedAssetTransactionLineItm
Line Item History
I_FixedAssetTransactionLineItm is a Basic CDS View that provides data about "Line Item History" in SAP S/4HANA. It reads from 2 data sources (acdoca, faat_md) and exposes 14 fields with key fields CompanyCode, AccountingDocument, Ledger, AssetDepreciationArea, LedgerGLLineItem. It has 1 association to related views. Part of development package ODATA_AA_ASSET_TRANS_LIST.
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_WBSElementBasicData | WBS_Element | faat_md.investment_wbs_origin = WBS_Element.WBSElementInternalID |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Line Item History | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #BASIC | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | acdoca | rbukrs | |
| KEY | AccountingDocument | acdoca | belnr | |
| KEY | Ledger | acdoca | rldnr | |
| KEY | AssetDepreciationArea | acdoca | afabe | |
| KEY | LedgerGLLineItem | acdoca | docln | |
| CompanyCodeCurrency | acdoca | rhcur | ||
| PartnerMasterFixedAsset | acdoca | panl1 | ||
| PartnerFixedAsset | acdoca | panl2 | ||
| PredecessorJournalEntry | acdoca | prec_awref | ||
| PredecessorReferenceDocCntxt | acdoca | prec_aworg | ||
| PredecessorReferenceSystem | acdoca | prec_awsys | ||
| PredecessorReferenceDocType | acdoca | prec_awtyp | ||
| WBSElementExternalID | WBS_Element | WBSElementExternalID | ||
| AmountInCompanyCodeCurrency | acdoca | hsl |
//@AbapCatalog.sqlViewName: 'ILINEITEM'
//@AbapCatalog.compiler.compareFilter: true
//@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Line Item History'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #C,
sizeCategory: #S,
dataClass: #MIXED
}
@VDM.viewType: #BASIC
define view entity I_FixedAssetTransactionLineItm
as select from acdoca
inner join faat_md on acdoca.rbukrs = faat_md.comp_code
and acdoca.panl1 = faat_md.asset_no
association [0..1] to I_WBSElementBasicData as WBS_Element
on faat_md.investment_wbs_origin = WBS_Element.WBSElementInternalID
{
key acdoca.rbukrs as CompanyCode,
key acdoca.belnr as AccountingDocument,
key acdoca.rldnr as Ledger,
key acdoca.afabe as AssetDepreciationArea,
key acdoca.docln as LedgerGLLineItem,
acdoca.rhcur as CompanyCodeCurrency,
acdoca.panl1 as PartnerMasterFixedAsset,
acdoca.panl2 as PartnerFixedAsset,
acdoca.prec_awref as PredecessorJournalEntry,
acdoca.prec_aworg as PredecessorReferenceDocCntxt,
acdoca.prec_awsys as PredecessorReferenceSystem,
acdoca.prec_awtyp as PredecessorReferenceDocType,
// acdoca.bttype as Test,
WBS_Element.WBSElementExternalID,
@Semantics.amount.currencyCode: 'CompanyCodeCurrency'
acdoca.hsl as AmountInCompanyCodeCurrency
}
where
( acdoca.bttype = 'AUUA' or acdoca.bttype = 'AUUS' or acdoca.bttype = 'AUUZ' or acdoca.bttype = 'ZUCO' )
and acdoca.panl1 is not initial
and acdoca.docln is not initial
and acdoca.prec_awref is not initial
//and acdoca.prec_aworg is not initial and acdoca.prec_awsys is not initial and acdoca.prec_awtyp is not initial )
Learn More
- 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 Annotations — A Complete Guide
- 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