C_CrcyAdjmtItemToBeVerified

DDL: C_CRCYADJMTITEMTOBEVERIFIED SQL: CCRCYADJMTI Type: view CONSUMPTION

Inbox View of Crcy Adjmt to be verified

C_CrcyAdjmtItemToBeVerified is a Consumption CDS View that provides data about "Inbox View of Crcy Adjmt to be verified" in SAP S/4HANA. It reads from 3 data sources (I_GLAccountInChartOfAccounts, I_GLAcctInCoCode, I_CrcyAdjmtItemToBeVerified) and exposes 28 fields with key fields AccountingDocumentItem, SourceCompanyCode, FiscalYear, AccountingDocument, Ledger. It has 4 associations to related views.

Data Sources (3)

SourceAliasJoin Type
I_GLAccountInChartOfAccounts _coa left_outer
I_GLAcctInCoCode _cocd left_outer
I_CrcyAdjmtItemToBeVerified _item from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_DebitCreditCode _DebitCreditCode $projection.DebitCreditCode = _DebitCreditCode.DebitCreditCode
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[1..1] I_WBSElement _WBSElement $projection.WBSElementInternalID = _WBSElement.WBSElementInternalID
[1..1] I_JournalEntry _header _item.CompanyCode = _header.CompanyCode and _item.FiscalYear = _header.FiscalYear and _item.AccountingDocument = _header.AccountingDocument

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName CCRCYADJMTI 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

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY AccountingDocumentItem I_CrcyAdjmtItemToBeVerified AccountingDocumentItem Posting View Item
KEY SourceCompanyCode I_CrcyAdjmtItemToBeVerified SourceCompanyCode Receiver Company Code
KEY FiscalYear I_CrcyAdjmtItemToBeVerified FiscalYear G/L Fiscal Year
KEY AccountingDocument I_CrcyAdjmtItemToBeVerified AccountingDocument Journal Entry
KEY Ledger I_CrcyAdjmtItemToBeVerified Ledger Ledger
AccountingDocumentCategory I_CrcyAdjmtItemToBeVerified AccountingDocumentCategory Journal Entry Category
CompanyCode I_CrcyAdjmtItemToBeVerified CompanyCode Receiver Company Code
GLAccount I_CrcyAdjmtItemToBeVerified GLAccount General Ledger
GLAccountName
DocumentItemText
DebitCreditCode I_CrcyAdjmtItemToBeVerified DebitCreditCode Single-Character Flag
DebitCreditCodeName
TransactionCurrency I_CrcyAdjmtItemToBeVerified TransactionCurrency Transaction Currency
AmountInTransactionCurrency I_CrcyAdjmtItemToBeVerified AmountInTransactionCurrency Pt Crcy Amt
CompanyCodeCurrency _CompanyCode Currency Valuation Crcy
AmountInCompanyCodeCurrency I_CrcyAdjmtItemToBeVerified AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency I_CrcyAdjmtItemToBeVerified GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency I_CrcyAdjmtItemToBeVerified AmountInGlobalCurrency Amount in Global Currency
FreeDefinedCurrency1 I_CrcyAdjmtItemToBeVerified FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 I_CrcyAdjmtItemToBeVerified AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
FunctionalCurrency I_CrcyAdjmtItemToBeVerified FunctionalCurrency Functional Currency
AmountInFunctionalCurrency I_CrcyAdjmtItemToBeVerified AmountInFunctionalCurrency Amount in Functional Currency
ProfitCenter I_CrcyAdjmtItemToBeVerified ProfitCenter Profit Center
CostCenter I_CrcyAdjmtItemToBeVerified CostCenter Cost Center
GLAccountGroup I_GLAccountInChartOfAccounts GLAccountGroup Account Group
WBSElementInternalID I_CrcyAdjmtItemToBeVerified WBSElementInternalID WBS Internal ID
WBSElementExternalID _WBSElement WBSElement WBS Internal ID
LedgerGroup _header LedgerGroup Ledger Group

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_CrcyAdjmtItemToBeVerified.
-- 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: CCRCYADJMTI

CREATE VIEW C_CrcyAdjmtItemToBeVerified AS
SELECT
  _item.AccountingDocumentItem AS AccountingDocumentItem,
  _item.SourceCompanyCode AS SourceCompanyCode,
  _item.FiscalYear AS FiscalYear,
  _item.AccountingDocument AS AccountingDocument,
  _item.Ledger AS Ledger,
  _item.AccountingDocumentCategory AS AccountingDocumentCategory,
  _item.CompanyCode AS CompanyCode,
  _item.GLAccount AS GLAccount,
  cast( _cocd._Text[1:Language = $session.system_language].GLAccountName as fac_skat_txt20 ) AS GLAccountName,
  cast(_item.DocumentItemText as fac_item_txt50) AS DocumentItemText,
  _item.DebitCreditCode AS DebitCreditCode,
  _DebitCreditCode._Text[1:Language = $session.system_language].DebitCreditCodeName AS DebitCreditCodeName,
  _item.TransactionCurrency AS TransactionCurrency,
  _item.AmountInTransactionCurrency AS AmountInTransactionCurrency,
  _CompanyCode.Currency AS CompanyCodeCurrency,
  _item.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  _item.GlobalCurrency AS GlobalCurrency,
  _item.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  _item.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
  _item.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
  _item.FunctionalCurrency AS FunctionalCurrency,
  _item.AmountInFunctionalCurrency AS AmountInFunctionalCurrency,
  _item.ProfitCenter AS ProfitCenter,
  _item.CostCenter AS CostCenter,
  _coa.GLAccountGroup AS GLAccountGroup,
  _item.WBSElementInternalID AS WBSElementInternalID,
  _WBSElement.WBSElement AS WBSElementExternalID,
  _header.LedgerGroup AS LedgerGroup
FROM I_CrcyAdjmtItemToBeVerified AS _item
LEFT OUTER JOIN I_GLAcctInCoCode AS _cocd ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_GLAccountInChartOfAccounts AS _coa ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DebitCreditCode AS _DebitCreditCode ON DebitCreditCode = _DebitCreditCode.DebitCreditCode  -- association [0..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [1..1]
LEFT OUTER JOIN I_WBSElement AS _WBSElement ON WBSElementInternalID = _WBSElement.WBSElementInternalID  -- association [1..1]
LEFT OUTER JOIN I_JournalEntry AS _header ON _item.CompanyCode = _header.CompanyCode AND _item.FiscalYear = _header.FiscalYear AND _item.AccountingDocument = _header.AccountingDocument  -- association [1..1]
;