Smartforms - truncated/lost characters; contin. fill of two cells/windows

Hi Experts,
I would write a long text into two columns. I would use a dynamic solution to define the break point between the two columns (I wouldn't use fixed lengthed rows).
The form contains only secondary windows, the text written is longer than the space available in the first column. So the end of the text may be truncated and lost.
Is there any function to get the last character of the first column (paying attention for the style, upper-case, lower-case, ...)?
Or, is there any settings to link two cells (in a template, fixed height)/two secondary windows together, to not to lost the text, but continue in the second node?
Thanks a lot,
Tamá

Hi,
Thanks for the answers. I try to write an example:
column 1:
line1: This is a continous
line2: text, get from an
line3: itab. I would write
line4: it into two columns
(bottom of secondary window)
column2:
line1: like a newspaper. At first, I
line2: should fill the first column,
line3: continue in the second one.
The two columns are side by side. All the text above is stored in an itab-tline. I write the text in a text node in sec.window1:
This is a continous (right side of sec.window1 is reached, the text is wrapped into a new line)
text, get from an (and so on)
When the bottom of sec.window1 is reached the remain text is truncated.
However, I should continue the text in another column/sec.window (column2)
The text written in column1/lines depends on the used font type, size, and the char too (check width: i or W). If the text is written in upper-case, the printed text is modified:
column1
line1: THIS IS A
line2: CONTINOUS
line3: TEXT, GET FROM
Smartforms wraps the text dynamically at the right side of the window. I've written a code to wrap the text when a declared length is get. But it is not a perfect solution, see example above.
So, I would need a FM which is able to calculate the wrap points before printing, or a solution to link sec.window2 to sec.window1 to continue the text printing.
I've tried template node in a secondary window too, w/o success.
Hope, the description is better now.
Thanks,
Tamas

Similar Messages

  • Two main windows in smartform or two loops in one main window?

    Hello All,
    I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
    and in between these two data i want one template to be printed for item data .
    Smartform is giving me error if i use two main windows
    if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
    scenario is
    header data****
    **item header**
    item data****
    Pls comment....
    Regards,
    Sunny

    As main window can only be one, so try it this way:
    Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
    MAIN_WINDOW
        TEXT1                                     " first header
        LOOP1                                    " header table
            TEXT2                                 " header data
            TEXT3                                  " Second header
            LOOP2                                " item table with where condition
                TEXT4                             " item data
    With luck,
    Pritam.

  • When I tried to update my iPhone 5s to iOS 8.1, I was forced to choose to restore or back up.  Back up wasn't working so I had no choice but to restore.  I lost pictures over the last two years.  Cloud and iTunes backup are not working for me.  Help!

    How can I retrieve photos when it says my cloud and iTunes backups are empty or not backed up?
    When I tried to update my iPhone 5s to iOS 8.1, I was forced to choose to restore or back up.  Back up wasn't working so I had no choice but to restore.  I lost pictures over the last two years.  When I tried my cloud, there was nothing.  I would get notifications that my cloud was full, but I thought there would at least be some photos in there.  When I tried to restore a back up, it said the last time was two years ago.  I thought when you're on wifi, it automatically backs up.  I've charged my iPhone into my Macbook a bunch of times, so something should have backed up.  Is there any hope for my photos?

    Sorry no backup - no pictures.
    Yes phone will automatically backup to icloud when on wifi and phone is charge, but your phone storage was full so it stop backing up.
    Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
    iCloud: iCloud storage and backup overview
    When your phone was connected to your computer, you should've seen an autoplay which would've allowed you to import your pics to your computer as you would a digital camera Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • Smartform with Cyrillic characters

    I have a smartform with Russian characters that works fine when using the font courcyr, but when using timecyr I get '#' in place of the cyrillic characters. I have no problem using the timecyr with sapscript, but the only way I can print cyrillic characters in a smartform is with courcyr and I want to use timecyr. Do smartforms use a different set of fonts than sapscript? Any ideas?
    Thanks
    Craig

    The language of the sapscript might be russian and smartform is not translated to russian.
    If you are using message control for printing, make sure the output issued in the language you are trying to print.
    Regards
    Sridhar

  • I bought an ipod in 2006 and used it only for a few days, and i lost it when it fell two times from my hand and it wasn`t working, help me regarding this.

    i bought an ipod in 2006 and used it only for a few days, and i lost it when it fell two times from my hand and it wasn`t working, help me regarding this.
    REGARDS
    RISHABH AULIYA

    Apple - Support - iPod - Repair pricing - http://www.apple.com/support/ipod/service/prices/
    ipod repair options - https://discussions.apple.com/thread/3900047 and https://discussions.apple.com/message/18867033
    Service Answer Center - iPod - http://support.apple.com/kb/index?page=servicefaq&geo=US&product=ipod  <-- enter correct country once on page.

  • When I downloaded the update to 10.9.4 on my Macbook, I lost the photos in my two projects in iPhoto. Is there a way to retrieve them?

    When I downloaded the update to 10.9.4 on my Macbook, I lost the photos in my two projects in iPhoto. Is there a way to retrieve them?

    I have just found out that my Mac doesn't back up to iCloud.  So, have enabled Time Machine.  I didn't realise I had to setup the backups - thought they were automatic in the iCloud.  Thanks for your help

  • Both HP8000 (C4086A) networked printers truncate several characters left margin after Windows Update

    Our network is a Small Business Windows 2003 network. After the Windows Updates this month both of our HP8000 (C4086A) networked printers truncate several characters left margin; and it doesn't make a difference what the OS is, Windows XP Pro or Windows 7; all 32 bit.
    There are no issues printing to a networked Toshiba ES-555. 

  • I lost my i phone 4S two months ago, still dont want to give up looking for it... help..

    i lost my i phone 4s two months ago, did nothing but was heart broken... still feel like i dont want to give up searching for it.. is there anyway that i can track where it is??

    No

  • Lost characters (?) in Strings (UTF-8, Chinese)

    Hi,
    I keep having troubles with "lost" characters in Chinese.
    Some Chinese characters in UTF-8 are displayed correctly and also stored correctly in my file, but some other characters just get lost(?) in the string.
    Does anybody know what possibly could be the mistake?
    thanks for your help
    thomas

    Try the following for testing fonts on your OS.
    import java.awt.*;
    public class TestFonts{
    public static void main(String[] args) throws java.lang.Exception{
      String sample = new String(new char[]{(char)0x4e00, (char)0x505a});//choose your own characters in the array char[]
      java.awt.Font[] fonts = java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
      int q=0;
       for (int j = 0; j< fonts.length; j++){
           q = fonts[j].canDisplayUpTo(sample);
           if ((q == -1) ||(q == sample.length())){
                    System.out.print(fonts[j].getFamily());
                    System.out.print(" :    ");
                    System.out.println("YES ");
                    System.out.println();
       }//end of for
    }

  • I have lost the volume control on two apps on my ipad since updating "Settings".

    I have lost the volume control on two apps on my ipad since updating "Settings".

    The buttons on the side are not adjusting my volume at all.  I can only adjust the volume through settings.  Also when I am in youtube the volume bar is missing.

  • I've lost two application windows -- how do I get them back?

    I can't access two application windows -- Mail and Spotlight. I sometimes use a external monitor so this may be related to that.
    When I switch to Mail, the Mail menu appears on top, but I do not see the window with my mailboxes in it. When I use Expose to see all the open windows, there's my Mail window, in light purple. I click on it, to select it, and the window zoooms away to the left, never to be seen again. The top menu indicates that I'm in Mail.
    The same thing happens to me with Spotlight. I can search in Spotlight, but the results are in an inaccessible window that zooms away when I try to select it in Expose.
    Plugging in an external monitor again does not retrieve the window, regardless of whether I mirror the displays or not. After searching these forums, I tried changing the screen resolution to 640x480 instead of 1024x768 but that didn't help. I looked in Library/Preferences to see if I could trash some preferences, but neither application seems to have any, that I know how to identify.
    Any help would be greatly appreciated.

    Just in case this comes up for anyone else... I got the windows BACK by hooking my computer up to the external monitor, and REVERSING the arrangement of the monitors (so the one that was on the left was on the right, and vice versa). This placed the window in my field of view and I was able to retrieve it.

  • How to Print text in two main windows

    For printing label have created two main windows on a page. calling function write_form In ABAP Program under do loop for two times. 
    but program prints only one window. why is it so? how can i print text on two windows.
    do 2 times.
      COUNT = COUNT + 1.
    loop at itab WHERE DEPTT LT 200.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            ELEMENT  = 'TEST'
            FUNCTION = 'SET'
            TYPE     = 'BODY'
          WINDOW   = 'MAIN'
          EXCEPTIONS
           ELEMENT   = 1
           FUNCTION  = 2
           TYPE      = 3
           UNOPENED  = 4
           UNSTARTED = 5
           WINDOW    = 6
           OTHERS    = 7.
      endloop.
    enddo.
    Please guide.

    Since the information is variable and coming out of the print program, I can assume you want to print many labels but two to a page. Also, any page numbering, etc will need to be updated. This is easily accomplished with SAPScript but a feature people rarely use I believe. Here are the simple steps:
    1) On the Windows Screen: Creat a main window for the size of the label, etc knowing that you will be putting multiple windows on a page. For example, if page size is 8.5 x 11, maybe your window size is 6 X 4 or something similar. You only need one main window defined.
    2) Now go to Page Windows Screen. Add a window MAIN and down at the bottom where it says Window Type put in MAIN. Next to this field is a little field about two characters long. In here put in '01'.
    3) Now Add another window MAIN and down at the bottom put in '02'.
    Hopefully this gives you the idea. I've done this with up to 30 small windows in order to print variable window for labels on label stock such as Avery 8167, etc. 
    Good Luck!
    Tim Stadler
    Menasha Corporation

  • Why do two firefox windows open when I try to open just one?

    When I start fire fox, it opens two windows.

    Do you actually mean two separate windows or two tabs in the same window?
    You can check for problems with the sessionstore.js and sessionstore.bak files in the Firefox profile folder that store session data.
    Delete the sessionstore.js file and possible sessionstore-##.js files with a number and sessionstore.bak in the Firefox profile folder.
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    *http://kb.mozillazine.org/Multiple_profile_files_created
    Deleting sessionstore.js will cause App Tabs and Tab Groups and open and closed (undo) tabs to get lost and you will have to recreate them (make a note or bookmark them if possible).

  • Compare two cells in a ALV

    Hi!!
    I'm doing an ALV, and I need to compare two cells. Only one of them could be inform.
    I used this code:
          CLASS lcl_event_hadler DEFINITION
    CLASS lcl_event_handler DEFINITION.
      PUBLIC SECTION.
        METHODS:
          handle_data_changed
            FOR EVENT data_changed OF cl_gui_alv_grid
                IMPORTING er_data_changed.
    ENDCLASS.                    "lcl_event_handler DEFINITION
          CLASS lcl_event_handler IMPLEMENTATION
    CLASS lcl_event_handler IMPLEMENTATION.
          METHOD handle_data_changed
      METHOD handle_data_changed.
        PERFORM handle_data_changed USING er_data_changed.
      ENDMETHOD.                    "handle_data_changed
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    *&      Form  HANDLE_DATA_CHANGED
          text
         -->P_ER_DATA_CHANGED  text
    FORM handle_data_changed  USING    ir_data_changed
                                       TYPE REF TO
                                       cl_alv_changed_data_protocol.
      DATA: ls_mod_cell TYPE lvc_s_modi,
            lv_value    TYPE lvc_value,
            lv_value1   TYPE lvc_value.
    SORT ir_data_changed->mt_mod_cells." BY row_id.
      LOOP AT ir_data_changed->mt_mod_cells
                               INTO ls_mod_cell
                               WHERE fieldname = 'CELL2'.
        CALL METHOD ir_data_changed->get_cell_value
          EXPORTING
            i_row_id    = ls_mod_cell-row_id
            i_fieldname = 'CELL2'
          IMPORTING
            e_value     = lv_value1.
      ENDLOOP.
      LOOP AT ir_data_changed->mt_mod_cells
                              INTO ls_mod_cell
                              WHERE fieldname = 'CELL1'.
        IF it_prueba-clase IS INITIAL.
          CALL METHOD ir_data_changed->modify_cell
            EXPORTING
              i_row_id    = ls_mod_cell-row_id
              i_fieldname = ls_mod_cell-fieldname
              i_value     = campo_prueba.
        ENDIF.
        CALL METHOD ir_data_changed->get_cell_value
          EXPORTING
            i_row_id    = ls_mod_cell-row_id
            i_fieldname = 'CELL1'
          IMPORTING
            e_value     = lv_value.
        IF lv_value = lv_value1.
          CALL METHOD ir_data_changed->add_protocol_entry
            EXPORTING
              i_msgid     = 'SU'
              i_msgno     = '000'
              i_msgty     = 'E'
              i_msgv1     = 'Only one cell '
              i_fieldname = ls_mod_cell-fieldname
              i_row_id    = ls_mod_cell-row_id.
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " HANDLE_DATA_CHANGED
    With this code, i can check only one time the cells. If I clear cell2 press enter, and then I write in cell2 again it code doesn't work.
    How can i do it with other method?
    Thanks in advance

    Head Crab wrote:
    Tuesdays 1st 2nd 3rd 4th 5th MB
    Jan 4, 2011 7 14 21 28 36 32
    Jan 11, 2011 5 15 25 28 38 16
    Jan 18, 2011 2 17 25 28 38 25
    Okay, say the above is my table, how do I compare two cells in a row for two numbers? Say I wanted to find out if row A2 contained a 7 and a 28?
    "A2" is an address for a single cell, not a row. Its current content, assuming no empty rows above or empty columns left of what's shown, is "Jan 4, 2011". Perhaps you mean Row 2, or the range B2:G2.
    Assuming that you want to know 'if' (or 'how many times') two specific numbers occur in the range of cells from column B to column G in a single row, COUNTIF is the function you want.
    Place the two target numbers into cell I1 and J1.
    Enter the formula below into I2:
    =COUNTIF($B2:$G2,I$1)
    Fill the formula right into J2, then fill both down to row 4.
    You'll get a count of the occurrences of each number.
    If you want only a "Yes" (both numbers appear in the range) or "No" (neither of the numbers appear, or one appears but not the other), use this variation (in I2 or J2):
    =IF(AND(COUNTIF($B2:$G2,I$1)>0,COUNTIF($B2:$G2,J$1)>0),"Yes","No")
    Regards,
    Barry

  • Compare two cells in a row and group of rows

    Tuesdays 1st 2nd 3rd 4th 5th MB
    Jan 4, 2011 7 14 21 28 36 32
    Jan 11, 2011 5 15 25 28 38 16
    Jan 18, 2011 2 17 25 28 38 25
    Okay, say the above is my table, how do I compare two cells in a row for two numbers? Say I wanted to find out if row A2 contained a 7 and a 28?
    I thought an IF formula might do it, but can't figure it out.
    Thanks in advance!
    Jim

    Head Crab wrote:
    Tuesdays 1st 2nd 3rd 4th 5th MB
    Jan 4, 2011 7 14 21 28 36 32
    Jan 11, 2011 5 15 25 28 38 16
    Jan 18, 2011 2 17 25 28 38 25
    Okay, say the above is my table, how do I compare two cells in a row for two numbers? Say I wanted to find out if row A2 contained a 7 and a 28?
    "A2" is an address for a single cell, not a row. Its current content, assuming no empty rows above or empty columns left of what's shown, is "Jan 4, 2011". Perhaps you mean Row 2, or the range B2:G2.
    Assuming that you want to know 'if' (or 'how many times') two specific numbers occur in the range of cells from column B to column G in a single row, COUNTIF is the function you want.
    Place the two target numbers into cell I1 and J1.
    Enter the formula below into I2:
    =COUNTIF($B2:$G2,I$1)
    Fill the formula right into J2, then fill both down to row 4.
    You'll get a count of the occurrences of each number.
    If you want only a "Yes" (both numbers appear in the range) or "No" (neither of the numbers appear, or one appears but not the other), use this variation (in I2 or J2):
    =IF(AND(COUNTIF($B2:$G2,I$1)>0,COUNTIF($B2:$G2,J$1)>0),"Yes","No")
    Regards,
    Barry

Maybe you are looking for

  • FCP 7 will not see my Canon XHA1S

    I have just bought a new *Canon XHA1S* HD Camcorder and made a few clips, all HD 1080i 50 (PAL). I have tried connect the camera via the 400 (6 pin) Firewire socket on the camera to the 800 on the MAC Pro. No matter what I try the MAC has no idea it

  • How do I change the text color of desktop icons in OS X Yosemite?

    I have a lighter background for my finder and keep many icons on it.  Due to the lighter background, I need to adjust the text color of the icon to a darker color.  I can't locate where to adjust from the default (white) to a grey.

  • 300 dpi images turn fuzzy when export as interactive or screen res pdf

    Hi, my print brochure is fine, sharp, linked etc. But when I try to export as interactive pdf or screen res pdf, for online purposes, my clean logos and pix turn nasty. Do I need to change them individually to 72dpi and change them to rgb (i thought

  • Hot sync

    When I sync, the Log has a message:  Outlook Calendar-RS synchronization failed.  All the other areas in the Log say "OK", i.e., Expense, Outlook Contacts, Tasks, etc. Can anyone suggest how to fix?  thanks, Ray Post relates to: Palm IIIxe

  • Menu bar is partially hidden

    [http://i52.tinypic.com/34imigx.jpg This is what my menu bar looks like] I have a partially hidden menu bar that just happened recently. No idea what caused the change. v4.0.1