C_StRpWhldgTaxItmForClearing

DDL: C_STRPWHLDGTAXITMFORCLEARING SQL: CSRWHLDGTXCLR Type: view CONSUMPTION

Withholding Tax Open Line Items with clearing run status

C_StRpWhldgTaxItmForClearing is a Consumption CDS View that provides data about "Withholding Tax Open Line Items with clearing run status" in SAP S/4HANA. It reads from 2 data sources (I_GLAccountLineItem, I_StRpJournalEntryLog) and exposes 25 fields with key fields CompanyCode, AccountingDocument, AccountingDocumentItem, FiscalYear, StatryRptgEntity.

Data Sources (2)

SourceAliasJoin Type
I_GLAccountLineItem I_GLAccountLineItem inner
I_StRpJournalEntryLog jourdocitm from

Parameters (3)

NameTypeDefault
P_StatryRptgEntity srf_reporting_entity
P_StatryRptCategory srf_rep_cat_id
P_ClearingDate budat

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CSRWHLDGTXCLR view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.preserveKey true view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Withholding Tax Open Line Items with clearing run status view

Fields (25)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpJournalEntryLog CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpJournalEntryLog AccountingDocument Journal Entry
KEY AccountingDocumentItem I_GLAccountLineItem AccountingDocumentItem Posting View Item
KEY FiscalYear I_StRpJournalEntryLog FiscalYear G/L Fiscal Year
KEY StatryRptgEntity I_StRpJournalEntryLog StatryRptgEntity Reporting Entity
KEY StatryRptCategory I_StRpJournalEntryLog StatryRptCategory Report ID
KEY StatryRptRunID I_StRpJournalEntryLog StatryRptRunID Report Run ID
GLAccount I_GLAccountLineItem GLAccount General Ledger
CompanyCodeCurrency I_GLAccountLineItem CompanyCodeCurrency Local Currency
PostingKey
FinancialAccountType I_GLAccountLineItem FinancialAccountType Fin. Account Type
DebitCreditCode I_GLAccountLineItem DebitCreditCode Single-Character Flag
DocumentDate I_GLAccountLineItem DocumentDate Journal Entry Date
PostingDate I_GLAccountLineItem PostingDate Posting Date for GR
FiscalPeriod I_GLAccountLineItem FiscalPeriod Tax period
AccountingDocumentType I_GLAccountLineItem AccountingDocumentType Journal Entry Type
FiscalYearVariant I_GLAccountLineItem FiscalYearVariant FY Variant
ClearingJournalEntry I_GLAccountLineItem ClearingJournalEntry Clrng doc.
AccountingDocumentCategory I_GLAccountLineItem AccountingDocumentCategory Journal Entry Category
ClearingDate I_GLAccountLineItem ClearingDate Clearing Date
Ledger I_GLAccountLineItem Ledger Ledger
IsOpenItemManaged I_GLAccountLineItem IsOpenItemManaged Open Item Management
IsReversed I_GLAccountLineItem IsReversed Reversed?
IsReversal I_GLAccountLineItem IsReversal Reversal doc.
TransactionTypeDetermination I_GLAccountLineItem TransactionTypeDetermination Transaction Key

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_StRpWhldgTaxItmForClearing.
-- 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: CSRWHLDGTXCLR
-- Parameters: P_StatryRptgEntity : srf_reporting_entity, P_StatryRptCategory : srf_rep_cat_id, P_ClearingDate : budat

CREATE VIEW C_StRpWhldgTaxItmForClearing AS
SELECT
  jourdocitm.CompanyCode AS CompanyCode,
  jourdocitm.AccountingDocument AS AccountingDocument,
  I_GLAccountLineItem.AccountingDocumentItem AS AccountingDocumentItem,
  jourdocitm.FiscalYear AS FiscalYear,
  jourdocitm.StatryRptgEntity AS StatryRptgEntity,
  jourdocitm.StatryRptCategory AS StatryRptCategory,
  jourdocitm.StatryRptRunID AS StatryRptRunID,
  I_GLAccountLineItem.GLAccount AS GLAccount,
  I_GLAccountLineItem.CompanyCodeCurrency AS CompanyCodeCurrency,
  I_GLAccountLineItem._PostingKey.PostingKey AS PostingKey,
  I_GLAccountLineItem.FinancialAccountType AS FinancialAccountType,
  I_GLAccountLineItem.DebitCreditCode AS DebitCreditCode,
  I_GLAccountLineItem.DocumentDate AS DocumentDate,
  I_GLAccountLineItem.PostingDate AS PostingDate,
  I_GLAccountLineItem.FiscalPeriod AS FiscalPeriod,
  I_GLAccountLineItem.AccountingDocumentType AS AccountingDocumentType,
  I_GLAccountLineItem.FiscalYearVariant AS FiscalYearVariant,
  I_GLAccountLineItem.ClearingJournalEntry AS ClearingJournalEntry,
  I_GLAccountLineItem.AccountingDocumentCategory AS AccountingDocumentCategory,
  I_GLAccountLineItem.ClearingDate AS ClearingDate,
  I_GLAccountLineItem.Ledger AS Ledger,
  I_GLAccountLineItem.IsOpenItemManaged AS IsOpenItemManaged,
  I_GLAccountLineItem.IsReversed AS IsReversed,
  I_GLAccountLineItem.IsReversal AS IsReversal,
  I_GLAccountLineItem.TransactionTypeDetermination AS TransactionTypeDetermination
FROM I_StRpJournalEntryLog AS jourdocitm
INNER JOIN I_GLAccountLineItem ON /* join condition not captured in parsed metadata */
;