C_CO_DIANStRpWhldgTaxItemQuery

DDL: C_CO_DIANSTRPWHLDGTAXITEMQUERY SQL: CSRCOWHLDGTXITMQ Type: view CONSUMPTION

Whldg Tax Items Query for Colombia DIAN

C_CO_DIANStRpWhldgTaxItemQuery is a Consumption CDS View that provides data about "Whldg Tax Items Query for Colombia DIAN" in SAP S/4HANA. It reads from 1 data source (C_CO_DIANStRpWhldgTaxItemCube) and exposes 52 fields with key fields CompanyCode, FiscalYear, StatryRptgEntity, StatryRptCategory, StatryRptRunID.

Data Sources (1)

SourceAliasJoin Type
C_CO_DIANStRpWhldgTaxItemCube C_CO_DIANStRpWhldgTaxItemCube from

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CSRCOWHLDGTXITMQ view
EndUserText.label Whldg Tax Items Query for Colombia DIAN view
VDM.viewType #CONSUMPTION view
Analytics.query true view
Analytics.settings.zeroValues.handling #HIDE view
Analytics.settings.zeroValues.hideOnAxis #ROWS view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view

Fields (52)

KeyFieldSource TableSource FieldDescription
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY StatryRptgEntity StatryRptgEntity Reporting Entity
KEY StatryRptCategory StatryRptCategory Report ID
KEY StatryRptRunID StatryRptRunID Report Run ID
KEY CO_DIANReportFormat CO_DIANReportFormat Report Format
KEY CO_DIANReportItemType CO_DIANReportItemType Item Type
KEY AccountingDocument Journal Entry
KEY TaxItem TaxItem Tax Item
KEY ReportedTaxNumber ReportedTaxNumber
WithholdingTaxCode WithholdingTaxCode WTax Code
WhldgTaxCodeName WhldgTaxCodeName
FinancialAccountType FinancialAccountType Fin. Account Type
PostingDate PostingDate Posting Date for GR
DocumentDate DocumentDate Journal Entry Date
ReportingDate ReportingDate
GLAccount GLAccount General Ledger
GLAccountName GLAccountName Short Text
TaxNumberType TaxNumberType Tax number type
CO_DIANTaxNumberType CO_DIANTaxNumberType DIAN Doc. Type
TaxNumber1 TaxNumber1 VAT Reg. No.
TaxNumber2 TaxNumber2 Tax Number 2
TaxNumber3 TaxNumber3
TaxNumber4 TaxNumber4
TaxNumber5 TaxNumber5
BusinessPlace BusinessPlace Business place
AccountingDocumentType AccountingDocumentType Journal Entry Type
BusinessPartnerCategory BusinessPartnerCategory Partner Cat.
FirstName FirstName First Name
MiddleName MiddleName Middle Name
LastName LastName Last Name
AdditionalLastName AdditionalLastName Other Last Name
BusinessPartnerOrgLongName BusinessPartnerOrgLongName
OrganizationBPName1 OrganizationBPName1 Name 1
OrganizationBPName2 OrganizationBPName2 Name 2
OrganizationBPName3 OrganizationBPName3 Name 3
OrganizationBPName4 OrganizationBPName4 Name 4
BusinessPartner BusinessPartner Issuing Authority
Customer Customer Sold-to Party
IsNaturalPerson IsNaturalPerson Natural person
BusinessPartnerCountry BusinessPartnerCountry BP Ctry/Reg.
CO_DIANCountry CO_DIANCountry
Region Region Venue Region
CityCode CityCode IATA: City
CityName CityName Name
StreetName StreetName Text
CompanyCodeCurrency CompanyCodeCurrency Local Currency
ReportingCurrency ReportingCurrency Currency
WhldgTaxAmtInReportingCrcy WhldgTaxAmtInReportingCrcy
WhldgTaxBaseAmtInReportingCrcy WhldgTaxBaseAmtInReportingCrcy
WhldgTaxBaseAmtInCoCodeCrcy WhldgTaxBaseAmtInCoCodeCrcy
WhldgTaxAmtInCoCodeCrcy WhldgTaxAmtInCoCodeCrcy

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_CO_DIANStRpWhldgTaxItemQuery.
-- 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: CSRCOWHLDGTXITMQ

CREATE VIEW C_CO_DIANStRpWhldgTaxItemQuery AS
SELECT
  CompanyCode,
  FiscalYear,
  StatryRptgEntity,
  StatryRptCategory,
  StatryRptRunID,
  CO_DIANReportFormat,
  CO_DIANReportItemType,
  cast( AccountingDocument as fis_belnr preserving type ) AS AccountingDocument,
  TaxItem,
  ReportedTaxNumber,
  WithholdingTaxCode,
  WhldgTaxCodeName,
  FinancialAccountType,
  PostingDate,
  DocumentDate,
  ReportingDate,
  GLAccount,
  GLAccountName,
  TaxNumberType,
  CO_DIANTaxNumberType,
  TaxNumber1,
  TaxNumber2,
  TaxNumber3,
  TaxNumber4,
  TaxNumber5,
  BusinessPlace,
  AccountingDocumentType,
  BusinessPartnerCategory,
  FirstName,
  MiddleName,
  LastName,
  AdditionalLastName,
  BusinessPartnerOrgLongName,
  OrganizationBPName1,
  OrganizationBPName2,
  OrganizationBPName3,
  OrganizationBPName4,
  BusinessPartner,
  Customer,
  IsNaturalPerson,
  BusinessPartnerCountry,
  CO_DIANCountry,
  Region,
  CityCode,
  CityName,
  StreetName,
  CompanyCodeCurrency,
  ReportingCurrency,
  WhldgTaxAmtInReportingCrcy,
  WhldgTaxBaseAmtInReportingCrcy,
  WhldgTaxBaseAmtInCoCodeCrcy,
  WhldgTaxAmtInCoCodeCrcy
FROM C_CO_DIANStRpWhldgTaxItemCube
;