P_TaxExplainerSlsOrdTaxComp

DDL: P_TAXEXPLAINERSLSORDTAXCOMP Type: view_entity COMPOSITE Package: GLO_TAXEXPLAIN_SO

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)

SourceAliasJoin Type
P_TaxExplainerTaxComponent _TaxComps inner
I_SalesDocument SalesDoc from

Annotations (7)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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