C_CrcyAdjmtToBeVerified

DDL: C_CRCYADJMTTOBEVERIFIED SQL: CCRCYADJMT Type: view CONSUMPTION Package: ODATA_GL_JOURNALENTRY_VER

Inbox View of Crcy Adjmt to be verified

C_CrcyAdjmtToBeVerified is a Consumption CDS View that provides data about "Inbox View of Crcy Adjmt to be verified" in SAP S/4HANA. It reads from 1 data source (I_GLJrnlEntryToBeVerified) and exposes 27 fields with key fields AccountingDocument, CompanyCode, FiscalYear. It has 6 associations to related views. It is exposed through 2 OData services (ASQL_F2547, ASQL_F2720). Part of development package ODATA_GL_JOURNALENTRY_VER.

Data Sources (1)

SourceAliasJoin Type
I_GLJrnlEntryToBeVerified _Header from

Associations (6)

CardinalityTargetAliasCondition
[1..*] C_CrcyAdjmtItemToBeVerified _LineItem $projection.CompanyCode = _LineItem.SourceCompanyCode and $projection.AccountingDocument = _LineItem.AccountingDocument and $projection.FiscalYear = _LineItem.FiscalYear
[0..*] I_WorkflowStatusTxt _StatusText $projection.AccountingDocumentStatus = _StatusText.AccountingDocumentStatus
[0..1] I_AccountingDocumentType _AccountingDocumentType $projection.AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_User _Creator $projection.CreatedByUser = _Creator.UserID
[1..1] I_User _Requestor $projection.ParkedByUser = _Requestor.UserID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CCRCYADJMT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
VDM.viewType #CONSUMPTION view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Inbox View of Crcy Adjmt to be verified view
Metadata.ignorePropagatedAnnotations true view
AbapCatalog.preserveKey true view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F2547 ASQL_F2547 C2 NOT_RELEASED
ASQL_F2720 ASQL_F2720 C2 NOT_RELEASED

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY AccountingDocument I_GLJrnlEntryToBeVerified AccountingDocument Journal Entry
KEY CompanyCode I_GLJrnlEntryToBeVerified CompanyCode Receiver Company Code
KEY FiscalYear I_GLJrnlEntryToBeVerified FiscalYear G/L Fiscal Year
WorkItem I_GLJrnlEntryToBeVerified WorkItem Work Item ID
TaskProcessingStatus I_GLJrnlEntryToBeVerified TaskProcessingStatus
OriginalReferenceDocument I_GLJrnlEntryToBeVerified OriginalReferenceDocument Reference Key
ObjectKey I_GLJrnlEntryToBeVerified ObjectKey Object Key
JournalEntryAmountInDspCrcy
DisplayCurrency
AccountingDocumentStatus I_GLJrnlEntryToBeVerified AccountingDocumentStatus
AccountingDocumentStatusName
AccountingDocumentType I_GLJrnlEntryToBeVerified AccountingDocumentType Journal Entry Type
AccountingDocumentTypeName
CompanyCodeName _CompanyCode CompanyCodeName Company Name
ReferenceDocument I_GLJrnlEntryToBeVerified DocumentReferenceID Reference
TransactionCurrency I_GLJrnlEntryToBeVerified TransactionCurrency Transaction Currency
AccountingDocumentHeaderText I_GLJrnlEntryToBeVerified AccountingDocumentHeaderText Doc.Header Text
DocumentDate I_GLJrnlEntryToBeVerified DocumentDate Journal Entry Date
PostingDate I_GLJrnlEntryToBeVerified PostingDate Posting Date for GR
CreatedByUserName _Creator UserDescription Full Name
CreatedByUser I_GLJrnlEntryToBeVerified CreatedByUser User Name
ParkedByUser I_GLJrnlEntryToBeVerified ParkedByUser JE Parked By
ParkedByUserName _Requestor UserDescription Full Name
AccountingDocumentCreationDate I_GLJrnlEntryToBeVerified AccountingDocumentCreationDate Journal Entry Date
LedgerGroup I_GLJrnlEntryToBeVerified LedgerGroup Ledger Group
AccountingDocumentCategory I_GLJrnlEntryToBeVerified AccountingDocumentCategory Journal Entry Category
_LineItem _LineItem

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_CrcyAdjmtToBeVerified.
-- 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: CCRCYADJMT

CREATE VIEW C_CrcyAdjmtToBeVerified AS
SELECT
  _Header.AccountingDocument AS AccountingDocument,
  _Header.CompanyCode AS CompanyCode,
  _Header.FiscalYear AS FiscalYear,
  _Header.WorkItem AS WorkItem,
  _Header.TaskProcessingStatus AS TaskProcessingStatus,
  _Header.OriginalReferenceDocument AS OriginalReferenceDocument,
  _Header.ObjectKey AS ObjectKey,
  cast ( 0 as fis_ksl ) AS JournalEntryAmountInDspCrcy,
  cast (' ' as vdm_v_display_currency ) AS DisplayCurrency,
  _Header.AccountingDocumentStatus AS AccountingDocumentStatus,
  _StatusText[1:Language = $session.system_language].AccountingDocumentStatusName AS AccountingDocumentStatusName,
  _Header.AccountingDocumentType AS AccountingDocumentType,
  _AccountingDocumentType._Text[1:Language = $session.system_language].AccountingDocumentTypeName AS AccountingDocumentTypeName,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _Header.DocumentReferenceID AS ReferenceDocument,
  _Header.TransactionCurrency AS TransactionCurrency,
  _Header.AccountingDocumentHeaderText AS AccountingDocumentHeaderText,
  _Header.DocumentDate AS DocumentDate,
  _Header.PostingDate AS PostingDate,
  _Creator.UserDescription AS CreatedByUserName,
  _Header.CreatedByUser AS CreatedByUser,
  _Header.ParkedByUser AS ParkedByUser,
  _Requestor.UserDescription AS ParkedByUserName,
  _Header.AccountingDocumentCreationDate AS AccountingDocumentCreationDate,
  _Header.LedgerGroup AS LedgerGroup,
  _Header.AccountingDocumentCategory AS AccountingDocumentCategory
FROM I_GLJrnlEntryToBeVerified AS _Header
LEFT OUTER JOIN C_CrcyAdjmtItemToBeVerified AS _LineItem ON CompanyCode = _LineItem.SourceCompanyCode AND AccountingDocument = _LineItem.AccountingDocument AND FiscalYear = _LineItem.FiscalYear  -- association [1..*]
LEFT OUTER JOIN I_WorkflowStatusTxt AS _StatusText ON AccountingDocumentStatus = _StatusText.AccountingDocumentStatus  -- association [0..*]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountingDocumentType ON AccountingDocumentType = _AccountingDocumentType.AccountingDocumentType  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_User AS _Creator ON CreatedByUser = _Creator.UserID  -- association [1..1]
LEFT OUTER JOIN I_User AS _Requestor ON ParkedByUser = _Requestor.UserID  -- association [1..1]
;