H_HU_StRpDeclTaxAmount
Convert amt to declarable amount
H_HU_StRpDeclTaxAmount is a CDS View that provides data about "Convert amt to declarable amount" in SAP S/4HANA. It reads from 1 data source (I_SAPClient) and exposes 2 fields with key field SAPClient.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SAPClient | I_SAPClient | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_AmountInReportingCurrency | dmbtr |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | HHUSTRPDECLTXAMT | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Convert amt to declarable amount | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SAPClient | sapclient | ||
| char50asAmountInReportingCurrency |
@AbapCatalog.sqlViewName: 'HHUSTRPDECLTXAMT'
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #S
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.dataClass: #MIXED
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Convert amt to declarable amount'
define view H_HU_StRpDeclTaxAmount with parameters
P_AmountInReportingCurrency : dmbtr
as select from I_SAPClient {
key sapclient as SAPClient,
// Declration shoudl be prepared in thousands HUF, it is stored divided by 100 in DB.
// Div by 10 so the cummulative effect is like divided by 1000.
// Trim the result.
ltrim(rtrim(
cast(
division($parameters.P_AmountInReportingCurrency,10,0)
as abap.char( 50 ))
, ' '), ' ')
as AmountInReportingCurrency
}
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