P_JrnlEntrAddlClrgInformation

DDL: P_JRNLENTRADDLCLRGINFORMATION SQL: PMXJRENCLRINFO Type: view CONSUMPTION

P_JrnlEntrAddlClrgInformation is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (bse_clr) and exposes 11 fields with key fields ClearingCompanyCode, ClearingAccountingDocument, ClearingDocFiscalYear, ClearingIndex.

Data Sources (1)

SourceAliasJoin Type
bse_clr bse_clr from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMXJRENCLRINFO view
VDM.viewType #CONSUMPTION view
VDM.private true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #P view
AbapCatalog.preserveKey true view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY ClearingCompanyCode bukrs_clr Company Code
KEY ClearingAccountingDocument belnr_clr Document Number
KEY ClearingDocFiscalYear Fiscal Year
KEY ClearingIndex index_clr Clrg Info Seq. No.
SetLineNumber agbuz Item
ClearingInformationType clrin Type of Clearing in Table AUSZ_CLR
FinancialAccountType koart Account type
CompanyCode bukrs Value
AccountingDocument belnr SD Document
FiscalYear Settlement Year
DebitCreditCode shkzg Returns

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 P_JrnlEntrAddlClrgInformation.
-- 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: PMXJRENCLRINFO

CREATE VIEW P_JrnlEntrAddlClrgInformation AS
SELECT
  bukrs_clr AS ClearingCompanyCode,
  belnr_clr AS ClearingAccountingDocument,
  cast( gjahr_clr as fis_gjahr_no_conv preserving type ) AS ClearingDocFiscalYear,
  index_clr AS ClearingIndex,
  agbuz AS SetLineNumber,
  clrin AS ClearingInformationType,
  koart AS FinancialAccountType,
  bukrs AS CompanyCode,
  belnr AS AccountingDocument,
  cast( gjahr as fis_gjahr_no_conv preserving type ) AS FiscalYear,
  shkzg AS DebitCreditCode
FROM bse_clr
;