[Smartfroms] Problems in fetching text edit control text

Hi gurus,
I made an application using Screen programming (or dialog programming you must say). I used 3 tab strips. In last tab strip I used a text edit control to write remarks in multiple lines.
I save those remarks (data element: TEXT255) in a custom table as they are saved as "sdfsdfsdf##df##sd##fsd##fsd##fsd##f##sd##f". Fine enough as "ENTER KEY" is interpreted as "##".
I fetched them easily in a display mode using get_stream method. All good.
But the problem arose when I needed to fetch those saved remarks in a smartform.
When I fetched those remarks they came as "sdfsdfsdf##df##sd##fsd##fsd##fsd##f##sd##f" in samrtform's text_box.
I tried a Find and replace command but ## couldn't process, it's because ## is just the interpretation of ENTER KEY.
I need them as
sdfsdfsdf
df
sd
fsd
fsd
fsd
f
sd
f
Is there anyways to get multiple lines text box in smartforms or can I remove those "##" from the text?
Regards,
Mansoor Ahmed.

I am saving it as a text in TEXT255 data element.
But in text edit control when i press enter it adds ## to the text. And ## could not be processed via FIND and REPLACE commands.

Similar Messages

  • SAVE button doesn't appear in Toolbar of Text Edit Control

    Hai All,
    I need to save the changes made to the text in my Text Edit Control, i know how to handle the Save command but my problem is the SAVE button doesn't appear in the Toolbar of the Text Editor. I have searched through the SDN but in all of those threads they already have the SAVE button and hence only the logic was discussed. But i need the SAVE button to appear in my Text Edit Control. Looking forward  for your helpful answers.
    Thanks in Advance,
    rama

    Hi,
    Check the demo program  SAPSCRIPT_DEMO_NOTE_EDITOR what ever you enter in the editor you get the text using method
    call method note_editor->get_text_as_stream
           importing text = notetab.

  • How to bold the text in text edit control

    Dear all,
    i am using text edit custom control in module pool.
    i want to bold the text in text edit control.

    Hi.,
    Check this  [Program|http://www.se80.de/ABAP/ZPA_SE80_IC_PROGART.html]
    It may help you to increase font size in text edit control.
    Thanks & Regards,
    Kiran

  • ALV Toolbar on modal dialog screen and toolbar on text edit control

    Hello,
    I have created one container and producing ALV Grid output on a modal dialog screen. i do not want the ALV Toolbar to appear on this screen. How can I hide it ?
    ALso I need to hide some buttons on a Text edit control. How can I hide them ?
    Thanks and rgds,
    Anand

    Hi,
    To exclude some Toolbar functions, please do the below
    DATA:
    lt_toolbar_excl TYPE ui_functions.
      Exclude Some toolbar functions
        APPEND cl_gui_alv_grid=>mc_fc_detail         TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_info           TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_graph          TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_view_crystal   TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_loc_delete_row TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_loc_append_row TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_loc_insert_row TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_loc_copy_row   TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_loc_undo       TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_check          TO lt_toolbar_excl.
        APPEND cl_gui_alv_grid=>mc_fc_refresh        TO lt_toolbar_excl.
    And Pass the lt_toolbar_excl to the ALV object
    Display
      CALL METHOD go_alv_grid->set_table_for_first_display
        EXPORTING
          is_variant           = ls_variant
          is_layout            = ls_alv_lay
          is_print             = ls_print
          i_save               = 'A'
          it_toolbar_excluding = lt_toolbar_excl
        CHANGING
          it_sort              = lt_sort
          it_outtab            = gt_user[]
          it_fieldcatalog      = lt_alv_cat.
    Hope this helps you.
    Thanks,
    Ruthra

  • I have Problem in fetching data from CONTROL BLOCK

    Sir,
    I am facing problem in fetching data from control block.
    Asif.

    is your control-block a filter-block for the detail-block?
    Do you want to see only the detail-data of the user-id you have displayed in the master?

  • WordPress text editing controls not present even with Safari 3

    I was very excited to hear that S3 would support text editing buttons as in WordPress. But I'm not seeing them. Worse, I do see them when I use Vienna (which uses WebKit ) to edit WordPress pages. What am I missing?

    Do you also get the issue in Safari for Windows 5, saranya?
    (Afraid I don't have much experience with the versions 3.x ... but Reverse_Parn might be able to help with that.)

  • Editing Multiple Text layers in Photoshop CC

    Hi,
    I have a problem when tyring ot edit multiple text layers and it's really a big problem as it crops up with virtually every design I do (websites, games apps...)
    In previous versions of PS, you could select multiple text layers and edit them in bulk, so for exmaple, select a number of text layers, then change their font size (to say 20pt)... done.
    However, with CC, there seems to be some odd 'ratio' editing goign on - if  I select multiple text layers of different size and edit them (to all be 20pt, for example), it seems to just 'add' 20pt to what ever font size the individual layers were
    It's a real issue/pain for me (and I suspect many others)
    Please is there a fix or a way to switch off this 'feature'?
    So to clarrify, I want to edit multiple (often different) text layers in one go to be the same font size... like I used to be able to.
    Thanks.

    The last few times we saw this, it was due to a bug in a video card driver.
    Please update your video card driver from the GPU maker's website.

  • 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

  • Advanced text editing in WebDynpro Java

    Hi,
    Please let me know how can I add advanced text editing (making text bold or italic or changing the font of text ) in WebDynpro Java?
    Is it possible to do it in JSP and integrate in WebDynpro using IFRAME? Please advice me.
    Regards,
    Umapathi

    HI Patana,
    In web Dynpro Java, You can make the text bold but italic and changing the font of text is not possible.
    You can use iframe to do it. but its use is not recommended by SAP.
    It is a depreceted feature of web dynpro.
    reagrds,
    Sarbjeet

  • Problems setting MAX_NUMBER_CHARS in TEXTEDIT CONTROL

    Hi, I have a problem with C_TEXTEDIT_CONTROL interface.
    I have to maintain a Function Module that displays a TEXT EDIT CONTROL in a popup. One parameter of this FM is MAX_NUMBER_CHARS that is passed to the control in the constructor method.
    This parameter pretends to lock the maximum quantity of characters written in the popup. It’s set to 255 characters.
    At first, when user writes his commentary with 255 ch (yeah, he writes till the end) everything works ok; but after that, when he tries to visualize his commentary, nothing appears in the control, although the commentary is passed correctly to the control via set_text_as_r3table method.
    I have done some tests, and sawn in Debugger Time that if I change the parameter MAX_NUMBER_CHARS to 265 when the commentary length is 255, the control displays the text.
    Does anyone know what happens or what I’m doing wrong?

    Yeah, that's it.
    Here is the code:
    EDITOR is declared as follows
    data: editor           type ref to c_textedit_control .
    Here I'm trying to create the Obj. and gv_length is set to 255.
        create object editor
          exporting
             repid            = repid
             dynnr            = '0100'
             dynpro_container = 'TEXTEDITOR1'
             max_number_chars = gv_length
          exceptions
              others = 1.
    In the next code, I pretend to pass the TEXT written by user.
        call method editor->set_text_as_r3table
          exporting
            table           = mytable
          exceptions
            error_dp        = 1
            error_dp_create = 2
            others          = 3
    There are more lines of code, but they are not relevant to this problem.
    At first, the user can write a comment with 255 characters, but I'm not able to show this same comment although mytable is fulfilled.
    Thx

  • Export Text into Infotype text cluster

    Hi,
    I am trying to insert some text into the infotype text (Edit -> Maintain Text) for infotype 40 programmatically.
    I have written the sample code below but the text is not inserted into the infotype. Can someone advise me what could be wrong with the code ?
    Many thanks in advance.
    Regards
    KC
    =============================================
    REPORT ZTEXTO .
    TABLES : PERNR, PCL1, pcl2.
    INFOTYPES : 0040.
    INCLUDE RPPPXD00.
    DATA : BEGIN OF COMMON PART BUFFER.
           INCLUDE RPPPXD10.
    DATA : END OF COMMON PART BUFFER.
    INCLUDE RPC1TX00.
    GET PERNR.
       LOOP AT P0040.
         MOVE-CORRESPONDING P0040 TO TX-KEY.
         REFRESH PTEXT.
         PTEXT-LINE = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
         APPEND PTEXT.
         RP-EXP-C1-TX.
       ENDLOOP.
       PERFORM PREPARE_UPDATE USING 'V'.
    BUFFER ADMINISTRATION ROUTINE.
    INCLUDE RPPPXM00.

    Hi,
    I have this same issue.  I have the infotype field ITEXT is set to 'X'.  I am trying to update the record in infotype 0672.  I am using the following code, it executes well. But it is not updating the infotype with the text.
    REPORT  zven_insert_text_infotpe                .
    TABLES : pernr, pcl1, pcl2.
    INFOTYPES : 0672.
    Data: gs_0672 TYPE STANDARD TABLE of pskey with header line.
    INCLUDE rpppxd00.
    DATA : BEGIN OF COMMON PART buffer.
    INCLUDE rpppxd10.
    DATA : END OF COMMON PART buffer.
    INCLUDE rpc1tx00.
    gs_0672-pernr = '00010053'.
    gs_0672-infty = '0672'.
    gs_0672-subty = '0001'.
    gs_0672-endda = '04042005'.
    gs_0672-begda = '04042005'.
    append gs_0672.
    clear  gs_0672.
    *GET pernr.
      LOOP AT gs_0672.
        MOVE-CORRESPONDING gs_0672 TO tx-key.
        REFRESH ptext.
        ptext-line = 'THIS IS A TRAIL INSERT INSERT INTO INFOTYPE TEXT'.
        APPEND ptext.
        rp-exp-c1-tx.
      ENDLOOP.
      perform prepare_update using 'V'.
      include RPPPXM00.
    Please let me know ASAP.
    Appreciate.
    Thanks.
    vgoy

  • How can labview update the string control (text-edit box) after we have pressed the carriage return key on the keyboard during text-editing within that box?

    Dear readers,
    I have been trying to work out how to get labview to detect the event when a 'string' control has been modified, where the user has finished editing the string either by 1) pressing the enter key on the keyboard, or by 2) taking the focus away from the string control again. For example.. if I use the mouse to click on the string control and then I type 1234 into the box, I would like to have a routine that does something once the user hits the Enter key of the keyboard, or when the user takes the focus away from the string control again by clicking on something else. I would like the routine to respond even when the user didn't change anything in the text box (such as when we mouse-click on the edit box to go into edit mode, and then mouse-click on something else to remove the focus with no changes to the contents in edit-box).
    The purpose of my routine is to have a edit-box for a user to change for example the centre-frequency of a vector network analyser, so that the centre-frequency of the network analyser can change once the user finishes entering a new value in the text-edit box by hitting Enter key after the number is keyed in. Even if the user has clicked on the edit box, but changes their mind by mouse-clicking on something else to remove focus from the edit box, I would still like labview to detect the event when the control loses focus, so that the centre frequency can be updated anyway (to the same value that was already in the edit box).
    So far, I've tried set the string control option to 'limit to single line', so that I can try to scan for a carriage return .. '\n' ... pattern in the string. Unfortunately this doesn't work because labview doesn't seem to attach the '\n' to the end of that single line.
    Could someone please suggest ways to set a flag when a user hits Enter during text-edit mode of a string control, or when focus has been removed from the string control?
    While I've only described my problem for controlling a single control parameter on the gpib device, I'd like to make this feature work so that I can do the same kind of thing with other control parameters as well.
    Thanks so much in advance.
    Kenny

    Hi Kenny,
    instead of using the event structure, you can directly achieve to what you want by the KeyFocus property of the string control.
    - Enable Limit to single line option
    - Create the property KeyFocus in read mode and connect an indicator
    Each time you click on the string to modify it KeyFocus is True; when you click away or hit Enter KeyFocus is False.
    You can toggle your settings when KeyFocus changes from True to False.
    Alberto

  • Text editor control to be made non-editable

    Hello Experts,
    Need a small help from you people.
    I need to make a text editor control  non-editable,i n a sub-screen; depending upon the value of a field on the main screen. Can you please let me know of the easiest way out with this?
    Thanks in advance,
    Kumud.

    HI,
    You can write a code in PAI of main screen. there by using loop at screen you can make that field editable or disabled.
    Code sample:
    loop at screen.
    ****condition for value check
    if screen-name = 'TEXT_EDIT_NAME'
    screen-output = 1.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Hope this will help you.

  • HT4168 When I export a pages document as an ePub file the result is a blank locked text edit file on my desk top not an ePub file as previously no problem creating. How do I fix? HHD

    WHenWhen I export a pages document as an ePub file the result is a blank locked text edit file on my desk top not an ePub file as previously no problem creating. How do I fix? HHD

    Try adding .epub to the end of the name.
    I assume you are aware that to open an .epub file you need a special app, not TextEdit or Pages, right?

  • Font / text edit problem in photoshop CS6

    Hi there,
    I have a strange text edit problem in Photoshop CS6 running on Mavericks.
    Every time I use the text-tool in PS, write a sentence, mark it and change something like color, font size etc., the marked text vanishes.
    I have to "undo" the last step and the changed text appears again.
    Every time!
    I have a clean installed CS6 with no plugins and no other than system fonts installed.
    Everything on a new Mac Pro with OS X 10.9.5
    Any clues? Thanks.

    Do you have the latest updates for photoshop cs6?
    You can use Help>Updates from within photoshop cs6 to check if there are any available.
    Also, if you go to Help>System Info from within photoshop cs6, you can see the Photoshop Version in the top line.
    You should be on version 13.0.6
    See if turning off Dictation solves the issue.
    Go to System Preferences ---> Dictation and Speech -----> select OFF radio button .

Maybe you are looking for

  • Vendor downpayment/advance adjust during MIRO

    Dear Expats Our SAP version is E 6.0  EHP 4.0 In our existing system there is no PUSH button available to clear the down payment amount with vendor invoice. Pls. give the feedback, how can we activate this option to clear the down payment during MIRO

  • SQL on Server 2012 Essentials

    What are the options and/or limits for running SQL server (Standard or Express, 2012 or 2008 or 2005) on Server 2012 Essentials? Thank you.

  • Help! PowerBook G4 failed, rebooted but I have lost all my iTunes files!

    Hi there, Please help! I have an old PowerBook G4. I dropped it this morning by accident and it stopped working. I got it to switch on again and got to the Darwin/BSD page. I followed the advice below: Start up in Single User Mode and type carefully:

  • F110 Configuration for payment through Idoc

    Hi All, Can any body help me to configure F110 to generate the Idoc for payment? Please let me know the steps of all configuration including FBZP, F110 and Ale. Thanks Piyush

  • Nokia Email Client

    I have tried setting up and using the built in Nokia Email Messaging client with little success on my Nokia E63. From what I have read it seems that Nokia has unfortunately restricted it so it only works properly over a mobile phone providers data ne