P_CITItemClassification1

DDL: P_CITITEMCLASSIFICATION1 SQL: PCITITMCLFN1 Type: view COMPOSITE Package: GLO_FIN_CIT

CIT Report Run Data

P_CITItemClassification1 is a Composite CDS View that provides data about "CIT Report Run Data" in SAP S/4HANA. It reads from 2 data sources (I_CITItemClassificationLog, I_CITSettlementLog) and exposes 47 fields with key fields StatryRptgEntity, StatryRptCategory, StatryRptRunID, CITClassificationUUID, CITSettlementUUID. It has 1 association to related views. Part of development package GLO_FIN_CIT.

Data Sources (2)

SourceAliasJoin Type
I_CITItemClassificationLog item from
I_CITSettlementLog settlement union

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_StatryRptRunID srf_report_run_id

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CITSettlementText _settlementText settlement.BRFApplication = _settlementText.BRFApplication and settlement.CITSettlementCode = _settlementText.CITSettlementCode

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PCITITMCLFN1 view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AbapCatalog.dataMaintenance #DISPLAY_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #COMPOSITE view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (47)

KeyFieldSource TableSource FieldDescription
KEY StatryRptgEntity I_CITItemClassificationLog StatryRptgEntity Reporting Entity
KEY StatryRptCategory I_CITItemClassificationLog StatryRptCategory Report ID
KEY StatryRptRunID I_CITItemClassificationLog StatryRptRunID Report Run ID
KEY CITClassificationUUID I_CITItemClassificationLog CITClassificationUUID UUID
KEY CITSettlementUUID Waste Partner UUID
KEY CITReportingLine I_CITItemClassificationLog CITReportingLine CIT Report Line
KEY CITReportingItem I_CITItemClassificationLog CITReportingItem CIT Report Item
AccountingDocument I_CITItemClassificationLog AccountingDocument Journal Entry
FiscalYear I_CITItemClassificationLog FiscalYear G/L Fiscal Year
CompanyCode I_CITItemClassificationLog CompanyCode Receiver Company Code
LedgerGLLineItem I_CITItemClassificationLog LedgerGLLineItem Journal Entry Item
CITReportVersion I_CITItemClassificationLog CITReportVersion CIT Report Version
Ledger I_CITItemClassificationLog Ledger Ledger
CorporateIncomeTaxHierarchy I_CITItemClassificationLog CorporateIncomeTaxHierarchy CIT Hierarchy
CITClassificationCode I_CITItemClassificationLog CITClassificationCode Classification Code
SourceLedger I_CITItemClassificationLog SourceLedger Source Ledger
CITItemAmountInDisplayCurrency I_CITItemClassificationLog CITItemAmountInDisplayCurrency Amount
Currency I_CITItemClassificationLog Currency Valuation Crcy
ItemSignIsReversed I_CITItemClassificationLog ItemSignIsReversed Change Item Sign
CITReportingDate I_CITItemClassificationLog CITReportingDate CIT Reporting Date
BRFApplication BRFplus Application
CITSettlementCode CIT Settlmt Code
CITSettlementCodeDescription
StatryRptgEntity Reporting Entity
KEY StatryRptCategory I_CITSettlementLog StatryRptCategory Report ID
KEY StatryRptRunID I_CITSettlementLog StatryRptRunID Report Run ID
KEY CITClassificationUUID UUID
KEY CITSettlementUUID I_CITSettlementLog CITSettlementUUID Waste Partner UUID
KEY CITReportingLine I_CITSettlementLog CITReportingLine CIT Report Line
KEY CITReportingItem I_CITSettlementLog CITReportingItem CIT Report Item
AccountingDocument Journal Entry
FiscalYear G/L Fiscal Year
CompanyCode Receiver Company Code
LedgerGLLineItem Journal Entry Item
CITReportVersion I_CITSettlementLog CITReportVersion CIT Report Version
Ledger Ledger
CorporateIncomeTaxHierarchy CIT Hierarchy
CITClassificationCode Classification Code
SourceLedger Source Ledger
CITItemAmountInDisplayCurrency I_CITSettlementLog CITItemAmountInDisplayCurrency Amount
Currency I_CITSettlementLog Currency Valuation Crcy
ItemSignIsReversed I_CITSettlementLog ItemSignIsReversed Change Item Sign
CITReportingDate CIT Reporting Date
BRFApplication I_CITSettlementLog BRFApplication BRFplus Application
CITSettlementCode I_CITSettlementLog CITSettlementCode CIT Settlmt Code
CITSettlementCodeDescription
CITItemType

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_CITItemClassification1.
-- 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: PCITITMCLFN1
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_StatryRptRunID : srf_report_run_id

CREATE VIEW P_CITItemClassification1 AS
SELECT
  item.StatryRptgEntity AS StatryRptgEntity,
  item.StatryRptCategory AS StatryRptCategory,
  item.StatryRptRunID AS StatryRptRunID,
  item.CITClassificationUUID AS CITClassificationUUID,
  hextobin('00000000000000000000000000000000') AS CITSettlementUUID,
  item.CITReportingLine AS CITReportingLine,
  item.CITReportingItem AS CITReportingItem,
  item.AccountingDocument AS AccountingDocument,
  item.FiscalYear AS FiscalYear,
  item.CompanyCode AS CompanyCode,
  item.LedgerGLLineItem AS LedgerGLLineItem,
  item.CITReportVersion AS CITReportVersion,
  item.Ledger AS Ledger,
  item.CorporateIncomeTaxHierarchy AS CorporateIncomeTaxHierarchy,
  item.CITClassificationCode AS CITClassificationCode,
  item.SourceLedger AS SourceLedger,
  item.CITItemAmountInDisplayCurrency AS CITItemAmountInDisplayCurrency,
  item.Currency AS Currency,
  item.ItemSignIsReversed AS ItemSignIsReversed,
  item.CITReportingDate AS CITReportingDate,
  cast('' as fdt_application_name) AS BRFApplication,
  cast('' as ficite_settlementcode) AS CITSettlementCode,
  cast('' as ficite_settlementname) AS CITSettlementCodeDescription,
  'S' AS CITItemType
FROM I_CITItemClassificationLog AS item
LEFT OUTER JOIN I_CITSettlementText AS _settlementText ON settlement.BRFApplication = _settlementText.BRFApplication AND settlement.CITSettlementCode = _settlementText.CITSettlementCode  -- association [0..*]
-- UNION with additional select branch(es): I_CITSettlementLog
;