P_CO_DIANTaxCodeForVATFormat

DDL: P_CO_DIANTAXCODEFORVATFORMAT Type: view CONSUMPTION

Format 1005 & 1006 - DIAN Tax Code

P_CO_DIANTaxCodeForVATFormat is a Consumption CDS View that provides data about "Format 1005 & 1006 - DIAN Tax Code" in SAP S/4HANA. It reads from 2 data sources (I_CO_DIANTaxCode, I_CO_DIANTaxCode) and exposes 15 fields with key fields CO_DIANReportFormat, CO_DIANReportItemType, TaxCalculationProcedure, TaxCode, TransactionTypeDetermination.

Data Sources (2)

SourceAliasJoin Type
I_CO_DIANTaxCode DIANTaxCode from
I_CO_DIANTaxCode DIANTaxCode union_all

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName PCODIANTXCODEVAT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Format 1005 & 1006 - DIAN Tax Code view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.serviceQuality #P view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY CO_DIANReportFormat I_CO_DIANTaxCode CO_DIANReportFormat Report Format
KEY CO_DIANReportItemType I_CO_DIANTaxCode CO_DIANReportItemType Item Type
KEY TaxCalculationProcedure I_CO_DIANTaxCode TaxCalculationProcedure Tax Procedure
KEY TaxCode I_CO_DIANTaxCode TaxCode Tax Code
KEY TransactionTypeDetermination I_CO_DIANTaxCode TransactionTypeDetermination Transaction Key
KEY ValidityStartDate I_CO_DIANTaxCode ValidityStartDate Validity Start Date
ValidityEndDate I_CO_DIANTaxCode ValidityEndDate ValidTo
CO_DIANReportFormatasCO_DIANReportFormat
KEY CO_DIANReportItemType I_CO_DIANTaxCode CO_DIANReportItemType Item Type
KEY TaxCalculationProcedure I_CO_DIANTaxCode TaxCalculationProcedure Tax Procedure
KEY TaxCode I_CO_DIANTaxCode TaxCode Tax Code
KEY TransactionTypeDetermination I_CO_DIANTaxCode TransactionTypeDetermination Transaction Key
KEY ValidityStartDate I_CO_DIANTaxCode ValidityStartDate Validity Start Date
ValidityEndDate I_CO_DIANTaxCode ValidityEndDate ValidTo
CO_DIANAmountClassification I_CO_DIANTaxCode CO_DIANAmountClassification Amount Classif.

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 P_CO_DIANTaxCodeForVATFormat.
-- 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 P_CO_DIANTaxCodeForVATFormat AS
SELECT
  DIANTaxCode.CO_DIANReportFormat AS CO_DIANReportFormat,
  DIANTaxCode.CO_DIANReportItemType AS CO_DIANReportItemType,
  DIANTaxCode.TaxCalculationProcedure AS TaxCalculationProcedure,
  DIANTaxCode.TaxCode AS TaxCode,
  DIANTaxCode.TransactionTypeDetermination AS TransactionTypeDetermination,
  DIANTaxCode.ValidityStartDate AS ValidityStartDate,
  DIANTaxCode.ValidityEndDate AS ValidityEndDate,
  DIANTaxCode.CO_DIANAmountClassification as CO_DIANAmountClassification AS CO_DIANReportFormatasCO_DIANReportFormat,
  DIANTaxCode.CO_DIANAmountClassification AS CO_DIANAmountClassification
FROM I_CO_DIANTaxCode AS DIANTaxCode
-- UNION ALL with additional select branch(es): I_CO_DIANTaxCode
;