Skip to Content
author's profile photo Former Member
Former Member

write statment issue

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..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 05:45 AM

    Hello

    Just spit string.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 05: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 15, 2009 at 06: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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.