C_RO_CashReceiptOutputMgmt

DDL: C_RO_CASHRECEIPTOUTPUTMGMT SQL: CROCASHRCPTOPM Type: view CONSUMPTION

Cash Receipt output for Romania

C_RO_CashReceiptOutputMgmt is a Consumption CDS View that provides data about "Cash Receipt output for Romania" in SAP S/4HANA. It reads from 1 data source (I_RO_CashReceiptOutputMgmt) and exposes 25 fields with key fields CompanyCode, CashJournal, FiscalYear, CashJournalDocumentInternalID, Language. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_RO_CashReceiptOutputMgmt I_RO_CashReceiptOutputMgmt from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_JournalEntry _JournalEntry $projection.CompanyCode = _JournalEntry.CompanyCode and $projection.FiscalYear = _JournalEntry.FiscalYear and I_RO_CashReceiptOutputMgmt.ReferenceDocumentType = _JournalEntry.ReferenceDocumentType and I_RO_CashReceiptOutputMgmt.OriginalReferenceDocument = _JournalEntry.OriginalReferenceDocument
[0..1] I_Customer _Customer I_RO_CashReceiptOutputMgmt.CustomerNum = _Customer.Customer
[0..1] I_Supplier _Supplier I_RO_CashReceiptOutputMgmt.Supplier = _Supplier.Supplier
[1..1] I_AddlCompanyCodeInformation _AddlCompanyCodeInfo $projection.CompanyCode = _AddlCompanyCodeInfo.CompanyCode

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName CROCASHRCPTOPM view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.preserveKey true view
EndUserText.label Cash Receipt output for Romania view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY CashJournal CashJournal
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY CashJournalDocumentInternalID CashJournalDocumentInternalID
KEY Language Language Report Text Language
CashJournalDocumentTransType CashJournalDocumentTransType
CompanyCodeName _CompanyCode CompanyCodeName Company Name
CompanyCodeParameterValue
ParameterValue
HouseNumber1asCompanyCodeAddress
District
AccountingDocument _JournalEntry AccountingDocument Journal Entry
DocumentDate _JournalEntry DocumentDate Journal Entry Date
VATRegistrationelseendasVATRegistration
TaxNumber1elseendasTaxNumber1
TransactionCurrency Currency Valuation Crcy
AmountInTransactionCurrency AmountInTransactionCurrency Pt Crcy Amt
CashJournalReceiptAmount CashJournalReceiptAmount
CashJournalPaymentAmount CashJournalPaymentAmount
ExchangeRate _JournalEntry ExchangeRate Exchange rate
CompanyCodeCurrency _CompanyCode Currency Valuation Crcy
AmountInCompanyCodeCurrency
CashJournalDocumentItemText CashJournalDocumentItemText
CashJournalDocumentText2 CashJournalDocumentText2
AuthorizationGroup AuthorizationGroup AuthorizGroup

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_RO_CashReceiptOutputMgmt.
-- 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: CROCASHRCPTOPM

CREATE VIEW C_RO_CashReceiptOutputMgmt AS
SELECT
  CompanyCode,
  CashJournal,
  FiscalYear,
  CashJournalDocumentInternalID,
  Language,
  CashJournalDocumentTransType,
  _CompanyCode.CompanyCodeName AS CompanyCodeName,
  _AddlCompanyCodeInfo[CompanyCodeParameterType='J_1ROF'].CompanyCodeParameterValue AS CompanyCodeParameterValue,
  _AddlCompanyCodeInfo[CompanyCodeParameterType='J_1ROC'].CompanyCodeParameterValue AS ParameterValue,
  concat(_CompanyCode._Address.CityName, concat(',',concat_with_space(_CompanyCode._Address.StreetName, _CompanyCode._Address.HouseNumber,1))) as CompanyCodeAddress AS HouseNumber1asCompanyCodeAddress,
  _CompanyCode._Address.District AS District,
  _JournalEntry.AccountingDocument AS AccountingDocument,
  _JournalEntry.DocumentDate AS DocumentDate,
  case when CustomerNum is not initial then _Customer.VATRegistration when Supplier is not initial then _Supplier.VATRegistration else '' end as VATRegistration AS VATRegistrationelseendasVATRegistration,
  case when CustomerNum is not initial then _Customer.TaxNumber1 when Supplier is not initial then _Supplier.TaxNumber1 else '' end as TaxNumber1 AS TaxNumber1elseendasTaxNumber1,
  Currency AS TransactionCurrency,
  AmountInTransactionCurrency,
  CashJournalReceiptAmount,
  CashJournalPaymentAmount,
  _JournalEntry.ExchangeRate AS ExchangeRate,
  _CompanyCode.Currency AS CompanyCodeCurrency,
  AmountInTransactionCurrency * _JournalEntry.ExchangeRate AS AmountInCompanyCodeCurrency,
  CashJournalDocumentItemText,
  CashJournalDocumentText2,
  AuthorizationGroup
FROM I_RO_CashReceiptOutputMgmt
LEFT OUTER JOIN I_JournalEntry AS _JournalEntry ON CompanyCode = _JournalEntry.CompanyCode AND FiscalYear = _JournalEntry.FiscalYear AND I_RO_CashReceiptOutputMgmt.ReferenceDocumentType = _JournalEntry.ReferenceDocumentType AND I_RO_CashReceiptOutputMgmt.OriginalReferenceDocument = _JournalEntry.OriginalReferenceDocument  -- association [1..1]
LEFT OUTER JOIN I_Customer AS _Customer ON I_RO_CashReceiptOutputMgmt.CustomerNum = _Customer.Customer  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON I_RO_CashReceiptOutputMgmt.Supplier = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_AddlCompanyCodeInformation AS _AddlCompanyCodeInfo ON CompanyCode = _AddlCompanyCodeInfo.CompanyCode  -- association [1..1]
;