How to display a text in smartform without compression

Hi,
My requirement is to print a text in a smartform with out compression of the line text.
ex. In my internal table having a line text as
    'spoolno     25200   |  pageno    500--> while printing in smartform, it was displayed as
    ''spoolno 25200 |  pageno 500'.
but i want to print the line as it is in Internal table. please send me the solutions..
Thanks in advance.

If you want your text to be read-only, you can use the RichText component instead of TextArea. Search for Text Layout Framework for more info on how to mark up your text.

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.

  • How to use standard texts in smartforms

    Hi Friends,
          How to use standard texts in smartforms, ie in scripts we are using standard texts using tr so10.
    thanks in advance,
    regards,
    sharma.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS

    HI,
       HOW TO DISPLAY THE TEXT ON A PARTICULAR PAGE IN SAPSCRIPTS?

    in ur script main window
    /: IF &TTXSY-PAGE& = 15.              
    ur text or standard text           
    /: ENDIF.                             
    use this.
    hope it helps if any issues revert back

  • How to add standard text in smartforms?

    Hi friends,
    How to add standard text in smartforms ?
    points rewarded soon
    Regards
    RH

    Creating the Standard Text:
    Go to SO10
    1. Enter Text Name.  For example, ZABC
    2. Text ID ST
    3. Language EN
    Click on Create.
    And enter the Required Information and save.
    To include a Standard text in SmartForm.
    Follow the steps below:
    1. Create a text node in the window.
    2. Under general attributes select "Include text" as Type.
    3. Specify the fields under Text.
    Text Name ZABC
    Text Object TEXT
    Text ID ST
    Language EN.
    Hope it helps.
    Regards.

  • Hi..how we enter standard text for smartform using include text

    hi
    guru
    ..how we enter standard text for smartform using include text..
    i know only using so10 we write text..
    in smartform it asking text-object
                                     text-id,
    so what values we should give to get text

    Hi,
       Do u want to print Standard Text or the Texts that are maintained at the Transaction level.
    If it is standard text , then u use text id as ST or if it is Texts that are maintained at the Transaction level then u have to go to that specific transaction and check for that text , then go to text editor ,in the goto menu u have header data where u get the Text id , text name.... , use them in ur smartform in the INCLUDE text.
    Further u have the option of text modules in smartforms which act as standard texts, so if u r going for creation of standard texts then its better to use text modules.
    Regards,
    Shafivullah Mohammad

  • How to display dynamic signature in Smartforms?

    Hi,
    Someone could help me in displaying dynamic signatures in SmartForms?. The signature is an attached file to the document. I already have the binary file but I don't know how to display this as an image in the Smartforms.
    Thanks in advance,
    Oliver
    Message was edited by: Oliver Vera
    Message was edited by: Oliver Vera

    Please give me the reply.
    I have an image content in one internal table.I want to display that image in the smartforms.
    plaese please.

  • How to display Long text in a JLabel with multiline??

    Hi,
    Suppose I have a label that displays a long text....
    ""This is an example label that displays long text, how to break the line????.........""
    how to display it like below with one label?
    ""This is an example label
    that displays long text, how
    to break the line????.........""
    Thanks

    so basically do this
    JLabel myLabel = new JLabel();
    String theText = "<html>This is an example label<br>
                                  that displays long text, how<br>
                                  to break the line????.........</html>";
    myLabel.setText(theText);Obivously, u dont have to use a separate string, u could just call setText or pass it into the JLabel constructor, i just separated it to make it easier to see what your supposed to do.
    GOod Luck

  • How to display Long text in alv output

    Hi,
    I have developed an ALV report.It is displaying the output.
    There is another requirment for alv output text field as below
    From the long text fields show only the first 20 characters and afterwards the long text icon. If the icon is clicked open the long text display screen.
    Please give your suggestion how to work on this requirement.
    Thanks in advance

    Hi,
    Create a hotspot for the long text column of ALV.
    When user clicks on the hotspot, handle the event to display long text screen.
    You may refer sample program of hotspot ALV :
    Goto SE38
    Type BCALV*
    Click F4
    search for HOTSPOT or EVENTS & you will get a sample program.
    Best regards,
    Prashant

  • How to display Formatted text in adobe form

    In adobe form, I want to display the text which is inputed by formatted text edit in WD ABAP application.
    It is always displayed as plain text like '<p>this is test text.</p>'. I have set the attribute Data Format to XHTML, Field Format to Rich Text for the Text Field in adobe form. But it doesn't work.
    How to display these formatted text?
    Thanks and Best Regards,
    Jun

    Hi Juergen,
    I found Your blog and found it  really interesting... though I was not able to use it: I (like Jun Li is asking, I guess) need to use a dynamic text, containing formatting informations (according the xhtml syntax).
    I tried to pass it to the form by an ABAP-dictionary based interface and by means of the context (in a webdynpro page), but both tries failed.
    Some suggestion will be greatly appreciated.
    Thankyou
    Simone

  • How to display the text as a Bold in the Text Element of a Smart Form

    Hi,
    I created one Smart Form.
    In that i created the Text element.
    I provide some data also in that.
    It is coming as a MS WORD.
    I executed my smart form.
    Customer Number:  &WA_KNA1-KUNNR&
    it display the data of the particular customer.
    But i need to display the Customer Number as BOLD or else Increase the Size.
    For this also I created one SMARTSTYLE.
    In that I created the Paragraph and Character Formats also.
    Now i assignee that SMARTSTYLE in the Output Option Tab of the Text Element also.
    But i unable to get the CUSTOMER NUMBER in Bold.
    In MS WORD we have BOLD button.
    I selected the Text and Press the BOLD button. At that time it is Highlighted.
    Whenever i press the SAVE Button.
    Then it is not saved with BOLD.
    It is coming in Normal Format.
    In the ECC 6.0.  I am unable to get the Text as a BOLD.
    This text Element is like a MS WORD.
    Can you please tell me how to display the Data with BOLD. please tell me. I am unable to get that one.
    Thank You.
    Regards,
    B. Krishna.

    Hi,
    Check where u have given BOLD. In character Format or in Paragraph format.
    In SMART FORM,
    1. Change to OLD EDITOR if u are confused with the new one.
            (This can be done by clicking the button left to new editor ).
    2. If it is PARAGRAPH FORMAT,
               Give the name of paragraph format in the editor.
                P1         &WA_KNA1-KUNNR&
        If it is CHARACTER FORMAT,
                             <C1> &WA_KNA1-KUNNR&
    Thanks,
    Nithya.

  • How to display total in a block without total showing up in relevant detail block

    Hi there,
              I create a worksheet, including two block, one of which have detail information with multiple characts and one key figure, another block only have sumerization information takes one cell, which is summarized key figure for that detail information block.
             I implement this summary cell with formula 'GETDATA', but it is only effective after I show total for detail block.
            such as for detail block:
                         employee_no,  wage type,  earning_amount.
                         overall result                        total for earning_amount
            for summary block:
                         summary of earning_amount for all employees in the detail block.
    please tell me how to display summary block without pulling in overall result for detail block.
    Many Thanks,

    Hi bo zhang,
    This can be a work around
    As Michael Tocik suggested
    goto components tab, right click on data source and select copy
    do not insert cross tab
    then use the formula for DS_2 like
    =SAPGetData("DS_2","earning_amount","employee_no=TOTAL")
    this should work.
    and if you do any drill down for DS_1, the above total will not chnage because that is dependent on DS_2
    Hope it helps
    Best Regards,
    Subhash

  • How to eliminate "Company" text in smartform "address" node

    Hi all,
    I got a problem.
    I want to display company address using "Organization Address" in address node.
    However, the address node displayed "Company" text automatically when company address contains incomplete info. Eg, the company address only contains city='new city' info.
    Then the address node will displayed as below:
    Company
    city
    Anyone know how to remove "Company" text if no incomplete company address data?
    Any suggestion/comment will be greatly appreciated!
    Thanks.
    best regards,
    Xiang Li Heah

    read addres using  internal tables. dont use address node..
    refer this code.
      SELECT SINGLE ADRNR FROM KNA1
      INTO ADDRNUM
      WHERE KUNNR EQ WA_VBPA1-KUNNR.
      SELECT * FROM ADRC INTO TABLE IT_ADRC
      WHERE ADDRNUMBER = ADDRNUM.
      READ TABLE IT_ADRC INTO WA_ADRC INDEX 1.
    then print wa_adrc-city.
                  wa_adrc-street like this.
    if u want to remove company andall dat is already therein fields then please contact urfunctional consultant. they will give u the tcode to remove that.
    some  usefulinformation. hopeu will get tcode from here also. to remove company from address.
    Client
    SCC4
    Tools > Administration > Administration > Client Admin > Client Maintenance
    Change the name of the client you are using (updates T000) Client Independent
    Company Code
    OX02
    IMG > Enterprise Structure > Maintain Structure > Definition > Financial Accounting > Define, copy, delete, check Company Code > Define Company Code
    Change the name, city and country to your company details (updates T001)
    Company Code Address
    OBY6
    IMG > Financial Accounting > Financial Accounting Global Settings > Company Code > Enter Global Parameters > Click on address button
    Maintain the complete address details here (updates SADR)
    Credit Control Area
    OB45
    IMG > Enterprise Structure > Maintain Structure > Definition > Financial Accounting > Maintain Credit Control Area
    Change the description (updates T014)
    Controlling Area
    OX06
    IMG > Enterprise Structure > Maintain Structure > Definition > Controlling > Maintain Controlling Area
    Change the name (updates TKA01)
    Plant
    OX10
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check plant > Define Plant. Select the plant of choice and go into the detail screen.
    Change Name 1 and Name 2 and detailed information (updates T001W)
    Plant address
    OX10
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check plant > Define Plant. Select the plant of choice and go into the detail screen. Click the address button.
    Maintain the complete address details here (updates SADR)
    Division
    OVXB
    IMG > Enterprise Structure > Maintain Structure > Definition > Logistics u2013 General > Define, copy, delete, check division > Define Division
    Change the name (update TSPA)
    Storage Location
    OX09
    IMG > Enterprise Structure > Maintain Structure > Definition > Materials Management > Maintain Storage Location
    Change the description (updates T001L)
    Purchasing Organization
    OX08
    IMG > Enterprise Structure > Maintain Structure > Definition > Materials Management > Maintain Purchasing Organization
    Change the description (updates T024E)
    Sales Organization
    OVX5
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Sales Organization > Define Sales Organization
    Change the name and replace the standard texts ADRS_* with ZXYZ_* (updates TVKO)
    Sales Organization Address
    OVX5
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Sales Organization > Define Sales Organization > Click the address button
    Maintain the complete address details here (updates SADR)
    Distribution Channel
    OVXI
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Distribution Channel > Define Distribution Channel
    Change the name (updates TVTW)
    Sales Office
    OVX1
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Office
    Change the description (updates TVBUR)
    Sales Office Address
    OVX1
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Office > Click the address button
    Maintain the complete address details here (updates SADR)
    Sales group
    OVX4
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Maintain Sales Group
    Change the description (updates TVKGR)
    Shipping Point
    OVXD
    IMG > Enterprise Structure > Maintain Structure > Definition > Sales and Distribution > Define, copy, delete, check Shipping Point > Define Shipping Point
    Change the description and replace the standard texts ADRS_* with ZXYZ_* (updates TVST)

  • How to add package text to smartform

    Hi,
    i'm new to SAP and I have a question. We have smartform with material number and material text output. We also have package number - in what this material gets packed (palette, case etc.) Now we want to add also package text to smartform.
    How to include package text from table?
    Thanks

    Hi,
    i'm new to SAP and I have a question. We have smartform with material number and material text output. We also have package number - in what this material gets packed (palette, case etc.) Now we want to add also package text to smartform.
    How to include package text from table?
    Thanks

  • How to add body text to smartform email?

    Hi,
    In release 620, how can you add text to the mail message that is generated from e-mailing a smartform.  I need to add a small message to the body of the message in addition to the attachment.
    i.e. Please find attached your invoice. [attachement.pdf]
    Thanks,
    Guy

    I don't know SmartForm so there may be another way to do it but the following approach was fine for Sapscript.
    Basically have a look at the SAP sample programs bcs_example_* where * = 1 thru 5. I think bcs_example_5 is the one to focus on. This creates a simple email and then adds an attachemnt to it. In your case you want the attachment to be your SmartForm's output.
    For the SapScript I was able to call the form from abap, receive the output into a table whose contents I could then attach to the email.
    The attachment code needs to be changed to set type to OTF:
    i_attachment_type = 'OTF'
    I'll speak in SAPscript and hope there are equivalent terms in SmartForm. I created the following abap form to run the SAPscript and get it's output into a table:
         Form  GET_OTF_CODE
    FORM  get_otf_code
    USING us_work       TYPE zsd_fet_signup_confirm
    CHANGING ch_otf_out TYPE solix_tab.
      DATA: BEGIN OF otf OCCURS 0.
              INCLUDE STRUCTURE itcoo .
      DATA: END OF otf.
      DATA: itcpo LIKE itcpo.
      DATA: itcpp LIKE itcpp.
      CLEAR itcpo.
      itcpo-tdgetotf = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          form     = 'ZSD_FET_COVERFAX'
          language = sy-langu
          OPTIONS  = itcpo
          dialog   = ' '
        EXCEPTIONS
          OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      CASE us_work-recipient_type.
        WHEN c_agent_recipient.
          w_recipient_name = us_work-agent.
        WHEN c_asm_recipient.
          w_recipient_name = us_work-asm.
        WHEN OTHERS.
          w_recipient_name = 'IPL Agent/ASM'.
      ENDCASE.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window        = 'MAIN'
          element       = 'HEADER'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
        EXPORTING
          window        = 'MAIN'
          element       = 'TEXT'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
        EXCEPTIONS
          error_message = 01
          OTHERS        = 02.
      MOVE-CORRESPONDING itcpo TO itcpp.
      CALL FUNCTION 'CLOSE_FORM'
        IMPORTING
          RESULT  = itcpp
        TABLES
          otfdata = otf
        EXCEPTIONS
          OTHERS  = 1.
    Move OTF code to output structure
      REFRESH ch_otf_out.
      LOOP AT otf.
        APPEND otf TO ch_otf_out.
      ENDLOOP.
    ENDFORM.                    "GET_OTF_CODE

Maybe you are looking for

  • Using Time and Date to create calender events

    Hi all, I want to create 'events' in a users calender through my apex app. To get just the date seems fine, but ideally I want to store both the Date and time of the event. I have a data entry page that has 2 calender items(one item is a date picker,

  • Facing issue in integrating with Cisco ISE

    We are trying to integrate our product(Cisco Prime Infrastructure) with Cisco ISE for Authentication and Authorizations. We already support PAP/CHAP, and not trying to add support for EAP-TLS. Currently during our integration, facing TLS payload erro

  • Firefox 6 doesnt display correctly on my 42" widescreen at resolution 1600x1024

    I recently bought a 42" widescreen and set my resolution to its native 1600x1024 and now the page is shrunk in the center of the screen making it very difficult to read. I dont have any issues with Internet Explorer or any of my other programs. all m

  • RSS feeds not updated

    The rss feeds on: http://www.oracle.com/technology/syndication/rss_otn_dev.xml are not updated.

  • Replacing broken 3g with a privately purchased g3 (no hacks)

    I am purchasing a used 3g iPhone from a friend after he recently upgraded to the 3gs, because I have a cracked screen from a drop (still works fine). What to I have to do with ATT to swap phones, anything? Do I pull the sim chip out, place it in the