Smartforms centered text formatting

Hi, i have a problem developing a smartform form, when i use centered text it should appear:
       Avenida das Forças Armadas, 111 2º C
                       1600-045 LISBOA
                Nº Contribuinte xxxxxxxxx
Tel. +351 21 xxx xx 00 - Fax +351 21 xxx xx xx
In the MS WORD editting box it looks right, but when i print the form the output widens the spaces between words like this:
                     Avenida       das      Forças      Armadas,     111    2º    C
                                                 1600-045     LISBOA
                                         Nº    Contribuinte     xxxxxxxxx
Tel.    +351     21     xxx     xx     00    -    Fax      +351      21     xxx      xx     xx
Thank you for the help.
Edited by: tiagoramalhais on Feb 24, 2011 8:10 PM

The Print output depends on the paper Size ! Why don't you try using a Standard Text for your requirement ?

Similar Messages

  • How to comment in smartform for text value in abap

    how to comment in smartform for text value in abap.
    i want to comment text value which is coming in output
    From drag and drop option i had dropped an item text in text window and now i dont want to delete it i just want to comment it so can any one help me in commenting the text value.
    Advance Thanks for your help

    hi
    open the text element in the smartform.
    on the left corner, we have text editor button.
    open that and change the editor (goto-->change editor)
    on the new line, give the format as comment line /*. and you can write the comments as required.
    such lines doesnt reflect in the output layout.
    thanks
    pavan

  • Help with text formatting in Stickies

    I just discovered the Stickies app and it's almost perfect for helping me keep track of my tasks and to-dos. However, I'm slightly obsessive on minor details so I have a few questions:
    Is it possible to center the text without having to paste from another source? I've set the style the way I want it in Word and then paste it into a new note where it looks perfect. Large bold centered text. I go to Note > Use as Default but the text alignment isn't saved. I saved the style as a favorite but have to drill down the styles dialogs just to center text. I'll be creating an deleting a lot of these during the day and it's actually easier for me to read these when the text is centered.
    Same as 1 but for line-spacing. When I try to set the default with 1.5x line spacing new notes are created in 12pt Time New Roman
    Is there a way to set it so that Command+Shift+Y always does a Paste and Match Style? My current workaround is to select all and then paste style to set them as the default font.
    Thanks!

    I had the same problem with CP7 and just upgraded to CP8.01. This version seemed to format my long answers almost perfectly when I imported the first two question pools - then it reverted back to the same old CP7 behavior. This makes me think that there must be a way to do this.
    Update: Here's the workaround that I've used to get these "long questions" and "long answers" to fit into the multiple question Master Slide. I copied then duplicated the "MCQ, T/F, FIB, Sequence" Master Question slide. On the new one, I expanded the Question area box, both horizontally and vertically so it will accommodate even very lengthy questions.
    I then did the same for the answers area - I have to adjust both so they didn't overlap - and I reduced the size of my "Review Area" since I won't be needing it in my exam format. After saving my project, I then imported a new question pool that was in GIFT format. Of course all of them are imported using the original "MCQ, T/F, FIB, Sequence" Master Question slide format. But now I can view my "Question Pool"  (Windows > Question Pool), then select all of them (Control, A) then in the "Properties" tab you should have a pull down that allows you to select the new question master slide you just created. Select it and all of your imported slides now should display properly.
    Note that this seems to work only when your answers can fit on two lines - not three lines or more. But if you've stretched wide the answer area box in you master slide this will work for most long answers.

  • Convert Smartform in PDF format and send to SAP Workplace

    Hi to all.
    I need help of somebody expert in SMARTFORM's.
    I need to convert a smartform into PDF format and to send as attachement for SAP workplace
    of the user.
    I developed the next code.
    IT is to function and to send the mail for SAP workplace, but it happens that smartform
    contains images (logos) and tables, when the user tries to open the file pdf in inbox gives
    to error - "An unrecognized token ' q0 ' was found".
    I tried to call a smartform only with text and functioned well.
    Somebody can help me?
    My code:
    Begin ***********************************************
    REPORT zteste_nsa_send_pdf_sap_office.
    DATA: t_print LIKE zeps_fm04 OCCURS 0 WITH HEADER LINE,
          v_size TYPE i.
    DATA: ls_bil_invoice TYPE lbbil_invoice.
    TABLES: nast.
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    wa_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    wa_doc_chng TYPE sodocchgi1,
    w_data TYPE sodocchgi1,
    wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    START-OF-SELECTION.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZFPS_FICHA_VALORIZACAO'
        IMPORTING
          fm_name            = v_form_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 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.
      w_ctrlop-getotf    = 'X'.
      w_ctrlop-no_dialog = 'X'.
      w_compop-tdnoprev  = 'X'.
      CALL FUNCTION v_form_name
        EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
          user_settings      = 'X'
          is_bil_invoice     = ls_bil_invoice
          is_nast            = nast
          is_repeat          = 'X'
        IMPORTING
          job_output_info    = w_return
        TABLES
          t_list             = t_print
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc EQ 0.
      ENDIF.
    Convert PDF from 132 to 255.
      LOOP AT i_tline.
        TRANSLATE i_tline USING '~'.
        CONCATENATE wa_buffer i_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    SEND MAIL
      REFRESH:  i_reclist,
                i_objtxt,
                i_objbin,
                i_objpack.
      CLEAR wa_objhead.
    Object with PDF.
      i_objbin[] = i_record[].
    Object with main text of the mail.
      i_objtxt = 'Fichas de Valorização e Esquemas Tipo'.
      APPEND i_objtxt.
    Document information.
      wa_doc_chng-obj_name   = 'SMART'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr  = 'Ficha de Valorização'.
      wa_doc_chng-sensitivty = 'F'. "Functional object
      wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
    Pack to main body as RAW.
    Obj. to be transported not in binary form
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_txt.
      i_objpack-doc_type   = 'RAW'.
      APPEND i_objpack.
    Packing as PDF.
    Obj. to be transported in binary form
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_bin.
      i_objpack-doc_type   = 'PDF'.
      i_objpack-obj_name   = 'SMART'.
      CONCATENATE 'Ficha_Valorizacao' '.pdf' INTO i_objpack-obj_descr.
      i_objpack-doc_size = ( v_lines_bin - 1 ) * 255 + STRLEN( i_objbin ).
      APPEND i_objpack.
    e-mail receivers.
      CLEAR i_reclist.
      i_reclist-receiver = sy-uname.
      i_reclist-rec_type = 'B'.
      i_reclist-express  = 'X'.
      APPEND i_reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = ' '
        TABLES
          packing_list               = i_objpack
          object_header              = wa_objhead
          contents_bin               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc EQ 0.
      ENDIF.
    End  *************************************************
    Thanks very much to all and Happy New year...
    Nelson

    Please check this link...
    [http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm]
    -Muktar

  • DOWNLOAD SMARTFORM IN TXT FORMAT

    NORMALLY WE DOWNLOAD SMARTFORM IN PDF FORMAT BUT I HAVE REQUIREMENT TO DOWNLOAD IN TEXT FORMAT.
    PLEASE HELP.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jul 24, 2008 6:24 PM

    when you generate the spool you can down load that in txt format
    Function is used RSPO_DOWNLOAD_SPOOLJOB when you want to do that programatically.
    Using the spool number, and provide the path where you want to down load that time mention the name
    C:\smart.txt
    it will be downloaded .

  • How to convert the output of smartforms into doc format

    Hi friends,
    I want the output of smartform to be saved in doc format. I don't want to view the printpreview screen and then save it. The way we save the output in pdf format I want it to be done in doc format. Please don't suggest this option
    After the print preview, Select the menu Goto->List Display.
    Now select the menu System->List->Save->Local File.
    Now you can select the radio buttion Rich Text Format.
    Now you save the document as a .doc file (say test.doc)
    Regards,
    Satabdi

    Hi friends,
    I want the output of smartform to be saved in doc format. I don't want to view the printpreview screen and then save it. The way we save the output in pdf format I want it to be done in doc format. Please don't suggest this option
    After the print preview, Select the menu Goto->List Display.
    Now select the menu System->List->Save->Local File.
    Now you can select the radio buttion Rich Text Format.
    Now you save the document as a .doc file (say test.doc)
    Regards,
    Satabdi

  • Text format E-Mail to Vendor (PO) using BADI BBP_OUTPUT_CHANGE_SF

    Hi all,
    I am using BAdI BBP_OUTPUT_CHANGE_SF to use an own SMARTFORM for the e-mailText when a PO is sent to Vendor.
    I just want to change the e-mail Text.
    I set Parameter CV_SMARTFORM_MAIL
    Everythign fine so far.
    My problem:
    How can I define own text formats within the body?
    Every style or text format within my SMARTFORM is not used when EMAIL is sent to vendor.
    Format seems to be RAW, even if I change the e-mail FORMAT within BAdI (using cs_parameters-mail_format) my e-mail does not accept any styles or Text formats.
    Any ideas?
    Thanks and regards
    Andreas

    Hi Andreas,
    the format of the Mail Body is hardcoded set to RAW and so the Output of the Mail Body Smatrform is converted to plain text (displayed in Courier by the mail program you use for reading).
    This happens in Method PROCESS_BBP_PO_MAI of class CL_PD_PO_PROCESSING_BBP which is per default customized as the processing class for PO output via email.
    We haven't changed the Format of the mail Body but to do that you will have to copy that class into customer namespace, change the config with transaction BBP_PO_ACTION_DEF and change the Mail_format parameter in structure LS_PARAMETER to bbpex_conttype_html.
    Hope that helps!
    Cheers
    Oliver

  • How to provide text formatting options to user from a text field

    Hi,
    My requirement is - in the interactive form, a comments field needs to be provided where user should be able to enter text with formatting options like
    Headers
    indentations
    bold/italic
    bullet points and numbers
    Once user enters the formatted texts in a text field, data needs to be displayed/printed in the same format. Could you help me on how to provide these formatting options to the user for a particular text field?
    I understand that once I define the text field with format XHTML (with RTF), user formatting can be captured and displayed in the same way. But I am not sure on how to provide the formatting options for the text field.
    Thank you,
    Madhu

    Hi,
    if you select a text field for Rich Text and the press Ctrl + E you'll get a bar for all available text formatting options in Acrobat/Reader.

  • Text formatting options

    Hi,
    Is there a list somewhere which outlines more text formatting options than what is shown in the FAQ?
    In particular I'm wondering how to make text that does not suppress white space other than using the "code" tag.
    Also, the insert link option a shown above does not seem to work, or am I just stupid?
    Thanks.

    Dude wrote:
    Also, the insert link option a shown above does not seem to work, or am I just stupid?That one has not been working for a couple of years or so. There should be a thread about it in this forum.
    Instead, I'm using [ url=<insert link here> ] text [ /url ] (without the extra spaces in tags). Normal html link tag might work as well.

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • If Condition in Smartform - window text- without program lines

    Hi,
       I have faced one problem in smartforms. In smartforms i have a window (main.) It has five lines. For Fifth line only i need to check one condition. if it is true then print the Line otherwise i need one Blank line to print.
    How i write if condition in smartforms window - text. 
    Mahesh.

    Hi Mahesh,
    You need to create and alternative node and put your text into that.  An alternative will check a condition, and process one of two nodes depending if it is true or false.  Based on your condition, on true you can have your current text element and on false a text element containing a blank line.
    Regards,
    Nick

  • How do I enable bold/italic text formatting in blog module on website?

    For some reason I can't figure out how to enable more text formatting options on our blog. We used the blog module on a muse template. I customized the module to apply fonts we used on our website. The main text on the blog is Lato.
    Link to blog: Coupar Consulting
    When we go in to write a post you can use the bold/italics options and it shows up in the edit window as shown in the screenshot below:
    The font is not correct, but because I set the font in the module to use Lato it does show as lato when you publish, see preview below (notice no bold or italic text):
    What am I missing??
    Thanks in advance!!

    Use your browsers console and inspect tool. This stuff becomes very easy.
    address,caption,cite,code,dfn,em,strong,th,var,optgroup
      font-style: inherit;
      font-weight: inherit;
    Line 34 ish in - http://www.couparconsulting.com/css/site_global.css?3869595648
    This overides the font bold style on strong.

  • Can't select vertical text formatting since Win 7

    Please help.
    Have recently upgraded to win 7 and now I cannot select any text formatting options in the drop down text menus. I can see them, but the drop down menu buttons don't work.
    Has anyone had this happen?
    I have spent so much time on the computer and it's so hard to get any work done.
    Advice would be much appreciated
    I would like to go back to XP but the computer guy says that's not possible.
    Thanks
    ZeeBud

    Thank you so much for responding Peter. I feel one step closer to being able to get my work done.
    Your solution means that I can now use the tools in the tools palette, but no luck with being able to use the text selection drop down menus.
    It's quizzical. I can select the fonts by clicking through file the file path> type> font. Just not through drop downs.
    Any thoughts anyone?
    Zj

  • Crystal report : Export to Text format from BI Launch pad

    Hi,
    We are facing issue in exporting the Crystal report to text format option from BI Launch pad view mode. Currently BI launch pad doesn’t support export to Text format option for crystal report in view mode. But export to text format option is feasible in schedule mode. But customer is not interested in exporting the reports through schedule mode.
    Please advise, if we have any alternative way of exporting the crystal report to text format option from BI Launch pad.
    Thanks,
    Chinnu A

    Hi Chinnu,
    The question is better suited to be asked in the BI Platform space.
    -Abhilash

  • Export to Text format

    When a report is exported to Text format, trailing spaces do not appear in the exported file.
    How do you resolve this issue?
    1. Create a report.
    2. Include 3 fields
    3. Export ->txt
    After the end of 3rd field we require 200 spaces...any idea...

    Try to insert a new formula after the third field like this
    space(200)
    or try to create a formula for the third field like this
    +space(200)
    and place this formula in the place of the third field and export to text file.
    Regards,
    Raghavendra

Maybe you are looking for

  • Extreme + Express = separate 5Ghz and 2.4Ghz networks ...

    I have an Extreme and an Express. If I set up the Extreme for 802.11n (5Ghz) clients only, how do I setup the Express to handle the 802.11g/b (2.4Ghz) clients? Specifically, if you're using an 802.11n computer, wouldn't it be possible for it to conne

  • Accessing/Extracting content from a DVD

    I have several DVDs that contain old family films from which the original media has been damaged or destroyed. I would like to be able to import these home movies into iMovie for editing. I can create a disc image on my desktop from the DVDs, but do

  • Report RFFOAVIS_FPAYM with E-Mail -- Error SO619

    Hello, we are sendung SEPA prenotifications to customers during using payment run with transaction F110. Here we are creating output messages (email) with report RFFOAVIS_FPAYM. Printer is MAIL. Sometimes we are getting error messages that some messa

  • No Destination Drive Option when trying to install OSX 10.5.6 Update

    Hi all, I have installed OSX Leopard today (10.5) on to my G5 which seems to be working correctly. I have since tried to update to 10.5.6 via the Software Updater (Mac OSX Update Combined) which wouldn't install. I have since downloaded the MacOSXUpd

  • Reader 9 uninstallation nightmare - want to clean up all Adobe files

    I have such a mess going on on my computer. It all started when I downloaded and installed Reader v9....with no problems. I then noticed that previous Reader version v8 was not uninstalled, so I tried to uninstall v9 with Windows uninstall feature (c