I_US_StRp1099DebtCanclnCube

DDL: I_US_STRP1099DEBTCANCLNCUBE Type: view_entity COMPOSITE Package: GLO_FIN_IS_WHT_US

1099C Cancellation of Debt US - Cube

I_US_StRp1099DebtCanclnCube is a Composite CDS View (Cube) that provides data about "1099C Cancellation of Debt US - Cube" in SAP S/4HANA. It reads from 1 data source (P_US_StRp1099DebtCanclnLog) and exposes 28 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. It has 1 association to related views. Part of development package GLO_FIN_IS_WHT_US.

Data Sources (1)

SourceAliasJoin Type
P_US_StRp1099DebtCanclnLog doc from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_StRpJournalEntryHeaderLog _StRpJournalEntryHeaderLog _StRpJournalEntryHeaderLog.CompanyCode = doc.CompanyCode and _StRpJournalEntryHeaderLog.AccountingDocument = doc.AccountingDocument and _StRpJournalEntryHeaderLog.FiscalYear = doc.FiscalYear

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label 1099C Cancellation of Debt US - Cube view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view

Fields (28)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger P_US_StRp1099DebtCanclnLog SourceLedger Source Ledger
KEY CompanyCode P_US_StRp1099DebtCanclnLog CompanyCode Receiver Company Code
KEY FiscalYear P_US_StRp1099DebtCanclnLog FiscalYear G/L Fiscal Year
KEY AccountingDocument P_US_StRp1099DebtCanclnLog AccountingDocument Journal Entry
KEY LedgerGLLineItem P_US_StRp1099DebtCanclnLog LedgerGLLineItem Journal Entry Item
KEY StatryRptgEntity _StRpJournalEntryHeaderLog StatryRptgEntity Reporting Entity
KEY StatryRptCategory _StRpJournalEntryHeaderLog StatryRptCategory Report ID
KEY StatryRptRunID _StRpJournalEntryHeaderLog StatryRptRunID Report Run ID
AccountingDocumentItem P_US_StRp1099DebtCanclnLog AccountingDocumentItem Posting View Item
FiscalPeriod P_US_StRp1099DebtCanclnLog FiscalPeriod Tax period
PostingDate P_US_StRp1099DebtCanclnLog PostingDate Posting Date for GR
DocumentDate P_US_StRp1099DebtCanclnLog DocumentDate Journal Entry Date
IsReversal P_US_StRp1099DebtCanclnLog IsReversal Reversal doc.
IsReversed P_US_StRp1099DebtCanclnLog IsReversed Reversed?
ChartOfAccounts P_US_StRp1099DebtCanclnLog ChartOfAccounts Node Class
Supplier P_US_StRp1099DebtCanclnLog Supplier Supplier
Customer P_US_StRp1099DebtCanclnLog Customer Sold-to Party
AddressID P_US_StRp1099DebtCanclnLog AddressID Ship-to address
GLAccount P_US_StRp1099DebtCanclnLog GLAccount General Ledger
FinancialAccountType P_US_StRp1099DebtCanclnLog FinancialAccountType Fin. Account Type
AccountingDocumentType P_US_StRp1099DebtCanclnLog AccountingDocumentType Journal Entry Type
InvoiceReference P_US_StRp1099DebtCanclnLog InvoiceReference Invoice Reference
InvoiceItemReference P_US_StRp1099DebtCanclnLog InvoiceItemReference Item
ReportingCurrency P_US_StRp1099DebtCanclnLog ReportingCurrency Currency
DebtAmountInLocalCurrency P_US_StRp1099DebtCanclnLog DebtAmountInLocalCurrency Local Crcy Amt
DocumentItemText P_US_StRp1099DebtCanclnLog DocumentItemText Text
BusinessPartnerNumber P_US_StRp1099DebtCanclnLog BusinessPartnerNumber
BPTaxNumber P_US_StRp1099DebtCanclnLog BPTaxNumber Tax Number

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 I_US_StRp1099DebtCanclnCube.
-- 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.

CREATE VIEW I_US_StRp1099DebtCanclnCube AS
SELECT
  doc.SourceLedger AS SourceLedger,
  doc.CompanyCode AS CompanyCode,
  doc.FiscalYear AS FiscalYear,
  doc.AccountingDocument AS AccountingDocument,
  doc.LedgerGLLineItem AS LedgerGLLineItem,
  _StRpJournalEntryHeaderLog.StatryRptgEntity AS StatryRptgEntity,
  _StRpJournalEntryHeaderLog.StatryRptCategory AS StatryRptCategory,
  _StRpJournalEntryHeaderLog.StatryRptRunID AS StatryRptRunID,
  doc.AccountingDocumentItem AS AccountingDocumentItem,
  doc.FiscalPeriod AS FiscalPeriod,
  doc.PostingDate AS PostingDate,
  doc.DocumentDate AS DocumentDate,
  doc.IsReversal AS IsReversal,
  doc.IsReversed AS IsReversed,
  doc.ChartOfAccounts AS ChartOfAccounts,
  doc.Supplier AS Supplier,
  doc.Customer AS Customer,
  doc.AddressID AS AddressID,
  doc.GLAccount AS GLAccount,
  doc.FinancialAccountType AS FinancialAccountType,
  doc.AccountingDocumentType AS AccountingDocumentType,
  doc.InvoiceReference AS InvoiceReference,
  doc.InvoiceItemReference AS InvoiceItemReference,
  doc.ReportingCurrency AS ReportingCurrency,
  doc.DebtAmountInLocalCurrency AS DebtAmountInLocalCurrency,
  doc.DocumentItemText AS DocumentItemText,
  doc.BusinessPartnerNumber AS BusinessPartnerNumber,
  doc.BPTaxNumber AS BPTaxNumber
FROM P_US_StRp1099DebtCanclnLog AS doc
LEFT OUTER JOIN I_StRpJournalEntryHeaderLog AS _StRpJournalEntryHeaderLog ON _StRpJournalEntryHeaderLog.CompanyCode = doc.CompanyCode AND _StRpJournalEntryHeaderLog.AccountingDocument = doc.AccountingDocument AND _StRpJournalEntryHeaderLog.FiscalYear = doc.FiscalYear  -- association [0..*]
;