C_CO_DIANStRpWhldgTaxItemQuery
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)
| Source | Alias | Join Type |
|---|---|---|
| C_CO_DIANStRpWhldgTaxItemCube | C_CO_DIANStRpWhldgTaxItemCube | from |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA