P_ExciseItemExBaseAmt
ExciseItem ExBase Amout Calculation
P_ExciseItemExBaseAmt is a Consumption CDS View that provides data about "ExciseItem ExBase Amout Calculation" in SAP S/4HANA. It reads from 2 data sources (I_ExciseDueDocItemBase, I_PricingElement) and exposes 2 fields.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_ExciseDueDocItemBase | I_ExciseDueDocItemBase | from |
| I_PricingElement | I_PricingElement | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_BillingDocument | vbeln |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSDEXIEXBSAMT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view | |
| EndUserText.label | ExciseItem ExBase Amout Calculation | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| BillingDocument | BillingDocument | |||
| BillingDocumentItem | BillingDocumentItem |
@AbapCatalog.sqlViewName: 'PSDEXIEXBSAMT'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@VDM.viewType: #CONSUMPTION
@VDM.private:true
@EndUserText.label: 'ExciseItem ExBase Amout Calculation'
define view P_ExciseItemExBaseAmt
with parameters
P_BillingDocument : vbeln
as select from I_ExciseDueDocItemBase(P_BillingDocument : $parameters.P_BillingDocument)
inner join I_PricingElement on I_PricingElement.PricingDocument = I_ExciseDueDocItemBase.PricingDocument
and I_PricingElement.PricingDocumentItem = I_ExciseDueDocItemBase.BillingDocumentItem
{
BillingDocument,
BillingDocumentItem,
case I_PricingElement.ConditionType
when 'UTXJ' then
I_PricingElement.ConditionBaseValue
else
case I_PricingElement.ConditionIsForStatistics
when ' ' then
case I_PricingElement.ConditionClass
when 'B' then
case I_PricingElement.ConditionCategory
when 'G' then
I_PricingElement.ConditionAmount
else
case I_PricingElement.ConditionIsForStatistics
when ' ' then
case I_PricingElement.ConditionClass
when 'B' then
case I_PricingElement.ConditionCategory
when 'H' then
I_PricingElement.ConditionAmount
end
end
end
end
else
case I_PricingElement.ConditionIsForStatistics
when ' ' then
case I_PricingElement.ConditionClass
when 'B' then
case I_PricingElement.ConditionCategory
when 'H' then
I_PricingElement.ConditionAmount
end
end
else
case I_PricingElement.ConditionIsForStatistics
when ' ' then
case I_PricingElement.ConditionClass
when 'B' then
case I_PricingElement.ConditionCategory
when 'H' then
I_PricingElement.ConditionAmount
end
end
end
end
end
end
end as ExciseDutyBaseAmount
}
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