01-15-2009 5:37 AM
Hi,
I would like to write amount in word, through spell_amount function module. And printing
on A4 size paper through WRITE statment but that spell amount going out side of page if the
amount is larage eg. more than 1 crore ( not continuing next line ) so, how i can write that amount
continuing with next line..
Manoj..
01-15-2009 5:45 AM
01-15-2009 5:43 AM
Hi,
Before write statement chack string length and it is exeeded more that line number charecters split that and move to to temp varibales and use two write statement.
Regards
Md.MahaboobKhan
01-15-2009 5:45 AM
01-15-2009 5:59 AM
01-15-2009 6:10 AM
Hi,
If u want to split the string you can use the floowing statement
SPLIT < Your Text> AT <Your Value> INTO: str1 str2 str3,
TABLE <Your Itab>.
Hope it helps u.
Thanks & Regards
01-15-2009 7:28 AM
01-15-2009 6:13 AM
Hi Manoj,
try this code
DATA: str1 TYPE string,
str2 TYPE string,
str3 TYPE string,
itab TYPE TABLE OF string,
text TYPE string.
text = `What a drag it is getting old`.
SPLIT text AT space INTO: str1 str2 str3,
TABLE itab.
hope it will help you.
Regards,
Anki Reddy