I_IN_StRpWithholdingTaxItemC

DDL: I_IN_STRPWITHHOLDINGTAXITEMC Type: view_entity COMPOSITE

India WHT QReturns Filling Form 26Q - Cube

I_IN_StRpWithholdingTaxItemC is a Composite CDS View (Cube) that provides data about "India WHT QReturns Filling Form 26Q - Cube" in SAP S/4HANA. It reads from 2 data sources (I_IN_StRpWhldgTaxChallanItem, I_StRpWhldgTaxItem) and exposes 39 fields with key fields CompanyCode, AccountingDocument, FiscalYear, AccountingDocumentItem, WithholdingTaxType.

Data Sources (2)

SourceAliasJoin Type
I_IN_StRpWhldgTaxChallanItem challan inner
I_StRpWhldgTaxItem whtIN from

Parameters (3)

NameTypeDefault
P_StartDate datum
P_EndDate datum
P_DocumentIsPartialExempted boolean

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
EndUserText.label India WHT QReturns Filling Form 26Q - Cube view
AccessControl.personalData.blocking #BLOCKED_DATA_INCLUDED view
Analytics.internalName #LOCAL view
Metadata.allowExtensions true view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode I_StRpWhldgTaxItem CompanyCode Receiver Company Code
KEY AccountingDocument I_StRpWhldgTaxItem AccountingDocument Journal Entry
KEY FiscalYear I_StRpWhldgTaxItem FiscalYear G/L Fiscal Year
KEY AccountingDocumentItem I_StRpWhldgTaxItem AccountingDocumentItem Posting View Item
KEY WithholdingTaxType I_StRpWhldgTaxItem WithholdingTaxType WTax Type
KEY WithholdingTaxCode I_StRpWhldgTaxItem WithholdingTaxCode WTax Code
KEY StatryRptgEntity I_StRpWhldgTaxItem StatryRptgEntity Reporting Entity
KEY StatryRptCategory I_StRpWhldgTaxItem StatryRptCategory Report ID
KEY StatryRptRunID I_StRpWhldgTaxItem StatryRptRunID Report Run ID
OfficialWhldgTaxCode I_StRpWhldgTaxItem OfficialWhldgTaxCode
CompanyCodeName
BusinessPartner I_StRpWhldgTaxItem BusinessPartner Issuing Authority
TaxSection I_StRpWhldgTaxItem TaxSection Tax Section
PostingDate I_StRpWhldgTaxItem PostingDate Posting Date for GR
DocumentDate I_StRpWhldgTaxItem DocumentDate Journal Entry Date
ReportingDate I_StRpWhldgTaxItem ReportingDate
Creditor I_StRpWhldgTaxItem Creditor Supplier
IN_ClrgWithholdingTaxDocument I_IN_StRpWhldgTaxChallanItem IN_ClrgWithholdingTaxDocument Challan Number
IN_ClrgWithholdingTaxDate I_IN_StRpWhldgTaxChallanItem IN_ClrgWithholdingTaxDate Challan Date
WithholdingTaxExmptPercent I_StRpWhldgTaxItem WithholdingTaxExmptPercent Exemption Rate
WhldgTaxExmptAmtInCoCodeCrcy I_StRpWhldgTaxItem WhldgTaxExmptAmtInCoCodeCrcy
WithholdingTaxPercent I_StRpWhldgTaxItem WithholdingTaxPercent
WhldgTaxExmptCertificate I_StRpWhldgTaxItem WhldgTaxExmptCertificate Exemption Number
DocumentIsPartialExempted I_StRpWhldgTaxItem DocumentIsPartialExempted
InvoiceReference I_StRpWhldgTaxItem InvoiceReference Invoice Reference
IN_WhldgTaxRecordTypeTrans I_StRpWhldgTaxItem IN_WhldgTaxRecordTypeTrans
IN_ReferenceDocumentNumber I_StRpWhldgTaxItem IN_ReferenceDocumentNumber
OriginalReferenceDocument
BusinessPartnerPanNumber
BPPanReferenceNumber
BPPanValidFromDate
Country
IN_BankChallanNumber I_IN_StRpWhldgTaxChallanItem IN_BankChallanNumber Ext. Chln Num
HouseBank I_IN_StRpWhldgTaxChallanItem HouseBank House Bank
IN_BankChallanDate I_IN_StRpWhldgTaxChallanItem IN_BankChallanDate Ext.Chln Date
IN_BkBscStstclReturnCode I_IN_StRpWhldgTaxChallanItem IN_BkBscStstclReturnCode BSR Code
ReportingCurrency I_StRpWhldgTaxItem ReportingCurrency Currency
WhldgTaxBaseAmtInCoCodeCrcy I_StRpWhldgTaxItem WhldgTaxBaseAmtInCoCodeCrcy Withholding Tax Base Amount
WhldgTaxAmtInCoCodeCrcy I_StRpWhldgTaxItem WhldgTaxAmtInCoCodeCrcy Withholding Tax Amount

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_IN_StRpWithholdingTaxItemC.
-- 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.
-- Parameters: P_StartDate : datum, P_EndDate : datum, P_DocumentIsPartialExempted : boolean

CREATE VIEW I_IN_StRpWithholdingTaxItemC AS
SELECT
  whtIN.CompanyCode AS CompanyCode,
  whtIN.AccountingDocument AS AccountingDocument,
  whtIN.FiscalYear AS FiscalYear,
  whtIN.AccountingDocumentItem AS AccountingDocumentItem,
  whtIN.WithholdingTaxType AS WithholdingTaxType,
  whtIN.WithholdingTaxCode AS WithholdingTaxCode,
  whtIN.StatryRptgEntity AS StatryRptgEntity,
  whtIN.StatryRptCategory AS StatryRptCategory,
  whtIN.StatryRptRunID AS StatryRptRunID,
  whtIN.OfficialWhldgTaxCode AS OfficialWhldgTaxCode,
  whtIN._CompanyCode.CompanyCodeName AS CompanyCodeName,
  whtIN.BusinessPartner AS BusinessPartner,
  whtIN.TaxSection AS TaxSection,
  whtIN.PostingDate AS PostingDate,
  whtIN.DocumentDate AS DocumentDate,
  whtIN.ReportingDate AS ReportingDate,
  whtIN.Creditor AS Creditor,
  challan.IN_ClrgWithholdingTaxDocument AS IN_ClrgWithholdingTaxDocument,
  challan.IN_ClrgWithholdingTaxDate AS IN_ClrgWithholdingTaxDate,
  whtIN.WithholdingTaxExmptPercent AS WithholdingTaxExmptPercent,
  whtIN.WhldgTaxExmptAmtInCoCodeCrcy AS WhldgTaxExmptAmtInCoCodeCrcy,
  whtIN.WithholdingTaxPercent AS WithholdingTaxPercent,
  whtIN.WhldgTaxExmptCertificate AS WhldgTaxExmptCertificate,
  whtIN.DocumentIsPartialExempted AS DocumentIsPartialExempted,
  whtIN.InvoiceReference AS InvoiceReference,
  whtIN.IN_WhldgTaxRecordTypeTrans AS IN_WhldgTaxRecordTypeTrans,
  whtIN.IN_ReferenceDocumentNumber AS IN_ReferenceDocumentNumber,
  whtIN._JournalEntry.OriginalReferenceDocument AS OriginalReferenceDocument,
  whtIN._Supplier.BusinessPartnerPanNumber AS BusinessPartnerPanNumber,
  whtIN._Supplier.BPPanReferenceNumber AS BPPanReferenceNumber,
  whtIN._Supplier.BPPanValidFromDate AS BPPanValidFromDate,
  whtIN._Supplier.Country AS Country,
  challan.IN_BankChallanNumber AS IN_BankChallanNumber,
  challan.HouseBank AS HouseBank,
  challan.IN_BankChallanDate AS IN_BankChallanDate,
  challan.IN_BkBscStstclReturnCode AS IN_BkBscStstclReturnCode,
  whtIN.ReportingCurrency AS ReportingCurrency,
  whtIN.WhldgTaxBaseAmtInCoCodeCrcy AS WhldgTaxBaseAmtInCoCodeCrcy,
  whtIN.WhldgTaxAmtInCoCodeCrcy AS WhldgTaxAmtInCoCodeCrcy
FROM I_StRpWhldgTaxItem AS whtIN
INNER JOIN I_IN_StRpWhldgTaxChallanItem AS challan ON /* join condition not captured in parsed metadata */
;