C_AssetTP

DDL: C_ASSETTP SQL: CASSETTP Type: view CONSUMPTION Package: FINS_FAA_MD_BOPF

Asset

C_AssetTP is a Consumption CDS View that provides data about "Asset" in SAP S/4HANA. It reads from 1 data source (I_AssetTP) and exposes 185 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset. It has 8 associations to related views. Part of development package FINS_FAA_MD_BOPF.

Data Sources (1)

SourceAliasJoin Type
I_AssetTP AssetTP from

Associations (8)

CardinalityTargetAliasCondition
[1..*] C_AssetAssignmentTP _AssetAssignmentTP $projection.CompanyCode = _AssetAssignmentTP.CompanyCode and $projection.MasterFixedAsset = _AssetAssignmentTP.MasterFixedAsset and $projection.FixedAsset = _AssetAssignmentTP.FixedAsset
[1..*] C_AssetLedgerTP _AssetLedgerTP $projection.CompanyCode = _AssetLedgerTP.CompanyCode and $projection.MasterFixedAsset = _AssetLedgerTP.MasterFixedAsset and $projection.FixedAsset = _AssetLedgerTP.FixedAsset
[1..*] C_AssetValuationTP _AssetValuationTP $projection.CompanyCode = _AssetValuationTP.CompanyCode and $projection.MasterFixedAsset = _AssetValuationTP.MasterFixedAsset and $projection.FixedAsset = _AssetValuationTP.FixedAsset
[0..*] C_GlobAssetAssignmentTP _GlobAssetAssignmentTP $projection.CompanyCode = _GlobAssetAssignmentTP.CompanyCode and $projection.MasterFixedAsset = _GlobAssetAssignmentTP.MasterFixedAsset and $projection.FixedAsset = _GlobAssetAssignmentTP.FixedAsset
[0..*] C_GlobAssetPreciousMaterialsTP _GlobAssetPreciousMaterialsTP $projection.CompanyCode = _GlobAssetPreciousMaterialsTP.CompanyCode and $projection.MasterFixedAsset = _GlobAssetPreciousMaterialsTP.MasterFixedAsset and $projection.FixedAsset = _GlobAssetPreciousMaterialsTP.FixedAsset
[0..*] C_AssetMultipleCreationTP _AssetMultipleCreationTP $projection.CompanyCode = _AssetMultipleCreationTP.CompanyCode and $projection.MasterFixedAsset = _AssetMultipleCreationTP.MasterFixedAsset and $projection.FixedAsset = _AssetMultipleCreationTP.FixedAsset
[0..1] C_AssetWBSElement _InvestmentProjectWBSElement $projection.InvestmentProjectWBSElement = _InvestmentProjectWBSElement.WBSElementInternalID
[0..1] P_AssetInvestmentProject _InvestmentProject $projection.InvestmentProjectWBSElement = _InvestmentProject.WBSElementInternalID

Annotations (18)

NameValueLevelField
AccessControl.auditFilter #ENABLED view
AbapCatalog.sqlViewName CASSETTP view
AbapCatalog.compiler.compareFilter true view
AccessControl.personalData.blocking #REQUIRED view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Asset view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.compositionRoot true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view
ObjectModel.draftEnabled true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MASTER view

Fields (185)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_AssetTP CompanyCode Receiver Company Code
KEY MasterFixedAsset I_AssetTP MasterFixedAsset Fixed Asset
KEY FixedAsset I_AssetTP FixedAsset Sub-number
CompanyCodeName _CompanyCode CompanyCodeName Company Name
MasterFixedAssetForEdit MasterFixedAssetForEdit Fixed Asset
FixedAssetForEdit FixedAssetForEdit Sub-number
MasterFixedAssetFrmLegacySyst Fixed Asset
FixedAssetFrmLegacySyst Sub-number
FixedAssetExternalID FixedAssetExternalID Asset Number
ChangeDocumentUUID ChangeDocumentUUID
AssetCompletenessStatus AssetCompletenessStatus
AssetCompletenessStatusName
AssetLifecycleStatus AssetLifecycleStatus
AssetLifecycleStatusName
AssetUnderConstructionStatus AssetUnderConstructionStatus
AssetUndrConstructionStsName
IsMainAsset IsMainAsset Leading Asset
HasHistory HasHistory
AccountIsBlockedForPosting AccountIsBlockedForPosting Posting Block
IsLegacyAsset IsLegacyAsset
AssetIsForPostCapitalization AssetIsForPostCapitalization
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationDateTime CreationDateTime Timestamp
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeDateTime LastChangeDateTime Timestamp
AssetCreationValidityDate AssetCreationValidityDate
AssetClass AssetClass Asset Class
AssetClassName
AssetScreenLayout AssetScreenLayout
AssetAccountDetermination AssetAccountDetermination Account Determ.
AssetAccountDeterminationDesc
FixedAssetOrderDate FixedAssetOrderDate
FixedAssetDescription FixedAssetDescription Description
AssetAdditionalDescription AssetAdditionalDescription
AssetSerialNumber AssetSerialNumber
Inventory Inventory Ci Inventory
Supplier Supplier Supplier
SupplierName
AssetCountryOfOrigin AssetCountryOfOrigin
AssetManufacturerName AssetManufacturerName Manufacturer
OriginalMasterFixedAsset OriginalMasterFixedAsset
OriginalFixedAsset OriginalFixedAsset
OriginalFixedAssetValueDate OriginalFixedAssetValueDate
OriginalAcquisitionFiscalYear OriginalAcquisitionFiscalYear
OriginalAcquisitionAmount OriginalAcquisitionAmount
OriginalAcquisitionCurrency OriginalAcquisitionCurrency
InHouseProdnPercent InHouseProdnPercent
AssetTypeName AssetTypeName
PartnerCompany PartnerCompany Trading Partner
PartnerCompanyName
InvestmentOrder InvestmentOrder
InvestmentProjectWBSElement InvestmentProjectWBSElement
InvmtProjWBSElementExternalID
WBSDescription
ProjectSummaryTaskUUIDString
LastInventoryDate LastInventoryDate
InventoryNote InventoryNote
InventoryIsCounted InventoryIsCounted
InvestmentReason InvestmentReason Invest. Reason
EnvrnmtlInvestmentReason EnvrnmtlInvestmentReason
FixedAssetGroup FixedAssetGroup
PropertyClass PropertyClass
FixedAssetPropertyType FixedAssetPropertyType
LocalTaxOffice LocalTaxOffice
NoticeOfAssessmentTaxID NoticeOfAssessmentTaxID
LastAssessmentNoticeDate LastAssessmentNoticeDate
Municipality Municipality Venue Municplty
LandRegisterDate LandRegisterDate
LandRegisterEntrySequence LandRegisterEntrySequence
LandRegisterEntryDate LandRegisterEntryDate
LandRegisterVolume LandRegisterVolume
LandRegisterPage LandRegisterPage
LandRegisterMap LandRegisterMap
LandPlot LandPlot
ConveyanceDate ConveyanceDate
AreaSize AreaSize
AreaSizeUnit AreaSizeUnit
LeaseSupplier LeaseSupplier
LeaseAgreement LeaseAgreement
LeaseAgreementDate LeaseAgreementDate
LeaseTermEndDate LeaseTermEndDate
LeaseTermStartDate LeaseTermStartDate
LeaseDurationInFiscalYears LeaseDurationInFiscalYears
LeaseDurationInFiscalPeriods LeaseDurationInFiscalPeriods
LeaseType LeaseType
LeasedAssetNote LeasedAssetNote
AssetIsRealEstate AssetIsRealEstate
LastReorganizationDate LastReorganizationDate
LegacyMasterFixedAsset LegacyMasterFixedAsset
LegacyFixedAsset LegacyFixedAsset
LegacyFixedAssetCompanyCode LegacyFixedAssetCompanyCode
LegacyDataTransferDate LegacyDataTransferDate
LegacyDataTransferSequence LegacyDataTransferSequence
AssetIsAcquiredUsed AssetIsAcquiredUsed
BaseUnit BaseUnit Unit of Measure
BaseUnitName
AssetAuthorizationContext I_AssetTP AssetAuthorizationContext
DepreciationErrorStatus
CostCenter
CostCenterHierarchy
CostCenterHierarchyNode
WBSElementExternalID
ProfitCenter
ProfitCenterHierarchy
ProfitCenterHierarchyNode
UICT_ForTimeRistriction
Segment
AssetMultipleCreationStatus AssetMultipleCreationStatus
Country Country Venue: Ctry/Reg
NationalClassification NationalClassification
NationalClassificationDesc
TaxDepreciationGroup TaxDepreciationGroup
TaxDepreciationGroupDesc
RU_LongSerialNumber RU_LongSerialNumber
RU_WorkwearMaterial RU_WorkwearMaterial
RU_RetiredMasterFixedAsset RU_RetiredMasterFixedAsset
RU_RetiredFixedAsset RU_RetiredFixedAsset
RU_AssetTransportType RU_AssetTransportType
RU_VehicleIdNumber RU_VehicleIdNumber
RU_ManufacturingDate RU_ManufacturingDate
RU_VehicleEcologicalClass RU_VehicleEcologicalClass
RU_PropertyAddress RU_PropertyAddress
RU_PropertyOwnershipRegnDate RU_PropertyOwnershipRegnDate
RU_PropertyOwnershipTermnDate RU_PropertyOwnershipTermnDate
RU_ProdTraceabilityStartDate RU_ProdTraceabilityStartDate
RU_ProdTraceabilityEndDate RU_ProdTraceabilityEndDate
RU_AssetTNVED RU_AssetTNVED
ChartOfAccounts ChartOfAccounts Node Class
ChartOfAccountsText ChartOfAccountsText
GLAccount GLAccount General Ledger
GLAccountText GLAccountText
JP_Annex16AssetStructure JP_Annex16AssetStructure
JP_Annex16AssetStructureDesc
JP_Annex16AssetItem JP_Annex16AssetItem
JP_Annex16AssetItemDesc
JP_Annex16LeasingAgrmtDate JP_Annex16LeasingAgrmtDate
JP_PrptyTxRptCity JP_PrptyTxRptCity
JP_PrptyTxRptClassfctnKey JP_PrptyTxRptClassfctnKey
JP_PrptyTxRptSpclDepr JP_PrptyTxRptSpclDepr
JP_PrptyTxRptAddlDepr JP_PrptyTxRptAddlDepr
IN_AssetBlock IN_AssetBlock
IN_AssetPutToUseDate IN_AssetPutToUseDate
IN_AdditionalAssetBlock IN_AdditionalAssetBlock
IN_AssetIsResearchAndDev IN_AssetIsResearchAndDev
IN_AssetIsPriorYear IN_AssetIsPriorYear
PT_VehicleTypeByEnergy PT_VehicleTypeByEnergy
PT_VehicleIsWithoutLimit PT_VehicleIsWithoutLimit
PT_BigRepairAssetLink PT_BigRepairAssetLink
PT_LandAssetLink PT_LandAssetLink
PT_AssetReportFormCategory PT_AssetReportFormCategory
PT_AmortizedAssetIsReevaluated PT_AmortizedAssetIsReevaluated
RS_GroupDeprExclusionYear RS_GroupDeprExclusionYear
RS_AssetLastInvoiceDate RS_AssetLastInvoiceDate
PL_AcquisitionProductionDate PL_AcquisitionProductionDate
PL_AcquisitionDocumentType PL_AcquisitionDocumentType
PL_AcquisitionFormNumber PL_AcquisitionFormNumber
PL_AssetTaxGroup PL_AssetTaxGroup
_FixedAssetAssgmt _FixedAssetAssgmt
_CompanyCode _CompanyCode
_MasterFixedAsset _MasterFixedAsset
_AssetClass _AssetClass
_UnitOfMeasure _UnitOfMeasure
_PartnerCompany _PartnerCompany
_AssetAccountDetermination _AssetAccountDetermination
_Supplier _Supplier
_AssetCountryOfOrigin _AssetCountryOfOrigin
_InvestmentReason _InvestmentReason
_EnvrnmtlInvestmentReason _EnvrnmtlInvestmentReason
_FixedAssetPropertyType _FixedAssetPropertyType
_FixedAssetGroup _FixedAssetGroup
_InvestmentOrder _InvestmentOrder
_AssetLifecycleStatus _AssetLifecycleStatus
_AssetCompletenessStatus _AssetCompletenessStatus
_AssetUnderConstructionStatus _AssetUnderConstructionStatus
_FixedAssetCountryData _FixedAssetCountryData
_OriginalAcquisitionCurrency _OriginalAcquisitionCurrency
_InvestmentProjectWBSElement _InvestmentProjectWBSElement
_AssetAssignmentTP _AssetAssignmentTP
_AssetLedgerTP _AssetLedgerTP
_AssetValuationTP _AssetValuationTP
_GlobAssetAssignmentTP _GlobAssetAssignmentTP
_GlobAssetPreciousMaterialsTP _GlobAssetPreciousMaterialsTP
_AssetMultipleCreationTP _AssetMultipleCreationTP

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_AssetTP.
-- 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: CASSETTP

CREATE VIEW C_AssetTP AS
SELECT
  AssetTP.CompanyCode AS CompanyCode,
  AssetTP.MasterFixedAsset AS MasterFixedAsset,
  AssetTP.FixedAsset AS FixedAsset,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  MasterFixedAssetForEdit,
  FixedAssetForEdit,
  cast ( MasterFixedAsset as faa_md_asset_no_from_ldt preserving type) AS MasterFixedAssetFrmLegacySyst,
  cast (FixedAsset as faa_md_asset_subno_from_ldt preserving type ) AS FixedAssetFrmLegacySyst,
  FixedAssetExternalID,
  ChangeDocumentUUID,
  AssetCompletenessStatus,
  cast (cast ( '' as abap.char(60) ) as faa_md_compl_status_text preserving type) AS AssetCompletenessStatusName,
  AssetLifecycleStatus,
  cast (cast ( '' as abap.char(60) ) as faa_md_lc_status_text preserving type) AS AssetLifecycleStatusName,
  AssetUnderConstructionStatus,
  cast (cast ( '' as abap.char(60) ) as faa_md_auc_status_text preserving type) AS AssetUndrConstructionStsName,
  IsMainAsset,
  HasHistory,
  AccountIsBlockedForPosting,
  IsLegacyAsset,
  AssetIsForPostCapitalization,
  CreatedByUser,
  CreationDate,
  CreationDateTime,
  LastChangedByUser,
  LastChangeDate,
  LastChangeDateTime,
  AssetCreationValidityDate,
  AssetClass,
  _AssetClass._Text[1:Language=$session.system_language].AssetClassName AS AssetClassName,
  AssetScreenLayout,
  AssetAccountDetermination,
  cast ( cast ('' as abap.char(50))as ktgrtx preserving type) AS AssetAccountDeterminationDesc,
  FixedAssetOrderDate,
  FixedAssetDescription,
  AssetAdditionalDescription,
  AssetSerialNumber,
  Inventory,
  Supplier,
  cast ( cast ('' as abap.char(80))as md_supplier_name preserving type) AS SupplierName,
  AssetCountryOfOrigin,
  AssetManufacturerName,
  OriginalMasterFixedAsset,
  OriginalFixedAsset,
  OriginalFixedAssetValueDate,
  OriginalAcquisitionFiscalYear,
  OriginalAcquisitionAmount,
  OriginalAcquisitionCurrency,
  InHouseProdnPercent,
  AssetTypeName,
  PartnerCompany,
  cast ( cast ('' as abap.char(30))as name_1 preserving type) AS PartnerCompanyName,
  InvestmentOrder,
  InvestmentProjectWBSElement,
  cast('' as faa_md_invmt_proj_wbs_ext_id) AS InvmtProjWBSElementExternalID,
  cast('' as ps_s4_post1) AS WBSDescription,
  cast('' as abap.char(32)) AS ProjectSummaryTaskUUIDString,
  LastInventoryDate,
  InventoryNote,
  InventoryIsCounted,
  InvestmentReason,
  EnvrnmtlInvestmentReason,
  FixedAssetGroup,
  PropertyClass,
  FixedAssetPropertyType,
  LocalTaxOffice,
  NoticeOfAssessmentTaxID,
  LastAssessmentNoticeDate,
  Municipality,
  LandRegisterDate,
  LandRegisterEntrySequence,
  LandRegisterEntryDate,
  LandRegisterVolume,
  LandRegisterPage,
  LandRegisterMap,
  LandPlot,
  ConveyanceDate,
  AreaSize,
  AreaSizeUnit,
  LeaseSupplier,
  LeaseAgreement,
  LeaseAgreementDate,
  LeaseTermEndDate,
  LeaseTermStartDate,
  LeaseDurationInFiscalYears,
  LeaseDurationInFiscalPeriods,
  LeaseType,
  LeasedAssetNote,
  AssetIsRealEstate,
  LastReorganizationDate,
  LegacyMasterFixedAsset,
  LegacyFixedAsset,
  LegacyFixedAssetCompanyCode,
  LegacyDataTransferDate,
  LegacyDataTransferSequence,
  AssetIsAcquiredUsed,
  BaseUnit,
  cast ( cast ('' as abap.char(10))as mseht preserving type) AS BaseUnitName,
  AssetTP.AssetAuthorizationContext AS AssetAuthorizationContext,
  cast('' as xafar) AS DepreciationErrorStatus,
  cast('' as kostl) AS CostCenter,
  cast('' as fis_cctr_hryid_42) AS CostCenterHierarchy,
  cast('' as fis_cctr_hrynid_50) AS CostCenterHierarchyNode,
  cast('' as ps_posid_edit) AS WBSElementExternalID,
  cast('' as prctr) AS ProfitCenter,
  cast('' as fis_prctr_hryid_42) AS ProfitCenterHierarchy,
  cast('' as fis_prctr_hrynid_50) AS ProfitCenterHierarchyNode,
  cast('' as abap_boolean ) AS UICT_ForTimeRistriction,
  cast('' as fb_segment) AS Segment,
  AssetMultipleCreationStatus,
  Country,
  NationalClassification,
  cast ( cast ('' as abap.char(50))as glo_natl_clfn_code_text preserving type) AS NationalClassificationDesc,
  TaxDepreciationGroup,
  cast ( cast ('' as abap.char(30))as glo_tax_depr_grp_desc preserving type) AS TaxDepreciationGroupDesc,
  RU_LongSerialNumber,
  RU_WorkwearMaterial,
  RU_RetiredMasterFixedAsset,
  RU_RetiredFixedAsset,
  RU_AssetTransportType,
  RU_VehicleIdNumber,
  RU_ManufacturingDate,
  RU_VehicleEcologicalClass,
  RU_PropertyAddress,
  RU_PropertyOwnershipRegnDate,
  RU_PropertyOwnershipTermnDate,
  RU_ProdTraceabilityStartDate,
  RU_ProdTraceabilityEndDate,
  RU_AssetTNVED,
  ChartOfAccounts,
  ChartOfAccountsText,
  GLAccount,
  GLAccountText,
  JP_Annex16AssetStructure,
  cast ( cast ('' as abap.char(50))as glo_anx16_strc_text preserving type) AS JP_Annex16AssetStructureDesc,
  JP_Annex16AssetItem,
  cast ( cast ('' as abap.char(50))as glo_anx16_item_text preserving type) AS JP_Annex16AssetItemDesc,
  JP_Annex16LeasingAgrmtDate,
  JP_PrptyTxRptCity,
  JP_PrptyTxRptClassfctnKey,
  JP_PrptyTxRptSpclDepr,
  JP_PrptyTxRptAddlDepr,
  IN_AssetBlock,
  IN_AssetPutToUseDate,
  IN_AdditionalAssetBlock,
  IN_AssetIsResearchAndDev,
  IN_AssetIsPriorYear,
  PT_VehicleTypeByEnergy,
  PT_VehicleIsWithoutLimit,
  PT_BigRepairAssetLink,
  PT_LandAssetLink,
  PT_AssetReportFormCategory,
  PT_AmortizedAssetIsReevaluated,
  RS_GroupDeprExclusionYear,
  RS_AssetLastInvoiceDate,
  PL_AcquisitionProductionDate,
  PL_AcquisitionDocumentType,
  PL_AcquisitionFormNumber,
  PL_AssetTaxGroup
FROM I_AssetTP AS AssetTP
LEFT OUTER JOIN C_AssetAssignmentTP AS _AssetAssignmentTP ON CompanyCode = _AssetAssignmentTP.CompanyCode AND MasterFixedAsset = _AssetAssignmentTP.MasterFixedAsset AND FixedAsset = _AssetAssignmentTP.FixedAsset  -- association [1..*]
LEFT OUTER JOIN C_AssetLedgerTP AS _AssetLedgerTP ON CompanyCode = _AssetLedgerTP.CompanyCode AND MasterFixedAsset = _AssetLedgerTP.MasterFixedAsset AND FixedAsset = _AssetLedgerTP.FixedAsset  -- association [1..*]
LEFT OUTER JOIN C_AssetValuationTP AS _AssetValuationTP ON CompanyCode = _AssetValuationTP.CompanyCode AND MasterFixedAsset = _AssetValuationTP.MasterFixedAsset AND FixedAsset = _AssetValuationTP.FixedAsset  -- association [1..*]
LEFT OUTER JOIN C_GlobAssetAssignmentTP AS _GlobAssetAssignmentTP ON CompanyCode = _GlobAssetAssignmentTP.CompanyCode AND MasterFixedAsset = _GlobAssetAssignmentTP.MasterFixedAsset AND FixedAsset = _GlobAssetAssignmentTP.FixedAsset  -- association [0..*]
LEFT OUTER JOIN C_GlobAssetPreciousMaterialsTP AS _GlobAssetPreciousMaterialsTP ON CompanyCode = _GlobAssetPreciousMaterialsTP.CompanyCode AND MasterFixedAsset = _GlobAssetPreciousMaterialsTP.MasterFixedAsset AND FixedAsset = _GlobAssetPreciousMaterialsTP.FixedAsset  -- association [0..*]
LEFT OUTER JOIN C_AssetMultipleCreationTP AS _AssetMultipleCreationTP ON CompanyCode = _AssetMultipleCreationTP.CompanyCode AND MasterFixedAsset = _AssetMultipleCreationTP.MasterFixedAsset AND FixedAsset = _AssetMultipleCreationTP.FixedAsset  -- association [0..*]
LEFT OUTER JOIN C_AssetWBSElement AS _InvestmentProjectWBSElement ON InvestmentProjectWBSElement = _InvestmentProjectWBSElement.WBSElementInternalID  -- association [0..1]
LEFT OUTER JOIN P_AssetInvestmentProject AS _InvestmentProject ON InvestmentProjectWBSElement = _InvestmentProject.WBSElementInternalID  -- association [0..1]
;