faa_comp_code_nriv
Asset Company Codes with Number Range SubObject
faa_comp_code_nriv is a CDS View that provides data about "Asset Company Codes with Number Range SubObject" in SAP S/4HANA. It reads from 4 data sources (faav_comp_code_n, faac_cmp0, faac_cmp0, faav_comp_code_o) and exposes 3 fields with key fields client, comp_code, comp_code.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| faav_comp_code_n | cmp_faa | from |
| faac_cmp0 | cmp_generic | left_outer |
| faac_cmp0 | cmp_nriv | left_outer |
| faav_comp_code_o | t093c | union_all |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | FAAV_BUKRSN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| EndUserText.label | Asset Company Codes with Number Range SubObject | view |
Fields (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | client | faav_comp_code_n | client | Workflow definition: Client |
| KEY | comp_code | faav_comp_code_n | comp_code | Procuring Comp. Cde |
| KEY | comp_code | faav_comp_code_o | comp_code | Procuring Comp. Cde |
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_comp_code_nriv.
-- 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: FAAV_BUKRSN
CREATE VIEW faa_comp_code_nriv AS
SELECT
cmp_faa.client AS client,
cmp_faa.comp_code AS comp_code
FROM faav_comp_code_n AS cmp_faa
LEFT OUTER JOIN faac_cmp0 AS cmp_nriv ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN faac_cmp0 AS cmp_generic ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): faav_comp_code_o
;
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