Printing 500 char field in smartform

Hi Experts,
     I want to print a field in smartform which has nearly 500 characters. But while printing the filed, I am getting only 256 characters and the rest is truncated.
     Can any one let me know how I can print all the characters.
Thanks in Advance,
Satish

Oh.. You seems to be right. I have tried with 500 hardcoded value instead of the variable.
I have tried with the variable and it seems it is only printing 256 characters.
So, try to print like:
&W_VAR+0(256)&&W_VAR+256(256)&
And it get printed.
Now, when I tried like:
&W_VAR+0(500)&
I got this exception raised and message:
Exception       FORMATTING_ERROR                                             
Message ID:          SSFCOMPOSER                Message number:           603
Message:                                                                     
Field W_VAR: Output area not wide enough for field value                
Regards,
Naimesh Patel

Similar Messages

  • Storing a field of length 500 char in a database table

    I want to create a ztable in which I need  to store the data of length more than 256 , so please let me know , how can we create the field of length 500 chars..
    I have tried using STRING and LCHR , but it's not working.
    Thank You,
    Ankur Goyal

    Hi,
    Try creating the field like this
    1. Create a new data element with required description.
    2. While creating data element select 'Built-in type' radio button under Data Type tab. Specify Data type as STRING and press enter. You need not specify Length (or you can provide 500 here, I suggest not to specify field length as it leads to short dump if you enter text more than 500 chars in it).
    Note: Once you press enter you can see an information message 'No length restriction'.
    3. Save and activate the data element.
    4. Use the data element for your text field in your custom table.
    Important:
    The text field with size >255 chars should not be a key field, neither you should select 'Initial values' option while defining field.
    I have tried this and it worked.
    Hope this helps.
    Thanks,
    Venkat

  • Setting output length of desired values for a Field in Smartforms.

    Hi,
       I'm working right now on 4.6c system and I have a field declared as "String" in the Global Definition, on viewing the output in the print preview i find that it is printing only 255 characters while the actual field value is more than that (somewhere around 600+).
             Could you please help me out in as to how to declare this particular field in Smartforms.
    Thanks in Advance,
    Regards,
    Divaker

    check this
    Re: Output length restricted to 255 when running ALV report in background
    in that case u have to create a new Print Format which can give u complete data in while prining.
    format will  be like this
    65*512.
    Regards
    Prabhu

  • How to create a text which can support more than 500 chars ?

    Hi all:
        In my interactive form, I have one text, the value inside this text is longtext, the length will be more than 500 chars.
        My problem is now , if there is more than 100 chars, there will be duplicated chars in this text.
        Can I make this text support overlap ? when the value have too many chars, it will display in next row ? is it possible ?

    Hi,
    The 2 points are compulsory for multiline display.
    Could you please let me know the following things.
    1. Is that field is wrapped by any position content subform.If this is the case, try making flow content.
    2. Is there any field below the text field and the 2 fields are wrapped in position content, In this case also make the subform as flow content.
    Refer the example form FP_TEST_01 in SFP transaction.Check the subform and field properties.
    Make a backup before making changes.
    Thanks and Regards,
    Pavan Meda

  • HTTP 500 - Internal Server Error - Smartforms pdf

    Hi, all
    I'm trying to print a pdf (made with Smartforms) in Consolidation environment from a BSP form and occurs the error:
    Exception condition "SINGLE_EXIT_MULTIPLY_ACTIVE" raised.
    RABAX_STATE
    Method: GET_INSTANCE of program CL_EXITHANDLER================CP
    Function: HR_GET_BUSINESS_ADD_IN of program SAPLHRBAS00UTILITIES
    Function: HRHAP_C_GET_BUSINESS_ADD_IN of program SAPLHRHAP_C_A_GLOBAL
    Method: ONINITIALIZATION of program CLO249Z8ZDCO03QHBX8B23G1B5QGTCP
    Method: %_ONINITIALIZATION of program CL_O249Z8ZDCO03QHBX8B23G1B5QGTCP
    Method: DO_REQUEST of program CL_BSP_PAGE===================CP
    Method: ON_REQUEST of program CL_BSP_RUNTIME================CP
    Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_HTTP_EXT_BSP===============CP
    Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
    Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
    HTTP 500 - Internal Server Error
    Somebory knows the solucion? In the Development environment works succesfully.
    ps.: The error occurs in the call of HRHAP_C_GET_BUSINESS_ADD_IN.
    Best regards,
    Ana.
    Edited by: Ana Carolina dos Santos on May 24, 2011 3:26 PM

    Hi,
    somehow you´re calling a BADI in your code, so make sure that the implementation has been transported into th test system:
    * If Business Add-In is implemented, get instance
    Line 56 of function HR_GET_BUSINESS_ADD_IN

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

  • Displaying amount field in smartform output

    hi experts,
    i am printing amount field in smartform output. like this 11,200.
    but i need to display like this $11,200.
    i need to print $ with amount field .
    can u give me some idea?
    Thanks

    Hi,
    Try like this.
    Data : v_amount type i value 11200,
              v_final type string
    If u r getting currency, then check the currency.
    If Curr  eq 'USD'
    concatenate '$' v_amount into v_final separated by space.
    endif.
    Print V_FINAL where do u want.

  • Remove the trailing spaces of a quantity field in smartform

    Hi,
    I am printing a quantity field in a smartform as follows:
    &G_S_DATA-SAL(C)&.
    It is compressing the leading spaces but there is a space between the field and full stop.
    Eg: if G_S_DATA-SAL = 144.00   the ouptut is displayed as 144.00 . (space between the amount and full stop).
    How can I remove this space?
    Regards,
    Soumya.

    Hi
    Use this.
    &G_S_DATA-SAL(CS)&.

  • AT END OF for char field not working

    Hi all,
    AT END OF (char field) not working,
    I sorted the itab and also avoid the stars(*) problem also, but its not working.
    Thanks in advance.
    Edited by: Vijay Babu Dudla on Jan 28, 2009 11:01 PM

    Hi, Niranjan
    Test the following Sample Code it will solve out your Problem,
    " This is not working properly right now.
    TYPES: BEGIN OF t_name,
      name1(10),  " if You Change Cut the Name2 from the 2nd line and past it up to the Name one will work fine
      name2(10),
      amount1 TYPE p,
      amount2 TYPE p,
      END OF t_name.
    DATA: it1_sum TYPE STANDARD TABLE OF t_name WITH HEADER LINE,
          wa_it1_sum TYPE t_name,
          it2_sum TYPE STANDARD TABLE OF t_name WITH HEADER LINE,
          wa_it2_sum TYPE t_name.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 100.
    wa_it1_sum-amount2 = 200.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'AAAAAA'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 500.
    wa_it1_sum-amount2 = 10000.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 105000.
    wa_it1_sum-amount2 = 20500.
    APPEND wa_it1_sum  TO it1_sum.
    wa_it1_sum-name1 = 'BBBBBB'.
    wa_it1_sum-name2 = 'AAAAAA'.
    wa_it1_sum-amount1 = 21000.
    wa_it1_sum-amount2 = 22000.
    APPEND wa_it1_sum  TO it1_sum.
    SORT it1_sum BY name1 name2.
    LOOP AT it1_sum INTO wa_it1_sum.
      APPEND wa_it1_sum TO it2_sum.
      AT END OF name2. " When you will use this in this Condition it will give you wrong Because this row is on number two and
                       " it is not changing but the Row one is Changing so it will work fine if LEFT MOST
        SUM.
        wa_it1_sum-name1 = 'End Name 2'.
        wa_it1_sum-name2 = 'End Name 2'.
        APPEND wa_it1_sum TO it2_sum.
      ENDAT.
      AT LAST.
        SUM.
        wa_it1_sum-name1 = 'At Last'.
        APPEND wa_it1_sum TO it2_sum.
      ENDAT.
    ENDLOOP.
    Please Reply if need more help about it.
    Kind Regards,
    Faisal

  • How to print a tickbox in SAP smartform

    Dear All,
    Can anyone help as to how to print a tickbox in the smartform.
    A tickbox is a blank checkbox with a tick in between.
    The symbols <697>(Crossed checkbox) and <727>(Blank Checkbox) do not serve my user requirement.
    Regards,
    Rijuraj

    Dear Deepak,
    Thanks.This is the closest solution we could get to
    [<709>].
    With the same line of thinking we can also have,
    [<769>]
    or
    [<799>].
    We can also highlight the square brackets to "Bold" if required.
    Best Regards,
    Rijuraj
    Edited by: Rijuraj Raju on Sep 21, 2011 1:00 PM

  • How to add a field in smartforms

    hello friends,
                   how to add a RFQ field in smartforms.
    thx,
    ki

    Hi,
    Pls check
    Smartform
    Eddy
    PS.
    Put yourself on the SDN world map (http://sdn.idizaai.be/sdn_world/sdn_world.html) and earn 25 points.
    Spread the wor(l)d!

  • COPA structure cross 50  char-How to add more char fields in the sturcture

    Hi SAP CO Guru's,
    I am facing one problem in COPA characteristics, I have created the characteristics however in the KEA0 structure where we have already exhaused max limit of 50 char, hence system is not allowing to add these new fields in the structure.
    I need help for getting addition 2 fields into structure.
    I have one more option where few Char fields are not usable, can be remove from the structure if we can not increase the limit of 50 Char in the structure but system is not allowing me th remove the already selected Char fields.
    Thanks in Advance.
    Uday Suryawanshi
    SAP FICO consultant, Pune

    Hi Uday
    There is a way you can increase the limit.. refer the note given above
    However, SAP wont take the responsibility of any thing that happens later on.. It is completely your headache....
    So, better rename the Chars and use them....
    If you are still in DEV Client, delete COPA docs posted till now.. refer Note 21207... This helps you to delete a char if posted data exists
    I personally would prefer to rename and reuse.. After all, recycling is encouraged these days
    Br, Ajay M

  • How to  Place the Cursor at Specific Position with-in a Char Field ?

    Forms 4.5 ver.
    Sun Solaris / Citrix env.
    Char Field - Length 65434
    How Can I Place the Cursor at "Specific Location"
    with in a Field ?
    with GO_ITEM('field Name') I can place the Cursor at Specific Field.
    But, How Can I achieve to Place the Cursor at Specific
    Position within that Field ?
    I know, the starting position, length of string I want to hightlight with the Cursor.
    tried using :
    go_item('substr(field_name,position,length)') ;
    but didn't work !
    Is it possible ?
    Thanks, Peri

    The only cursor postion behavior that can be controled is the item property "Keep Position".
    The following is the text from the on-line help for item property "Keep Position"
    KEEP_POSITION Specifies whether the Keep Position property should be True or False. When Keep Position is True, the cursor returns to the same position it was in when it left the text item. When Keep Position is False, the cursor returns to the default position in the text item. Valid values are PROPERTY_TRUE and PROPERTY_FALSE.

  • Color printing with high resolution in smartforms

    Hello colleagues...
    I need to print color images with True-color resolution, but in Form Graphics Administrator ( transaction SE78 ) I can only upload pictures with extension TIFF and BMP, and with resolution 24-bit maximum.
    With this resolution, the quality of colors will not be optimal because is distorted from original.
    This printing we need for labels that have pantone code of colors, that should not be changed to any similar tones.
    Does anybody knows how can I print true color pics with smartforms without reducing image quality?
    Or exist any other tool in SAP for printing with high quality?
    thanks in advance,
    Ibrahim Andres.

    You can upload TrueColor 24 bit Bitmaps into SE78, but SE78 converts them to 256 color images, that's why you see reduces quality when the image is printed. I think it's not possible to print images higher than 256 colors using existing smartform technology.
    Regards
    Sridhar

  • How to print out fillable fields only

    I'm a newb, help! I am trying to create a form in LiveCycle.
    I have brought in a pdf, made some fillable fields. So far so good, here's where I'm struggling.
    I want the recipient of the pdf to fill out the forms, (while still seeing the pdf in the background), BUT when they print, I want them to ONLY print out the information that they filled in the fillable fields.
    So basically, they receive a document in Adobe Reader, it has a pdf in the background, and they fill in some fields, then they place a page in their printer to just print the fillable fields only.
    Does anyone know if this is possible?

    "You can control the visibility of objects using the presence property"
    Here is where I get confused. I understand that you can change the visibilty in this area, but I want the pdf background that is part of my form to be the area that doesn't print, so I can't understand how I highlight that particular area to switch it to "screen only" because it isn't really considering a text field or anything like that, it was just a pdf that I imported from the start and then built all my text fields on top of.

Maybe you are looking for