P_Ru_RecnclnDocDet008

DDL: P_RU_RECNCLNDOCDET008 SQL: PRURECDOCDET008 Type: view CONSUMPTION Package: GLO_FIN_IS_RU

Document Determination - Union

P_Ru_RecnclnDocDet008 is a Consumption CDS View that provides data about "Document Determination - Union" in SAP S/4HANA. It reads from 5 data sources (P_Ru_RecnclnDocDet004, P_Ru_Recnclndocdet006, P_Ru_Recnclndocdet007, P_Ru_RecnclnDocDet001, P_Ru_RecnclnDocDet003) and exposes 56 fields. Part of development package GLO_FIN_IS_RU.

Data Sources (5)

SourceAliasJoin Type
P_Ru_RecnclnDocDet004 Barter union_all
P_Ru_Recnclndocdet006 BoE union_all
P_Ru_Recnclndocdet007 ExchRateDiff union_all
P_Ru_RecnclnDocDet001 Invoice from
P_Ru_RecnclnDocDet003 Payment union_all

Annotations (8)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.sqlViewName PRURECDOCDET008 view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (56)

KeyFieldSource TableSource FieldDescription
CompanyCode P_Ru_RecnclnDocDet001 CompanyCode Receiver Company Code
AccountingDocument P_Ru_RecnclnDocDet001 AccountingDocument Journal Entry
FiscalYear P_Ru_RecnclnDocDet001 FiscalYear G/L Fiscal Year
AssignmentReference P_Ru_RecnclnDocDet001 AssignmentReference Assignment Reference
FinancialAccountType P_Ru_RecnclnDocDet001 FinancialAccountType Fin. Account Type
Supplier P_Ru_RecnclnDocDet001 Supplier Supplier
Customer P_Ru_RecnclnDocDet001 Customer Sold-to Party
Invoice P_Ru_RecnclnDocDet001 DocumentKind
Payment
Barter
BoE
CompanyCode Receiver Company Code
AccountingDocument P_Ru_RecnclnDocDet003 AccountingDocument Journal Entry
FiscalYear P_Ru_RecnclnDocDet003 FiscalYear G/L Fiscal Year
AssignmentReference P_Ru_RecnclnDocDet003 AssignmentReference Assignment Reference
FinancialAccountType P_Ru_RecnclnDocDet003 FinancialAccountType Fin. Account Type
Supplier P_Ru_RecnclnDocDet003 Supplier Supplier
Customer P_Ru_RecnclnDocDet003 Customer Sold-to Party
Invoice
Payment P_Ru_RecnclnDocDet003 DocumentKind
Barter
BoE
CompanyCode Receiver Company Code
AccountingDocument P_Ru_RecnclnDocDet004 AccountingDocument Journal Entry
FiscalYear P_Ru_RecnclnDocDet004 FiscalYear G/L Fiscal Year
AssignmentReference P_Ru_RecnclnDocDet004 AssignmentReference Assignment Reference
FinancialAccountType P_Ru_RecnclnDocDet004 FinancialAccountType Fin. Account Type
Supplier P_Ru_RecnclnDocDet004 Supplier Supplier
Customer P_Ru_RecnclnDocDet004 Customer Sold-to Party
Invoice
Payment
Barter P_Ru_RecnclnDocDet004 DocumentKind
BoE
CompanyCode Receiver Company Code
AccountingDocument P_Ru_Recnclndocdet006 AccountingDocument Journal Entry
FiscalYear P_Ru_Recnclndocdet006 FiscalYear G/L Fiscal Year
AssignmentReference P_Ru_Recnclndocdet006 AssignmentReference Assignment Reference
FinancialAccountType P_Ru_Recnclndocdet006 FinancialAccountType Fin. Account Type
Supplier P_Ru_Recnclndocdet006 Supplier Supplier
Customer P_Ru_Recnclndocdet006 Customer Sold-to Party
Invoice
Payment
Barter
BoE P_Ru_Recnclndocdet006 DocumentKind
CompanyCode Receiver Company Code
AccountingDocument P_Ru_Recnclndocdet007 AccountingDocument Journal Entry
FiscalYear P_Ru_Recnclndocdet007 FiscalYear G/L Fiscal Year
AssignmentReference P_Ru_Recnclndocdet007 AssignmentReference Assignment Reference
FinancialAccountType P_Ru_Recnclndocdet007 FinancialAccountType Fin. Account Type
Supplier P_Ru_Recnclndocdet007 Supplier Supplier
Customer P_Ru_Recnclndocdet007 Customer Sold-to Party
Invoice
Payment
Barter
BoE
ExchRateDiff P_Ru_Recnclndocdet007 DocumentKind

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_Ru_RecnclnDocDet008.
-- 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: PRURECDOCDET008

CREATE VIEW P_Ru_RecnclnDocDet008 AS
SELECT
  Invoice.CompanyCode AS CompanyCode,
  Invoice.AccountingDocument AS AccountingDocument,
  Invoice.FiscalYear AS FiscalYear,
  Invoice.AssignmentReference AS AssignmentReference,
  Invoice.FinancialAccountType AS FinancialAccountType,
  Invoice.Supplier AS Supplier,
  Invoice.Customer AS Customer,
  Invoice.DocumentKind AS Invoice,
  cast( '99' as abap.char( 2 ) ) AS Payment,
  cast( '99' as abap.char( 2 ) ) AS Barter,
  cast( '99' as abap.char( 2 ) ) AS BoE,
  ExchRateDiff.DocumentKind AS ExchRateDiff
FROM P_Ru_RecnclnDocDet001 AS Invoice
-- UNION ALL with additional select branch(es): P_Ru_RecnclnDocDet003, P_Ru_RecnclnDocDet004, P_Ru_Recnclndocdet006, P_Ru_Recnclndocdet007
;