P_FixedAssetForLedger
P_FixedAssetForLedger is a Basic CDS View in SAP S/4HANA. It reads from 5 data sources (anla, faat_md_ld, finsc_ledger, P_TF_AssetRedesignSwitchStatus, P_TF_AssetRedesignSwitchStatus) and exposes 19 fields with key fields CompanyCode, MasterFixedAsset, FixedAsset, Ledger, MasterFixedAsset.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| anla | anla | from |
| faat_md_ld | faat_md_ld | union_all |
| finsc_ledger | finsc_ledger | inner |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
| P_TF_AssetRedesignSwitchStatus | P_TF_AssetRedesignSwitchStatus | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIASSETFORLDGR | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | anla | bukrs | Value |
| KEY | MasterFixedAsset | anla | anln1 | Asset |
| KEY | FixedAsset | anla | anln2 | Sub-number |
| KEY | Ledger | finsc_ledger | rldnr | Ledger |
| AssetCapitalizationDate | anla | aktiv | Capitalized On | |
| AssetDeactivationDate | anla | deakt | Deact.Date | |
| AcquisitionValueDate | anla | zugdt | First Acq. on | |
| FirstAcquisitionFiscalYear | anla | zujhr | Acquisition Yr | |
| FirstAcquisitionFiscalPeriod | anla | zuper | First Acq. Per. | |
| comp_codeasCompanyCode | ||||
| KEY | MasterFixedAsset | faat_md_ld | asset_no | Asset |
| KEY | FixedAsset | faat_md_ld | asset_subno | Sub-number |
| KEY | Ledger | faat_md_ld | ledger | Ledger |
| AssetCapitalizationDate | faat_md_ld | capitalization_date | Capitalized On | |
| AssetDeactivationDate | faat_md_ld | deactivation_date | Deact.Date | |
| AcquisitionValueDate | faat_md_ld | acquisition_date | First Acq. on | |
| FirstAcquisitionFiscalYear | faat_md_ld | acquisition_year | Acquisition Yr | |
| FirstAcquisitionFiscalPeriod | faat_md_ld | acquisition_period | First Acq. Per. | |
| LastRevaluationDate | faat_md_ld | last_reval_date | Last Reval. |
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 P_FixedAssetForLedger.
-- 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.
CREATE VIEW P_FixedAssetForLedger AS
SELECT
anla.bukrs AS CompanyCode,
anla.anln1 AS MasterFixedAsset,
anla.anln2 AS FixedAsset,
finsc_ledger.rldnr AS Ledger,
anla.aktiv AS AssetCapitalizationDate,
anla.deakt AS AssetDeactivationDate,
anla.zugdt AS AcquisitionValueDate,
anla.zujhr AS FirstAcquisitionFiscalYear,
anla.zuper AS FirstAcquisitionFiscalPeriod,
anla.lrvdat as LastRevaluationDate AS comp_codeasCompanyCode,
faat_md_ld.last_reval_date AS LastRevaluationDate
FROM anla
INNER JOIN finsc_ledger ON /* join condition not captured in parsed metadata */
INNER JOIN P_TF_AssetRedesignSwitchStatus ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faat_md_ld
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA