C_FixedAssetTransaction

DDL: C_FIXEDASSETTRANSACTION Type: view_entity CONSUMPTION

Asset Transactions

C_FixedAssetTransaction is a Consumption CDS View that provides data about "Asset Transactions" in SAP S/4HANA. It reads from 1 data source (I_FixedAssetTransaction) and exposes 111 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, LedgerFiscalYear, FiscalPeriod. It has 11 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_FixedAssetTransaction I_FixedAssetTransaction from

Parameters (2)

NameTypeDefault
P_KeyDate fagl_keydate
P_AssetAccountingKeyFigureSet faa_key_figure_set

Associations (11)

CardinalityTargetAliasCondition
[0..1] I_LedgerCompanyCodeCrcyRolesVH _CurrencyRoleVH _CurrencyRoleVH.Ledger = $projection.Ledger and _CurrencyRoleVH.CompanyCode = $projection.CompanyCode and _CurrencyRoleVH.CurrencyRole = $projection.CurrencyRole
[0..1] I_CompanyCodeAsset _CompanyCodeVH _CompanyCodeVH.CompanyCode = $projection.CompanyCode
[0..1] I_DepreciationKey _DepreciationKeyVH $projection.ChartOfDepreciation = _DepreciationKeyVH.ChartOfDepreciation and $projection.DepreciationKey = _DepreciationKeyVH.DepreciationKey
[0..1] I_Ledger _LedgerVH $projection.Ledger = _LedgerVH.Ledger
[0..1] I_WBSElementByExternalID _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[0..1] I_FiscCalendarDateForCompCode _FiscCalendarDateForCompCode $projection.PostingDate = _FiscCalendarDateForCompCode.CalendarDate and $projection.CompanyCode = _FiscCalendarDateForCompCode.CompanyCode
[0..1] I_FiscalCalendarDateForLedger _FiscalCalendarDateForLedger $projection.PostingDate = _FiscalCalendarDateForLedger.CalendarDate and $projection.CompanyCode = _FiscalCalendarDateForLedger.CompanyCode and $projection.Ledger = _FiscalCalendarDateForLedger.Ledger
[0..1] I_CostCenterText _AssetCostCenterText $projection.ControllingArea = _AssetCostCenterText.ControllingArea and $projection.AssetCostCenter = _AssetCostCenterText.CostCenter and _AssetCostCenterText.ValidityStartDate <= $parameters.P_KeyDate and _AssetCostCenterText.ValidityEndDate >= $parameters.P_KeyDate and _AssetCostCenterText.Language = $session.system_language
[0..1] I_ProfitCenterText _AssetProfitCenterText $projection.ControllingArea = _AssetProfitCenterText.ControllingArea and $projection.AssetProfitCenter = _AssetProfitCenterText.ProfitCenter and _AssetProfitCenterText.ValidityStartDate <= $parameters.P_KeyDate and _AssetProfitCenterText.ValidityEndDate >= $parameters.P_KeyDate and _AssetProfitCenterText.Language = $session.system_language
[0..*] I_BusTransactionTypeText _BusinessTransactionTypeText $projection.BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType
[0..*] I_BusTransactionCategoryText _BusinessTransactionCatText $projection.BusinessTransactionCategory = _BusinessTransactionCatText.BusinessTransactionCategory

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Asset Transactions view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
Search.searchable true view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions true view
UI.textArrangement #TEXT_LAST view

Fields (111)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY MasterFixedAsset MasterFixedAsset Fixed Asset
KEY FixedAsset FixedAsset Sub-number
KEY LedgerFiscalYear LedgerFiscalYear
KEY FiscalPeriod FiscalPeriod Tax period
KEY AssetDepreciationArea Deprec. Area
KEY Ledger Ledger Ledger
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem Journal Entry Item
KEY TransactionSubitem TransactionSubitem Sub Transaction
KEY DebitCreditCode DebitCreditCode Single-Character Flag
KEY CurrencyRole CurrencyRole Curr./Val. Type
KEY SubLedgerAcctLineItemType SubLedgerAcctLineItemType SLALineItemType
KEY AssetAccountingKeyFigureSet AssetAccountingKeyFigureSet
KEY AssetAccountingKeyFigure AssetAccountingKeyFigure
KEY AssetAcctTransClassfctn AssetAcctTransClassfctn Trans.Type Cat.
FiscalYear FiscalYear G/L Fiscal Year
LedgerGroup LedgerGroup Ledger Group
FixedAssetExternalID FixedAssetExternalID Asset Number
GroupMasterFixedAsset
GroupFixedAsset
ChartOfDepreciation ChartOfDepreciation
AccountingDocumentCreationDate AccountingDocumentCreationDate Journal Entry Date
CreationTime CreationTime Time of Change
PostingDate Posting Date for GR
DocumentDate Journal Entry Date
AssetValueDate AssetValueDate Reference date
AssetAuthorizationContext AssetAuthorizationContext
PartnerCompanyCode PartnerCompanyCode Partner Company Code
PartnerMasterFixedAsset PartnerMasterFixedAsset Partner Asset
PartnerFixedAsset PartnerFixedAsset Partner Sub-No.
AssetCapitalizationDate AssetCapitalizationDate Asset Capitalization
AccountingDocCreatedByUser AccountingDocCreatedByUser User which created overhead document
AssetTransactionType AssetTransactionType Trans.Type
FinancialClosingStep FinancialClosingStep Closing Step
BusinessTransactionType BusinessTransactionType Bus.transaction
BusinessTransactionCategory BusinessTransactionCategory Business Transaction Category
AssetTransactionVariant AssetTransactionVariant
AssignmentReference AssignmentReference Assignment Reference
DocumentItemText DocumentItemText Text
ReferenceDocumentType ReferenceDocumentType Reference Document Type
ReferenceDocument ReferenceDocument Reference Document
LogicalSystem LogicalSystem Logical System
ReferenceDocumentContext ReferenceDocumentContext Reference Document Context
ReversalReferenceDocumentCntxt ReversalReferenceDocumentCntxt Reversal Reference Document Context
ReversalReferenceDocument ReversalReferenceDocument Reversal Reference Document
ReversalTransactionSubitem ReversalTransactionSubitem Reversal Sub Trans
IsReversal IsReversal Reversal doc.
IsReversed IsReversed Reversed?
BusinessArea Business Area
Segment Segment Segment number
FinancialAccountType FinancialAccountType Fin. Account Type
ControllingArea ControllingArea Controlling Area
AssetClass AssetClass Asset Class
Inventory Inventory Ci Inventory
AssetAccountDetermination AssetAccountDetermination Account Determ.
SelectedCurrencyBranch SelectedCurrencyBranch
DisplayCurrency DisplayCurrency Display Currency
AmountInDisplayCurrency AmountInDisplayCurrency
AcqnProdnAmtInDspCrcy AcqnProdnAmtInDspCrcy
ValueAdjustmentAmtInDspCrcy ValueAdjustmentAmtInDspCrcy
RetirementRevenueAmtInDspCrcy RetirementRevenueAmtInDspCrcy
RetirementCostsAmtInDspCrcy RetirementCostsAmtInDspCrcy
RetirementLossAmtInDspCrcy RetirementLossAmtInDspCrcy
RetirementGainAmtInDspCrcy RetirementGainAmtInDspCrcy
RetirementDeprAmtInDspCrcy RetirementDeprAmtInDspCrcy
RetirementAmountInDspCrcy RetirementAmountInDspCrcy
RtrmtNetBookValueAmtInDspCrcy RtrmtNetBookValueAmtInDspCrcy
OrdinaryDeprAmtInDspCrcy OrdinaryDeprAmtInDspCrcy
SpecialDeprAmtInDspCrcy SpecialDeprAmtInDspCrcy
UnplannedDeprAmtInDspCrcy UnplannedDeprAmtInDspCrcy
TransferredReserveAmtInDspCrcy TransferredReserveAmtInDspCrcy
BaseUnit BaseUnit Unit of Measure
Quantity Quantity Value
CompanyCodeName _CompanyCode CompanyCodeName Company Name
FixedAssetDescription Description
MasterFixedAssetDescription _MasterFixedAsset MasterFixedAssetDescription
AssetAdditionalDescription AssetAdditionalDescription
AssetPlantName _AssetPlant PlantName Plant Name
AssetCostCenter
AssetBusinessArea
AssetPlant
AssetProfitCenter
AssetSegment
DepreciationKey DepreciationKey
PlannedUsefulLifeInYears PlannedUsefulLifeInYears Planned Use Life Yr.
PlannedUsefulLifeInPeriods PlannedUsefulLifeInPeriods
OriglAstUsefulLifeInYears OriglAstUsefulLifeInYears
OriglAstUsefulLifeInPerds OriglAstUsefulLifeInPerds
DepreciationStartDate DepreciationStartDate
DeprKeyChangeoverYear DeprKeyChangeoverYear
DeprKeyChangeoverPeriod DeprKeyChangeoverPeriod
VintageYear VintageYear Vintage Year
VintageMonth VintageMonth
ReplacementValueIndexSers ReplacementValueIndexSers
RplcmtValueAgingIndexSers RplcmtValueAgingIndexSers
Country Country Venue: Ctry/Reg
NationalClassification NationalClassification
TaxDepreciationGroup TaxDepreciationGroup
FinancialManagementArea FinancialManagementArea FM Area
Fund Fund Sender Fund
GrantID GrantID Sender Grant
FunctionalArea FunctionalArea Sendr Fctl Area
BudgetPeriod BudgetPeriod Budget Period
AssetLocation AssetLocation Location
AssetLocationName _AssetLocation LocationName Location Name
WBSElementInternalID InvestmentProjectWBSElement
WBSElement
RU_AssetOKOF RU_AssetOKOF
RU_AssetDepreciationGroup RU_AssetDepreciationGroup
JP_PrptyTxRptCity JP_PrptyTxRptCity

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_FixedAssetTransaction.
-- 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.
-- Parameters: P_KeyDate : fagl_keydate, P_AssetAccountingKeyFigureSet : faa_key_figure_set

CREATE VIEW C_FixedAssetTransaction AS
SELECT
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  LedgerFiscalYear,
  FiscalPeriod,
  cast( AssetDepreciationArea as fis_afabe preserving type ) AS AssetDepreciationArea,
  Ledger,
  AccountingDocument,
  LedgerGLLineItem,
  TransactionSubitem,
  DebitCreditCode,
  CurrencyRole,
  SubLedgerAcctLineItemType,
  AssetAccountingKeyFigureSet,
  AssetAccountingKeyFigure,
  AssetAcctTransClassfctn,
  FiscalYear,
  LedgerGroup,
  FixedAssetExternalID,
  cast(GroupMasterFixedAsset as fis_anlgr) AS GroupMasterFixedAsset,
  cast(GroupFixedAsset as fis_anlgr2) AS GroupFixedAsset,
  ChartOfDepreciation,
  AccountingDocumentCreationDate,
  CreationTime,
  cast(PostingDate as fis_budat) AS PostingDate,
  cast (DocumentDate as fis_bldat) AS DocumentDate,
  AssetValueDate,
  AssetAuthorizationContext,
  PartnerCompanyCode,
  PartnerMasterFixedAsset,
  PartnerFixedAsset,
  AssetCapitalizationDate,
  AccountingDocCreatedByUser,
  AssetTransactionType,
  FinancialClosingStep,
  BusinessTransactionType,
  BusinessTransactionCategory,
  AssetTransactionVariant,
  AssignmentReference,
  DocumentItemText,
  ReferenceDocumentType,
  ReferenceDocument,
  LogicalSystem,
  ReferenceDocumentContext,
  ReversalReferenceDocumentCntxt,
  ReversalReferenceDocument,
  ReversalTransactionSubitem,
  IsReversal,
  IsReversed,
  cast(BusinessArea as fis_gsber) AS BusinessArea,
  Segment,
  FinancialAccountType,
  ControllingArea,
  AssetClass,
  Inventory,
  AssetAccountDetermination,
  SelectedCurrencyBranch,
  DisplayCurrency,
  AmountInDisplayCurrency,
  AcqnProdnAmtInDspCrcy,
  ValueAdjustmentAmtInDspCrcy,
  RetirementRevenueAmtInDspCrcy,
  RetirementCostsAmtInDspCrcy,
  RetirementLossAmtInDspCrcy,
  RetirementGainAmtInDspCrcy,
  RetirementDeprAmtInDspCrcy,
  RetirementAmountInDspCrcy,
  RtrmtNetBookValueAmtInDspCrcy,
  OrdinaryDeprAmtInDspCrcy,
  SpecialDeprAmtInDspCrcy,
  UnplannedDeprAmtInDspCrcy,
  TransferredReserveAmtInDspCrcy,
  BaseUnit,
  Quantity,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  cast(FixedAssetDescription as fis_txa50_anlt) AS FixedAssetDescription,
  _MasterFixedAsset.MasterFixedAssetDescription AS MasterFixedAssetDescription,
  AssetAdditionalDescription,
  _AssetPlant.PlantName AS AssetPlantName,
  cast(AssetCostCenter as faa_kostl preserving type) AS AssetCostCenter,
  cast(AssetBusinessArea as faa_gsber preserving type) AS AssetBusinessArea,
  cast(AssetPlant as faa_werks) AS AssetPlant,
  cast(AssetProfitCenter as faa_prctr preserving type) AS AssetProfitCenter,
  cast(AssetSegment as faa_segment preserving type) AS AssetSegment,
  DepreciationKey,
  PlannedUsefulLifeInYears,
  PlannedUsefulLifeInPeriods,
  OriglAstUsefulLifeInYears,
  OriglAstUsefulLifeInPerds,
  DepreciationStartDate,
  DeprKeyChangeoverYear,
  DeprKeyChangeoverPeriod,
  VintageYear,
  VintageMonth,
  ReplacementValueIndexSers,
  RplcmtValueAgingIndexSers,
  Country,
  NationalClassification,
  TaxDepreciationGroup,
  FinancialManagementArea,
  Fund,
  GrantID,
  FunctionalArea,
  BudgetPeriod,
  AssetLocation,
  _AssetLocation.LocationName AS AssetLocationName,
  InvestmentProjectWBSElement AS WBSElementInternalID,
  cast(_OriginWBSElement.WBSElementExternalID as faa_inv_wbs_origin) AS WBSElement,
  RU_AssetOKOF,
  RU_AssetDepreciationGroup,
  JP_PrptyTxRptCity
FROM I_FixedAssetTransaction
LEFT OUTER JOIN I_LedgerCompanyCodeCrcyRolesVH AS _CurrencyRoleVH ON _CurrencyRoleVH.Ledger = Ledger AND _CurrencyRoleVH.CompanyCode = CompanyCode AND _CurrencyRoleVH.CurrencyRole = CurrencyRole  -- association [0..1]
LEFT OUTER JOIN I_CompanyCodeAsset AS _CompanyCodeVH ON _CompanyCodeVH.CompanyCode = CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_DepreciationKey AS _DepreciationKeyVH ON ChartOfDepreciation = _DepreciationKeyVH.ChartOfDepreciation AND DepreciationKey = _DepreciationKeyVH.DepreciationKey  -- association [0..1]
LEFT OUTER JOIN I_Ledger AS _LedgerVH ON Ledger = _LedgerVH.Ledger  -- association [0..1]
LEFT OUTER JOIN I_WBSElementByExternalID AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN I_FiscCalendarDateForCompCode AS _FiscCalendarDateForCompCode ON PostingDate = _FiscCalendarDateForCompCode.CalendarDate AND CompanyCode = _FiscCalendarDateForCompCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_FiscalCalendarDateForLedger AS _FiscalCalendarDateForLedger ON PostingDate = _FiscalCalendarDateForLedger.CalendarDate AND CompanyCode = _FiscalCalendarDateForLedger.CompanyCode AND Ledger = _FiscalCalendarDateForLedger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_CostCenterText AS _AssetCostCenterText ON ControllingArea = _AssetCostCenterText.ControllingArea AND AssetCostCenter = _AssetCostCenterText.CostCenter AND _AssetCostCenterText.ValidityStartDate <= $parameters.P_KeyDate AND _AssetCostCenterText.ValidityEndDate >= $parameters.P_KeyDate AND _AssetCostCenterText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_ProfitCenterText AS _AssetProfitCenterText ON ControllingArea = _AssetProfitCenterText.ControllingArea AND AssetProfitCenter = _AssetProfitCenterText.ProfitCenter AND _AssetProfitCenterText.ValidityStartDate <= $parameters.P_KeyDate AND _AssetProfitCenterText.ValidityEndDate >= $parameters.P_KeyDate AND _AssetProfitCenterText.Language = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_BusTransactionTypeText AS _BusinessTransactionTypeText ON BusinessTransactionType = _BusinessTransactionTypeText.BusinessTransactionType  -- association [0..*]
LEFT OUTER JOIN I_BusTransactionCategoryText AS _BusinessTransactionCatText ON BusinessTransactionCategory = _BusinessTransactionCatText.BusinessTransactionCategory  -- association [0..*]
;