CALLING TEXT EDITOR INTO TABSTRIP.

Hello Friends,
I want to call text editor in tabstrip. I call the standard editor in my zprog. Using EDITOR-CALL FOR T2 TITLE 'PARA3'. Code but when this code is run it calls the editor in full screen.
Is it possible that I can call the editor in specific tabstrip area?
regd
Kaustubh.

You have to use ABAP class CL_GUI_TEXT_EDITOR for it.
In your tabscrip subscreen create a custom container and within this custom container call the object of the text editor class.

Similar Messages

  • How to call text editors in smart forms?

    In my module pool program,I included text editors for three fields.I want that fields in smart forms too.I need to know how these text editors are called in smart forms?

    Hi achu,
             Any text that gets saved has a corresponding entry in table STXH table. It usually has the following parameters : TDOBJECT,TDNAME,TDID and TDSPRAS.
    What you have to do is create a new text element and under general attributes ---> Type  - give Include Text.
    And in the include text you give the above four parameters which correspond to the text you want to display.
    P.S. Do not forget to check the 'No error if no text exists' checkbox.
    Hope this helps.
    Regards,
    Arun

  • Clear the Text  in text editors

    Hi all,
    I had an requirement like 5 subscreens in a main screen.
    There i am maintaining text editors into 5  screens.
    where i am creating the  one editor and using the same for all  the 5 screens.
    But the problem is when i am changing the tabs for subscreens the text in the Text editor
    is visible from the previous screen because i am not clearing the text editor.
    I dont know how to handle this scenario.
    will anybody let mek now how to handle to clear the text editors.
    Regards,
    Madhavi

    Hi,
      when you are calling new subscreen (choosing different tabstrip), the PBO is executed. So just clear the content in the PBO. It is just enough to remember the OK_code(from PAI of previous tabstrip/subscreen) performed when you click on different tabstrip and check then in PBO this saved ok_code.
    If you don't know how to obtain ok_code value when you click on different tabstrip, just execute code "/h" in the input parameter where you put down tcodes before you click on the tabstrip. Tcode "/h" turn on debugging mode. Then you can get the value of ok_code in the debugger.
    Regards,
      Karol
    Edited by: Karol Seman on Nov 22, 2008 1:50 PM

  • In HP16522A Applicatio​n Build Program.vi​, can I create a Program Line Array in a text editor, and then download it directly to the VI?

    I basically would like to insert a few extra instructions into a previously created Progam Line Array without having to re-enter the entire program again.

    Andrew,
    I just took a look at the HP16522A Instrument Driver, and it looks like that Program Line Array is handled programmatically as an array of clusters, that is then parsed out and formatted as strings to send to the instrument. I can see two ways of getting the data from your text editor into LabVIEW in a useable format. You could use the File I/O VIs to read the string data from the file, then parse and format it appropriately to add to the Program Line Array...I can also see getting that text data in, formatting it as strings, then simply adding it into the command string you send to the instrument right before the Write function.
    I think both of these methods would work, although I think the first one will probably be easier for you to deal with, since you wo
    uld be using the Program Line Array cluster format the entire time.
    I wish you luck with your application. Have a pleasant day.
    Sincerely,
    Darren Nattinger
    Applications Engineer
    National Instruments
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Text Editor check syntax

    Hi, currently I have a text editor. I need to check the abap syntax that users key inside the text editor. how can I do that?
    please provide codes.
    thanks. will reward points if useful.

    Get all the code in the text editor into an internal table, then use statement
    SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd
                     [PROGRAM prog] [DIRECTORY ENTRY dir]
                     [WITH CURRENT SWITCHSTATES]
                     [error_handling].
    See example program below:
    DATA: itab TYPE STANDARD TABLE OF string,
          mess TYPE string,
          lin  TYPE i,
          wrd  TYPE string,
          dir  TYPE trdir.
    APPEND 'PROGRAM test.'                  TO itab.
    APPEND 'DATA dat TYPE d.'               TO itab.
    APPEND 'DATA len TYPE i.'               TO itab.
    APPEND 'DESCRIBE FIELD dat LENGTH len.' TO itab.
    SELECT SINGLE *
           FROM trdir
           INTO dir
           WHERE name = sy-repid.
    dir-uccheck = ' '.
    SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd
                 DIRECTORY ENTRY dir.
    IF sy-subrc = 4.
      MESSAGE mess TYPE 'I'.
    ENDIF.
    dir-uccheck = 'X'.
    SYNTAX-CHECK FOR itab MESSAGE mess LINE lin WORD wrd
                 DIRECTORY ENTRY dir.
    IF sy-subrc = 4.
      MESSAGE mess TYPE 'I'.
    ENDIF.
    Hope this helps,
    Cheers,
    Sougata.

  • How to call a text editor from a module pool program

    Hi All,
    I want to call the text editor from my modulepool program. Enter my text in it and save it.This text needs to be saved in a Z-program with 2 fields as primary keys. The next time while I call this same record from this z table, I need to fetch the existing text and display it.
    The user now can put in additional text and can again save it. This process thus goes on..
    If anyone has worked in this type of scenario, then please help me in doing this.
    Useful answers will surely be rewarded.
    Thanks,
    Susanth.

    Hi Sushanth,
    We save the text not as fields in a ztable directly but as a text.Please check the format below since it is based on a working code....
    first you need to create a text in s010 transaction...
    there should be some key based on which you plan to save the text..imagine it is Purchase order then..PO+item numner is always unique.eg:0090010(900PO/item10).so in the code you can append these two and they will be unique..so you can always retrieve them,overwrite,save them anytime you need
    **************data declarations
    TYPES: BEGIN OF TY_EDITOR,
    EDIT(254) TYPE C,
    END OF TY_EDITOR.
    data: int_line type table of tline with header line.
    data: gw_thead like thead.
    data: int_table type standard table of ty_editor.
    ****************fill header..from SO10 t-code..when you save you need the unique key..youfill it here and pass it in save_text function module
    GW_THEAD-TDNAME = loc_nam. " unique key for the text -> our unique key to identify the text
    GW_THEAD-TDID = 'ST'. " Text ID from SO10
    GW_THEAD-TDSPRAS = SY-LANGU. "current language
    GW_THEAD-TDOBJECT = 'ZXXX'. "name of the text object created in SO10
    *To Read from Container and get data to int_table
    CALL METHOD EDITOR ->GET_TEXT_AS_R3TABLE
    IMPORTING
    TABLE = int_table
    EXCEPTIONS
    ERROR_DP = 1
    ERROR_CNTL_CALL_METHOD = 2
    ERROR_DP_CREATE = 3
    POTENTIAL_DATA_LOSS = 4
    others = 5.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop data from int_table and save to int_line-tdline appending it.
    *save the text
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    HEADER = GW_THEAD
    TABLES
    LINES = InT_LINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    OBJECT = 4
    OTHERS = 5.
    IF SY-SUBRC 0.
    ENDIF.
    *To pass to Container
    CALL METHOD EDITOR ->SET_TEXT
    hope that the above sample with helps you solve the problem
    Please check and revert,
    Reward if helpful
    Regards
    Byju

  • Is it possible to call the TEXT EDITOR in a program?

    Hi,
    I want a function module which will popup a text editor where the user can write some text and then i can use this text for further processing.
    do we have any such function modules or text editor which i can call from the program to take long text inputs from the user?
    thanks in advance

    You can use the Class CL_GUI_TEXTEDIT
    REPORT YTEST.
    *module create_container_pbo_2000 output.
    DATA:
      obj_cust_cont_credential  TYPE REF TO cl_gui_custom_container,
    *  obj_cust_cont_character   TYPE REF TO cl_gui_custom_container,
    *  obj_cust_cont_preempmnt   TYPE REF TO cl_gui_custom_container,
      obj_text_cred        TYPE REF TO cl_gui_textedit,
    *  obj_text_char        TYPE REF TO cl_gui_textedit,
    *  obj_text_pemp        TYPE REF TO cl_gui_textedit,
    * Internal table to hold text for container reason1
      BEGIN OF i_table_text OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text,
    * Internal table to hold text for container reason2
      BEGIN OF i_table_text1 OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text1,
    * Internal table to hold text for container looking for another job
      beGIN OF i_table_text2 OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text2.
    * Subroutine to create text container for remarks on credentials
      PERFORM get_container_credential.
    * Subroutine to create text container for remarks on character
    *  PERFORM get_container_character.
    * Subroutine to create text container for remarks on preemployeement
    *  PERFORM get_container_preempmnt.
    call screen 100.
    *endmodule.                 " create_container_pbo_2000  OUTPUT
    form get_container_credential .
      IF obj_cust_cont_credential IS INITIAL.
    * To create the object custom container and link to the container on
    * screen
        CREATE OBJECT obj_cust_cont_credential
            EXPORTING
                container_name = 'CCREDENTIALS'
            EXCEPTIONS
                cntl_error = 1
                cntl_system_error = 2
                create_error = 3
                lifetime_error = 4
                lifetime_dynpro_dynpro_link = 5.
    *  To create the a TextEdit Control and link to the custom container
        CREATE OBJECT obj_text_CRED
          EXPORTING
             parent = obj_cust_cont_credential
             wordwrap_mode = cl_gui_textedit=>WORDWRAP_AT_WINDOWBORDER
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
          EXCEPTIONS
              others = 1.
        IF sy-subrc EQ 0.
    * To remove the toolbar
          CALL METHOD obj_text_CRED->set_toolbar_mode
            EXPORTING
              toolbar_mode           = 0
            EXCEPTIONS
              error_cntl_call_method = 1
              invalid_parameter      = 2
              OTHERS                 = 3.
    * To remove the status bar
          CALL METHOD obj_text_CRED->set_statusbar_mode
            EXPORTING
              statusbar_mode         = 0
            EXCEPTIONS
              error_cntl_call_method = 1
              invalid_parameter      = 2
              OTHERS                 = 3
        ENDIF.                             " IF sy-subrc EQ 0
      ENDIF.                               " IF obj_cust_cont_credential
    endform.                               " get_container_credential
    module STATUS_0100 output.
      SET PF-STATUS 'ZYH454_TEST1'.
      SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0100  OUTPUT
    module USER_COMMAND_0100 input.
    if sy-ucomm EQ 'BACK'.
      leave to screen 0.
    endif.
    endmodule.                 " USER_COMMAND_0100  INPUT

  • Get the long text into BADI from text editor

    hi all,
    I implemented BADI ME_PROCESS_PO_CUST, before saving the purchase order i am calling the text editor where i am writng
    the long text . but when save the text from the text editor the long text in the editor is not updating to the BADI.
    Can anybody help how can i get the long text to the BADI.
    Regards,
    Madhavi

    Hi
    Have you tried with interface 'IF_PURCHASE_ORDER_MM' with these methods in the BADI?
    IF_LONGTEXTS_MM~GET_TEXTOBJECT
    IF_LONGTEXTS_MM~GET_TYPES
    IF_LONGTEXTS_MM~GET_TEXT
    IF_LONGTEXTS_MM~SET_TEXT
    IF_LONGTEXTS_MM~ADOPT_TEXT
    IF_LONGTEXTS_MM~DELETE_TEXT
    IF_LONGTEXTS_MM~EDIT_TEXT
    Regards
    Eduardo

  • ERROR_CNTL_CREATE while calling BDC from transaction MM02 for Text Editor

    Hi Friends,
    I am using transaction MM02 when creating Purchase Order Text . Its working fine in foreground, but when I run it in background it is raising exception  ERROR_CNTL_CREATE when calling the Text Editor.
    I know in background SAPGui is not available and thats why it is raising the exception. But is there a way I can avoid it?
    Thanks in advance,
    Victoria
    Here is the dump info:
    The termination occurred in the ABAP program
    "CL_GUI_TEXTEDIT===============CP" 
      In "CONSTRUCTOR".                                                                 
    The main program was "SAPMMG01 ".                                                  
        The termination occurred in line 6 of the source code of the (Include)             
    program "CL_GUI_TEXTEDIT===============CM002"                                    (when calling the editor 60).                                                           
        The program "CL_GUI_TEXTEDIT===============CP" was started as a background job.                                                                               
    Error occurred during batch input processing                                           
    Here is the source code where the error occurs:
        1 *creates and links TextEdit control                                                  
        2 METHOD constructor .                                                                 
        3   DATA prog_id(80).                                                                  
        4                                                                               
    5   if parent is initial.                                                              
    >>>>>     raise error_cntl_create.                                                         
        7   endif.                                                                               
    8                                                                               
    9   CLASS cl_gui_cfw DEFINITION LOAD.                                                  
       10                                                                               
    11 * assign prog_id to get the frontend specific control                                
       12   if not activex is initial.                                                         
       13     prog_id = 'SAPGUI.TextEditCtrl.1'.                                               
       14   elseif not javabean is initial.                                                    
       15     prog_id = 'com.sap.components.controls.textEdit.SapTextEdit'.              
      endif.

    Dear Vicki Reed,
    I encounter same raise exception ERROR_CNTL_CREATE in MM02 while maintaining material texts in different languages.
    Can you please let me know how you resolved this issue in your case.
    Thanks in advance .
    Warm Regards,
    RajaShekar Gangula.

  • Issue with Capturing Long text using CALL METHOD EDITOR- GET_TEXT_AS_STREAM

    HI Experts,
    Standard Long text is capturing using CALL METHOD EDITOR->GET_TEXT_AS_STREAM
         but not working for Custom Long text – Only changes
    Here is the Issue:
    1)      Created Custom Long text in TAB. --> Good
    2)      Entered few lines in custom Long text  --> Good
             Click on Standard Tab , Leaving Custom tab and Custom Long text-->Good
    4)      In PAI of Custom Tab – Changes captured using CALL METHOD 1 ( See below Code 1)--> Good
    5)      Entered few lines in Standard Long text in Standard Tab -->Good
    6)      Click another Standard Tab
    7)      In PAI of Standard Tab – Changes captured using CALL MEHTOD 2 ( See Below Code 2)-->Good
    8)      Come back to Standard Tab / Standard Long Text , Enter few more lines.
    9)      Change the Tab , IN PAI of Standard Tab/Standard Text , Changes Captured using CALL METHOD2 ( See Below CODE 3) --> Good
    10)   Go to Custom Tab , Custom Long text , Entered few more lines--> Good
    11)   Click on any other tab, Triggered again PAI of Custom tab / Custom Long text using Call Method1 ( See Below Code 4) -->Good triggered PAI same CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM.
    12)   But additional lines are not captured , saying ZERO LINES in Internal Table and IF_MODIFIED = NO  -->Issues lies here.
    CODE1 ( Custom Long text entry capturing – First Few Lines )
    Custom Long text Entries are stored in LS_OUTTAB-TEXT first time when entered few lines and LV_MOD is 1.
    PAI of Custom tab
    CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
            EXPORTING
              ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=>TRUE
            IMPORTING
              TEXT                                       = LS_OUTTAB-TEXT ( FIlled with Lines entered in custom long text )
              IS_MODIFIED            = LV_MOD ( Value 1 , Modified )
            EXCEPTIONS
              ERROR_DP               = 1
              ERROR_CNTL_CALL_METHOD = 2
              OTHERS                 = 3
    CODE2 ( Standard Long Text Entry Capturing – First Few Lines )
    Standard Long text Entries are stored in SELECTED_TEXT first time when entered few lines and FLAG_MODIFIED is 1.
    PAI of Standard tab
       CALL METHOD EDITOR->GET_TEXT_AS_STREAM
          EXPORTING
            ONLY_WHEN_MODIFIED = YTRUE ( Value 1 , Modified )
          IMPORTING
            TEXT                               = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
            IS_MODIFIED        = FLAG_MODIFIED.
    CODE 3 ( Standard Long Text Entry Capturing – Second time Few Lines )
    Standard Long text Entries are stored in SELECTED_TEXT  second  time when entered few lines and FLAG_MODIFIED is 1.
    PAI of Standard tab
       CALL METHOD EDITOR->GET_TEXT_AS_STREAM
          EXPORTING
            ONLY_WHEN_MODIFIED = YTRUE
          IMPORTING
            TEXT                               = SELECTED_TEXT ( FIlled with Lines entered in standard long text )
            IS_MODIFIED        = FLAG_MODIFIED. ( Value 1 , Modified )
    CODE4 ( Custom Long text entry capturing – Second Time Few Lines )
    Custom Long text Entries are not stored in LS_OUTTAB-TEXT Second Time when entered few lines and LV_MOD is 0.
    PAI of Custom tab
    CALL METHOD TEXT_EDITOR1->GET_TEXT_AS_STREAM
            EXPORTING
              ONLY_WHEN_MODIFIED     = CL_GUI_TEXTEDIT=>TRUE
            IMPORTING
              TEXT                                       = LS_OUTTAB-TEXT  ( ZERO ENTRIES )
              IS_MODIFIED            = LV_MOD   ( NOT MODIFIED Flag )
            EXCEPTIONS
              ERROR_DP               = 1
              ERROR_CNTL_CALL_METHOD = 2
              OTHERS                 = 3
    Can anyone help me out of this.
    With Regards,
    Bala M

    Excellent Eitan,
    Here is what I am trying to Achieve.
    In Create Notification IW21 , They need 5 Long Text in Custom Tab ( Say Tab Name is MBR ).
    TAB1 NOTIFICATION Standard Information , TAB2 REFERENCE OBJ , TAB 3 MalFunction , Breakdown Standard one...... TAB 7 ( Custom Tab ).
    In Custom Tab , I added 5 LONG TEXT ( its 5 WHY Concept ).
    When the User enters data in 5 Long text , it should store long text along with Notification number when save.
    But Notification number will be generated @ the time of SAVE , but before that its just shows as
    %0000000001 ( and Number will be generated 1000065479) at Save.
    How to achive this .
    I did this:
    Added 5 Custom Container. and In PBO / PAI
      PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0100.
    IN PBO
       CREATE OBJECT TEXT_EDITOR1 ,    CREATE OBJECT TEXT_EDITOR2,    CREATE OBJECT TEXT_EDITOR3 like wise 5
       CALL METHOD TEXT_EDITOR1->SET_TEXT_AS_R3TABLE ,    CALL METHOD TEXT_EDITOR2->SET_TEXT_AS_R3TABLE .. Like wise 5 , So when the user Click on Custom Tab ( MBR ).
    It give 5 Long text.
    When he click tab1 or tab2 or tab3 .. and again tab MBR , still data is available.
    How to store this data for future retrival ( IW22 or IW23 ) ?
    Its working fine when I enter first time and goes here and there and finall save .
    IN SAVE BADI , I imported the Long text and created Standard Text SO10 with Notification Number with LONG1 , LONG2 .. means 1000065479LONG1 as standard text.
    But not working when I entered first time and go to tab1 and tab2 and then to MBR tab and added few more lines , its not exporting full lines and in IMPORT ( SAVE BADI ) giving ZERO Lines.
    Please help and thanks for your quick response.

  • Integrating Java Compiler into a Text Editor

    Hello
    I have developed a Text Editor with Java. I would like to make it as a IDE. Could anybody tell me how to integrate a JAVA or C++ compiler
    into Text Editor.
    Please let me know
    Thanks
    Prashanth

    Use this http://weblogs.java.net/blog/malenkov/archive/2008/12/how_to_compile.html to add your own compiler.

  • How to insert a picture into the Rich Text Editor

    hi,all
    I want to make a Press Releases page,that means I have to use the the Rich Text Editor.In this item,I dont know how to quote a picture into this field.though i know there is a picture icon in this field,and when i press it,it can pup up a window.That is the Image Properties Window,under this window,there is a URL text field.But I dont know what to fill in this field,I mean,I dont know what the URL link is .can you just give me a picture URL sample ?
    is it like "#APP_IMAGES#136_1_1.jpg" or something else ?
    hope to hear from you.thanks ...
    best regards
    hlee
    Edited by: hlee on 2011-3-30 下午8:04

    Hi,
    There is three types of images reference in oracle apex.
    1 Standard image -> url reference is -----> #IMAGE_PREFIX#menu/books_64.gif
    2 Workspace images -> url reference is ------> #WORKSPACE_IMAGES#java-icon.jpg
    3 Application images -> url reference is ------> #APP_IMAGES#JqueryIcon.jpg
    hope this helps you
    Thanks,
    Jaydip Bosamiya
    +91 - 76000 23053
    [http://jbosamiya.blogpost.com|http://jbosamiya.blogpost.com]

  • Any function module for calling a text editor in subscreen?

    Hi,
    I would like to know if there is any function module that can be used to call a text/note editor and can be displayed in a subscreen of a main screen (dialog programming)? This text/note editor should not be able to edit, but for display only.
    Please help. Thanks...

    >
    Pablo Casamayor wrote:
    > Hi,
    >
    > maybe this can help:
    >
    > check program SAPTEXTEDIT_TEST_1
    > in this program pay attention to:
    >
    >
    > MODULE pai INPUT.
    >
    >   CASE ok_code.
    > ....
    >     WHEN 'FIND'.
    >       PERFORM find_text.
    > ....
    >     WHEN 'HIGHLIGHT'.
    >       highlight = 1.
    >       PERFORM highlight_lines USING highlight.
    >
    >
    >
    > *&---------------------------------------------------------------------*
    > *&      Form  FIND_TEXT
    > *&---------------------------------------------------------------------*
    > FORM find_text.
    >   found = 0.
    >   IF case_sensitive = 'X'.             " button on Dynpro
    >     case_sensitive_mode = editor->true.
    >   ELSE.
    >     case_sensitive_mode = editor->false.
    >   ENDIF.
    >   IF whole_word = 'X'.                 " button on Dynpro
    >     whole_word_mode = editor->true.
    >   ELSE.
    >     whole_word_mode = editor->false.
    >   ENDIF.
    >
    >   CALL METHOD editor->find_and_select_text
    >                EXPORTING search_string = search_string
    >                          case_sensitive_mode = case_sensitive_mode
    >                          whole_word_mode = whole_word_mode
    >                CHANGING string_found = found.
    > * Flush for proper work of the following if statement
    >   CALL METHOD cl_gui_cfw=>flush.
    >   IF NOT search_string IS INITIAL.
    >     IF found NE 0.
    >       MESSAGE s000 WITH text-013.
    >     ELSE.
    >       MESSAGE s000 WITH text-014.
    >     ENDIF.
    >   ENDIF.
    > ENDFORM.                               " FIND_TEXT
    >
    > *&---------------------------------------------------------------------*
    > *&      Form  HIGHLIGHT_LINES
    > *&---------------------------------------------------------------------*
    > *      -->P_HIGHLIGHT  text                                            *
    > *----------------------------------------------------------------------*
    > FORM highlight_lines USING    p_highlight.
    >   IF selection EQ 'X'.
    >     CALL METHOD editor->highlight_selection
    >          EXPORTING highlight_mode = p_highlight
    >          EXCEPTIONS has_no_effect = 1.
    >     IF sy-subrc NE 0.
    > *      add your handling
    >     ENDIF.
    >   ELSE.
    >     CALL METHOD editor->highlight_lines
    >          EXPORTING
    >                  from_line = from_line
    >                  to_line = to_line
    >                  highlight_mode = p_highlight
    >          EXCEPTIONS has_no_effect = 1.
    >     IF sy-subrc NE 0.
    > *      add your handling
    >     ENDIF.
    >   ENDIF.
    >
    > ENDFORM.                               " HIGHLIGHT_LINES
    >
    > and this link:
    > http://help.sap.com/saphelp_45b/helpdata/EN/0e/514035634d761fe10000009b38f889/frameset.htm
    >
    > Best regards.
    >
    > Edited by: Pablo Casamayor on Apr 17, 2009 9:19 AM
    Hi Pablo,
    I have look through the program SAPTEXTEDIT_TEST_1. This program does the Text Selection and Highlighting the Text only after the buttons of each of the function is clicked.
    My requirements will be, having all the selected text (with a string pattern) to be highlighted when this text editor is displayed. Is this possible?
    Really thanks for your replies...
    Regards,
    Chuak Fen

  • Long text  editor called  from report

    Hi All,
    I  have a requirement of displaying long text editor(like the one used for sap script) for maintaining the details for each PO in report column.A similar example is transaction SO10.I will be thankful  if anybody can help in this regard.
    Thanks,
    Sanjay.

    Hi,
    You will have to use the FM: READ_TEXT, EDIT_TEXT, SAVE_TEXT to achieve this functionality.
    This will basically open the text editor as a pop up box ( size will be as sap script editor) for entering some comments against a Purchase Order.
    For this FMs, you 'll require Text id, text name, text object and language as parameters to be passed.
    thead-tdname = 'Purchase Order No'. " Name
    thead-tdid = 'ZQH1'.               " Text ID - E.g. To be created in your system
    thead-tdobject = 'VBBK'.   " Texts: application object
    thead-tdspras = sy-langu.       " Language Key
    Hope this helps.
    Regards,
    JLN

  • Calling APEX page in Rich Text Editor Content

    In my application I am using the Rich Text Editor to allow users to enter a block of text that is rendered within a page. In some cases, they would like to link to other pages in the application from within that block. The problem I am having is figuring out how to use a relative URL (f?p) path and maintain the session ID. If I try to enter f?p=&APP_ID.:1:&APP_SESSION.as the link expression from within the editor, the resulting HTML comes out<a href="http://f?p=&amp;APP_ALIAS.:home:&amp;APP_SESSION.">Any ideas on how to do this such that the substitution strings get processed properly would be greatly appreciated.

    Hi,
    Here what you can do with substitution problem
    Create procedure
    create or replace PROCEDURE editor_url(p VARCHAR2)
    AS
    BEGIN
    f (p => v('APP_ID') || ':' || p || ':' || v('APP_SESSION'));
    END;
    Create public synonym
    CREATE PUBLIC SYNONYM editor_url FOR your_schema.editor_url;
    Grant execute on procedure for DAD user
    GRANT EXECUTE ON editor_url TO APEX_PUBLIC_USER; -- OHS or APEX Listener in use
    GRANT EXECUTE ON editor_url TO ANONYMOUS; -- EPG
    Then in editor link url you enter
    editor_url?p=1
    That will then you then to page 1 and procedure handles app id and session substitution
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jul 25, 2012 7:58 PM
    Edited by: jarola on Jul 25, 2012 8:06 PM
    I did not test this fully. It do not work :(

Maybe you are looking for

  • Data Recovery On an iBook G3

    I had an iBook G3 in college (2002, exact model @ http://bit.ly/VGVpSh), and when it died I purchased a new Mac and shoved the iBook in a box (About 7 years ago). It died from the logic board/display issues that all those dual-USB iBooks had. I actua

  • Error while raising request when selected country other than India

    We are implementing Travel Management (ECC 6.0 ) along with HR. While raising Travel Request for International Travel the following error message occured and not allowing to submit request. Trip country "USA" does not correspond to domestic schema "T

  • Apex_util.get_print_document not generating correct output

    hello, Basically what I've done is this. 1) stored a very simple xml file in a clob field called xml_file_clob in a table called xml_test1 2) stored an rtf file in a clob field called rtf_layout in a table called xml_test1 3) created a procedure (bel

  • Anybody having probs w/extremely long synchs?

    I lost my 1G Nano 2 weeks ago, two days before the 2G Nano's went on sale, so I bought one. Did the "upgrade" to iTunes v7 (and subsequently v7.0.1) and have also updated my Nano firmware to 1.0.2, so I think I'm running the latest versions. I am, ho

  • Windows authentication from an enterprise application

    Hi All, Does anyone has any idea how to go about implementing windows active directory authentication from an enterprise application.The requirement is that the users across a particular domain should be able to use the application by using their win