C_JournalCaseHistory
Journal Case History
C_JournalCaseHistory is a Consumption CDS View that provides data about "Journal Case History" in SAP S/4HANA. It reads from 1 data source (R_JournalCaseHistory) and exposes 21 fields with key fields JournalCaseUUID, JournalCaseObjectUUID, JournalCase, ChangeDocument, DatabaseTable.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_JournalCaseHistory | _History | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Journal Case History | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | JournalCaseUUID | JournalCaseUUID | UUID | |
| KEY | JournalCaseObjectUUID | JournalCaseObjectUUID | ||
| KEY | JournalCase | JournalCase | Case ID | |
| KEY | ChangeDocument | ChangeDocument | Document Number | |
| KEY | DatabaseTable | DatabaseTable | Table Name | |
| KEY | ChangeDocTableKey | ChangeDocTableKey | ||
| KEY | ChangeDocDatabaseTableField | ChangeDocDatabaseTableField | ||
| JournalCaseCategory | JournalCaseCategory | Category Code | ||
| JournalCaseSubcategory | JournalCaseSubcategory | Subcategory Code | ||
| CnsldtnLfcycOperationTypeText | CnsldtnLfcycOperationTypeText | |||
| ChangedBy | ChangedBy | User Name | ||
| ChangedByUserName | ||||
| LastChangeTime | R_JournalCaseHistory | LastChangeTime | Time changed | |
| OldFieldContent | R_JournalCaseHistory | OldFieldContent | ||
| NewFieldContent | R_JournalCaseHistory | NewFieldContent | ||
| LastChangeDate | R_JournalCaseHistory | LastChangeDate | Time Stamp | |
| LastChangeDateTime | R_JournalCaseHistory | LastChangeDateTime | Timestamp | |
| ChangeDocDatabaseTblFieldText | ||||
| ChangeDocOldFieldValueText | ||||
| ChangeDocNewFieldValueText | ||||
| _ChangedByContactCard | _ChangedByContactCard |
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 C_JournalCaseHistory.
-- 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.
CREATE VIEW C_JournalCaseHistory AS
SELECT
JournalCaseUUID,
JournalCaseObjectUUID,
JournalCase,
ChangeDocument,
DatabaseTable,
ChangeDocTableKey,
ChangeDocDatabaseTableField,
JournalCaseCategory,
JournalCaseSubcategory,
CnsldtnLfcycOperationTypeText,
ChangedBy,
_History._ChangedByContactCard.FullName AS ChangedByUserName,
_History.LastChangeTime AS LastChangeTime,
_History.OldFieldContent AS OldFieldContent,
_History.NewFieldContent AS NewFieldContent,
_History.LastChangeDate AS LastChangeDate,
_History.LastChangeDateTime AS LastChangeDateTime,
cast( '' as abap.char( 30 ) ) AS ChangeDocDatabaseTblFieldText,
cast( '' as fac_mje_fieldval_old ) AS ChangeDocOldFieldValueText,
cast( '' as fac_mje_fieldval_new ) AS ChangeDocNewFieldValueText
FROM R_JournalCaseHistory AS _History
;
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