I_InvgCsMCase

DDL: I_INVGCSMCASE SQL: IINVGCSMCASE Type: view BASIC

Basic View For ICM Case

I_InvgCsMCase is a Basic CDS View that provides data about "Basic View For ICM Case" in SAP S/4HANA. It reads from 3 data sources (scmg_t_case_attr, crmd_cmg_case_at, crmd_icm_cmg_att) and exposes 15 fields with key field InvgCsMCaseID.

Data Sources (3)

SourceAliasJoin Type
scmg_t_case_attr _cmg from
crmd_cmg_case_at _CmgAttributes inner
crmd_icm_cmg_att _icmcmg inner

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IINVGCSMCASE view
VDM.viewType #BASIC view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Basic View For ICM Case view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY InvgCsMCaseID ext_key External key
InvgCsMCaseUUID scmg_t_case_attr case_guid UUID
InvgCsMCaseType case_type Usage Type
InvgCsMCaseTitle case_title Title
InvgCsMCaseStatusCode stat_orderno Status
InvgCsMStatPara stat_para System Status
InvgCsMPriority priority Workflow priority
InvgCsMEscalationReason escal_reason Escalation Reason
InvgCsMSecurityLevel crmd_icm_cmg_att security_level Sec. Lvl.
InvgCsMIsHidden crmd_icm_cmg_att hidden_flag Hidden
InvgCsMCategoryDesc crmd_cmg_case_at category_text Category Description
InvgCsMCaseStartCrimeDateTime
InvgCsMCaseEndCrimeDateTime
InvgCsMCaseStartDateTime
InvgCsMCaseEndDateTime

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 I_InvgCsMCase.
-- 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: IINVGCSMCASE

CREATE VIEW I_InvgCsMCase AS
SELECT
  ext_key AS InvgCsMCaseID,
  _cmg.case_guid AS InvgCsMCaseUUID,
  case_type AS InvgCsMCaseType,
  case_title AS InvgCsMCaseTitle,
  stat_orderno AS InvgCsMCaseStatusCode,
  stat_para AS InvgCsMStatPara,
  priority AS InvgCsMPriority,
  escal_reason AS InvgCsMEscalationReason,
  _icmcmg.security_level AS InvgCsMSecurityLevel,
  _icmcmg.hidden_flag AS InvgCsMIsHidden,
  _CmgAttributes.category_text AS InvgCsMCategoryDesc,
  cast ( _icmcmg.start_crime as crms4_icm_timestamp preserving type ) AS InvgCsMCaseStartCrimeDateTime,
  cast ( _icmcmg.end_crime as crms4_icm_timestamp preserving type ) AS InvgCsMCaseEndCrimeDateTime,
  cast ( _icmcmg.start_date as crms4_icm_timestamp preserving type ) AS InvgCsMCaseStartDateTime,
  cast ( _icmcmg.end_date as crms4_icm_timestamp preserving type ) AS InvgCsMCaseEndDateTime
FROM scmg_t_case_attr AS _cmg
INNER JOIN crmd_icm_cmg_att AS _icmcmg ON /* join condition not captured in parsed metadata */
INNER JOIN crmd_cmg_case_at AS _CmgAttributes ON /* join condition not captured in parsed metadata */
;