P_TaxExplainerSlsOrdTaxComp
amount calculation for header
P_TaxExplainerSlsOrdTaxComp is a Composite CDS View that provides data about "amount calculation for header" in SAP S/4HANA. It reads from 2 data sources (P_TaxExplainerTaxComponent, I_SalesDocument) and exposes 3 fields with key fields SalesDocument, ConditionType, ConditionRateValue. Part of development package GLO_TAXEXPLAIN_SO.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_TaxExplainerTaxComponent | _TaxComps | inner |
| I_SalesDocument | SalesDoc | from |
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 (3)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SalesDocument | I_SalesDocument | SalesDocument | |
| KEY | ConditionType | P_TaxExplainerTaxComponent | ConditionType | |
| KEY | ConditionRateValue | P_TaxExplainerTaxComponent | ConditionRateValue |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'amount calculation for header'
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType:#COMPOSITE
@VDM.private:true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
define view entity P_TaxExplainerSlsOrdTaxComp
as select from I_SalesDocument as SalesDoc
inner join P_TaxExplainerTaxComponent as _TaxComps on SalesDoc.SalesDocumentCondition = _TaxComps.PricingDocument
//association [0..*] to P_TaxExplainerCodeRoutineInd as _Routine on SalesDoc.SDPricingProcedure = _Routine.PricingProcedure
// and _TaxComps.ConditionType = _Routine.ConditionType
{
key SalesDoc.SalesDocument,
key _TaxComps.ConditionType,
key _TaxComps.ConditionRateValue
// key _Routine.PrcgRoutineAltCalcAmount,
// key _Routine.PrcgRoutineAltCalcBaseValue
}
group by
SalesDoc.SalesDocument,
_TaxComps.ConditionType,
_TaxComps.ConditionRateValue
// _Routine.PrcgRoutineAltCalcAmount,
// _Routine.PrcgRoutineAltCalcBaseValue
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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