FAA_ASSETS4
Unit Test View for Asset
FAA_ASSETS4 is a CDS View that provides data about "Unit Test View for Asset" in SAP S/4HANA. It reads from 3 data sources (faat_md, faat_md_root, t001) and exposes 18 fields with key fields companycode, fixedasset.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| faat_md | main | left_outer |
| faat_md_root | root | from |
| t001 | t001 | left_outer |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAAVASSETS4 | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Unit Test View for Asset | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MASTER | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | companycode | faat_md_root | comp_code | Procuring Comp. Cde |
| KEY | fixedasset | faat_md_root | asset_subno | Sub-number |
| assetclass | faat_md | asset_class | Asset Class | |
| quantity | 0 | |||
| baseunit | faat_md | base_unit | Material Base Unit | |
| inventory | faat_md | inventory_number | Inventory No. | |
| currency | t001 | waers | Transaction Currency | |
| hashistory | faat_md_root | is_historical_managed | Manage Historically | |
| areasizeunit | faat_md | surface_area_unit | Area Unit | |
| supplier | faat_md | supplier_no | Vendor | |
| CreationDate | ||||
| isgroupasset | ||||
| ismainasset | faat_md_root | is_main_asset | Main Asset | |
| municipality | faat_md | land_municipality | Municipality | |
| landplot | faat_md | land_plot_number | Plot No. | |
| areasize | faat_md | surface_area | Area | |
| leasetype | faat_md | lease_type | Type | |
| legacyasset | faat_md | legacy_asset_no | Legacy Main No. |
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 FAA_ASSETS4.
-- 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: FAAVASSETS4
CREATE VIEW FAA_ASSETS4 AS
SELECT
root.comp_code AS companycode,
root.asset_subno AS fixedasset,
main.asset_class AS assetclass,
0 AS quantity,
main.base_unit AS baseunit,
main.inventory_number AS inventory,
t001.waers AS currency,
root.is_historical_managed AS hashistory,
main.surface_area_unit AS areasizeunit,
main.supplier_no AS supplier,
cast( cast(substring( cast(main.creation_datetime as abap.char(30)) , 1 , 8) as abap.dats(8)) as erdat ) AS CreationDate,
'' AS isgroupasset,
root.is_main_asset AS ismainasset,
main.land_municipality AS municipality,
main.land_plot_number AS landplot,
main.surface_area AS areasize,
main.lease_type AS leasetype,
main.legacy_asset_no AS legacyasset
FROM faat_md_root AS root
LEFT OUTER JOIN faat_md AS main ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN t001 ON /* join condition not captured in parsed metadata */
;
Learn More
- CDS View Annotations — A Complete Guide
- 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 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