FAA_CFG_CMP

DDL: FAA_CFG_CMP SQL: FAAV_CFG_CMP Type: view Package: FINS_FAA_CFG_DB

Configuration of CompCodes in Asset Accounting

FAA_CFG_CMP is a CDS View that provides data about "Configuration of CompCodes in Asset Accounting" in SAP S/4HANA. It reads from 5 data sources (faat_cmp, faac_cmp0, faa_cmp_ldt, faac_cmp0, t001) and exposes 7 fields with key field comp_code. Part of development package FINS_FAA_CFG_DB.

Data Sources (5)

SourceAliasJoin Type
faat_cmp cmp from
faac_cmp0 cmp_generic left_outer
faa_cmp_ldt cmp_ldt left_outer
faac_cmp0 cmp_specific left_outer
t001 t001 left_outer

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName FAAV_CFG_CMP view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_ALLOWED view
AbapCatalog.buffering.status #ACTIVE view
AbapCatalog.buffering.type #GENERIC view
AbapCatalog.buffering.numberOfKeyFields 1 view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
EndUserText.label Configuration of CompCodes in Asset Accounting view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY comp_code t001 bukrs Value
country t001 land1 Trip Ctry/Reg
status faat_cmp status Workflow Status
sdm_status faat_cmp sdm_status status value done
ldt_date faa_cmp_ldt ldt_date Transfer Date
ldt_status faa_cmp_ldt ldt_status LDT Status
ldt_doc_type faa_cmp_ldt ldt_doc_type Document Type

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_CFG_CMP.
-- 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_CFG_CMP

CREATE VIEW FAA_CFG_CMP AS
SELECT
  t001.bukrs AS comp_code,
  t001.land1 AS country,
  cmp.status AS status,
  cmp.sdm_status AS sdm_status,
  cmp_ldt.ldt_date AS ldt_date,
  cmp_ldt.ldt_status AS ldt_status,
  cmp_ldt.ldt_doc_type AS ldt_doc_type
FROM faat_cmp AS cmp
LEFT OUTER JOIN t001 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN faa_cmp_ldt AS cmp_ldt ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN faac_cmp0 AS cmp_generic ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN faac_cmp0 AS cmp_specific ON /* join condition not captured in parsed metadata */
;