I_CaseAttribute
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
| State | C1 |
|---|---|
| Line of Business | Sales |
| Application Component | BC-SRV-CM |
| Package | Sales for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| scmg_t_case_attr | scmg_t_case_attr | from |
Associations (10)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA