Skip to Content
author's profile photo Former Member
Former Member

Large Text Box (Combo Box) on Selection Screen

I am trying to design a screen to accept a few parameters and then one large text field. The user will need to be able to paste an email into this text field. I am having trouble seeing how I can do that.

Any help is appreciated.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2007 at 05:40 PM

    chk the dataelement for EMAIL in table ADR6 and give that

    parameters  : V_email like ADR6-SMT...  "<-- not sure check it

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 18, 2007 at 06:14 PM

    <b>ADR6-SMTP_ADDR</b>

    Greetings,

    Blag.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 18, 2007 at 06:29 PM

    I guess you will need an EDITOR call.. something like CALL FUNCTION 'RH_EDITOR_GET' ..

    ~Suresh

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 18, 2007 at 06:45 PM

    Hi,

    Use the cl_gui_textedit class to get the whole email in the text

        g_repid = sy-repid.
    
        create object g_editor_container
            exporting
                container_name = 'TEXTEDITOR'
            exceptions
                cntl_error = 1
                cntl_system_error = 2
                create_error = 3
                lifetime_error = 4
                lifetime_dynpro_dynpro_link = 5.
        if sy-subrc ne 0.
        endif.
    
        create object g_editor
          exporting
             parent = g_editor_container
             wordwrap_mode = cl_gui_textedit=>wordwrap_at_fixed_position
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
          exceptions
              others = 1.
    
    
    * For retreveing the text from text editor
    
      call method g_editor->get_text_as_r3table
        importing
          table  = g_texttab
        exceptions
          others = 1.
      if sy-subrc ne 0.
      endif.
      call method cl_gui_cfw=>flush
        exceptions
          others = 1.
    
    

    aRs

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 18, 2007 at 07:49 PM

    Hi,

    Check this FM : EDIT_TEXT_INLINE

    Regards

    L Appana

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.