Help reqd for printing the word text into two lines(AMOUNT in Rupees)

Hi all,
Im working for cheque printing and in the Amount in words column....im getting the text in a single line...as i've made it as in my script.
(im moving the rate in to amount thru FM "HR_IN_CHG_INR_WRDS"....
and it displaying into a single line....)
But in every bank cheque...we have only a limit space for the first line and balance words should come in to the next line....How to achieve this in my form print.(when im giving the cheque(laser print) inside the printer for print)...
*******FYI..
now im getting it as
RUPEES Ninety Seven Thousand Thirty seven and four paise only.(its going out in my cheque as it's coming in a single line,going beyond the words column)
the above one...i want to print it as two lines as like in normal cheque...
what condition i've to give and how to split the text or make it to continue in the second line....
Pls do the needful with any examples or any coding.....
help needed
thanks & regards
sankar

hi Nehal,
the below one is my coding part........FYI
DATA AMT LIKE REGUD-WAERS.
data: words(120) type c,AMOUNT(120).
data: ant like PC207-betrg,t like reguh-vblnr,t1 type int4.
FORM WORDS TABLES intab
STRUCTURE itcsy outtab
STRUCTURE itcsy.
READ TABLE intab INDEX 1.
   t   = intab-value.
select single RWBTR from reguh into ant where vblnr eq t.
ant = ant * ( -1 ).
CALL FUNCTION 'HR_IN_CHG_INR_WRDS'
EXPORTING
AMT_IN_NUM               = ant
IMPORTING
AMT_IN_WORDS             = words.
amount = words.
READ TABLE outtab INDEX 1.
  MOVE WORDS TO outtab-value.
  MODIFY outtab INDEX 1.
ENDFORM.                    "diff
with the above code,im getting the amount field in a single line and it goes out beyond the line specified.
How to split it as a length basis as u said....pls explain in detail...
thanks & regards
sankar

Similar Messages

  • Ask split long text into two line into same cell for ALV

    Dear All,
    Is it possible split long text into two line into same cell for ALV display data?
    Regards,
    Luke
    Moderator message: please search for information before asking.
    Edited by: Thomas Zloch on Feb 24, 2011 10:12 AM

    Keep options: Select the paragraph, then CtrlAltK (Mac: CmdOptK, I
    think).
    If you want the paragraphs in pairs, create two paragraph styles. Style
    A has keep options set to start on a new page, and also, its Next Style
    is style B.
    Style B has no keep options, but it's Next Style is Style A.
    Select all the text.
    From the flyout menu of the paragraph styles palette, apply Style A
    "then next style."
    Now all paragraphs will be alternating -- style A, style B, style A, etc.
    Now do what I wrote initially, and you'll have pairs of paragraph in
    separate text frames.

  • Break the page name into two lines..

    Hi,
    I am trying to break the page neme into lines.For example Knowledge Management is the name of a page in Detailed Navigation and I want it to be displayed linke Knowledge and Management in two lines.I was just adding the break statement within the page name but was not successful.Any Ideas ??
    Thanks.

    I think you'll need to write your own detailed navigation to do this. There are a set of tags to make this easier...
    Cheers

  • Help reqd for changing the font size in script(se71)

    hi all,
    im working on cheque printing in se71...there i want to change my text font
    differently for each text field in one window.
    i.e., for Pay/Beared Name : Font should be big and (Courier 10,say example)
    for Rupess field: less than the size of above one.
    how to do it...pls advise...
    *****note
    So far...i've not declared any default paragraph in my layout window.
    But i've so many pre-defined paragraph formats in my script.
    Pls do the needful and reply me in detail.
    thanks & regards
    sankar

    Hi nitin,
    Hi vishnu,
    what i did.....i've created a new character format as C1...
    and i've given in the code as u said....<C1>&amount&<>
    but it says...unknown format....(1st problem if i create new)
    2nd one....
    if i give the predefined one(available in character format)..then in change editor....it is changing into some code...
    if i give <k>&amount<>
    then it taking it as  <k>&amount</><K><()><>..like that
    pls advise...what changes i've to do
    thanks & regards
    sankar.

  • Help reqd for searching the web

    Hi
    The code which i have written to search the web
    ctx_ddl.create_preference('my_url','URL_DATASTORE');
    ctx_ddl.set_attribute('my_url','HTTP_PROXY','www-proxy.us.oracle.com');
    ctx_ddl.set_attribute('my_url','NO_PROXY','us.oracle.com');
    ctx_ddl.set_attribute('my_url','Timeout','300');
    create table urls(id number primary key, docs varchar2(2000));
    create index datastores_text on urls ( docs )
    indextype is ctxsys.context parameters ( 'Datastore my_url' ); I made a small change in the table inserted like this
    insert into urls values(111555,'http://www.oracle.com')
    When i recreated the index I got the error like this
    ERROR at line 1:
    ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
    ORA-20000: Oracle Text error:
    ORA-00600: internal error code, arguments: [kghfrf1], [0x0], [], [], [], [],
    ORA-06512: at "CTXSYS.DRUE", line 157
    ORA-06512: at "CTXSYS.TEXTINDEXMETHODS", line 176
    When i checked the ctx_user_index_errors table i didnt get much info.
    My qn. is
    1. What is the problem is there any more setting should i use (using Oracle 9i AS)
    1. And if i want search only in Html section of the domain where should set the path.
    2. If i put a html section group and filter <h1>, will this be a problem in searching
    documents.
    Thanx
    K P Hari

    Not a direct answer to your problem I know, but I noticed you posted a few days ago asking whether there was a crawler available. I would suggest you check out Oracle UltraSearch to see if it will meet your needs better than creating an index like you are doing. I think you'll be pleasantly surprised at how easy the setup is!

  • "Expand Title" in imovie breaks the title into two lines

    How do I phrase this so people will find the problem and help me solve it?
    When I use "Expand Lower Third" title in iMovie, I type in a sentence and the title starts playing fine, but less than half a second after it starts, the title breaks into two lines.
    Changing the font size doesn't seem to help.  Also, no matter what I do, the jump happens right at the beginning, so it's very distracting and unprofessional.
    Grr!!!

    Hi Flick, I'm having  the same issue with the Expand title mate - exactly as you explained it. I'm going to bin it and use another Title. Must be a bug. 

  • SAP Script : to display the material description in two lines

    Hi All,
    I'm working on scripts.
    the material description field is been passed from my driver program ..into the script..
    Ex: &gs_final-maktx& ..
    There r a number of other fields to be displayed ...after this field ....
    Is there any option to split the 'Material description into two lines'?
    Ex: at present it is :
    This is material description
    Requirement is:
    This is material
    description
    I mean that there a number of field berfore and after this field......in the same line
    I need to jst split the materia description ...& make it to appear in two lines.....!!
    Expecting your suggestions....
    Edited by: vidya vidya on Nov 11, 2008 3:17 PM
    Edited by: vidya vidya on Nov 11, 2008 3:20 PM

    FM TEXT_SPLIT ?
    ..but i handled this by code.
    DATA:      zzboldsx(18) TYPE c,
          zzboldsx2(18) TYPE c,
          zzboldsx3(18) TYPE c,
          zzboldsx4(18) TYPE c.
    DATA: i_lines TYPE STANDARD TABLE OF tline WITH HEADER LINE ,
            r_lines TYPE tline,
            v_cnt LIKE sy-tabix.
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
          client                  = sy-mandt
          id                      = stxh-tdid
          language                = stxh-tdspras
          name                    = name
          object                  = stxh-tdobject
        TABLES
          lines                   = i_lines[]
        EXCEPTIONS
          id                      = 1
          language                = 2
          name                    = 3
          not_found               = 4
          object                  = 5
          reference_check         = 6
          wrong_access_to_archive = 7
          OTHERS                  = 8.
      IF sy-subrc = 0.
    * Only 4 lines of Header text supported. Can add if needed
        LOOP AT i_lines INTO r_lines.
          CONDENSE r_lines-tdline NO-GAPS.
          v_cnt = v_cnt + 1.
          CASE v_cnt.
            WHEN 1.
              zzboldsx = r_lines-tdline.
            WHEN 2.
              zzboldsx2 = r_lines-tdline.
            WHEN 3.
              zzboldsx3 = r_lines-tdline.
            WHEN 4.
              zzboldsx4 = r_lines-tdline.
            WHEN OTHERS.
              EXIT.
          ENDCASE.
    *   zzbolDSX =  i_lines-tdline .
        ENDLOOP.

  • I downloaded the trial version of Adobe XL for converting a Word doc into PDF - can't find it.

    I downloaded the trial version of Adobe XL for converting a Word doc into PDS - can't find it now.  Need asap!

    You want the forum for Acrobat then: Acrobat

  • Suggestion for Spell Check - add the word 'Texting' to the dictionary!  XP

    Just an interesting thing encountered with spell check on this site - it doesn't have the word 'Texting' in the dictionary!  XP

    You can click on the button "learn" in the spell check dialog box.

  • Print the item text in the PO

    Dear All,
    I had come across one issue.
    In the Purchase order print i am printing the item text and also the header text.
    But in this if it is having the symbol " & " then the text after the "&" symbol was not printing.
    After that symbol it was skipping.
    Can anyone help me in this.

    Hi,
    '&' is used for priting variable's values e.g suppose there is a variabel 'lv_var' and if i want to print the value of it in script i have
    to write code as '&LV_VAR&' (& in the start and end of the variable name), and this is why the text after '&' in your line item, is
    not getting printed.
    To resolve this issue just replace '&' with 'and' (hope is is being used for AND).
    Regards,
    Raj Gupta

  • How do i change the text in a submenu diffrent than the page name? I want it wrap into two lines

    How do i change the text in a submenu diffrent than the page name? I want it wrap into two lines or be a diffrent title but i can't figure out how to make any changes to the text.

    Hello,
    Text in Menu/Submenu canno tbe changed while using menu widget. However, if you use the Manual Menu option, then you can create your own Menu and add the hyperlinks according to your requirement.
    To create Manual Menu, please follow the steps below :
    1) In the Widget palette, go to "Menus" click and drag "Vertical/Hrizontal" into your artboard/workspace
    2) Click on the widget itself to a blue arrow appears to the right
    3) There is a drop down called "Menu Type" set it to "Manual" (as shown in screenshot) :
    4) Now You can create your own Menu and add your own text and hyperlink to  this Menu.
    Hope this helps.
    Regards,
    Sachin

  • After opening my yahoo mail window, I keep getting a very narrow dialogue box with the words "log into Xmarks" I cannot ... and everything is frozen. How can I get rid of this thing, and what is it? I have to hit CNTRL + ALT + ESC to get rid of it.

    After opening my yahoo mail window, I keep getting a very short and narrow dialogue box with the words "log into Xmarks" I cannot ... when it pops up, always upper left of my laptop screen and I try to get into my yahoo mail web page, I get a DING sound and cannot enter it ... everything is frozen. I have to hit CNTRL + ALT + ESC to get rid of it - and then reload my Firefox browser to get back to my yahoo e-mail page ... fortunately for me, Firefox re-stores a previous session ... How can I get rid of this intrusive thing, and what is it? Thanks in advance ... Ted Beaudoin, Welland, ON, Canada

    Remove VideoFileDownload and find a downloader that doesn't contain TextEnhance.

  • How can I print  the figures (text) in a chart WITHOUT a cast shadow?

    hi all,
    in charts (line, column, etc.) i want display the figures (plott points) without cast shadows. Although the cast shadow option in the format bar isn´t aktiv, there is always a lighlty cast shadow when i´m printig the document and in my opinion it looks bad.
    isn´s it possible to print the figures (text) of a column chart without a cast shadow? btw: the same effect in pages.
    thx a lot
    rudi

    Hi rudiRocket,
    Welcome to Numbers discussions.
    Yes I see what you're talking about, never noticed it. To remove the shadow I tried numerous fonts but, still the shadow. Let's hope someone else has a better answer. Be aware folks on these Discussion boards are, as yourself end users not Apple employees.
    In the mean time please read the below instructions:
    Send feedback directly to the Numbers team for enhancement requests: at the top of your screen to the right of the blue Apple please click "Numbers" > "Provide Numbers Feedback". Explain in detailed what you've found. This makes your request known to the Numbers team directly; don't expect to hear back from them. I've sent many as well.
    Let's hope the next version of iWork incorporates many of the requested enhancements.
    Thank you in advance for doing that.
    Again, welcome to Numbers Discussions, have fun here.
    Sincerely,
    RicD

  • HP Laserjet P2055dn prints the word JOB first

    I have installed  HP Laserjet P2055dn as a local printer. But when I print a document, it prints the word 'JOB' first before printing my document. I wanted to know how to stop this option. Thank you in advance.

    Yes and No. Yes, its fixed but not me. The printer resolved itself. (I don't know how). The last thing I remember is that after setting the default paper size (A4), I tried printing without changing the paper size in the printer settings, I left it as default, hit the print button, then voila! It's fixed! no more "JOB" on the first printed paper. I hope will someone will help us soon. It's been a while. 

  • Code for displaying the word doc file from servlet as response.

    Hi can any provide me code for displaying the word document form servlet as response.
    here i have file from file it should ale to read them and display it.
    i have written code but the proble here is in displaying.it ios as not showing as word.can any one help me here
    vijay

    Are we talking of HTTP?
    If yes, you'll need to provide an appropriate content-type and use the binary output stream.
    IE does not trust the content-type header but relies upon the file name, so set it too.
    response.setHeader( "Content-Disposition", "attachment; filename=" etc. Edited by: BIJ001 on Oct 22, 2007 10:10 AM

Maybe you are looking for

  • How to import both CDs of a 2 disc set?

    My daughter has been trying to import the CD Hannah Montana 2 into itunes. The first disc, named Hannah Montana 2, imported easily. When we put the second disc, named Meet Miley Cyrus, into the computer and click import in itunes, it automatically li

  • String comparision issue

    Good morning folks, I want to take basically month and year of sysdate and compare with month and year of field in database and compare them. But it is not working. select case when (concat(TO_CHAR(sysdate, 'MM'), to_char(sysdate,'YYYY')) > concat(to

  • Need to put KeyFigures in to Free Charecteristics

    Hello Gurus, I got one requirement in reporting...i.e i want to put some Keyfigures in to free charecteristics.Please any one tell me is it possibe in our  BW REPORTING. Please any one give me solution. Thanks in Advance. Regards, Raju.

  • File attachment

    hii all i am using a file attachment item i have created the item and it also stores the file in the view html_application_files view i want to store this attachment in my database for that i have created a table and i have written an insert statemen

  • Sharing a PDF without users seeing who else has access?

    Was wondering if there was a way to sharing a PDF without users seeing who else has access?