SAP Knowledge Base Article - Public

3455003 - CurrencyConversion.SpellAmount is not supported in Arabic language

Symptom

You are using CurrencyConversion.SpellAmount to convert number to words using Arabic language in your ABAP Code.

Environment

  • SAP Cloud Application Studio.
  • SAP Business ByDesign.
  • SAP Cloud for Customer.

Reproducing the Issue

  1. Open SDK(Cloud Application Studio).
  2. Use SpellAmount for Arabic Language in the code.
  3. No Conversion is happening.

Cause

Arabic is not currently supported please see the below code for your reference.

While the below code is correct but the SpellAmount will not convert to Arabic Language.

var spell;
this.Amount1.content = 10.14;
this.Amount1.currencyCode = "EUR";
this.Language = "AR";
spell = this.Amount1.SpellAmount (this.Language);
this.Integer = spell.IntegerValue;
this.Decimals = spell.DecimalPart;

Resolution

SpellAmount does not support Arabic as of now.

See Also

Please see this link explaining CurrencyConvesrion Reuse Library.

Keywords

Currency, Conversion, SpellAmount, Arabic, Language, Reuse, Library , KBA , AP-RC-BDS-SCR , ByDesign Studio Scripting (ABSL) , Problem

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions