Display issue with Long Text in Smartform

Hi All,
We have a custom smartform, where we are displaying the Invoice Item level details.
The Item description (InvoiceItemItem Text) is of about 1000 character length and a variable v_temp with 2000 length has been defined and saved.
In debug mode, the complete text is saved in the variable v_temp.
The same variable is placed in the smartform to display the complete text.
But the complete Text is not getting displayed and only the system displays 256 char.
How to resolve this issue?
Regards
Pavan

Hi,
Another workaround will be to define internal table with a field of lenght 256, and use the function module RKD_WORD_WRAP to split the string (v_temp) into 256 characters length. Now loop at this internal table and print the same.
Regards,
Swarna Munukoti.

Similar Messages

  • How to display long text in smartforms

    Hi experts,
    Iam trying to display long text into smartforms.I got the long text into ITAB frm database
    in the abap program.In the form interface how to define the variable?In the long text i have 6 lines.
    points guaranteed
    cheers
    kaki

    Kaki,
    Delcare a table and getting the LONG TEXT is not the right way of doing this.
    You create a TEXT object and change the TYPE to INCLUDE TEXT. Once that is done all you have to do specify the parameters of your long text - TEXT ID, TEXT OBJECT and TEXT NAME. These are the same parameters that you use for READ_TEXT funciton. You don't have to fetch the text manually, it happens automatically.
    Make sure this is a part of the main window as this might run into multiple pages.
    Regards,
    Ravi
    Note : Please reward the posts that help you.

  • Problem with long text

    Hi folks,
    iam uploading longtext in transaction KP06 in bdc programing using create_text.
    now my problem is if i pass selection criteria
    case 1:
    Vertion : N0
    fiscal year : 2007
    planner profile: CCPLAN4
    then the budeget plan data uploading successfully along with long text.
    case2: Vertion : N1
    in this case also everthing wrking fine
    case3: Vertion : 001
    in this case budgetplan data uploading sucessfully but longtext is not uploading,
    i debbug the proragm , create_text also returning sy-subrc = 0. but if i check in KP06  the long text is not there.
    data declaration
    vertion : VERSN type C(3)
    can u tell me the problem is in logic or with FM ?
    note : i checked with save_text also.
    regards
    neeru

    HI Naimesh,
    the FM Create_text internally contains both FMs save_text and commit_text,
    even i debug the FM in case of vertion N1, N0 and 001,
    all the cases sy-subrc = 0.
    code:
    CLEAR G_OBJNR.
    LOOP AT RECORD.
    COST = RECORD-BDC01.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = COST
        IMPORTING
          output = COST.
        CONCATENATE 'KS' p_kokrs record-bdc00 INTO g_objnr.
            SELECT SINGLE * FROM COSP WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
      IF SY-SUBRC = 0.
          LEDNR = COSP-LEDNR.
          OBJNR = COSP-OBJNR.
          GJAHR = COSP-GJAHR.
          WRTTP = COSP-WRTTP.
          VERSN = COSP-VERSN.
          KSTAR = COSP-KSTAR.
          HRKFT = COSP-HRKFT.
          VRGNG = COSP-VRGNG.
          VBUND = COSP-VBUND.
          PARGB = COSP-PARGB.
          BEKNZ = COSP-BEKNZ.
          TWAER = COSP-TWAER.
    CONCATENATE LEDNR OBJNR INTO OBJNR.
    CONCATENATE OBJNR GJAHR INTO TNAME1 separated BY SPACE10.
    CONCATENATE TNAME1 WRTTP VERSN INTO TNAME2.
    CONCATENATE TNAME2 KSTAR INTO TNAME3 separated BY SPACE.
    CONCATENATE TNAME3 VRGNG INTO TNAME4 separated BY SPACE4.
    CONCATENATE TNAME4 BEKNZ INTO TNAME5 separated BY SPACE10.
    CONCATENATE TNAME5 TWAER INTO TNAME.
    I_THEAD-TDOBJECT = 'CCSS'.
    I_THEAD-TDID = 'COSP'.
    I_THEAD-TDNAME = TNAME.
    I_THEAD-TDSPRAS = 'E'.
    APPEND I_THEAD.
    i_tline-tdformat = '*'.
    I_TLINE-TDLINE = RECORD-LONGTEXT.
    APPEND I_TLINE.
    loop at i_thead.
    CALL FUNCTION 'CREATE_TEXT'
      EXPORTING
        FID               = I_THEAD-TDID
        FLANGUAGE         = I_THEAD-TDSPRAS
        FNAME             = I_THEAD-TDNAME
        FOBJECT           = I_THEAD-TDOBJECT
      SAVE_DIRECT       = 'X'
      FFORMAT           = '*'
      TABLES
        FLINES            = i_tline
    EXCEPTIONS
      NO_INIT           = 1
      NO_SAVE           = 2
      OTHERS            = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDLOOP.
    CLEAR I_TLINE.
    REFRESH I_TLINE.
    CLEAR I_THEAD.
    REFRESH I_THEAD.
      SELECT SINGLE * from cokp into itab WHERE OBJNR = g_objnr
                              AND GJAHR = P_GJAHR
                              AND VERSN = p_ver
                              AND KSTAR = COST.
    if sy-subrc = 0.
       itab-TXFLG = 'X'.
       append itab.
       write:/ 'Text saved for', record-bdc00 , record-bdc01.
       else.
          write:/ 'Text saved for', record-bdc00 , record-bdc01.
          ENDIF.
    ENDIF.
    my program wrking fine but the long text is not visible for vertion 001.
    regards
    niru

  • To Display the whole long text on a report display

    Hi All,
    Pls let me know how can i display the full long text in a column of a report display. I am getting the long text from the function module READ_TEXT.
    This is very urgent
    Thanx in advance
    Suresh

    Do you have a fixed column width.  If so, do you want to break the text up into lengths of that fixed length.
    Example...
    <b>Sales Order  Item  Material  Long Text</b>
    123456       10    6000000   This is the long
                                 text of the material
                                 6000000 for the
                                 sales order 123456.
    Regards,
    Rich Heilman

  • Zen - AAC: Playback issue with long songs (± 15 min.)

    Hi,
    I made some tests with AAC Itunes plus files, and I've experiencing playback issue with long songs (when it's about 5 minutes or longer, like the second movement of Beethoven's third).
    During?playback, there is random artifacts added, never at the same place.
    I cleaned up my Zen 6 Gb and even formated it, and the problem still occurs. The latest firmware is installed.
    Is this issue has already been reported?
    Thanks.

    The Zen does in fact support AAC playback, but it's tricky--I've been dealing with this issue for a while, and I think it's finally solved. First of all, when you say "skipping," do you mean that the track skips ahead further into the same track, or does it skip to the next song with an error message like "There was an error with the audio file"? My problem was with the latter. There are a few possible solutions:
    . Delete the erroneous track from your Zen, then re-transfer; in my experience, this corrects the problem, although sometimes it takes a couple of tries.
    2. Make sure your AAC file is in iTunes Plus format (you can choose it in the ripping options in iTunes).
    3. If you haven't already done so, upgrade to Windows 7. This means upgrading to WMP2, which recognizes AAC files and can transfer them to your Zen. It also means you can download a version of Creative Centrale (from the Creative Support site) specifically for the Zen, which replaces the Zen Media Explorer and Creative Mediasource, and which seems to handle AAC transfers much better (so far, I haven't noticed any of the playback errors, but you never know!). By the way, WMP2 and Creative Centrale will also transfer album art easily to the Zen.
    Hope this is helpful.

  • Does anyone else have display issues with Intel X3100 graphics and OS X Lion?

    I took the screenshot below to demonstrate one issue I have had with graphics since upgrading to OS X Lion. I use a Late 2007 MacBook with 2.0GHz Core 2 Duo and the Intel X3100 graphics chipset. I have 4GB RAM. Had to reboot to get this to correct itself. The problem is the menubar (obvious) and the desktop image is missing, replaced by the grey.
    I have an external monitor connected (second image) and everything displays properly there.
    Some other issues I've noticed are using Mission Control sometimes yields unpredictable results, graphically speaking, and the fullscreen apps don't always allow me to see the menubar. These all seem graphically related. Is this a hardware or software problem? Any solutions?

    Here is another display issue with my machine...perhaps software rather than hardware? The icon for the rtf file "Matt Passages" is missing entirely. There is a faint rectangle present instead. The same file has an icon in the first image posted above. No change to the file since then. And two other RTFs have the icon! Odd things with Lion.

  • Display issue with HTML formatted text in report builder

    I am using the FCKeditor in my application to allow endusers
    the ability to create formated text on reports. We curently are
    experiencing 2 issues: 1. If you copy and paste from MS Word
    2003/2007 it will not display the text correclty in the report; 2.
    If you use the FCKeditor toolbar to insert bullets or a numeric
    list it will not align the text correctly on the report. We are
    using Coldfusion 8 with Hotfix 1 and Coldfusion Report Builder's
    lastest build release.
    Has one experiences this same issue with HTML fields not
    printing correctly using the Report Builder? What other HTML
    editors besides FCKeditor might we use?
    Thanks,
    Dan VanWieren

    Can you tell me how to use </td> for each values
    Give me your example report - using before or after report
    Thanks
    MT
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by fdenis:
    Hi Gavin,
    If I understand well, your HTML tags are coded directly in your fields in the database, right? Because if it was not the case, you could have use a format trigger checking for which destination you're generating your report...
    if UPPER(:DESFORMAT) = 'HTML' or
    UPPER(:DESFORMAT) = 'HTMLCSS'
    then
    -- insert your HTML code in the value
    -- of your field. something like...
    newValue := '<B>' | | :YOUR_FIELD | | '</B>
    srw.set_field_char( 0, newValue );
    else
    -- when generating to other format,
    -- you'd have to add the formatting as
    -- you want.
    end if
    return( true );
    Of course, if it's not acceptable to remove the HTML tag from your database fields, you could develop a procedure that would translate your HTML tags to the good formatting (eurk... ;-)
    Good luck... :-)
    Frederic
    <HR></BLOCKQUOTE>
    null

  • Text display issues with htmlText, Embedded Font

    Hey All,
    I'm having an issue with the display of my hyperlinks in a
    textfield that is using embedded fonts. It offsets the hyperlinks
    to the left along the line they are on and the underline doesn't
    stretch all the way under the text field. The text display normally
    when I don't embed the font. For some reason I think this might
    have to do with the embedded character range so I opened it up.
    Does anyone know if this range is enough or if there are special
    characters flash uses that need to be embedded for their width even
    though they arn't displayed.
    Embedded range:
    [Embed(source='MyriadPro-Regular.otf', fontName='Myriad Pro',
    unicodeRange='U+0000-U+00fe')]
    Here's a link to the related code:
    http://pcpnew.privatepaste.com/a7eKaAuCTt

    Any ideas?

  • Text Wrapping issue in Long Texts in ECC 6.0

    Hi,
    We are migrating Tasklist data from SAP 3.1i system to SAP 6.0. So we were moving the existing Long Text in 3.1i with the same paramenters to 6.0, I am facing an issue of text Wrapping(while displaying).
    I am updating complete header data like - TDID, TDOBJECT, TDNAME, Lang, TDFORM(SYSTEM as in 3.1i), Version, Line Size(72 as in 3.1i), Number of Lines by using SAVE_TEXT FM.
    I can see the text is updated properly but when i open the text in display mode(With PC Editor), i can see the text getting wrapped. Line size is limited to 40 Characters whereas in 3.1i its 72 characters.
    Please help me here.
    Thank you.
    Prasad

    Actually i tested with READ_TEXT function module. All parameters are fine, matches exactly with 3.1i but i am facing this issue while displaying.
    In display mode - in 3.1i Ruler shows 7.2 Inches(72 Characters) whereas in 6.0 its 4 inches(40 Characters). Should i go for any settings change so that i can see complete 72 characters in 1 line.
    Prasad

  • Unicode Issue - Corrupted long texts in Plant Maintenance Work Orders

    we're having an issue regarding corrupted texts in a Unicode system. here's the scenario:
    - long text came from 4.5b wherein, of course, the japanese characters are viewable either in EN or JA logon
    - now, this long text when viewed in our acceptance/testing system which is already, take note, already in unicode long text is garbled. both in EN and JA logon long texts are garbled. we are expecting that since the system is already in unicode it can now support code page for japanese.
    (here's the tricky part -- the one seen in the field is properly displayed but when trying to view the complete long text, those that are not in the field are garbled.)
    - we also have some scenarios that came from 4.5b, when viewed in the testing system while not unicoded - it's garbled in EN. this is normal since it's still non-unicoded. and of course when viewed using JA logon it's not corrupted anymore. we're expecting that this will also be the same with the issue above. but it's not.
    please see link for screenshots. [http://img16.imageshack.us/img16/9760/unicodeissuee.jpg|http://img16.imageshack.us/img16/9760/unicodeissuee.jpg]

    i know it's weird.
    but then i talked to a friend, she's an abaper. she said that those that can be converted or properly viewed are texts elements in database tables and those that are like free texts or comments can not. and there's no possible way for this but to manually retype everything.
    makes sense right.

  • Shift Report with Long Text

    how do i  get a shift report out of the PLM (plant maintenance) module that includes the following:
    Work Order Number
    Person Responsible
    Time and date
    Equipment
    Hours Confirmed
    Goods Movement
    Long Text Description of what was done to correct the problem.
    IW40 displays all the necessary fields that we are looking for with the exception of the long text description.
    Thank you
    Nikhil

    Hi ,
          I found an enhacement spot ES_RIAUFK10  - ECC6.0 ,EHP3 ,SE18 for IW40 programme , check the possibility to add a field via this one ..
    For longtext u need to read from STXH Table using FM READ_TEXT
    regrds
    pushpa

  • Issue ith Long text in Quality Notification.

    Hi All,
    I have an Issue with Quality Notification long text change functionality.User reported that he can only append the additional text and can't edit the alaready entered screen. When I verified the config for the notification type it shows that 'Log line' check box have been checked and "No text" change Check Box Not checked. We need log lind and the same time user can edit the alkready entered screen. We are using Ecc 6.0 system.
    Please guide me to fix that Issue.
    Regards,
    Senthil

    Hi,
    you should check in configuration the part "Overview of Notification Type"  (Quality Management>>Quality Notifications>>Overview of Notification Type).
    When you select your notification type you go to "Format Long text" and there you can disable "No text change". This option is useful when you want to add text but don't want to allow modification of existing text.
    Hope this help,
    Serge

  • Print the Long text in Smartform

    Hi all,
    I designed a Work order document using Smartform for the T-Code 'IW32'.
    I am able to print the Operation short text, but there is one more provision for the user to enter long text also.
    I am not getting where this text gets stored in the database.
    Any one can give me some solution to over come this problem.
    Regards,
    Ravi Shankar

    hi Ravi,
    check this link
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/faq
    here in FAQ , you will know abiut how longtext is created and where it is stored
    it might be helpful to you.
    thanks
    Sachin

  • Formating long text in smartforms

    Hi,
    I am receiving a long text in an internal table of lines.
    But when i do the loop to the table to display the lines, i cant justify this same lines to the cell, even if the paragraph is defined as justify.
    Thanks,
    Bruno Pimenta

    Hi,
    check this...
    CALL FUNCTION 'READ_TEXT'
        EXPORTING
         client                        = sy-mandt
          id                            = 'B01'
          language                      = sy-langu
          name                          = name
          object                        = 'EBANH'
    *   ARCHIVE_HANDLE                = 0
    *   LOCAL_CAT                     = ' '
    * IMPORTING
    *   HEADER                        =
        TABLES
          lines                         = it_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.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      REFRESH c_tab[].
      CALL FUNCTION 'CONVERT_ITF_TO_ASCII'
       EXPORTING
    *     CODEPAGE                = '0000'
         formatwidth             = 72
         language                = sy-langu
         tabletype               = 'ASC'
    *     TAB_SUBSTITUTE          = ' '
    *     LF_SUBSTITUTE           = ' '
         replace_symbols         = 'X'
         replace_sapchars        = 'X'
       IMPORTING
    *     FORMATWIDTH_E           =
    *     X_DATATAB               =
         c_datatab               = c_tab[]
    *     X_SIZE                  =
        TABLES
          itf_lines               = it_lines
    *   EXCEPTIONS
    *     INVALID_TABLETYPE       = 1
    *     OTHERS                  = 2
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      LOOP AT c_tab.
        CONCATENATE text c_tab INTO text  SEPARATED BY space.
      ENDLOOP.
    Arunima

  • Facebook display issue with iOS 5.1.1

    Updated to the latest 5.1.1 on my iphone 4s this morning......now I seem to have issues with Facebook. All text is small, condensed, no pictures for any of my friends are displayed, what's going on? Have deleted and reinstalled on the phone, have updated to timeline on laptop, have cleaned up phone...yet still the same display/functionality issues. Help!

    Mandsy wrote:
    Same here !! Godforbid KiltedTim that one huge company can talk to another to help users!!!
    I have no idea what you're talking about with companies talking to each other.
    You are not speaking to Apple. This is a user to user forum. There is no one from Apple here.

Maybe you are looking for