Unable to print text in continuity in smartform

Hi
I i am not able to print the whole text in the smartform , it prints half of the text in one line and half in the second .
I want to print it in continuity , how do i go about it ?
The code i wrote is as follows:
CLEAR: ls_object, itab_note, wa_note.
UNPACK contract-recnnr TO contract-recnnr.
CONCATENATE contract-bukrs contract-recnnr INTO ls_object-instid.
ls_object-typeid = 'BUS1505'.
ls_object-catid  = 'BO'.                "constant
CLEAR: ls_relopt, lt_relopt.
ls_relopt-sign   = 'I'.
ls_relopt-option = 'EQ'.
ls_relopt-low    = 'NOTE'.
APPEND ls_relopt TO lt_relopt.
TRY.
CALL METHOD cl_binary_relation=>read_links_of_binrels
EXPORTING
is_object           = ls_object
it_relation_options = lt_relopt
ip_role             = 'GOSAPPLOBJ'
ip_no_buffer        = 'X'
IMPORTING
et_links            = lt_link.
CATCH cx_obl_parameter_error.
CATCH cx_obl_internal_error.
CATCH cx_obl_model_error.
ENDTRY.
SORT lt_link DESCENDING BY utctime.
DATA: wf_clause(7) TYPE c.
DATA: itab_lines  TYPE so_text255 OCCURS 0 WITH HEADER LINE.
DATA: wf_crlfch(10).
CALL FUNCTION 'SRET_BINARY_TO_TEXT'
EXPORTING
xbuffer    = wc_crlf
laiso      = '00'
IMPORTING
textbuffer = wf_crlfch
EXCEPTIONS
failed     = 1
OTHERS     = 2.
**FIND first note
IF lt_link IS NOT INITIAL.
LOOP AT lt_link INTO ls_link.
read content of note
ld_doc_id = ls_link-instid_b.
CALL FUNCTION 'SO_DOCUMENT_READ_API1'
EXPORTING
document_id                = ld_doc_id
IMPORTING
document_data              = doc_data
TABLES
object_content             = t_notecontent
EXCEPTIONS
document_id_not_exist      = 1
operation_no_authorization = 2
x_error                    = 3
OTHERS                     = 4.
wa_note-title = doc_data-obj_descr.
wa_note-createdby = doc_data-creat_name.
wa_note-createddate = doc_data-creat_date.
  Check if the line begins with 'Clause:' (any case).
wf_clause = wa_note-title(7).
TRANSLATE wf_clause TO UPPER CASE.
IF wf_clause EQ 'CLAUSE:'.
    Lease Notes with Clauses
wa_note-clauses = 'X'.
ELSE.
    Lease Notes without Clauses
wa_note-clauses = ' '.
ENDIF.
LOOP AT t_notecontent INTO notecontent.
REFRESH itab_lines.
TRANSLATE notecontent-line USING wf_crlfch.
SPLIT notecontent-line AT '
' INTO TABLE itab_lines.

hi Sweta,
The window size can be the problem
please increase the size of the window and see how many character more is coming in the first line.
Then adjust accordingly.
There is one more option which you can try , create another character format of smaller font and try.
Regards,
Avi............

Similar Messages

  • Can't print text documents

    For a little over a week I have been unable to print text documents from either of my printers (Lexmark Z-23 and HP PSC 1410). I had noticed that the sharpness of text had been declining-but I was in denial, sort of. Now, when printing text documents from the computer, the printout is garbled, streaked, and unreadable. Sometimes the first half of printed document will be okay but the second half will be all garbled and streaked.
    I have tried to print from Pages, Appleworks, and TextEdit. No success in any of them. I have converted a page of my word processing document to pdf format, but it does not print out properly in pdf, either.
    Here's the weird part: the HP will produce good copies (copy function) I am able to print out beautiful iCal (calendar) pages; some web-based information (like maps with directions) comes out great; and even "screen-shots" (or pictures) of text documents are fine; I just can't print text-based documents.
    So far, I have cleaned and calibrated the printers; they have enough ink. I have uninstalled then reinstalled the software and drivers.
    Help?
    ~~PM
    iMac G5 2GHz PPC   Mac OS X (10.4.8)   still miss my Indigo G3

    my guess is, it's not your printers that are the
    problem but maybe a font problem.
    Have you done anything with fonts lately?
    Why, yes.
    Just today, in FontBook I validated fonts and
    resolved duplicates, whatever that means. I also
    "turned off" a bunch of fonts that I never use. Then
    I restarted, reset PRAM, and repaired permissions in
    Disk Utility.
    I still have the problem.
    What other kinds of things can you do with fonts?
    ~PM, wife of GM
    Glenn-- Here is a great article written by a fellow apple forum frequenter:
    http://www.jklstudios.com/misc/osxfonts.html
    Maybe you can read it or weed thru it and make sure you haven't turned off any necessary fonts that you don't use but the system finds necessary. Especially "TextEdit" uses I think exclusively system fonts and if you've turned them off... It's just good to know which fonts are for what before you disable certain ones.
    I believe fonts can definitely cause these sorts of problems, especially if you've disabled system fonts.

  • Am using hp deskjet 1050 series...am not able to print text in black ,why?

    hie....am using the hp deskjet 1050 printer and scanner ....ealier i was able to print all kind of text(black and color)....but now am unable to print text in black....why is it so?

    Hi,
    Please go to HP Printer Assistant (you can see this in Start Menu->HP->HP 3540 Series).Select 'Set Preferences'.Go to Layout tab and select Advanced tab. Go to Document Options and select 'Black Ink Only' (for black prints only).
    Colour Only doesnot makes sense. If you want to print the colour,just reset the above option.
    By default, HP printer prints black area with black and color with color.
    Hope this helps.

  • Probelm in printing tabspace in barcode thro smartforms

    Hi Friends,
    I want to print the Barcode label thro smartforms. My code is as follows,
    I want to use TABSPACE separation in between fields instead of SPACE how do i do this pls guide me for the same. I  am using SAP ECC 5.0 version. So i tried using SEPARATED BY cl_abap_char_utilities=>HORIZONTAL_TAB but i am getting ' # ' sign in it. so pls help how to do it?
    DATA: GT_LINES  TYPE STANDARD TABLE OF TLINE,
    GS_LINES  LIKE LINE OF GT_LINES,
    NAME      LIKE THEAD-TDNAME.
    GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
    NAME = GS_HD_GEN-BIL_NUMBER.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        CLIENT   = SY-MANDT
        ID       = 'ZFOR'
        LANGUAGE = 'E'
        NAME     = NAME
        OBJECT   = 'VBBK'
      TABLES
        LINES    = GT_LINES.
    IF SY-SUBRC = 0.
      LOOP AT GT_LINES INTO GS_LINES.
        IF SY-TABIX = 1.
          TDLINE = GS_LINES-TDLINE.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 2.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 3.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ELSEIF SY-TABIX = 4.
          G_STR4 = TDLINE."GS_LINES-TDLINE.
        ENDIF.
        CLEAR GS_LINES.
      ENDLOOP.
    ENDIF.
    DATA  LV_DEPEXNUM LIKE J_1IRG23D-DEPEXNUM.
    GS_HD_REF = IS_BIL_INVOICE-HD_REF.
    SELECT SINGLE DEPEXNUM FROM
    J_1IRG23D INTO LV_DEPEXNUM
    WHERE VBELN EQ GS_HD_REF-DELIV_NUMB.
    DATA: GV_DATE(10).
    WRITE GS_HD_GEN-BIL_DATE TO GV_DATE mm/dd/yyyy.
    DATA : LV_STR(15)." LIKE IS_BIL_INVOICE-HD_GEN-DPEND.
    read condition header data
    gs_hd_kond = is_bil_invoice-hd_kond.
    *reading excise data
    CLEAR: GS_HD_REF, GS_HD_GEN.
    READ TABLE gs_hd_kond INTO gs_hd_kond_w WITH KEY kschl = 'JEXT'.
    LV_STR = IS_BIL_INVOICE-HD_GEN-DPEND.
    read ref data
    GS_HD_REF = IS_BIL_INVOICE-HD_REF.
    read gen data
    GS_HD_GEN = IS_BIL_INVOICE-HD_GEN.
    clear: g_str, g_str1, g_str2, g_str3.
    concatenate
    IS_BIL_INVOICE-HD_REF-PURCH_NO
    LV_DEPEXNUM
    *GS_HD_GEN-BIL_DATE
    GV_DATE
    G_STR4
    LV_STR
    into g_str SEPARATED BY SPACE.
    clear: g_str1, g_str2, g_str3.
    LOOP AT IS_BIL_INVOICE-IT_GEN INTO GS_IT_GEN.
      IF SY-TABIX < 10.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT   " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ELSEIF SY-TABIX < 9.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT    " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT  " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ELSE.
        CLEAR G_STR1.
        g_str1 = GS_IT_GEN-FKIMG.
        concatenate g_str
        GS_IT_GEN-CUST_MAT    " AR ++ 29.07
                  GS_IT_GEN-SHORT_TEXT  " AR -- 29.07
        g_str1
        into g_str separated by SPACE.
      ENDIF.
    ENDLOOP.

    Hi,
    There are two types are barcode existing in sap like system barcode and printer barcode. Use Tcode SE73 to create any of those.
    If you want to create your own customized barcode then you have to opt system barcode. Here while creating barcode it will ask whether to create new barocde or copy of existing barcode.
    However by taking into consideration your requirement, you have to create system bar code.
    Goto SE73->System barcode->change-> create new barcode->New barcode technology.
    Here you have to mention barcode name and short text. then supported barcode symbology like C39,C128, code93 etc.
    After selecting any of the symbology, you have to choose Bar Code Alignment: like normal. inverted, etc. Then specify other barcode parameters like height,width, barcode ratio etc.
    Then try to print any text element with this customized barcode as per your requirement.
    Like you can print text element with smartform style, here you can include your customized created barcode in character format. While creating charactor format, give name of your customized barcode in standard setting->name.
    Then print text element by using smartform style.
    Hope this works for you.
    Thanks.......

  • How to print text on back and back of page in smartforms

    How to print text on back and back of page in smartforms.

    Prince,
    in page's output option you can set D for double-sided.
    Default: No change of print mode
    S     Begin new page in SIMPLEX mode (single-sided)
    D     Begin new page in DUPLEX mode (double-sided)
    T     Begin new page in TUMBLE DUPLEX mode (double-sided)
    Amit.

  • I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I downloaded OpenOffice and am able to print documents (in particular, the same document I created in MS Word). I guess MS Word is to blame. I believe the issue is concluded, but I'd welcome any comments about the Active Directory, as I might have a problem
    with OpenOffice in the future regarding that.

  • Printing text verticallyin smartform

    Hi all,
    How can we print text vertically.(INVERTED ) IN SMARTFORM.
    Tnks in Advance.

    The only way to print text vertically in SMARTFORMS is to place each character on it's own line or in a specific window or template that has been created to hold one character--as in the following example:
    E
    x
    a
    m
    p
    l
    e
    Adobe printforms on SAP (t-code SFP) can rotate your text if you're on a system that has been setup for that.
    If, by "inverted", you mean upside-down then the only way to do this in SMARTFORMS, that I know of, is to create an image of your information upside-down and include that as an image in your SMARTFORM where needed (not recommended).  If you have to pull the information in dynamically for this issue then this approach will not work.  There are bar codes that can be inverted (upside-down) in SMARTFORMS but that was not your question--just thought I would mention that.

  • Iam unable to print  u2264 in Smartforms

    Hi everyone,
    Iam unable to print  &#8804; symbol in Smartforms. When i use this
    symbol it is printing as # and when iam converting smartform
    to PDF format it is showing  &#8804; symbol as 'd' .Please help me in this issue. It is very urgent.
    Thanks in advance
    Manohar

    Hi Manohar,
    Is your system unicode enabled? if so try using the true type font, which will support all the special characteristics. If your system is not unicode enabled then try changing your font to helvecyr or timescyr and also try changing the device type to get the proper print out.
    Hope this helps you

  • How to print text in paper format iin smartforms

    Hi all,
      I want a question that  how to print text in paper format like  paper divides into 2 parts and if the firstpart is full of text i.e., it exceeds the first page the text will be displyed in the second part of the first page.
    Usefull answers will be awarded.
    Thanks all...

    Hi,
    U create two windows in the page and same as like second page.
    but in first page first window select the condition print only on first page.
    in second window select conditin print only on second page.
    first try without creating a secondpage. if that doesn't workout create secondpage and try.
    Assign points if useful.
    Regards
    (YUGANDHAR.P)

  • Unable to print to HP 6700

    I am unable to print wireless via my Mac to my HP printer. It was working fine for the past 12 months for both Mac's & PC's and it continues to work fine with several different PC's in my house. When I attempt to print it shows up in the queue but it indicates "Print File is Empty" The printer ultimately pauses. It is reading the toner levels and communicating with the printer, it just does not print. I was able to print a test sheet from the HP utility that bypasses the drivers. I have when down every step recommend by HP. This problem seemed to crop up after an upgrade of my OS to version 10.6.8. I have tried deleting the printer several times and re-installing the software and appropriate drivers

    Hi, is this what you tried?
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    10.5/10.6/10.7/10.8 instructions...
    In System Preferences>Fax & Print, Right click or Control+click on the Printers list Sidebar, choose Reset Printing System.
    if you hold option and click the "-" tab it resets the printing system.
    http://www.macosxhints.com/article.php?story=20031215144430486
    Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions.
    Any devices that previously appeared in your Printer List and Fax List will need to be added again after resetting the printing system.
    Resetting the printing system in Mac OS X 10.5.x+++
        1.    To use the Reset Printing System feature in Mac OS X 10.5.x, follow these steps:
        2.    Choose System Preferences from the Apple menu.
        3.    Choose Print & Fax from the View menu.
        4.    Control-click on list of printers on the left side of the window, then choose "Reset printing system" from the contextual menu. If you don't see a list of printers, Control-click on the text "Click + to add a printer or fax" and select "Reset printing system..." 
   
  As an alternative, if you currently have one or more printers listed, you can Option-click the "-" (Remove printer) button.
    http://support.apple.com/kb/ht1341
    Reboot.

  • How to print text vertically in smart forms

    hi,
    Can any one tell how to print text vertically in smartforms
    ADVANCE THANKS
    GUHAPRIYAN

    HI,
    Chk out  this thread.Maybe it proves helpful.
    Re: vertical writing in smartforms
    Regards,
    Gayathri

  • Unable to print Complete ALV report

    Hi All,
    I have made an Object Oriented ALV report .
    When I try to print the ALV output I get a warning message "Unable to print last 25 records ."
    Any suggestions to remove that message !
    Regards,
    Mukul Sharma.

    This could be an Formscentral issue, the expected behavior is when you click "generate summary report" button, if the form has no responses, it will show "your form has no responses." UI with Test Form button. if the form has at least one response, the report should be generated for you.
    One of such templates is "Training Feedback", "generate summary report" button is on Summary Report tab since this template only have plain text field and an data field.
    Would you mind share your form with me([email protected]) if you don't see upon "expected" behavior.
    Thanks,
    Pengpeng Sun

  • Unable to print the report in second page

    Hi,
    I've got a problem in the report. Here In a report, I'm able to print the report's data in the first page only. I'm unable to print it in the second page,third page etc.
    To rectify the problem, I've selected all the fields and set their property "Print Object on" to All pages. Still the problem exists.
    Thanks in advance.
    Regards,

    What exactly do you mean by 'unable' ? Do you only get a 1 page report, OR do you get multiple pages with the 2nd, 3rd blank OR do the 2nd, 3rd have text but not data OR something else?
    "Print Object On" should be "First Page" - it sounds wrong but it's talking about logical pages (which may be multiple physical pages).

  • I am unable to print PDF's using either Adobe Reader or Safari. In Adobe Reader, I get an error message from my Cannon printer that says, "/usr.libexec/cups/filter/pstocupsraster failed". In Safari, I can only print the first page of a PDF.

    To try to resolve this problem, I have done the following actions.
    1 - I have run Disk Warrior.
    2 - I have repaired permissions.
    3 - I have deleted all plist that are either Cannon or Adobe.
    4 - I have downloaded and installed the lastest versions of Adobe Reader and the Cannon printer drivers.
    I am still unable to print PDF's.
    In Safari, I can print only the first page. In a multipage PDF, Safari only seems to recognize the first page.
    In Adobe Reader, I get an error message from my printer: "/usr/libexec/cups/filter/pstocupsraster failed".
    Any help would be greatly appreicated!

    Quit Safari.
    Open the Library folder in your home folder as follows:
    ☞ If running OS X 10.7 or later, hold down the option key and select Go ▹ Library from the Finder menu bar.
    ☞ If running an older version of OS X, select Go ▹ Go to Folder… from the Finder menu bar and copy the line below into the text box that opens:
    ~/Library
    Delete the following items from the Library folder:
    Caches/com.apple.Safari/Cache.db
    Preferences/com.apple.quicktime.plugin.preferences.plist
    Preferences/QuickTime Preferences
    Relaunch Safari and test.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ If you’re running OS X 10.7 or later, open LaunchPad. Click Utilities, then Console in the page that opens.
    Select "/var/log/cups/error_log" from the file list. Post the messages from the time of the last printing attempt.
    Post the log text, please, not a screenshot. If there are runs of repeated messages, post only one example of each. Don’t post many repetitions of the same message.

  • Problem in printing multiple main window in smartforms

    Hi Experts,
    I have requirement form client to print PO which consists of 4 page.
    First page is cosists of header and some text.
    In second page different header and line item.
    Thirs page different header and line item.
    4th page different header and line item.
    I have printed tex in main window of first page and called command to trigger
    second page main window, but i am getting dump.
    How to print the line item in the multiple page of smartforms.
    Regards,
    Udupi

    Hello ,
    To print the text below are following steps which you can follow for your requirement :
    1. Create the Four pages having the Main Window, but take care that Logic should be in First Page Main window only , other pages main window will be blank.
    2. Create the Secondary Window in second, third & fourth page  which will be same size as the main window having the text which need to be print in respective pages.
    3. Logic Part - in the main window of first page fill all the data which you need to print in 1st to 4th page in different internal table. Now for example you need to print text in first page then in Main window create table having the data of 1st page.
              To print data in Second page create one more table having data of secondpage and put the Command there (follow the same for next pages,)
    I hope this will  help you
    Thanks
    Romit Raina

Maybe you are looking for

  • Channel 0 deselection and JCSystem.makeTransientByteArray memory issues

    Hi, I am writing an applet that should among other things generate HMAC-SHA1 value. However, JCDK 3.02 Classic edition RI does not support Signature.ALG_HMAC_SHA1. That is why I had to make my own HMAC-SHA1 based on MessageDigest.getInstance(MessageD

  • No HDMI audio out after Windows 7 Upgrade

    I have a DV4-1123US with an Intel Integrated Graphics Card(X4500, I think), and Intel High Definition Audio HDMI.  After upgrading to Win7, there is now no longer an option to set HDMI to use as audio.  In other words, HDMI no longer shows up in the

  • Items In Use for File Transfers

    Whenever I transfer several files at a time (7+ or so), I get the error "The operation cannot be complete because the item "(insert filename here)" is in use." I have tried the lsof command in Terminal with no results. This happens with different fil

  • In System prefs I don't have the built in mic as a choice. How can I get it back?

    Hi can anyone tell me how to get the built in mic to show up in Sounds in Sys Prefs?  Right now all I get is "line in... built in audio". I have an old 15" PowerBook G4 1.5GHz

  • FCE 2.0.3 won't run on PowerPC G5 Quad

    Hello, I know there are a few threads about this subject, but my copy of FCE 2.0.3 won't run on G5 Quad. I get the same error messages (AGP card needed, G4 needed) and by editing the info.plist file I am able to get rid of the 'AGP card needed' messa