on 08-01-2007 10:42 AM
Hi All,
I have used SPELL_AMOUNT FM to spell the amount.
And I am displaying in the Script. Here the spell amount is getting truncated.
Eg : in my PO total value is 23789989.16 with Currency is EURO.
It is spell the amount like this correctly.
EUR TWENTY-THREE MILLION SEVEN HUNDRED EIGHTY-NINE THOUSAND NINE HUNDRED EIGHTY-NINE & SIXTEEN CENTS ONLY
While passing this variable to Script, it is displaying only
EUR TWENTY-THREE MILLION SEVEN HUNDRED EIGHTY-NINE THOUSAND NINE HUNDRED EIGHTY-
it is truncating after 80 characters.
Please help me in this regards. Because this error happening in Production.
I need to correct with high priority.
Regards.
Deekshitha.
hi
you can use the function moduel SPELL_AMOUNT ..this should resolve this issue.
thanks,
shamim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
In ITCSY table the VALUE field will have the 255 lenght, it should have hold the data, but printing the the value from SCRIPT should also contain the same lenght, so that the value will come as it is.. other wise split this value in the PERFORM and get the 2 fields in the SCRIPT, then Print the 2 values side by side in the layout
Regards
Sudheer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Split the value and display it.
Split it as 3 or 4 varaibles and display it.
String1 = text+0(80)
String2 = text+80(160)
String3 = text+160(240)
String4 = text+240(320)
While passing the values check whether it is initial or not.
Reward if helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, script variable(text symbols)cannot hold more than 80 character, split it and send it in two variables and print like this
&variable1&&variable2&
In form routine do it like this
&variable1& = AMOUNT+0(80).
&variable2& = AMOUNT+80(80).
Message was edited by:
Yes, text symbol cannot hold more then 80 chars.. So it is happening. Try to follow what I have told you above it will solve your problem.
Message was edited by:
regards,
sairam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.