SRF_RuHelperSalesLedger
SRF_RuHelperSalesLedger is a CDS View in SAP S/4HANA. It reads from 1 data source (I_SAPClient) and exposes 9 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | I_SAPClient | from |
Parameters (8)
| Name | Type | Default |
|---|---|---|
| P_VATBase20 | firu_taxbaseamount20cccrcy | |
| P_VATBase18 | firu_taxbaseamount18cccrcy | |
| P_VATBase10 | firu_taxbaseamount10cccrcy | |
| P_VATBase0 | firu_taxbaseamount0cccrcy | |
| P_VATAmt20 | firu_taxamount20cccrcy | |
| P_VATAmt18 | firu_taxamount18cccrcy | |
| P_VATAmt10 | firu_taxamount10cccrcy | |
| P_NoVAT | firu_baseamountnotaxcccrcy |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SRFRUHELPSAL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #P | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| char100endasVATBase20Str | ||||
| char100endasVATBase18Str | ||||
| char100endasVATBase10Str | ||||
| char100endasVATBase0Str | ||||
| char100endasVATAmt20Str | ||||
| char100endasVATAmt18Str | ||||
| char100endasVATAmt10Str | ||||
| char100endasNoVATStr | ||||
| ActionRuleIsGenerated |
@AbapCatalog.sqlViewName: 'SRFRUHELPSAL'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #P
define view SRF_RuHelperSalesLedger
with parameters
// P_AmtCCCur : firu_amount_in_cc_curr,
P_VATBase20 : firu_taxbaseamount20cccrcy,
P_VATBase18 : firu_taxbaseamount18cccrcy,
P_VATBase10 : firu_taxbaseamount10cccrcy,
P_VATBase0 : firu_taxbaseamount0cccrcy,
P_VATAmt20 : firu_taxamount20cccrcy,
P_VATAmt18 : firu_taxamount18cccrcy,
P_VATAmt10 : firu_taxamount10cccrcy,
P_NoVAT : firu_baseamountnotaxcccrcy
as select from I_SAPClient //dummy select, CDS view only used for calculations
{
case $parameters.P_VATBase20
when 0 then ''
else cast($parameters.P_VATBase20 as abap.char(100))
end as VATBase20Str,
case $parameters.P_VATBase18
when 0 then ''
else cast($parameters.P_VATBase18 as abap.char(100))
end as VATBase18Str,
case $parameters.P_VATBase10
when 0 then ''
else cast($parameters.P_VATBase10 as abap.char(100))
end as VATBase10Str,
case $parameters.P_VATBase0
when 0 then ''
else cast($parameters.P_VATBase0 as abap.char(100))
end as VATBase0Str,
case $parameters.P_VATAmt20
when 0 then ''
else cast($parameters.P_VATAmt20 as abap.char(100))
end as VATAmt20Str,
case $parameters.P_VATAmt18
when 0 then ''
else cast($parameters.P_VATAmt18 as abap.char(100))
end as VATAmt18Str,
case $parameters.P_VATAmt10
when 0 then ''
else cast($parameters.P_VATAmt10 as abap.char(100))
end as VATAmt10Str,
case $parameters.P_NoVAT
when 0 then ''
else cast($parameters.P_NoVAT as abap.char(100))
end as NoVATStr,
'0' as ActionRuleIsGenerated
}
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