Utilizing the cursor's current position in an action?

I had hoped this would be an easy thing to achieve but I have yet to find a solution after searching for many hours. Basically I want to use the current position of the cursor as a variable in an action, rather than the exact XY coordinates as recorded during the making of the action. More specifically I want to bucket fill a particular part of the image based on where my mouse is at the time of executing the action.
Any ideas? And with something this simple, would I even need to use a script? Any kind of help would be greatly appreciated!

Hello there,
I'm also facing the same problem...
Have you found any solution or work-around yet?
The code i'm using is the following:
IS
CURSOR cur_autonum
IS
SELECT an_nr + 1
FROM autonum
WHERE an_kode ='ADV'
FOR UPDATE OF an_nr NOWAIT
RECORD_NOT_FOUND EXCEPTION;
RECORD_IS_LOCKED EXCEPTION;
PRAGMA EXCEPTION_INIT(RECORD_IS_LOCKED,-54);
BEGIN
OPEN cur_autonum;
FETCH cur_autonum INTO :ptperson.pe_nr;
IF cur_autonum%FOUND
THEN
UPDATE autonum
SET an_nr = :ptperson.pe_nr
WHERE CURRENT OF cur_autonum;
CLOSE cur_autonum;
ELSE
     CLOSE cur_autonum;
     RAISE RECORD_NOT_FOUND;
END IF;
EXCEPTION
WHEN RECORD_NOT_FOUND
THEN
:global.rc := fnc_alert(118);
clear_record;
previous_record;
RAISE Form_Trigger_Failure;
WHEN RECORD_IS_LOCKED
THEN
IF cur_autonum%ISOPEN
THEN
CLOSE cur_autonum;     
END IF;
:global.rc := fnc_alert(119);
clear_record;
previous_record;
RAISE Form_Trigger_Failure;
WHEN OTHERS
THEN
IF cur_autonum%ISOPEN
THEN
CLOSE cur_autonum;     
END IF;
RAISE;
END;
greetings,
Emiel

Similar Messages

  • How to  Place the Cursor at Specific Position with-in a Char Field ?

    Forms 4.5 ver.
    Sun Solaris / Citrix env.
    Char Field - Length 65434
    How Can I Place the Cursor at "Specific Location"
    with in a Field ?
    with GO_ITEM('field Name') I can place the Cursor at Specific Field.
    But, How Can I achieve to Place the Cursor at Specific
    Position within that Field ?
    I know, the starting position, length of string I want to hightlight with the Cursor.
    tried using :
    go_item('substr(field_name,position,length)') ;
    but didn't work !
    Is it possible ?
    Thanks, Peri

    The only cursor postion behavior that can be controled is the item property "Keep Position".
    The following is the text from the on-line help for item property "Keep Position"
    KEEP_POSITION Specifies whether the Keep Position property should be True or False. When Keep Position is True, the cursor returns to the same position it was in when it left the text item. When Keep Position is False, the cursor returns to the default position in the text item. Valid values are PROPERTY_TRUE and PROPERTY_FALSE.

  • Return the cursor to original position in ABAP List

    There is an interactive List report, clicking on the lines in the main report leads to a secondary report and clicking on the line in secondary report gives a pop up screen. Depnding upon the selection made in pop up screen the data in the seconary report is changed and it again displays the secondary report with the changes but now the cursor is at the line 1 of the seconary report.
    I am unable to set the cursor to the original position in the seconary screen from where the pop up screen was called.
    I have tried to position the curosr using SET CURSOR but it does not help are there any other techniques for setting the curosr or what could have gone in my report which is not allowing me to position the curosr correctly.

    HI Mike
    Thanks for the reply. When I apply the logic to reposition the cursor in the scale range event only one cursor is moving to the zoomed in position. The other cursor remains out of  graph scale. I tried to repeat the same logc but it didn't work.  Could you please tell me how to get the 2nd cursor also in to the scale range. Sorry i'm fairly new to labview. I have attached the pic of what I tried.  Thankyou in advance
    Regards
    Pratheek
    Attachments:
    Capture.PNG ‏18 KB

  • Current position of Cursor in TextEdit Element

    Hi
    I would like to know how can i determine the current position of the cursor in general.
    I would also like to know the current position of the cursor in textedit element.
    Regards
    Piyush

    I checked the property, but it does not fulfill my requirement.
    What i want is:
    There is a view with several textedit/input elements, say A,B,C....n
    There is a Helper Function Button, But.
    Now when the user clicks on the button, i need to add a text, 'HELLO' in the element where the cursor is currently positioned.
    So in other words, the focused element will be appended by text 'HELLO'...
    So if i can find out the focused element, then i can append the text.
    Now my question is how do i find out the focused element in the view.
    Regards
    Piyush

  • How can I get the cursor's position in a opened file and display a menu?

    Hello,
    I want to make a program by which I will be able to display a panel/pops up menu at the corsor's current position, (In any text/doc file or in the desktop, we can display a menu by right click of the mouse.) Now I want my program to do the same task.
    More clearly-
    1. First I would save some words or sentences in a file(aa.txt).
    2. Then I would open another text file/ a word/ excel/ or any other editor( bb.txt / cc.doc / dd.xls / ee.html ).
    3. While editing or writing something in the opened file, if I click the right mouse button/ press a key (ctrl+space), a menu will appear containing the sentences I saved in the file(aa.txt) previously.
    My program will tell me the cursor's position in bb.txt / cc.doc / dd.xls / ee.html that i opened. And display a menu. my problem is not reading / writing in a file.
    My problem is how can I get the cursor's position in a opened file display a menu at that position by a mouse/key action*.
    Would you please help me on this regard.
    Thanks

    DrClap wrote:
    I think the OP wants to start up an application like MS Word and then operate it from a Java program.Doesn't The Monkey's Paw do that? What a second, according to Wikipedia:
    [http://en.wikipedia.org/wiki/The_Monkey%27s_Paw]
    <quote>
    ...the paw of a dead monkey is a talisman that grants its possessor three wishes, but the wishes come with an enormous price.
    The moral of the story is contained in this description of the paw: "It had a spell put on it by an old fakir," said the sergeant-major, "a very holy man. He wanted to show that fate ruled people's lives, and that those who interfered with it did so to their sorrow."
    </quote>
    So I guess that a non-sequitor ... or is it?

  • Now impossible to insert the cursor by clicking in one paragraph. I am able to 'find' the cursor by going to another paragraph, then using the arrows to position the cursor in this rogue paragraph.

    I use Pages version 4.0.5.
    My software is all up to date, 10.6.8 version of OS.
    The particular document with the problem is 255 pages and currently at 125,000+ words. One area of a paragraph seems to be at fault and clicking within it has no effect. No cursor appears, no editing is possible and no other input is possible for that part of document.
    I can work round this by going to another paragraph, clicking there when the cursor appears, then using the arrows to get the cursor in to position in this 'rogue' paragraph.
    I am fairly new to Mac, only having bought this machine at the end of last year but have used it everyday since then. I did have problems with an image editing program supplied with a new Pentax camera but I have stopped using that program after taking the laptop to Apple tech in Sheffield UK who said the laptop was OK but the program was VERY slow and they could see when checking forums that this program was causing problems for other Mac users.
    That was about three months ago, so the laptop was deemed to have a clean bill of health then.
    I am curious and disappointed more than anything, as I can work around the problem at the moment.
    What might be going wrong, how can I correct it, if at all, and should I be worried that there might be a more significant problem developing?

    zxcwx wrote:
    (1) It is quite likely that I am losing what little cognitive ability I started with due to advancing years,
    (2) perhaps visual acuity as well so your red italic text made your point very well.
    (1) don't worry, I was born on 1943/12/31 23:55
    (2) It's why I change the size or the color from time to time.
    (3) I never use phrases when I search something. Just lowercase words 'linked' by the conjunction AND (uppercase)
    I'm remembering a thread about this behavior.
    https://discussions.apple.com/message/15102726
    Yvan KOENIG (VALLAURIS, France) samedi 9 juillet 2011 22:52:31 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Setting the cursor position in a field in XD01 transaction

    Hi,
    I am trying to validate the field Customer type (Path : XD01 > Sales area data > Extras > Additional data) in the transaction XD01 ie: It is a mandatory entry for Customer creation.
    I tried displaying an error message which worked fine. But i want the cursor to be positioned in the Customer type field.
    Is there any possibility for this?

    Santhosh,
    I tried giving "GET CURSOR FIELD v_field LINE v_line" in the exit EXIT_SAPMF02D_001. But no values are getting captured in those variables.
    Moreover they have specified in the documentation as - "However, the variables specified during PAI processing are always initialized". Now this exit is getting called during PAI. Hence i believe that the values will be initialized! Moreover i think that getting the field & line information of the current cursor position is not going to help us!

  • Error in TCode iview Select a line or position the Cursor correctly

    Hi All,
    I am getting the below error while selecting the row in Tcode iview
    Select a line or position the Cursor correctly.
    You have not selected a delivery or a delivery item for processing and the cursor is not positioned on a valid line, even after i am
    selecting the Delivery and click on the execute button
    My system config  :
    NW04s SP 20
    Thanks&Regards
    Murthy

    Hi Murthy,
    Create the Iview again.Hope the issue will resolve.
    Thanks,
    Arun

  • How to position the cursor at the end of the text with EDIT_TEXT?

    Hello, it wanted to ask to them if somebody could make work the module of function EDIT_TEXT so that it positions the cursor at the end of the text that is visualizing in the text editor. In the documentation it says that passing a ' X' to him in the field scrollend of the parameter Control is obtained that operation. Nevertheless, I did this and the cursor continues appearing at the beginning of the text that visualizes.
    Somebody could help me please?
    Regards,
    Gabriel
    PD: The code that I use is the following one:
    FORM f_ingresar_comentarios.
    DATA: l_action,
    l_result LIKE itcer,
    l_pedido LIKE thead-tdname,
    li_coment_save LIKE i_comentarios OCCURS 0,
    li_coment_aux LIKE i_comentarios OCCURS 0 WITH HEADER LINE,
    l_lines TYPE i,
    l_lines_save TYPE i,
    l_lines_insert TYPE i,
    l_index TYPE i,
    l_index_aux TYPE i,
    l_insert,
    lwa_control LIKE itced.
    CLEAR: l_action.
    CLEAR i_comentarios.
    REFRESH: i_comentarios,
    li_coment_save,
    li_coment_aux.
    l_pedido = v_pedido.
    Leemos el texto si es que existe
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    client = sy-mandt
    id = v_id_text
    language = sy-langu
    name = l_pedido
    object = c_ekko
    IMPORTING
    header = wa_cabecera
    TABLES
    lines = i_comentarios "Lineas de texto leídas
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    not_found = 4
    object = 5
    reference_check = 6
    wrong_access_to_archive = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    Armamos la cabecera por primer comentario para el pedido
    CLEAR wa_cabecera.
    wa_cabecera-tdobject = c_ekko. "Objeto en tabla TTXID
    wa_cabecera-tdname = v_pedido. "Nro de pedido
    wa_cabecera-tdid = v_id_text. "ID en tabla TTXID
    wa_cabecera-tdspras = sy-langu. "Lenguaje
    wa_cabecera-tdlinesize = 70.
    ENDIF.
    Salva comentarios originales
    li_coment_save[] = i_comentarios[].
    lwa_control-scrollend = c_x. " c_x = 'X'
    Abre el editor de texto
    CALL FUNCTION 'EDIT_TEXT'
    EXPORTING
    header = wa_cabecera
    save = space
    control = lwa_control
    IMPORTING
    newheader = wa_cabecera
    function = l_action
    RESULT = l_result
    TABLES
    lines = i_comentarios
    EXCEPTIONS
    object = 1
    id = 2
    language = 3
    name = 4
    linesize = 5.
    Si cambio los comentarios, actualiza comentarios
    CASE l_action.
    WHEN c_unchanged.
    WHEN c_delete.
    WHEN c_update OR
    c_insert.
    Obtiene cantidad de lineas de comentarios originales y modificados
    DESCRIBE TABLE li_coment_save LINES l_lines_save.
    DESCRIBE TABLE i_comentarios LINES l_lines.
    Si se insertaron lineas...
    IF l_lines > l_lines_save.
    Calcula cantidad de lineas a insertar para luego calcular valor de
    indice a partir del cual insertar los nuevos comentarios
    l_lines_insert = l_lines - l_lines_save.
    l_index = ( l_lines - l_lines_insert ) + 1.
    Controla que al menos una de las lineas insertadas sea diferente de
    blanco
    l_index_aux = l_lines.
    l_insert = c_n.
    DO l_lines_insert TIMES.
    READ TABLE i_comentarios INDEX l_index_aux.
    IF sy-subrc = 0 AND
    i_comentarios-tdline <> space.
    l_insert = c_s.
    EXIT.
    ENDIF.
    l_index_aux = l_index_aux - 1.
    ENDDO.
    IF l_insert = c_s.
    Carga comentarios originales y agrega lineas insertadas
    li_coment_aux[] = li_coment_save[].
    APPEND LINES OF i_comentarios
    FROM l_index
    TO l_lines
    TO li_coment_aux.
    Setea variable para indicar actualizacion de comentarios.
    v_comentario = 'S'.
    Agrega usuario y fecha del comentario
    CONCATENATE sy-uname
    sy-datum
    INTO li_coment_aux-tdline
    SEPARATED BY space.
    li_coment_aux-tdformat = '*'.
    APPEND li_coment_aux.
    Grabamos el texto
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    client = sy-mandt
    header = wa_cabecera
    savemode_direct = c_x
    IMPORTING
    newheader = wa_cabecera
    TABLES
    lines = li_coment_aux
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    object = 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.
    ENDIF.
    ENDIF.
    ENDCASE.
    ENDFORM. " f_ingresar_comentarios
    In addition, I made another program simpler that it uses the same functions and also have the same problem:
    *& Report Y_GVA_TEXT *
    REPORT y_gva_text .
    DATA: wa_cabecera LIKE thead,
    i_comentarios LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: l_action,
    v_comentario,
    l_result LIKE itcer,
    v_pedido LIKE thead-tdname VALUE '3',
    l_pedido LIKE thead-tdname,
    c_a05 LIKE thead-tdid VALUE 'A05',
    c_ekko LIKE stxh-tdobject VALUE 'EKKO',
    l_lines LIKE sy-tabix,
    lwa_control LIKE itced.
    CONSTANTS: c_x VALUE 'X',
    update VALUE 'U', "Langtext verändert
    insert VALUE 'I', "Langtext eingefügt
    delete VALUE 'D', "Langtext gelöscht
    modify VALUE 'M', "Kein Langtext, Inlinezeile veränd.
    unchanged VALUE ' '.
    CLEAR: l_action.
    CLEAR i_comentarios.
    REFRESH i_comentarios.
    Leemos el texto si es que existe
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    client = sy-mandt
    id = c_a05
    language = sy-langu
    name = v_pedido
    object = c_ekko
    IMPORTING
    header = wa_cabecera
    TABLES
    lines = i_comentarios "Lineas de texto leídas
    EXCEPTIONS
    id = 1
    language = 2
    name = 3
    not_found = 4
    object = 5
    reference_check = 6
    wrong_access_to_archive = 7
    OTHERS = 8.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE 'I' NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    Armamos las cabecera para mostrar los comentarios
    CLEAR wa_cabecera.
    wa_cabecera-tdobject = c_ekko. "Objeto en tabla TTXID
    wa_cabecera-tdname = v_pedido. "Nro de pedido
    wa_cabecera-tdid = c_a05. "ID en tabla TTXID
    wa_cabecera-tdspras = sy-langu. "Lenguaje
    wa_cabecera-tdlinesize = 70.
    ENDIF.
    lwa_control-noendlines = c_x.
    lwa_control-scrollend = c_x.
    Abre el editor de texto
    CALL FUNCTION 'EDIT_TEXT'
    EXPORTING
    header = wa_cabecera
    save = space
    control = lwa_control
    IMPORTING
    newheader = wa_cabecera
    function = l_action
    RESULT = l_result
    TABLES
    lines = i_comentarios
    EXCEPTIONS
    object = 1
    id = 2
    language = 3
    name = 4
    linesize = 5.
    Si cambio los comentarios, actualiza comentarios
    CASE l_action.
    WHEN unchanged.
    WHEN delete.
    WHEN update OR
    insert.
    Agrega usuario y fecha del comentario
    CONCATENATE sy-uname
    sy-datum
    INTO i_comentarios-tdline
    SEPARATED BY space.
    i_comentarios-tdformat = '*'.
    APPEND i_comentarios.
    CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
    header = wa_cabecera
    IMPORTING
    newheader = wa_cabecera
    TABLES
    lines = i_comentarios.
    ENDCASE.

    Murugesh,
    I believe that you have mis-read Gabriel's problem.
    Gabriel,
    The cursor is not positioning at the base of the editor as you have cited.
    In order to get this functionality to work, you must set the LINE_EDITOR import paramter to 'X'.
    data: hdr like THEAD.
    data: l_itced like itced.
      hdr-tdobject = 'VBBP'.
      hdr-tdname = '4000029521000030'.
      hdr-tdid = 'Z005'.
      hdr-tdspras = 'E'.
      hdr-TDLINESIZE = '100'.
      hdr-TDTXTLINES = '3'.
      l_itced-SCROLLEND = 'X'.
      CALL FUNCTION 'EDIT_TEXT'
        EXPORTING
        DISPLAY             = ' '
        EDITOR_TITLE        = ' '
          HEADER              = hdr
        PAGE                = ' '
        WINDOW              = ' '
        SAVE                = 'X'
          LINE_EDITOR         = 'X'   " here !!!
          CONTROL             = l_itced
        PROGRAM             = ' '
        LOCAL_CAT           = ' '
      IMPORTING
        FUNCTION            =
        NEWHEADER           =
        RESULT              =
        TABLES
          LINES               = lines
      EXCEPTIONS
        ID                  = 1
        LANGUAGE            = 2
        LINESIZE            = 3
        NAME                = 4
        OBJECT              = 5
        TEXTFORMAT          = 6
        COMMUNICATION       = 7
        OTHERS              = 8
    Don't forget those points !!

  • How position the cursor in selected screen field insted of defualt field

    Hi All,
    Can you pls let me know , how to position the cursor in selected selection-screen filed. My requirement is i have 3 selection-screen fields, By default cursor is positioned on field screen field, but i want the cursor to be positioned at 3rd screen field to enter input, i want to do this coz i am filling first 2 screen fields with default values, so i need to position the cursor at 3 rd screen filed. let me know if it is possible to achieve this.
    Thanks in advance.
    Regards
    Vishal

    You will need to point it to the LOW field.
    report zrich_0001.
    tables: reguh.
    select-options :
    s_bukrs for REGUH-ZBUKR default 'US10',
    s_laufd for REGUH-LAUFD default sy-datum,
    S_LAUFI FOR REGUH-LAUFI .
    at selection-screen output.
    <b>set cursor field 'S_LAUFI-LOW'.</b>
    Welcome to SDN!  PLease be sure to award points for helpful answer and mark you post as solved when solved completely.  Thanks.
    Regards,
    Rich Heilman

  • Set the cursor on table control

    Hi All,
    I am trying to create a table control.
    Creation of table control is fine and i can update and save the records..But i am facing some strange problems.
    When i close my program and rerun it, the Cursor will be position on the default field of last run.
    How can we position the cursor on table control..Say to a particular row or columns?
    Also i am not able to interpret the meaning of
    Loop at itab with control control name cursor top_line/current_line.
    Does this means that if you use top_line, cursor will be placed at the top line and when you use current_line , it will be placed at current line?
    Regards
    Miesh

    Hi,
    Check this link for sample code for Table Control
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=/library/webas/abap/abapCodeSamples/TableControlin+ABAP.pdf
    http://members.aol.com/_ht_a/skarkada/sap/table_control/table_control.htm
    Re: Table Control
    Thanks & Regards,
    Judith.
    Message was edited by: Judith Jessie Selvi

  • Setting the cursor on a particular input field in module pool

    Hi,
    I am working on an abap module program, the requirement is the cursor should be placed on a particular field at run time.
    In detail:  Table contains zserialno primary key field, zemailid of char type.
    Screen design: 1st text input field is zserialno
                             2nd field zemailid is splitted into 3 input text fields.
    For 2nd field zemailid 1st input field allows user to enter his/her email name, 2nd input field is an drop down which contains domain names and 3rd field is an empty field which is to be triggered on user action.
    example: zemailid- 1st input field  XYZ 2nd input field conatains @gm../@yah....and others. If user selects on others value in drop down of 2nd input field, the cursor should point the 3rd input field which allows the  user to enter his/her other domain.
    I used
    SET CURSOR FIELD <3rd inpu field namet>.
    , but the cursor pointing the key field of the table zserialno even the input field of zserialno was provided with a value.
    Any idea on this is appreciated.
    Edited by: Sona_abaper on May 7, 2011 5:34 PM

    Hi Sona,
    F1:
    Effect:
    During PBO processing, this statement sets the cursor in the screen layout of the current screen. The cursor can be positioned by entering a screen element after FIELD or by entering a specific position using col and lin. Outside of PBO processing, the cursor is positioned in the next list displayed on the screen.
    If the SET CURSOR statement is not specified, depending on the definition of the screen, the cursor is set according to the following hierarchy:
        On the cursor position determined statically in the screen properties,
        On the first input field of the screen,
        On the first screen element of the screen,
        On the command field in the systemtoolbar.
    The latter also applies if the command field in the system toolbar is not displayed.
    I'm convinced your code works as designed.
    Let us know your PBO module and code.
    Regards,
    Clemens

  • How to measure the time the cursor hovered over an hot spot

    Hi all,
    I have a task in which participants have to make a decision with two options. Therefore, I have created two hotspots, one for each option. What I want to measure is the time that the mousecursor 'hovers' over each option before a choice has been made (one of the two hotspots clicked). So for instance: if a user first hovers 2,5 seconds above option 1, then goes to option 2, hovers there for .45 seconds, then goes to option 1 again, hovering for .5 seconds before clicking, I want to save those two values (2.5 + .5 = 3.0 s for option 1 and .45 s for option 2) when either hotspot is clicked. I was thinking of using a conditional in my interaction icon using something similar to ObjecOver (which gives which display icon the cursor is currently over), but then have something like HotspotOver (which does not exist). Does anyone know how I can accomplish measuring these hovertimes?
    Regards,
    Frank

    The solution I came up with has five hotspots. First off a calculation icon: OptionTimes := [0,0]
    Then the interaction with the hotspots: single click option 1, cursor in area option 1, single click option 2, cursor in area option 2, finally a hotspot surrounding all others
    In the cursor in area type hotspot for option 1 I have the calculation:
    Option := 1
    OptionStartTime := SystemSeconds
    Hopefully you can see where this is going. There's a similar calc for option 2 in the cursor in area option 2. It just sets the Option number to 2. In the last hotspot that surrounds the others I have this:
    OptionTimes[Option] := OptionTimes[Option] + SystemSeconds - OptionStartTime
    When the user hovers over an option and then leaves, the hotspot surrounding the others catches them and records the time they spent. You also need that same calc in the response path for the two options to catch the time taken looking at the option just before clicking in their choice.
    Mike

  • How can I enter data in a spreadsheet at the cursor

    I want to be able to take a reading from an instrument and put it into the cell where the cursor is currently located in Excel 2000.  I could use a mouse click or "Return" key to indicate that now is the time to take a reading and enter it into the cell.  The cursor would be moved manually to the cell where it is desired.
    Judd

    Hello,
    For formatting strings to be written to spreadsheets such as excel, see my post in the following thread - it includes an attached example:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=165067&query.id=23613#M165067
    Best Regards,
    JLS
    PS - it does not address writing to a cell which your cursor is in - it uses simple file i/o to write a spreadsheet formatted string/file, and this cannot even be written in this way if you already have the file you are writing to open in another program - usually the program blocks access (and reasonably so) when it opens the file.  You can of course write to a file and choose which cell a given piece of data will show up in when you open it in excel... this is just formatting the data correctly, and as you'll see in the thread linked above, this is rather trivial.
    Best,
    JLS
    Sixclear

  • Using CTRL-SHIFT-F for searches, can the cursor please be in the search window by default?

    I regularly use CTRL-SHIFT-F to search particular folders (usually the Inbox) for a text string. When the search screen comes up, I sometimes start typing the text string, assuming that naturally the cursor's default position is in the search window. After all, that's the point, isn't it? But of course that's not true so I have to stop typing, use the mouse to move the cursor to where it belongs, and start typing again. This is only moderately annoying, but I have the feeling that it's only moderately difficult to fix, too.
    Any chance of that happening?
    Thanks in advance.

    Change the command line /: to some paragraph format PH or line feed /.
    /E       ELEMENT
    PH       &IT_TEXTO-TDLINE&
            OR
    /         &IT_TEXTO-TDLINE&
    Also why are you passing the text elemnt to internal table first using READ_TEXT. It can be directly done with INCLUDE Command.

Maybe you are looking for

  • My macbook will no longer charge or only charges intermittently

    My macbook stopped charging about two weeks ago, i borrowed someones charger and that worked fine so i presumed the issue was with my charger however since buying a new one the issue has come back after about 10 days of fault free use. these are the

  • Updating to ios6

    Hello, i left my phone updating last night so i could wake up with a brand new ios in the morning (i set my 5 am allarm just to get an early start), only to wake up a little before 6am with a itunes plug logo. I had to change my comouters HD so i did

  • How to remove iPhoto auto open when device connects with USB?

    Hi When I connect any device using USB cable (mobile,tablet) on my Mac PC , iPhoto starts up and hangs my system for sometime ... Thank You.

  • Nano only works via mains charger then freezes when unplugged....

    Could use someones wise advice please! My nano is just over 1yr old, worked fine until recently. I have tried the 5 r's, software is upto date, battery is fully charged, only works via mains charger but when i disconnect it, it freezes with a line th

  • SAP Personnel Cost Planning - Data Collection Employee not providing hours

    Hello, I am implementing SAP PCP and have created a 'Salaries; Cost Item. It has both Salary $ (1003) wagetypes and an Hour amount (1305 Normal hours) wagetype attached to it. When I run data collection, I only get the $ amounts for Infotype 0666. Is