P_GlobAssetAssignment
Country Specific Fixed Asset Assignment
P_GlobAssetAssignment is a Basic CDS View that provides data about "Country Specific Fixed Asset Assignment" in SAP S/4HANA. It reads from 4 data sources (glo_faat_md_tdd, glofaatmdpndnt, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus) and exposes 97 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, ValidityEndDate, MasterFixedAsset. Part of development package FINS_FIS_AA_MD.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| glo_faat_md_tdd | glo_faat_md_tdd | union_all |
| glofaatmdpndnt | glofaatmdpndnt | from |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PGFASSETASSGMT | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (97)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | glofaatmdpndnt | bukrs | |
| KEY | MasterFixedAsset | glofaatmdpndnt | anln1 | |
| KEY | FixedAsset | glofaatmdpndnt | anln2 | |
| KEY | ValidityEndDate | glofaatmdpndnt | bdatu | |
| ValidityStartDate | glofaatmdpndnt | adatu | ||
| RU_AssetShutdownReason | glofaatmdpndnt | glo_rus_shd_rsn | ||
| RU_AssetShutdownDocument | glofaatmdpndnt | glo_rus_shd_docn | ||
| RU_AssetIsPledged | glofaatmdpndnt | glo_rus_pld_chck | ||
| RU_AssetPledgeAmountInLocCrcy | glofaatmdpndnt | glo_rus_pld_amnt | ||
| RU_AssetPledgee | glofaatmdpndnt | glo_rus_pld_rcpn | ||
| RU_AssetPledgeDocumentNumber | glofaatmdpndnt | glo_rus_docnum | ||
| RU_AssetInventoryCardNumber | glofaatmdpndnt | glo_rus_icnmb | ||
| RU_AssetOKOF | glofaatmdpndnt | glo_rus_okof16 | ||
| RU_AssetDepreciationGroup | glofaatmdpndnt | glo_rus_depgrn | ||
| RU_AssetTaxOfficeCode | glofaatmdpndnt | glo_rus_tax_offc | ||
| RU_AssetSZPKIsApplied | glofaatmdpndnt | glo_rus_szpk | ||
| RU_AssetPropertyType | glofaatmdpndnt | glo_rus_prt_ptyp | ||
| RU_PropertyTaxOKTMO | ||||
| RU_PropertyTaxSpecialCategory | glofaatmdpndnt | glo_rus_prt_scat | ||
| RU_PropertyTaxRateReduction | glofaatmdpndnt | glo_rus_prt_tcrt | ||
| RU_PropertyTaxAmtReduction | glofaatmdpndnt | glo_rus_prt_tcam | ||
| RU_PropertyTaxExemption | glofaatmdpndnt | glo_rus_prt_tcex | ||
| RU_PropertyTaxObjectNumber | glofaatmdpndnt | glo_rus_prt_pnum | ||
| RU_PropertyTaxObjectNumberType | glofaatmdpndnt | glo_rus_prt_pncd | ||
| RU_PrptyCadastrAmtInLoclCrcy | glofaatmdpndnt | glo_rus_prt_cadv | ||
| RU_AssetCommonPropertyShare | glofaatmdpndnt | glo_rus_prt_shre | ||
| RU_RoomFloorAreaInSquareMeter | glofaatmdpndnt | glo_rus_prt_aloc | ||
| RU_RoomBuildFloorAreaInSqMtr | glofaatmdpndnt | glo_rus_prt_atot | ||
| RU_AssetIsRealEstate | glofaatmdpndnt | glo_rus_prt_isre | ||
| RU_TransportTaxPowerUnit | glofaatmdpndnt | glo_rus_txb_type | ||
| RU_TranspTaxBaseQtyInBaseUnit | glofaatmdpndnt | glo_rus_txb_unit | ||
| RU_TransportTaxExemption | glofaatmdpndnt | glo_rus_trt_tcex | ||
| RU_TransportTaxReduction | glofaatmdpndnt | glo_rus_trt_tcrt | ||
| RU_VehicleStolenDate | glofaatmdpndnt | glo_rus_ttx_stld | ||
| RU_VehicleReturnDate | glofaatmdpndnt | glo_rus_ttx_rtrd | ||
| RU_VehicleRegistrationDate | glofaatmdpndnt | glo_rus_ttx_rgsd | ||
| RU_VehicleCancellationDate | glofaatmdpndnt | glo_rus_ttx_rmvd | ||
| RU_TransportTaxOKTMO | ||||
| RU_VehicleLicensePlateNumber | glofaatmdpndnt | glo_rus_ttx_lnum | ||
| RU_TranspTxAmtReduction | glofaatmdpndnt | glo_rus_trt_tcam | ||
| RU_VehTranspTxPriceCategory | glofaatmdpndnt | glo_rus_ttx_vpca | ||
| RU_VehicleIsRegisteredInPlaton | glofaatmdpndnt | glo_rus_ttx_plat | ||
| RU_TransptCommonOwnershipShare | glofaatmdpndnt | glo_rus_ttx_shre | ||
| CN_CADEFixedAssetUsage | ||||
| PL_CustInvcAccountingDocument | ||||
| PL_CustomerInvoiceFiscalYear | ||||
| AssetAuthorizationContext | ||||
| Currency | t001 | waers | ||
| comp_codeasCompanyCode | ||||
| KEY | MasterFixedAsset | glo_faat_md_tdd | asset_no | |
| KEY | FixedAsset | glo_faat_md_tdd | asset_subno | |
| KEY | ValidityEndDate | glo_faat_md_tdd | valid_to_date | |
| ValidityStartDate | glo_faat_md_tdd | valid_from_date | ||
| RU_AssetShutdownReason | glo_faat_md_tdd | glo_rus_shd_rsn | ||
| RU_AssetShutdownDocument | glo_faat_md_tdd | glo_rus_shd_docn | ||
| RU_AssetIsPledged | glo_faat_md_tdd | glo_rus_pld_chck | ||
| RU_AssetPledgeAmountInLocCrcy | glo_faat_md_tdd | glo_rus_pld_amnt | ||
| RU_AssetPledgee | glo_faat_md_tdd | glo_rus_pld_rcpn | ||
| RU_AssetPledgeDocumentNumber | glo_faat_md_tdd | glo_rus_docnum | ||
| RU_AssetInventoryCardNumber | glo_faat_md_tdd | glo_rus_icnmb | ||
| RU_AssetOKOF | glo_faat_md_tdd | glo_rus_okof16 | ||
| RU_AssetDepreciationGroup | glo_faat_md_tdd | glo_rus_depgrn | ||
| RU_AssetTaxOfficeCode | glo_faat_md_tdd | glo_rus_tax_offc | ||
| RU_AssetSZPKIsApplied | glo_faat_md_tdd | glo_rus_szpk | ||
| RU_AssetPropertyType | glo_faat_md_tdd | glo_rus_prt_ptyp | ||
| RU_PropertyTaxOKTMO | ||||
| RU_PropertyTaxSpecialCategory | glo_faat_md_tdd | glo_rus_prt_scat | ||
| RU_PropertyTaxRateReduction | glo_faat_md_tdd | glo_rus_prt_tcrt | ||
| RU_PropertyTaxAmtReduction | glo_faat_md_tdd | glo_rus_prt_tcam | ||
| RU_PropertyTaxExemption | glo_faat_md_tdd | glo_rus_prt_tcex | ||
| RU_PropertyTaxObjectNumber | glo_faat_md_tdd | glo_rus_prt_pnum | ||
| RU_PropertyTaxObjectNumberType | glo_faat_md_tdd | glo_rus_prt_pncd | ||
| RU_PrptyCadastrAmtInLoclCrcy | glo_faat_md_tdd | glo_rus_prt_cadv | ||
| RU_AssetCommonPropertyShare | glo_faat_md_tdd | glo_rus_prt_shre | ||
| RU_RoomFloorAreaInSquareMeter | glo_faat_md_tdd | glo_rus_prt_aloc | ||
| RU_RoomBuildFloorAreaInSqmtr | glo_faat_md_tdd | glo_rus_prt_atot | ||
| RU_AssetIsRealEstate | glo_faat_md_tdd | glo_rus_prt_isre | ||
| RU_TransportTaxPowerUnit | glo_faat_md_tdd | glo_rus_txb_type | ||
| RU_TranspTaxBaseQtyInBaseUnit | glo_faat_md_tdd | glo_rus_txb_unit | ||
| RU_TransportTaxExemption | glo_faat_md_tdd | glo_rus_trt_tcex | ||
| RU_TransportTaxReduction | glo_faat_md_tdd | glo_rus_trt_tcrt | ||
| RU_VehicleStolenDate | glo_faat_md_tdd | glo_rus_ttx_stld | ||
| RU_VehicleReturnDate | glo_faat_md_tdd | glo_rus_ttx_rtrd | ||
| RU_VehicleRegistrationDate | glo_faat_md_tdd | glo_rus_ttx_rgsd | ||
| RU_VehicleCancellationDate | glo_faat_md_tdd | glo_rus_ttx_rmvd | ||
| RU_TransportTaxOKTMO | ||||
| RU_VehicleLicensePlateNumber | glo_faat_md_tdd | glo_rus_ttx_lnum | ||
| RU_TranspTxAmtReduction | glo_faat_md_tdd | glo_rus_trt_tcam | ||
| RU_VehTranspTxPriceCategory | glo_faat_md_tdd | glo_rus_ttx_vpca | ||
| RU_VehicleIsRegisteredInPlaton | glo_faat_md_tdd | glo_rus_ttx_plat | ||
| RU_TransptCommonOwnershipShare | glo_faat_md_tdd | glo_rus_trt_shre | ||
| CN_CADEFixedAssetUsage | glo_faat_md_tdd | cade_fxdast_usage | ||
| PL_CustInvcAccountingDocument | glo_faat_md_tdd | glo_pl_cust_invc_acctg_doc | ||
| PL_CustomerInvoiceFiscalYear | glo_faat_md_tdd | glo_pl_cust_invc_fscl_yr | ||
| AssetAuthorizationContext | ||||
| Currency | t001 | waers | ||
| Country | t001 | land1 |
@AbapCatalog: { sqlViewName: 'PGFASSETASSGMT', preserveKey: true, compiler.compareFilter: true }
@AccessControl.authorizationCheck: #NOT_REQUIRED
@VDM.viewType: #BASIC
@VDM.private:true
@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations: true
define view P_GlobAssetAssignment
as select from glofaatmdpndnt
left outer to one join t001 on t001.bukrs = glofaatmdpndnt.bukrs
inner join P_TF_AssetRedesignSwitchStatus( P_SAPClient : $session.client ) on P_TF_AssetRedesignSwitchStatus.IsActive = ''
{
key glofaatmdpndnt.bukrs as CompanyCode,
key glofaatmdpndnt.anln1 as MasterFixedAsset,
key glofaatmdpndnt.anln2 as FixedAsset,
key glofaatmdpndnt.bdatu as ValidityEndDate,
glofaatmdpndnt.adatu as ValidityStartDate,
glofaatmdpndnt.glo_rus_shd_rsn as RU_AssetShutdownReason,
glofaatmdpndnt.glo_rus_shd_docn as RU_AssetShutdownDocument,
glofaatmdpndnt.glo_rus_pld_chck as RU_AssetIsPledged,
glofaatmdpndnt.glo_rus_pld_amnt as RU_AssetPledgeAmountInLocCrcy,
glofaatmdpndnt.glo_rus_pld_rcpn as RU_AssetPledgee,
glofaatmdpndnt.glo_rus_docnum as RU_AssetPledgeDocumentNumber,
glofaatmdpndnt.glo_rus_icnmb as RU_AssetInventoryCardNumber,
glofaatmdpndnt.glo_rus_okof16 as RU_AssetOKOF,
glofaatmdpndnt.glo_rus_depgrn as RU_AssetDepreciationGroup,
glofaatmdpndnt.glo_rus_tax_offc as RU_AssetTaxOfficeCode,
glofaatmdpndnt.glo_rus_szpk as RU_AssetSZPKIsApplied,
glofaatmdpndnt.glo_rus_prt_ptyp as RU_AssetPropertyType,
cast(glofaatmdpndnt.glo_rus_prt_oktm as firu_oktmo_int) as RU_PropertyTaxOKTMO,
glofaatmdpndnt.glo_rus_prt_scat as RU_PropertyTaxSpecialCategory,
glofaatmdpndnt.glo_rus_prt_tcrt as RU_PropertyTaxRateReduction,
glofaatmdpndnt.glo_rus_prt_tcam as RU_PropertyTaxAmtReduction,
glofaatmdpndnt.glo_rus_prt_tcex as RU_PropertyTaxExemption,
glofaatmdpndnt.glo_rus_prt_pnum as RU_PropertyTaxObjectNumber,
glofaatmdpndnt.glo_rus_prt_pncd as RU_PropertyTaxObjectNumberType,
glofaatmdpndnt.glo_rus_prt_cadv as RU_PrptyCadastrAmtInLoclCrcy,
glofaatmdpndnt.glo_rus_prt_shre as RU_AssetCommonPropertyShare,
glofaatmdpndnt.glo_rus_prt_aloc as RU_RoomFloorAreaInSquareMeter,
glofaatmdpndnt.glo_rus_prt_atot as RU_RoomBuildFloorAreaInSqMtr,
glofaatmdpndnt.glo_rus_prt_isre as RU_AssetIsRealEstate,
glofaatmdpndnt.glo_rus_txb_type as RU_TransportTaxPowerUnit,
@Semantics.quantity.unitOfMeasure: 'RU_TransportTaxPowerUnit'
glofaatmdpndnt.glo_rus_txb_unit as RU_TranspTaxBaseQtyInBaseUnit,
glofaatmdpndnt.glo_rus_trt_tcex as RU_TransportTaxExemption,
glofaatmdpndnt.glo_rus_trt_tcrt as RU_TransportTaxReduction,
glofaatmdpndnt.glo_rus_ttx_stld as RU_VehicleStolenDate,
glofaatmdpndnt.glo_rus_ttx_rtrd as RU_VehicleReturnDate,
glofaatmdpndnt.glo_rus_ttx_rgsd as RU_VehicleRegistrationDate,
glofaatmdpndnt.glo_rus_ttx_rmvd as RU_VehicleCancellationDate,
cast(glofaatmdpndnt.glo_rus_ttx_oktm as firu_oktmo_int) as RU_TransportTaxOKTMO,
glofaatmdpndnt.glo_rus_ttx_lnum as RU_VehicleLicensePlateNumber,
glofaatmdpndnt.glo_rus_trt_tcam as RU_TranspTxAmtReduction,
glofaatmdpndnt.glo_rus_ttx_vpca as RU_VehTranspTxPriceCategory,
glofaatmdpndnt.glo_rus_ttx_plat as RU_VehicleIsRegisteredInPlaton,
glofaatmdpndnt.glo_rus_ttx_shre as RU_TransptCommonOwnershipShare,
cast('' as cade_fxdast_usage) as CN_CADEFixedAssetUsage,
cast('' as glo_pl_cust_invc_acctg_doc) as PL_CustInvcAccountingDocument,
cast('' as glo_pl_cust_invc_fscl_yr) as PL_CustomerInvoiceFiscalYear,
cast('CLASSIC' as faa_authcntxt) as AssetAuthorizationContext,
@Semantics.amount.currencyCode: 'Currency'
t001.waers as Currency,
t001.land1 as Country
}
union all select from glo_faat_md_tdd
left outer to one join t001 on t001.bukrs = glo_faat_md_tdd.comp_code
inner join P_TF_AssetRedesignSwitchStatus( P_SAPClient : $session.client ) on P_TF_AssetRedesignSwitchStatus.IsActive = 'X'
{
key glo_faat_md_tdd.comp_code as CompanyCode,
key glo_faat_md_tdd.asset_no as MasterFixedAsset,
key glo_faat_md_tdd.asset_subno as FixedAsset,
key glo_faat_md_tdd.valid_to_date as ValidityEndDate,
glo_faat_md_tdd.valid_from_date as ValidityStartDate,
glo_faat_md_tdd.glo_rus_shd_rsn as RU_AssetShutdownReason,
glo_faat_md_tdd.glo_rus_shd_docn as RU_AssetShutdownDocument,
glo_faat_md_tdd.glo_rus_pld_chck as RU_AssetIsPledged,
glo_faat_md_tdd.glo_rus_pld_amnt as RU_AssetPledgeAmountInLocCrcy,
glo_faat_md_tdd.glo_rus_pld_rcpn as RU_AssetPledgee,
glo_faat_md_tdd.glo_rus_docnum as RU_AssetPledgeDocumentNumber,
glo_faat_md_tdd.glo_rus_icnmb as RU_AssetInventoryCardNumber,
glo_faat_md_tdd.glo_rus_okof16 as RU_AssetOKOF,
glo_faat_md_tdd.glo_rus_depgrn as RU_AssetDepreciationGroup,
glo_faat_md_tdd.glo_rus_tax_offc as RU_AssetTaxOfficeCode,
glo_faat_md_tdd.glo_rus_szpk as RU_AssetSZPKIsApplied,
glo_faat_md_tdd.glo_rus_prt_ptyp as RU_AssetPropertyType,
cast(glo_faat_md_tdd.glo_rus_prt_oktm as firu_oktmo_int) as RU_PropertyTaxOKTMO,
glo_faat_md_tdd.glo_rus_prt_scat as RU_PropertyTaxSpecialCategory,
glo_faat_md_tdd.glo_rus_prt_tcrt as RU_PropertyTaxRateReduction,
glo_faat_md_tdd.glo_rus_prt_tcam as RU_PropertyTaxAmtReduction,
glo_faat_md_tdd.glo_rus_prt_tcex as RU_PropertyTaxExemption,
glo_faat_md_tdd.glo_rus_prt_pnum as RU_PropertyTaxObjectNumber,
glo_faat_md_tdd.glo_rus_prt_pncd as RU_PropertyTaxObjectNumberType,
glo_faat_md_tdd.glo_rus_prt_cadv as RU_PrptyCadastrAmtInLoclCrcy,
glo_faat_md_tdd.glo_rus_prt_shre as RU_AssetCommonPropertyShare,
glo_faat_md_tdd.glo_rus_prt_aloc as RU_RoomFloorAreaInSquareMeter,
glo_faat_md_tdd.glo_rus_prt_atot as RU_RoomBuildFloorAreaInSqmtr,
glo_faat_md_tdd.glo_rus_prt_isre as RU_AssetIsRealEstate,
glo_faat_md_tdd.glo_rus_txb_type as RU_TransportTaxPowerUnit,
@Semantics.quantity.unitOfMeasure: 'RU_TransportTaxPowerUnit'
glo_faat_md_tdd.glo_rus_txb_unit as RU_TranspTaxBaseQtyInBaseUnit,
glo_faat_md_tdd.glo_rus_trt_tcex as RU_TransportTaxExemption,
glo_faat_md_tdd.glo_rus_trt_tcrt as RU_TransportTaxReduction,
glo_faat_md_tdd.glo_rus_ttx_stld as RU_VehicleStolenDate,
glo_faat_md_tdd.glo_rus_ttx_rtrd as RU_VehicleReturnDate,
glo_faat_md_tdd.glo_rus_ttx_rgsd as RU_VehicleRegistrationDate,
glo_faat_md_tdd.glo_rus_ttx_rmvd as RU_VehicleCancellationDate,
cast(glo_faat_md_tdd.glo_rus_ttx_oktm as firu_oktmo_int) as RU_TransportTaxOKTMO,
glo_faat_md_tdd.glo_rus_ttx_lnum as RU_VehicleLicensePlateNumber,
glo_faat_md_tdd.glo_rus_trt_tcam as RU_TranspTxAmtReduction,
glo_faat_md_tdd.glo_rus_ttx_vpca as RU_VehTranspTxPriceCategory,
glo_faat_md_tdd.glo_rus_ttx_plat as RU_VehicleIsRegisteredInPlaton,
glo_faat_md_tdd.glo_rus_trt_shre as RU_TransptCommonOwnershipShare,
glo_faat_md_tdd.cade_fxdast_usage as CN_CADEFixedAssetUsage,
glo_faat_md_tdd.glo_pl_cust_invc_acctg_doc as PL_CustInvcAccountingDocument,
glo_faat_md_tdd.glo_pl_cust_invc_fscl_yr as PL_CustomerInvoiceFiscalYear,
cast('NEW' as faa_authcntxt) as AssetAuthorizationContext,
@Semantics.amount.currencyCode: 'Currency'
t001.waers as Currency,
t001.land1 as Country
}
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