I_JournalCaseProposal

DDL: I_JOURNALCASEPROPOSAL Type: view_entity BASIC

Case Journal Header Basic

I_JournalCaseProposal is a Basic CDS View that provides data about "Case Journal Header Basic" in SAP S/4HANA. It reads from 1 data source (finiju_casejehdr) and exposes 23 fields with key field JournalCaseProposalUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
finiju_casejehdr finiju_casejehdr from

Associations (5)

CardinalityTargetAliasCondition
[0..*] I_AccountingDocumentTypeText _AccountingDocumentTypeText $projection.AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType
[0..*] I_BusinessAreaText _PartnerBusinessAreaText $projection.PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea
[0..*] I_LedgerGroupText _LedgerGroupText $projection.LedgerGroup = _LedgerGroupText.LedgerGroup
[0..1] I_CompanyCode _CompanyCodeText $projection.CompanyCode = _CompanyCodeText.CompanyCode
[0..1] I_JournalCase _JournalCase $projection.JournalCaseUUID = _JournalCase.JournalCaseUUID

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Case Journal Header Basic view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #BASIC view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY JournalCaseProposalUUID jehdr_uuid UUID
JournalCaseUUID case_uuid UUID
FiscalYear gjahr Settlement Year
JournalCaseProposal iju_jeid Journal Proposal ID
CompanyCode bukrs Value
AccountingDocumentType blart Rep. rec. doc. type
DocumentDate bldat Journal Entry Date
PostingDate budat Posting Date
FiscalPeriod monat Period Block
AccountingDocumentHeaderText bktxt Header Text
TransactionCurrency waers Transaction Currency
LedgerGroup ldgrp Target Ledger Group
ExchangeRateDate wwert Translatn Date
DocumentReferenceID xblnr Reference
TaxIsCalculatedAutomatically xmwst Calculate Tax
SenderAccountingDocument belnr SD Document
AbsoluteExchangeRate
PartnerBusinessArea pargb Trdg Part.BA
AccountingDocumentTypeName
BusinessAreaName
LedgerGroupName
CompanyCodeName _CompanyCodeText CompanyCodeName Company Name
_JournalCase _JournalCase

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_JournalCaseProposal.
-- 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 I_JournalCaseProposal AS
SELECT
  jehdr_uuid AS JournalCaseProposalUUID,
  case_uuid AS JournalCaseUUID,
  gjahr AS FiscalYear,
  iju_jeid AS JournalCaseProposal,
  bukrs AS CompanyCode,
  blart AS AccountingDocumentType,
  bldat AS DocumentDate,
  budat AS PostingDate,
  monat AS FiscalPeriod,
  bktxt AS AccountingDocumentHeaderText,
  waers AS TransactionCurrency,
  ldgrp AS LedgerGroup,
  wwert AS ExchangeRateDate,
  xblnr AS DocumentReferenceID,
  xmwst AS TaxIsCalculatedAutomatically,
  belnr AS SenderAccountingDocument,
  cast(abs(kursf) as fis_absolute_exchangerate preserving type) AS AbsoluteExchangeRate,
  pargb AS PartnerBusinessArea,
  _AccountingDocumentTypeText[1: Language=$session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  _PartnerBusinessAreaText[1: Language=$session.system_language].BusinessAreaName AS BusinessAreaName,
  _LedgerGroupText[1: Language=$session.system_language].LedgerGroupName AS LedgerGroupName,
  _CompanyCodeText.CompanyCodeName AS CompanyCodeName
FROM finiju_casejehdr
LEFT OUTER JOIN I_AccountingDocumentTypeText AS _AccountingDocumentTypeText ON AccountingDocumentType = _AccountingDocumentTypeText.AccountingDocumentType  -- association [0..*]
LEFT OUTER JOIN I_BusinessAreaText AS _PartnerBusinessAreaText ON PartnerBusinessArea = _PartnerBusinessAreaText.BusinessArea  -- association [0..*]
LEFT OUTER JOIN I_LedgerGroupText AS _LedgerGroupText ON LedgerGroup = _LedgerGroupText.LedgerGroup  -- association [0..*]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCodeText ON CompanyCode = _CompanyCodeText.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_JournalCase AS _JournalCase ON JournalCaseUUID = _JournalCase.JournalCaseUUID  -- association [0..1]
;