faa_comp_code_nriv

DDL: FAA_COMP_CODE_NRIV SQL: FAAV_BUKRSN Type: view

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)

SourceAliasJoin 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)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
;