I_CaseAttribute

DDL: I_CASEATTRIBUTE SQL: ICASEATTRIBUTE Type: view BASIC

Case Attribute

I_CaseAttribute (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Sales

I_CaseAttribute is a Basic CDS View that provides data about "Case Attribute" in SAP S/4HANA. It reads from 1 data source (scmg_t_case_attr) and exposes 35 fields with key field CaseUniqueID. It has 10 associations to related views.

SAP API Hub

StateC1
Line of BusinessSales
Application ComponentBC-SRV-CM
PackageSales for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
scmg_t_case_attr scmg_t_case_attr from

Associations (10)

CardinalityTargetAliasCondition
[0..1] I_Caseentity _CaseEntity $projection.CaseUniqueID = _CaseEntity.CaseUniqueID
[0..1] I_Casetypes _CaseTypes $projection.CaseType = _CaseTypes.CaseType
[0..1] I_CaseEscalationReason _Escalation $projection.CaseEscalationReason = _Escalation.CaseEscalationReason
[0..1] I_CaseCategory _Catego $projection.CaseCategory = _Catego.CaseCategory and $projection.CaseType = _Catego.CaseType
[0..1] I_CasePriority _Priority $projection.CasePriority = _Priority.CasePriority
[0..1] I_Caseauthorizationlevel _AuthLevel $projection.CaseAuthorizationLevel = _AuthLevel.CaseAuthorizationLevel
[0..1] I_CaseStatusProfile _StatProfile $projection.CaseStatusProfile = _StatProfile.CaseStatusProfile
[0..1] I_Caseindividualstatus _Individual $projection.CaseStatus = _Individual.CaseStatus and $projection.CaseStatusProfile = _Individual.CaseStatusProfile
[0..1] I_CaseSystemStatus _CaseSystemStatus $projection.CaseSystemStatus = _CaseSystemStatus.CaseSystemStatus
[0..1] I_CaseReasons _Reasons $projection.CaseReason = _Reasons.CaseReason and $projection.CaseType = _Reasons.CaseType

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName ICASEATTRIBUTE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Case Attribute view
VDM.viewType #BASIC view
ObjectModel.representativeKey CaseUniqueID view
AbapCatalog.preserveKey true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (35)

KeyFieldSource TableSource FieldDescription
KEY CaseUniqueID scmg_t_case_attr case_guid Technical Case Key (Case GUID)
CaseType scmg_t_case_attr case_type Usage Type
CaseID scmg_t_case_attr ext_key External key
CaseExternalReference scmg_t_case_attr ext_ref External Reference
CaseCreatedBy scmg_t_case_attr created_by Version Created By
CaseCreatedOn scmg_t_case_attr create_time Created On
CaseLastChangedBy scmg_t_case_attr changed_by Last Changed By
CaseLastChangedOn scmg_t_case_attr change_time Last Changed On
CaseClosedBy scmg_t_case_attr closed_by Closed by User
CaseClosedTime scmg_t_case_attr closing_time Closed at Time
CasePlannedCloseDate scmg_t_case_attr plan_end_date Planned Close Date
CaseProcessor scmg_t_case_attr processor User Name
CaseResponsible scmg_t_case_attr responsible Person Responsible
CaseTitle scmg_t_case_attr case_title Case Title
CaseEscalationReason scmg_t_case_attr escal_reason Reason for Escalation
CaseCategory scmg_t_case_attr category Violation Category
CasePriority scmg_t_case_attr priority Workflow priority
CaseAuthorizationLevel scmg_t_case_attr secure_level Authorization level
CaseStatusProfile scmg_t_case_attr profile_id Case: Status Profile
CaseStatus scmg_t_case_attr stat_orderno Case: Status
CaseSystemStatus scmg_t_case_attr stat_para Case: System Status
CaseStatusObjectNumber scmg_t_case_attr stat_objnr Case: Status Object Number (GUID), (Central Status Managmnt)
CaseSystemStatusName scmg_t_case_attr stat_line Case: System Status Description (Central Status Management)
CaseUserStatusName scmg_t_case_attr stat_user_line Case: User Status Description (Central Status Management)
CaseReason scmg_t_case_attr reason_code Return/Change Reason
_CaseTypes _CaseTypes
_Priority _Priority
_StatProfile _StatProfile
_Individual _Individual
_CaseSystemStatus _CaseSystemStatus
_Catego _Catego
_AuthLevel _AuthLevel
_Escalation _Escalation
_CaseEntity _CaseEntity
_Reasons _Reasons

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_CaseAttribute.
-- 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: ICASEATTRIBUTE

CREATE VIEW I_CaseAttribute AS
SELECT
  scmg_t_case_attr.case_guid AS CaseUniqueID,
  scmg_t_case_attr.case_type AS CaseType,
  scmg_t_case_attr.ext_key AS CaseID,
  scmg_t_case_attr.ext_ref AS CaseExternalReference,
  scmg_t_case_attr.created_by AS CaseCreatedBy,
  scmg_t_case_attr.create_time AS CaseCreatedOn,
  scmg_t_case_attr.changed_by AS CaseLastChangedBy,
  scmg_t_case_attr.change_time AS CaseLastChangedOn,
  scmg_t_case_attr.closed_by AS CaseClosedBy,
  scmg_t_case_attr.closing_time AS CaseClosedTime,
  scmg_t_case_attr.plan_end_date AS CasePlannedCloseDate,
  scmg_t_case_attr.processor AS CaseProcessor,
  scmg_t_case_attr.responsible AS CaseResponsible,
  scmg_t_case_attr.case_title AS CaseTitle,
  scmg_t_case_attr.escal_reason AS CaseEscalationReason,
  scmg_t_case_attr.category AS CaseCategory,
  scmg_t_case_attr.priority AS CasePriority,
  scmg_t_case_attr.secure_level AS CaseAuthorizationLevel,
  scmg_t_case_attr.profile_id AS CaseStatusProfile,
  scmg_t_case_attr.stat_orderno AS CaseStatus,
  scmg_t_case_attr.stat_para AS CaseSystemStatus,
  scmg_t_case_attr.stat_objnr AS CaseStatusObjectNumber,
  scmg_t_case_attr.stat_line AS CaseSystemStatusName,
  scmg_t_case_attr.stat_user_line AS CaseUserStatusName,
  scmg_t_case_attr.reason_code AS CaseReason
FROM scmg_t_case_attr
LEFT OUTER JOIN I_Caseentity AS _CaseEntity ON CaseUniqueID = _CaseEntity.CaseUniqueID  -- association [0..1]
LEFT OUTER JOIN I_Casetypes AS _CaseTypes ON CaseType = _CaseTypes.CaseType  -- association [0..1]
LEFT OUTER JOIN I_CaseEscalationReason AS _Escalation ON CaseEscalationReason = _Escalation.CaseEscalationReason  -- association [0..1]
LEFT OUTER JOIN I_CaseCategory AS _Catego ON CaseCategory = _Catego.CaseCategory AND CaseType = _Catego.CaseType  -- association [0..1]
LEFT OUTER JOIN I_CasePriority AS _Priority ON CasePriority = _Priority.CasePriority  -- association [0..1]
LEFT OUTER JOIN I_Caseauthorizationlevel AS _AuthLevel ON CaseAuthorizationLevel = _AuthLevel.CaseAuthorizationLevel  -- association [0..1]
LEFT OUTER JOIN I_CaseStatusProfile AS _StatProfile ON CaseStatusProfile = _StatProfile.CaseStatusProfile  -- association [0..1]
LEFT OUTER JOIN I_Caseindividualstatus AS _Individual ON CaseStatus = _Individual.CaseStatus AND CaseStatusProfile = _Individual.CaseStatusProfile  -- association [0..1]
LEFT OUTER JOIN I_CaseSystemStatus AS _CaseSystemStatus ON CaseSystemStatus = _CaseSystemStatus.CaseSystemStatus  -- association [0..1]
LEFT OUTER JOIN I_CaseReasons AS _Reasons ON CaseReason = _Reasons.CaseReason AND CaseType = _Reasons.CaseType  -- association [0..1]
;