In smartform Text editor problem

In smartform in text editor i writing text Invoice number it will in first line Invoice and second line number ,  Exactly very line taken 7 characters what is problem please give me advise.

hi,
welcome to SDN
just increase ur window width.
or u can adjust it with font size.
do formatting andeach time check print preview.
coz not alwys print preview and text editor is same.

Similar Messages

  • In smartform text editor, cursor is coming very very large. huugeee

    While doing smartform, in Text editor, cursor is coming in very very large size....I dont know how to reset it...
    for other texts created early also, in text editor cursor is much bigger...
    help me...i resetted the formatting...kept standard formatting too...

    I would say it's not good choice. It's slow with large files (several megabytes). It supposes multiple features (pieces of text with different font sizes) you don't really need so calculation is slow.
    I would choose JTextArea with own view to support colored chunks. You calculations of sizes are really faster because you have monospaced font and all chunks has the same char size.
    For highlighting you can use Highlighter/HighlightPainters.
    If you still the JTextPane is good read the articles http://java-sl.com/JEditorPanePerformance.html about performance improvement.
    Neither JTextPane nor JTextArea are modal. You can place them in a modal JDialog.

  • Module Pool Text Editor Problem

    Hi
    I have developed module pool program which has 3 tab strips. In the last (3rd) Tab Strip I need to input Long Text. I have the done the coding but when I go to the Last tab and then come back to any other tabs, the text editor is overwriting the other fields in the other tabs. Can any tell how to solve this problem
    This is he code I have written
    ****90000******Screen
    PROCESS BEFORE OUTPUT.
      MODULE status_9000.
      MODULE modify_screen9000.
    module test_me.
      LOOP AT t_operation INTO s_operation WITH CONTROL toperation.
        MODULE move_data.
        MODULE modiy_screentblctrl.
      ENDLOOP.
      CALL SUBSCREEN sub1 INCLUDING sy-repid '9001'.
      CALL SUBSCREEN sub2 INCLUDING sy-repid '9002'.
      CALL SUBSCREEN sub3 INCLUDING sy-repid '9003'.
    PROCESS AFTER INPUT.
      MODULE cancel AT EXIT-COMMAND.
      CHAIN.
        FIELD zaodheader-heatnum MODULE check_heatnumber.
      ENDCHAIN.
      LOOP AT t_operation.
        MODULE update_itab.
      ENDLOOP.
      MODULE user_command_9000.
      CALL SUBSCREEN sub1.
      CALL SUBSCREEN sub2.
      CALL SUBSCREEN sub3.
    **************9003*****
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_9003.
      MODULE display_texteditor.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9003.
    **************9003*****
    DATA : ccont TYPE REF TO cl_gui_custom_container,
           tedit TYPE REF TO cl_gui_textedit.
    MODULE display_texteditor OUTPUT.
      CREATE OBJECT ccont
      EXPORTING
    parent =
      container_name = 'CC'
    style =
    lifetime = lifetime_default
    repid =
    dynnr =
    no_autodef_progid_dynnr =
      EXCEPTIONS
      cntl_error = 1
      cntl_system_error = 2
      create_error = 3
      lifetime_error = 4
      lifetime_dynpro_dynpro_link = 5
      OTHERS = 6 .
      IF sy-subrc <> 0.
      ENDIF.
      CREATE OBJECT tedit
      EXPORTING
    max_number_chars =
    style = 0
    wordwrap_mode = wordwrap_at_windowborder
    wordwrap_position = -1
    wordwrap_to_linebreak_mode = false
    filedrop_mode = dropfile_event_off
      parent = ccont
    lifetime =
    name =
      EXCEPTIONS
      error_cntl_create = 1
      error_cntl_init = 2
      error_cntl_link = 3
      error_dp_create = 4
      gui_type_not_supported = 5
      OTHERS = 6.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDMODULE. " DISPLAY_TEXTEDITOR OUTPUT
    Edited by: kumar1819 on Apr 7, 2010 8:05 AM
    Solved

    Hi kumar,
    **************9003*****
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_9003.
    Case SY-UCOMM.
    When 'TAB2'.
    Call screen 9002.
    **************9003*****
    In 9001 and 9002 screen what code u r writing.
    Regards,
    Raj.

  • How can i give conditions in smartform text editor

    Hi all,
    i want to display something based on some condition using text element in smartforms , how can i do it.
    in SAP Scripts normally we give conditions in text element using command line(/:)
    but it wont work in smartforms , how can i give the same in smartforms ?
    please help me soon.
    thank you.

    Hi,
    You can use the Conditions tab for the corresponding text.
    ex: in the text-editor consider you are displaying a name field based on a variable
    <b>
    ws_name
    ws_variable</b>
    In the text give the field to be displayed
    &ws_name&
    In the conditions tab give
    ws_variable = 'X'
    This will print the value from ws_name only when ws_Variable = 'X'.
    Regards,
    Tushar

  • Rich text editor problem

    Hi,
    I'm using stellent 7.5.1.
    I cannot upload pics and/or update text via the rich text editor .. The editor field opens, but just stays grey, i.e. they don’t have any option of entering or saving text.
    I have even checked Java version its fine.
    Do i need to change any config setting to enable to editor again?
    Thanks

    The 7.5 editor uses an ActiveX plugin, so it only works in Internet Explorer. There may also be security settings in Internet Explorer that might interfere with the way it works.
    If you get it going, try this article for some enhancements to the editor.
    http://webmonkeymagic.blogspot.com/2007/12/get-enhanced-contributor-editing.html

  • Smartform word editor problem : ecc 6

    Hi everyone,
    I have a smartform that displays text elements as word editor.
    I want to use the old editor for the texts.
    I am working with ECC 6.
    Thanks.
    Regards.

    Hi David,
    I think you've given up too soon by setting this as answered
    It is possible to switch the word editor off, take a look at SMARTFORMS IN ERP2005   URGENT for details how.
    Regards,
    Nick

  • Reg:Smartforms Change editor problem

    Dear All,
    If i am designing the smartform i am displaying some table fields from different tables. For example
    &vbrp-posnr& in to my change editor. when i am drag & drop on that particular fields that time when i
    am activating my smartform  i am seeing 2 to 3 lines of  # symbols i am getting without my knowledge.
    If i want to delete the unwanted # symbols i can't able to do that one. What i have to do?
    Thanks,
    Sankar M

    Hi
    There are two types of editor in general. The one we use generally in Scripts....and the other one is Word Pad editor. It just like working on a word document. So, now which is the one you are working on? Or in the text element you are just dragging the field into the text element??
    Regards,
    Vishwa.

  • Text editor problems

    import java.io.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class TextEditor extends JApplet {
        //Declare and create image icons
        private ImageIcon openImageIcon = ImageViewer.createImageIcon(
                "image/open.gif", this);
        private ImageIcon saveImageIcon = ImageViewer.createImageIcon(
                "image/save.gif", this);
        //Create menu items
        private JMenuItem jmiOpen = new JMenuItem("Open", openImageIcon);
        private JMenuItem jmiSave = new JMenuItem("Save", saveImageIcon);
        private JMenuItem jmiClear = new JMenuItem("Clear");
        private JMenuItem jmiExit = new JMenuItem("Exit");
        private JMenuItem jmiForeground = new JMenuItem("Foreground");
        private JMenuItem jmiBackground = new JMenuItem("Background");
        //Create buttons to be placed in a tool bar
        private JButton jbtOpen = new JButton(openImageIcon);
        private JButton jbtSave = new JButton(saveImageIcon);
        private JLabel jlblStatus = new JLabel();
        //Create a JFileChooser  with the current directory
        private JFileChooser jFileChooser1
                = new JFileChooser(new File("."));
        //Create a text area
        private JTextArea jta = new JTextArea();
        public TextEditor() {
            //Add Menu Items to the menu
            JMenu jMenu1 = new JMenu("File");
            jMenu1.add(jmiOpen);
            jMenu1.add(jmiSave);
            jMenu1.add(jmiClear);
            jMenu1.addSeparator();
            jMenu1.add(jmiExit);
            //Add menu items to the OTHER menu
            JMenu jMenu2 = new JMenu("Edit");
            jMenu2.add(jmiForeground);
            jMenu2.add(jmiBackground);
            //Add menus to menus lol
            JMenuBar jMenuBar1 = new JMenuBar();
            jMenuBar1.add(jMenu1);
            jMenuBar1.add(jMenu2);
            //Set the menu bar
            setJMenuBar(jMenuBar1);
            //Create toolbar
            JToolBar jToolBar1 = new JToolBar();
            jToolBar1.add(jbtOpen);
            jToolBar1.add(jbtSave);
            jmiOpen.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent e){
                    open();
            jmiSave.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    save();   
            jmiClear.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    jta.setText(null);   
            jmiExit.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    System.exit(0);   
            jmiForeground.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    Color selectedColor =
                            JColorChooser.showDialog(null, "Choose Foreground Color",
                            jta.getForeground());
                    if (selectedColor != null)
                        jta.setForeground(selectedColor);
            jmiBackground.addActionListener(new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    Color selectedColor =
                            JColorChooser.showDialog(null, "Choose Background Color",
                            jta.getForeground());
                    if (selectedColor != null)
                        jta.setBackground(selectedColor);
            jbtOpen.addActionListener( new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    open();
            jbtSave.addActionListener( new ActionListener(){
                public void actionPerformed(ActionEvent evt){
                    save();
            getContentPane().add(jToolBar1, BorderLayout.NORTH);
            getContentPane().add(jlblStatus, BorderLayout.SOUTH);
            getContentPane().add(new JScrollPane(jta), BorderLayout.CENTER);
        /** Open file*/
        private void open() {
            if (jFileChooser1.showOpenDialog(this) ==
                    JFileChooser.APPROVE_OPTION)
                open(jFileChooser1.getSelectedFile());
        /** Open file with specified File instance*/
        private void open(File file){
            try{
                //Read from the specified file and store it in jta
                BufferedInputStream in = new BufferedInputStream(
                        new FileInputStream(file));
                byte[] b = new byte[in.available()];
                in.read(b, 0, b.length);
                jta.append(new String(b, 0, b.length));
                in.close();
                //Display the staus of the file opening
                jlblStatus.setText(file.getName()+ "opened.");
             catch (IOException ex) {
                 jlblStatus.setText("Error opening "+ file.getName());
        /** Save file*/
        private void save() {
            if (jFileChooser1.showSaveDialog(this) ==
                    JFileChooser.APPROVE_OPTION){
                save(jFileChooser1.getSelectedFile());   
        /**Save file with specified File instance */
        private void save(File file) {
            try{
                //Write the sext in jta to the specified file
                BufferedOutputStream out = new BufferedOutputStream(
                        new FileOutputStream(file));
                byte[] b = (jta.getText()).getBytes();
                out.write(b, 0, b.length);
                out.close();
                //Display this status of the save file operation
                jlblStatus.setText(file.getName() + "saved.");
            catch (IOException ex) {
                jlblStatus.setText("Error saving" + file.getName());
    }There is a problem with this part of the code:
    private ImageIcon openImageIcon = ImageViewer.createImageIcon(
                "image/open.gif", this);
        private ImageIcon saveImageIcon = ImageViewer.createImageIcon(
                "image/save.gif", this);It says it can't find the variable ImageViewer .
    Please help :(
    Thanks in advance.

    What is ImageViewer? It doesn't appear to be a class in Java 5.0 or Java 6.0.
    I can't see an import statement for it -are you expecting it to exist in the same folder as your TextEditor class?

  • Smartforms - text editor

    Hello,
    When opening some of my forms in Smartforms, when I enter General Attributes TAB, the editor is not the usual editor.
    It looks like WORD editor. How can I change it to the other editor?
    Thank you.

    Hi Ami,
    it is possible to change the Editor. Go to SE38 or SE80. Run the Report 'RSCPSETEDITOR'.
    Then you can select/unselect if you like MS Word as Smartforms-Editor or not.
    Regards,
    André

  • Text editor problem

    Hi, my editor auto format my code as below. How to reset the
    newline symbol and ">>>"?
    http://i69.photobucket.com/albums/i59/ddlam2/why2.png

    You can change this from the actions panel menu at the top
    right of the actions panel, but the easiest way is:
    Use Ctrl-Shift-8 to toggle hidden characters

  • Long text editor - sign problem

    Hi,
    Currently I am facing an issue that the & sign is not being displayed correctly in the Long text editor. It is shown as '<(>&<)>' in the transaction once I input my value in the graphical editor , save and come back.
    Please help...
    Thanks
    Praneeth

    Hi Sandra,
    I am also talking about the same issue in IW32 and the internal SAP program is not doing a correct conversion due to which the wild characters are entered into the long text window on IW32.
    I received an answer for my OSS note and they say it is how the system is ..please see the comments from SAP below ...
    26.08.2011 - 12:37:23 CET - Reply by SAP             
    Hi,
    I am sorry, but the behaviour which you describe is correct.
    I will try to explain the meaning of the special characters and
    why they have to be there: In Sapscript there are some characters,
    which have a special meaning. E.g. a '&' starts a symbol, a '<'
    starts a character format, etc. So if you use e.g. a '&' in your
    text, this Sapscript needs the information, whether the '&' shall
    start a symbol or whether it shall be printed as '&'.
    So if you want to print the '&' as '&', the character must be masked.
    This is done via the characters <(>...<)>. So when you enter
    a '&' (and when it is not sure, whether it may start a symbol),
    the Sapscript internally saves the character as <(>&<)>.
    Usually this should be no problem: If you process the text via
    the Sapscript, you will not notice the masking characters. The
    graphical editor will not display them. And if you print the text
    via a Sapscript form or a Smartform, you will not see them.
    Only if you look into the internal table, which is returned
    by EDIT_TEXT or READ_TEXT, you will see the characters.
    (and the old Sapscript editor displays them, too, because it
    is displays the text in the Sapscript-internal format).
    If you process the internal table yourself, you must take this
    into consideration. E.g. if you want to convert the
    Sapscript-internal ITF format which is returned by EDIT_TEXT
    into 'normal' text format, you can use the function module
    CONVERT_ITF_TO_ASCII.
    Kind Regards,
    Marian O'Connell
    Support Consultant
    AGS Primary Support
    Visit the Enterprise Asset Management (EAM) forums:
    Enterprise Asset Management (SAP EAM)

  • How to change TEXT EDITOR in SMARTFORMS

    Dear All,
    How to change TEXT EDITOR in SMARTFORMS i am getting editor like Microsoft Word but i want the regular editor.
    I am using ECC 6.0 GUI 710
    thanks,
    RP

    Solution By Mr. Eitan Rosenberg is correct.
    Program Name: RSCPSETEDITOR
    Thanks a lot.
    Regards..........

  • PC Suite 6.83.14.1 problem with Text Editor

    Hi,
    I'm getting error while executing the Text Editor of PC Suite and Click on To. for selecting the address.
    I'm using USB cable to connect my phone with the Notebook.
    I found the below error.
    AppName: textmessageeditor.exe AppVer: 6.83.108.5 ModName: msvcr71.dll
    ModVer: 7.10.3052.4 Offset: 00010440
    In order to troubleshoot, I have carried out the following activities :-
    1. Uninstalled the PC Suite 6.83.14.1
    2. Used the Nokia PC Suite Cleaner
    3. Installed the PC Suite 6.83.14.1
    But the problem still persists.
    My System details are as follows:
    Operating system:
    Microsoft Windows XP
    Build 2600
    Service Pack 2
    Language: English
    Language for non-Unicode programs: English
    Locale: English
    Input language: English
    Nokia PC Suite:
    Version 6.83.14.1
    Language: English
    Connectivity Cable Drivers:
    Version 6.83.9.0
    PC Connectivity Solution:
    Version 7.7.10.0
    No supported Bluetooth stack found
    Regards,
    Dwarika

    Please find the logs attached.
    Attachments:
    e8a5_appcompat.txt ‏1 KB

  • Problem with text editor font

    Hiii..
    Actually I am facing some problems with the text editor font. Since I have some part of text was written in arabic (For labels), currently these parts are not readable and appears like this:
    "ط§ط³ظ… ط§ظ„ط¥ط¯ط§ط±ط© ط§ظ„طھط¯ط±ظٹط¨ظٹط©"
    I have tryed to fix that using:
    Tools --&gt; Preferences --&gt; Code Editor --&gt; Font
    However it still arise.
    Please reply me the solution if you have some idea about this..
    Regard's

    Which JDeveloper version?
    What is the character encoding settings for your project's compiler in the project properties?

  • Problem with text editor

    I am displaying a network graphics screen. Now in 1 of the user-command i want to display a  text editor in a popup. I used CALL FUNCTION 'TERM_CONTROL_EDIT' . But when the editor is coming it is actually not a editor just a pop-up window, and i cannot write anything in that.I dont understand where the problem is.Cant i call a text editor as a popup in default screen 1000 (used by sap to generate network graphics)

    Hi Have used the Class
    use this it will help to you.
          g_text_container       TYPE REF TO cl_gui_custom_container,
          g_text_editor          TYPE REF TO cl_gui_textedit,
    CREATE OBJECT g_text_container
          EXPORTING
            container_name = 'EMAIL_BOX'.
       CREATE OBJECT g_text_editor
          EXPORTING
             parent = g_text_container
             wordwrap_mode = cl_gui_textedit=>wordwrap_at_fixed_position
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true.
        CALL METHOD g_text_editor->set_toolbar_mode
          EXPORTING
            toolbar_mode = 0.
        CALL METHOD g_text_editor->set_statusbar_mode
          EXPORTING
            statusbar_mode = 0.
    For this u need to craete a screen se 51.
    Thanks,

Maybe you are looking for

  • Reverse document file

    Whenever I scan text or documents in Acrobat PRO 9.0, my scanner reverses the colors. I can scan in greyscale and that works fine. Is there a way to reverse the colors on a scanned document? I tried going to -> Preferences -> color management, but th

  • Problem in substing & length functions

    select substring('hello',1,2) from dual --- some times it works... ... but some other time it shows the error like this ....select substring('hello',1,2) from dual ERROR at line 1: ORA-00904: "SUBSTRING": invalid identifier Why it soooooooo?????? Tha

  • Getting an USB USBTMC device into MAX when it doesn�t detect it?

    I am trying to control an Agilent 33220A Function Generator over a USB connection. I am running LabVIEW 7.1, NI-VISA 3.1, and Max 3.1.1. Windows drivers for the generator are installed, and working. The generator shows up as a "USB Test and Measureme

  • Captivate 6 How to validate user input without using keyboard shortcuts

    I've been using Adobe Captivate 6 for about 4 months now.  Completely new to the program.  The number one function of Captivate for me will to create many software simulations for verifiable training.  This means that I will be utilizing the training

  • Where is schemaLanguage for XSD (JAXP)

    Hi all, I downloaded jwsdp-1_0-ea2 and I am testing some sample programs. There is XML validation sample using xsd jwsdp-1_0-ea2\samples\jaxp\SAXLocalNameCount.java In this sample code, static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/