Amount in word truncated - SAPScript
I need your help. I want to print amount in words for MYR 1,279,289.35 using FM SPELL_AMOUNT.
The result I get from the function module is correct, but printed out in SAPScript truncated.
The result in Form printed is like this :
ONE MILLION TWO HUNDRED SEVENTY-NINE THOUSAND TWO HUNDRED EIGHTY-NINE AND THIRTY
Anyone had experienced the same issue ?
David Liu replied
Sounds like you are using the Sapscript command PERFORM...ENDPERFORM.
The PERFORM command always fills a Sapscript text symbol.
Here please notice that the length of a text symbol is restricted
to 80 characters. If you want to use larger symbols, you should not use the
PERFORM command, but you should use program symbols, which are
filled in your print program. They can get a length up to 255 characters.