ICA_COMPANY_PROFITCENTER

DDL: ICA_COMPANY_PROFITCENTER SQL: ICACOMP_PC Type: view

ICA_COMPANY_PROFITCENTER is a CDS View in SAP S/4HANA. It reads from 3 data sources (cepc_bukrs, cepct, cepct) and exposes 9 fields.

Data Sources (3)

SourceAliasJoin Type
cepc_bukrs B left_outer
cepct E left_outer
cepct E left_outer

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName ICACOMP_PC view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.sizeCategory #M view

Fields (9)

KeyFieldSource TableSource FieldDescription
prctr A prctr Profit Centers
rcomp D rcomp Trading Partner
ltext1endasunitName
ltextendasprctr_unitName
prctr Profit Centers
rcomp D rcomp Trading Partner
ltext1endasunitName
ltextendasprctr_unitName
rcomp_unitName D name1 PA text

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 ICA_COMPANY_PROFITCENTER.
-- 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: ICACOMP_PC

CREATE VIEW ICA_COMPANY_PROFITCENTER AS
SELECT
  A.prctr AS prctr,
  D.rcomp AS rcomp,
  case when E.ltext = '' then concat_with_space(concat(D.name1, ' /'), E.ktext, 1) else concat_with_space(concat(D.name1, ' /'), E.ltext, 1) end as unitName AS ltext1endasunitName,
  case when E.ltext = '' then E.ktext else E.ltext end as prctr_unitName AS ltextendasprctr_unitName,
  D.name1 AS rcomp_unitName
LEFT OUTER JOIN cepct AS E ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cepc_bukrs AS B ON /* join condition not captured in parsed metadata */
;