LAW3_UI_USMM_ENGINE_CONS_C

DDL: LAW3_UI_USMM_ENGINE_CONS_C SQL: LAW3UIENGCONC Type: view Package: SLAW3

LAW3.0 Info System:EngineConsolidated

LAW3_UI_USMM_ENGINE_CONS_C is a CDS View that provides data about "LAW3.0 Info System:EngineConsolidated" in SAP S/4HANA. It reads from 3 data sources (LAW3_UI_USMM_ENGINE_CONS_I, LAW3_UI_APPLICATIONS_I, LAW3_UI_APPLICATIONS_UNITS_I) and exposes 9 fields with key fields genericid, unit. Part of development package SLAW3.

Data Sources (3)

SourceAliasJoin Type
LAW3_UI_USMM_ENGINE_CONS_I Enginecon from
LAW3_UI_APPLICATIONS_I LAW3_UI_APPLICATIONS_I left_outer
LAW3_UI_APPLICATIONS_UNITS_I LAW3_UI_APPLICATIONS_UNITS_I left_outer

Parameters (2)

NameTypeDefault
p_datasetguid guid
p_language sylangu

Annotations (4)

NameValueLevelField
AbapCatalog.sqlViewName LAW3UIENGCONC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label LAW3.0 Info System:EngineConsolidated view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY genericid LAW3_UI_USMM_ENGINE_CONS_I genericid Generic ID
KEY unit LAW3_UI_USMM_ENGINE_CONS_I unit UoM
Application LAW3_UI_USMM_ENGINE_CONS_I appname
AppUnit LAW3_UI_USMM_ENGINE_CONS_I appunit
unitnameelseUnknownUnitendasAppUnitName
startdate LAW3_UI_USMM_ENGINE_CONS_I perstart Start Date
enddate LAW3_UI_USMM_ENGINE_CONS_I perend End Date
currency LAW3_UI_USMM_ENGINE_CONS_I currency Valuation Crcy
counter LAW3_UI_USMM_ENGINE_CONS_I counter Version

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 LAW3_UI_USMM_ENGINE_CONS_C.
-- 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: LAW3UIENGCONC
-- Parameters: p_datasetguid : guid, p_language : sylangu

CREATE VIEW LAW3_UI_USMM_ENGINE_CONS_C AS
SELECT
  Enginecon.genericid AS genericid,
  Enginecon.unit AS unit,
  Enginecon.appname AS Application,
  Enginecon.appunit AS AppUnit,
  case when Applunit.unitname <> '' then Applunit.unitname else 'Unknown Unit' end as AppUnitName AS unitnameelseUnknownUnitendasAppUnitName,
  Enginecon.perstart AS startdate,
  Enginecon.perend AS enddate,
  Enginecon.currency AS currency,
  Enginecon.counter AS counter
FROM LAW3_UI_USMM_ENGINE_CONS_I AS Enginecon
LEFT OUTER JOIN LAW3_UI_APPLICATIONS_I ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN LAW3_UI_APPLICATIONS_UNITS_I ON /* join condition not captured in parsed metadata */
;