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
- Open SDK(Cloud Application Studio).
- Use SpellAmount for Arabic Language in the code.
- 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