How to protect a text from line break in smartforms

Hi Gurus,
How to protect line break in a text element of smartforms. Text in that line is printing exactly 70 characters. I want the text to be printed fully till the size of the window.  How to stop this automatic line break.
Regards,
Rithika.

What I have done may be helpful, so here are the details:
I had a table of text values, so I converted this to a string with concatenate, then string to a long character field, then used RKD_WORD_WRAP to put into table of 132 characters.  Then I constructed a table of type tline by looping at my RKD_WORD_WRAP output,  and utilized SAVE_TEXT to temporarily store a TEXT entry, like you would save with SO10, saving my desired paragraph format into TDFORMAT field and inserting any necessary character format commands into the text. 
In my SmartForm, I then have dynamic text processing pointing to the internal table fieldnames containing tdname, tdid, tdobject, tdspras of what I saved.  This allows SmartForms to utilize the full width of the window and optimize text output, based on window width, font, scale, paragraph format, character format, etc.  These text identifier values are passed as part of my internal table via the SmartForms interface.
At the end of SmartForms processing, I loop at my internal table and utilize DELETE_TEXT to remove the temporary texts that I created for this set of output.
To avoid page breaks in my text, I put my output for a "block" of data into a folder (see the SmartForms folder feature).  I have page protection on the folder...that way, SmartForms examines the length of the folder content and decides whether a page break should occur before any output for my block of data begins.  My block of data contains a few data elements over 5 rows of output followed by two separate dynamic texts of various lengths.  If the entire block won't fit on the remaining part of a page, page-break occurs first.

Similar Messages

  • How to protect elements from line break in smartforms ??

    in a smartform we pass variables that contain spaces which we don't want to break in a line
    for instance
    hello my birthday is 27 april 2010
    27 april 2010 we absolutely don't want to break like
    hello my birthday is 27
    april 2010
    when I just add it in a text element I can use <31> to prevent breaking only when I pass the value
    27<31>april<31>2010 to a variable smartforms doesn't interpretet this correctly
    in sapscript you can define elements which can be set to protect so it keeps it together only in smartforms that is also not possible.
    is there a neat solution for this in smartforms ??
    kind regards
    arthur

    I have also looked at the parameters that can be passed but there is no parameter which keeps the variable together
    http://help.sap.com//saphelp_erp2005/helpdata/EN/1c/f40c64ddf311d3b574006094192fe3/frameset.htm
    with ZC it wil also break down half way the variable.
    If I click on the variable in the smartform I can't see where I can see the attributes ??
    and page protection is for an entire block and not for an individual variable in a sentence.
    like a text we have
         The Examination Board of the &GS_STUDY_EN-PROGTYPE& in
         &GS_STUDY_EN-NAME&, which is accredited on &GV_CONFER_ACCRED_DATE_EN&
         declares that
    so if the name off the study is to long the date has to be printed entirely on the next line but if the study name is short it has to be printed right after accredited on.
    kind regards
    Arthur
    Edited by: A. de Smidt on May 4, 2011 3:55 PM

  • How can i release text from a text box?

    How can I release text from a text box? I want the shape of the text box without the text in it.

    So all you need is to make a line around the text?
    For this you don't need to release the text box from the text. Just apply a stroke to it.

  • How do I delete text from a textArea?

    How do I delete text from a textArea? I basically want the opposite of append(String)... I want something that removes a line from my TextArea. Anyone know?>

    If you want to remove only a specific part of the text, you have to get the String, take the parts before and after the removed part, append them back together and use setText to replace it in the textArea.

  • How do i block texts from a number on my iphone?

    How do I block texts from a number on my iPhone? My service provider use a safety net but not available for iPhone. tried downloading iblacklist manager but it wouldn't download. Any help greatly appreciated.

    Firstly in order to download iblacklist you are required to jailbreak your iPhone. If you jailbreak your iPhone, under the Terms of Use of this forum it is prohibited to discuss jail breaking and you will void any warranty you may have, forfeit any support from this forum, leave your iPhone vulnerable to malware and risk bricking your iPhone should you attempt future software updates or restoring your iPhone. I strongly advise you against going down this route.
    As for blocking SMS, I am not aware it can done.  Your network carrier maybe able to help blocking numbers, some offer this support, naturally others do not.  Other more techy minded users on here maybe able to offer more accurate advice with regards to SMS blocking.

  • How can I copy text from one card to another while creating cards using Iphoto?

    I created two cards with different pictures using Iphoto on Macnotebook. 
    I want to use the same text message.
    How can I copy text from one card to another?

    select the text and copy (edit menu ==> copy) tehn gpo to the next card and paste
    LN

  • How do I copy text from one layer to  another?

    I have Googled this but not a single answer seems to work.
    I am using Photoshop CS4 on OS X 10.6.7.
    OK, so  I  have a layer that  has some text in it.  I would like to  be able to  simply copy that  text  from one layer  to  another, but this seems to  be impossible as the Edit Paste menu item is grayed out after I have copied it in to the clipboard.  I can paste it into  the SAME layer, but not into another layer.
    This is how I am trying to  do  this.
    In the layer  with the text, click on the "T" icon to  the left.
    Click on the text, in the layer that I  want to  copy. 
    I select the text (either  by  clicking and dragging or pressing Command-A).
    Next I press Command-C.
    Then I  click on the layer In the Layer Panel) where I want to  paste the text.
    Pressing Command-V is impossible because the Edit-Paste menu option is grayed out!!!!
    WHY??????
    Perhaps more importantly, HOW do I copy text  from one layer to  another?

    First thing you can simply right click on the Text Layer and choose Duplicate Layer.  But that will create a new Text Lay
    er identical to the one you have.
    To answer your question in your case....  Create the Text Layer.   Make a New Layer.  Or have the layer you want to paste into visible.
    Highlight the text layer in the Layer Palette and Ctrl+Click (Win) Cmd+Click(Mac) so that you see marching ants walking around your text.
    Edit>Copy.
    Then highlight your Layer you want to paste into and hit Edit>Paste or Cmd+V / Ctrl+V.

  • How do i add text from a pc to iphone

    how do i add text from a pc to iphone
    like saved docs in microsof office

    You have to first install a document management app such as "Pages" or such on your iPhone.  Search the App store for one; there are many, some Free.
    Hope this helps

  • How do I place text from Pages in InDesign

    How do I place text from Pages in InDesign?

    You will need to export the text from Indesign as either .rtf or .doc files and import those.
    You can also cut and paste but I assume you have already tried these options and are not happy with the result, but haven't said why.
    Peter

  • How to transfer my text from iphone 4s to to iphone 6

    how to transfer my text from iphone 4s to to iphone 6

    Hi,
    Did you or can you set up the new iPhone from a Backup of the Old one ?
    They would have to be at the same Level of OS
    iMessages are deleted from the iMessages servers as soon as that are accepted by the device they were sent to.
    Essentially they are duplicated if you have more than one device and each then gets it's own "Copy" as they are push to each registered device based on unique login info.
    Therefore there is is no simple "Download" old iMessages.
    SMS items are also unlikely to be kept by the servers.
    9:59 pm      Friday; March 20, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • How can I print texts from iPhone4 to Canon MX870

    How can I print texts from iPhone4 to Canon MX870

    The following gives instructions. http://support.apple.com/kb/HT4517
    Note that your carrier may not support it or may have added charges.
    To use this feature, enable Personal Hotspot on your cellular data plan. Contact your carrier for information and pricing.

  • How do I extract text from an email?

    Hello!
    I am in the process of trying to automate orders from my website. How do I extract text from an email and paste it into specific cells in an Excel spreadsheet using Automator?
    Many thanks,
    Toby Bateson

    If you select the message on the Inbox list, or open the message, you can then go to the Message menu of Mail and select Remove Attachments.
    Bob N.
    Mac Mini 1.5 GHz; iBook 900 mHz; iPod 20 GB   Mac OS X (10.4.7)  

  • How do I copy text from an epub book?

    how do I copy text from an epub book?

    Just some observations.
    PDF page content that is an image (and music notes may very well be that in a given PDF) then all that can be exported is the image.
    Only an image editor can "edit" such eh.
    As to textual content - once in TXT, RTF, DOC or DOCX yes, expect to have to do "cleanup"
    Of course there's the old school alternative that is always available.
    Paper copy beside you as you transcribe to a fresh word processing file.
    Be well...

  • HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    HOW CAN I IMPORT TEXT FROM MICROSOFT WORD TO THE WEB PAGE?

    Another method is tosave your Word document as an a web page.  Then open the htm file, copy the text and paste into an HTML snippet on your web page.  Resize to show all the document and publish. It will retain the style, font and alignment of the original Word document.
    OT

  • How to protect my iphone from scratched

    How to protect my iphone from scratched

    Do not remove it from the box...
    But if you must, and you want no scratches, you will need something like the Otter Box Defender or the LifeProof case.
    But they all make the phone much bigger.  I use the Otterbox, I like the extra bulk and protection.
    Google is your friend, this has been discussed a Zillion times.

Maybe you are looking for

  • EDI Outbound B2B - Are ST and SE segment values created by B2B

    Hi, I have created a BPEL-B2B outbound EDI sample process Document is 850 Here BPEL is successfully giving file to B2B But B2B is erroring with below Segment ST((N/A)) at guideline position 010 is missing. This segment's standard option is Mandatory.

  • Installing new version of firefox to mac os x 10.2.8

    I have a Mac OS X Version 10.2.8 and recently changed cable companies. Since the change, Internet is SLOW, wheels spinning forever, ets. I clicked the upload new version of firefox and it is taking overnight to update.

  • Hey i want to upgrade my  15' macbook pro retina display

    Well hey guys..! well be frank i dont know much about upgrading thing.. but am on mac from last year.. i want to urgrade its perfomance..because my college files are too big..:) i want to every possible urgradation i can do on this laptop...:) still

  • Making triangles with interactive forms

    Hey people! I got a question that might not be that important, but to me is a big deal. Im making interactive forms and i want to draw a filled triangle. My only options is rectangles and lines. Ive tried to format the rectangle to a triangle, and us

  • VL10BATCH executes multiple times

    Hi, We have scheduled a batch job to run everyday night for creation of deliveries. The job runs and creates deliveries and gives error logs which I can see in V_SA. So far good. Has any one done parallel processing using the parallel generator conce