P_TaxExplainerTaxComponent
Tax component details for tax explainer
P_TaxExplainerTaxComponent is a Composite CDS View that provides data about "Tax component details for tax explainer" in SAP S/4HANA. It reads from 2 data sources (P_TaxExplainerConditionRecord, I_PricingElement) and exposes 13 fields with key fields PricingDocument, PricingDocumentItem, ConditionType. It has 2 associations to related views. Part of development package GLO_TAXEXPLAIN.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_TaxExplainerConditionRecord | ConditionRecord | inner |
| I_PricingElement | PricingElement | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ConditionTypeText | _Text | PricingElement.ConditionType = _Text.ConditionType and PricingElement.ConditionApplication = _Text.ConditionApplication |
| [0..*] | P_TaxExplainerTaxFactor | _TaxFactor | $projection.ConditionTable = _TaxFactor.ConditionTable and $projection.accesssequence = _TaxFactor.AccessSequence |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PricingDocument | I_PricingElement | PricingDocument | Document Condition |
| KEY | PricingDocumentItem | I_PricingElement | PricingDocumentItem | Item |
| KEY | ConditionType | I_PricingElement | ConditionType | Condition type |
| ConditionTypeName | ||||
| TransactionCurrency | I_PricingElement | TransactionCurrency | Transaction Currency | |
| ConditionBaseAmount | I_PricingElement | ConditionBaseAmount | Condition Basis Amount | |
| ConditionAmount | I_PricingElement | ConditionAmount | Condition Value | |
| ConditionRateValue | I_PricingElement | ConditionRateValue | Condition Rate Value | |
| ConditionRateValueUnit | ||||
| ConditionRecord | P_TaxExplainerConditionRecord | ConditionRecord | Cond.Record No. | |
| ConditionTable | P_TaxExplainerConditionRecord | ConditionTable | Condition Table | |
| AccessSequence | ||||
| _TaxFactor | _TaxFactor |
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_TaxExplainerTaxComponent.
-- 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_TaxExplainerTaxComponent AS
SELECT
PricingElement.PricingDocument AS PricingDocument,
PricingElement.PricingDocumentItem AS PricingDocumentItem,
PricingElement.ConditionType AS ConditionType,
coalesce(_Text[1: Language = $session.system_language].ConditionTypeName, _Text[1: Language = 'E'].ConditionTypeName) AS ConditionTypeName,
PricingElement.TransactionCurrency AS TransactionCurrency,
PricingElement.ConditionBaseAmount AS ConditionBaseAmount,
PricingElement.ConditionAmount AS ConditionAmount,
PricingElement.ConditionRateValue AS ConditionRateValue,
'%' AS ConditionRateValueUnit,
ConditionRecord.ConditionRecord AS ConditionRecord,
ConditionRecord.ConditionTable AS ConditionTable,
PricingElement._PricingConditionType.AccessSequence AS AccessSequence
FROM I_PricingElement AS PricingElement
INNER JOIN P_TaxExplainerConditionRecord AS ConditionRecord ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ConditionTypeText AS _Text ON PricingElement.ConditionType = _Text.ConditionType AND PricingElement.ConditionApplication = _Text.ConditionApplication -- association [0..*]
LEFT OUTER JOIN P_TaxExplainerTaxFactor AS _TaxFactor ON ConditionTable = _TaxFactor.ConditionTable AND accesssequence = _TaxFactor.AccessSequence -- association [0..*]
;
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