PSM_CE_Or_OP

DDL: PSM_CE_OR_OP SQL: PSMCEOROP Type: view

Check if system is OnCloud or OnPremise

PSM_CE_Or_OP is a CDS View that provides data about "Check if system is OnCloud or OnPremise" in SAP S/4HANA. It reads from 4 data sources (sfw_active_b2, sfw_active_bfunc, sfw_system, sfw_system) and exposes 4 fields with key fields mandt, bfunction, bfunction, version.

Data Sources (4)

SourceAliasJoin Type
sfw_active_b2 sfw_active_b2 from
sfw_active_bfunc sfw_active_bfunc union
sfw_system sfw_system left_outer
sfw_system sfw_system inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName PSMCEOROP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Check if system is OnCloud or OnPremise view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #C view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY mandt
KEY bfunction bfunction Business Function
KEY bfunction bfunction Business Function
KEY version version XML Vers.

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 PSM_CE_Or_OP.
-- 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: PSMCEOROP

CREATE VIEW PSM_CE_Or_OP AS
SELECT
  $session.client AS mandt,
  bfunction,
  version
FROM sfw_active_b2
LEFT OUTER JOIN sfw_system ON /* join condition not captured in parsed metadata */
INNER JOIN sfw_system ON /* join condition not captured in parsed metadata */
-- UNION with additional select branch(es): sfw_active_bfunc
;