Get cursor command

can anyone give me example on how to use get cursor command?

Hi,
Hide & Get Cursor is used in interactive programming ( in the event AT LINE-selection).
Using Hide in Loop..Endloop, you can get the field name At Line-Select
Event While Double Clicking That Line.
***PROG.BEGIN**************************************************************
*& Report  ZPREM_INTERACTIVE                                           *
REPORT  zprem_interactive                       .
TYPES : BEGIN OF ty_test,
        code TYPE i,
        name(10) TYPE c,
        amount TYPE p DECIMALS 2,
       END OF ty_test.
DATA : it_test TYPE STANDARD TABLE OF ty_test WITH HEADER LINE INITIAL SIZE 10.
DATA : wa TYPE ty_test,
       chk1 TYPE c,
       fldname(30), fldval(50).
*set pf-status 'PF01'.
*set titlebar 'PF01'.
INITIALIZATION.
  it_test-code = 300.
  it_test-name = 'Ramesh'.
  it_test-amount = 5500.
  APPEND it_test.
  wa-code = 207.
  wa-name = 'Prem'.
  wa-amount = 5000.
  APPEND wa TO it_test.
  it_test-code = 117.
  it_test-name = 'James Bond'.
  it_test-amount = 9900.
  INSERT it_test INDEX 3.
  it_test-code = 217.
  it_test-name = 'Sivaraman'.
  it_test-amount = 9900.
  INSERT it_test INDEX 3.
  it_test-code = 201.
  it_test-name = 'Saravanan'.
  it_test-amount = 1000.
  APPEND it_test.
  it_test-code = 210.
  it_test-name = 'Shanmugam'.
  it_test-amount = 6000.
  APPEND it_test.
  WRITE : / 'Loop Display ( Appended rows ) :-'.
  LOOP AT it_test.
    WRITE : / chk1 AS CHECKBOX,
    sy-tabix, sy-vline, it_test-code, it_test-name, it_test-amount.
    HIDE : it_test-code, it_test-name.
  ENDLOOP.
  SKIP.
END-OF-SELECTION.
  CLEAR : it_test-code, it_test-name.
  WRITE : / 'this from end of selection'.
*&      Form  DISP1
      text
FORM disp1.
  WINDOW STARTING AT 15 10
         ENDING AT 80 15.
  DO.
    CLEAR chk1.
    READ LINE sy-index FIELD VALUE chk1.
    IF sy-subrc NE 0.
      EXIT.
    ELSE.
      CHECK chk1 NE space.
      WRITE : / it_test-code, it_test-name.
      MODIFY CURRENT LINE :
        FIELD VALUE chk1 FROM ' '
        FIELD FORMAT chk1 INPUT OFF.
    ENDIF.
  ENDDO.
ENDFORM.                                                    "DISP1
***line double click ****
AT LINE-SELECTION.
  CHECK sy-lsind = 1.
  WINDOW STARTING AT 5 4
         ENDING AT 85 20.
  WRITE: /  'THE USER DOUBLE-CLICKED A LINE IN THE REPORT'.
  WRITE: /  sy-lisel.
  WRITE : / 'Sometime ',it_test-name, ' is good '.
  WRITE : / 'Sometime ',it_test-name, ' is bad  '.
  WRITE : / 'Sometime ',it_test-name, ' is rich '.
  WRITE : / 'Sometime ',it_test-name, ' is poor '.
  WRITE : / 'Who knows, who is ',it_test-name, ' ? '.
  WRITE : /, / 'we can also use this in SELECT statement'.
  CLEAR : it_test-code, it_test-name.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
  ULINE.
  SKIP.
  SKIP.
  WRITE : / 'Below from Get Cursor Field...'.
  GET CURSOR FIELD fldname VALUE fldval.
  CONDENSE fldname.
  CONDENSE fldval.
  WRITE : / 'You have clicked ', fldname, ' & its value is ', fldval.
***function key press F6 ****
AT PF06.
  PERFORM disp1.
regards,
keerthi

Similar Messages

  • Alternative for Open , Fetch cursor command

    Hi Experts,
    I am populating data from glpca table using Open Cursor statement with hold as shown below:
      OPEN CURSOR WITH HOLD cur1 FOR
    Select data from the purchase order header table.
      SELECT runit rprctr sprctr                               
             racct rfarea hsl msl kostl aufnr ps_psp_pnr
              FROM glpca
             WHERE docnr  IN s_docnr
               AND rbukrs =  p_rbukrs
               AND rprctr IN s_rprctr
               AND sprctr IN s_sprctr                          
               AND rfarea IN s_rfarea
               AND budat  IN s_budat
               AND kostl  IN s_kostl
               AND aufnr  IN s_aufnr.
    Now when i try to Fetch the cursor even restricting it with PACKAGE SIZE command ( value 998), my program get struck over here for 20-30 mins or more den that & session gets out for the user at client end coz of large data. I checked the value of cursor , it was around 670-700 approx.
    The query is shown below:
    DO.
    fetch rows from cursor depending on package size
        FETCH NEXT CURSOR cur1 INTO TABLE t_glpca
           PACKAGE SIZE p_size.
        IF sy-subrc NE 0.
          CLOSE CURSOR cur1.
          EXIT.
        ENDIF.
    The program get struck at above fetch next cursor command.
    Kindly suggest me some other way to handle or populate the data or any alternative for Cursor command.
    Thanks for your consideration.
    Regards
    Mudit

    Siegfried Boes  wrote:
    > there is a reason why OPEN CURSOR WITH HOLD is usually used.
    >
    > Siegfried
    Sorry for hijacking this thread and asking here. I am here in the forums on daily basis just reading and learning.
    This got me curious and I googled and read SAP tutorial about cursors:
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm
    also read an answer from Thomas after searching forum:
    The combination with OPEN CURSOR ... WITH HOLD allows package processing of tasks that require a database commit inside the loop. A normal SELECT loop without holding the cursor would be interrupted by a commit -> short dump.
    MY TWO QUESTIONs
    1. In SAP tutorial it states that
    "WITH HOLD addition in the OPEN CURSOR statement allows you to prevent a cursor from being closed when a database commit occurs in Native SQL"
    If I don't specify any commit statements in my abap code and user cursor without the addition with hold.
    Can a commit be executed anyway and I get an unwanted commit and thus an unwanted close of my cursor?
    Or do they mean that "if you specify commit in native sql"?
    2. Thomas says a normal select loop without the cursor holding would be interrupted. Interrupted by who? Again, it seems like there is an "unwanted" commit here? Again, can there be any commits and unwanted interrupts if I dont specify it somewhere in my code?
    regards
    Baran
    Edited by: Baran Sölen on Feb 25, 2009 11:39 AM

  • At line Selection & get cursor field

    Hi friends,
    Could any one of u please explain about<b> at line selection</b> and <b>GET CURSOR FIELD</b> ( GET CURSOR FIELD FNAM VALUE FVAL) with sample program.
    Jai.

    Hello,
    AT - Events in lists
    Variants:
    1. AT LINE-SELECTION.
    2. AT USER-COMMAND.
    3. AT PFn.
    Variant 1
    AT LINE-SELECTION.
    Effect
    Event in interactive reporting
    This event is processed whenever the user chooses a valid line in the list (i.e. a line generated by statements such as WRITE,ULINE, or SKIP) with the cursor and presses the function key which has the function PICK in the interface definition. This should normally be the function key F2, because it has the same effect as double-clicking the mouse, or clicking once in the case of a hotspot.
    The processing for the event AT LINE-SELECTION usually generates further list output (the details list) which completely covers the current list display. If you want the current list display to remain visible (to aid user orientation), you can do this with the key word WINDOW.
    In most cases, the information from the selected line is used to retrieve more comprehensive information by direct reading. When displaying the original list, you store the key terms needed for this in the HIDE area of the output line.
    Note
    You can choose a line and start new processing even in the details lists.
    The following system fields are useful for orientation purposes, since their values change with each interactive event executed.
    SY-LSIND
    Index of list created by current event (basic list = 0, 1st details list = 1, ...)
    SY-PFKEY
    Status of displayed list (SET PF-STATUS)
    SY-LISEL
    Contents of selected line
    SY-LILLI
    Absolute number of this line in the displayed list
    SY-LISTI
    Index of this list - usually SY-LSIND - 1 (READ LINE)
    SY-CUROW
    Last cursor position: Line in window
    SY-CUCOL
    Last cursor position: Column in window (GET CURSOR)
    SY-CPAGE
    1st displayed page of displayed list
    SY-STARO
    1st displayed line of this page of displayed list
    SY-STACO
    1st displayed column of displayed list (SCROLL LIST)
    The system field SY-LSIND defines the line selection level (basic list: SY-LSIND = 0).
    System field for interactive reporting are also contained in the System Fields for Lists documentation.
    Example
    DATA TEXT(20).
    START-OF-SELECTION.
      PERFORM WRITE_AND_HIDE USING SPACE SPACE.
    AT LINE-SELECTION.
      CASE TEXT.
        WHEN 'List index'.
          PERFORM WRITE_AND_HIDE USING 'X' SPACE.
        WHEN 'User command'.
          PERFORM WRITE_AND_HIDE USING SPACE 'X'.
        WHEN OTHERS.
          SUBTRACT 2 FROM SY-LSIND.
          PERFORM WRITE_AND_HIDE USING SPACE SPACE.
      ENDCASE.
      CLEAR TEXT.
    FORM WRITE_AND_HIDE USING P_FLAG_LSIND P_FLAG_UCOMM.
      WRITE / 'SY-LSIND:'.
      PERFORM WRITE_WITH_COLOR USING SY-LSIND P_FLAG_LSIND.
      TEXT = 'List index'.
      HIDE TEXT.
      WRITE / 'SY-UCOMM:'.
      PERFORM WRITE_WITH_COLOR USING SY-UCOMM P_FLAG_UCOMM.
      TEXT = 'User command'.
      HIDE TEXT.
      IF SY-LSIND > 0.
        WRITE / 'PICK here to go back one list level'.
      ENDIF.
    ENDFORM.
    FORM WRITE_WITH_COLOR USING P_VALUE
                                P_FLAG_POSITIVE.
      IF P_FLAG_POSITIVE = SPACE.
        WRITE P_VALUE COLOR COL_NORMAL.
      ELSE.
        WRITE P_VALUE COLOR COL_POSITIVE.
      ENDIF.
    ENDFORM.
    Depending on whether you choose the line at SY-LSIND or SY-UCOMM, the next details list contains the corresponding value with the color "positive". If the line is chosen without HIDE information, the list level is reduced.
    Variant 2
    AT USER-COMMAND.
    Effect
    Event in interactive reporting
    This event is executed whenever the user presses a function key in the list or makes an entry in the command field.
    Some functions are executed directly by the system and thus cannot be processed by programs. These include:
    PICK
    See variant AT LINE-SELECTION
    PFn
    See variant AT PFn
    System command
    System command
    PRI
    Print
    BACK
    Back
    RW
    Cancel
    P...
    Scroll function (e.g.: P+ , P- , PP+3, PS-- etc.)
    Instead of this functions, you can use the SCROLL statement in programs.
    Since many of these system functions begin with "P", you should avoid using this letter to start your own function codes.
    Otherwise, the effect is as for AT LINE-SELECTION; also, the current function code is stored in the system field SY-UCOMM.
    Example
    DATA: NUMBER1 TYPE I VALUE 20,
          NUMBER2 TYPE I VALUE  5,
          RESULT  TYPE I.
    START-OF-SELECTION.
      WRITE: / NUMBER1, '?', NUMBER2.
    AT USER-COMMAND.
      CASE SY-UCOMM.
        WHEN 'ADD'.
          RESULT = NUMBER1 + NUMBER2.
        WHEN 'SUBT'.
          RESULT = NUMBER1 - NUMBER2.
        WHEN 'MULT'.
          RESULT = NUMBER1 * NUMBER2.
        WHEN 'DIVI'.
          RESULT = NUMBER1 / NUMBER2.
        WHEN OTHERS.
          WRITE 'Unknown function code'.
          EXIT.
      ENDCASE.
      WRITE: / 'Result:', RESULT.
    After entry of a function code, the appropriate processing is performed under the event AT USER-COMMAND and the result is displayed in the details list.
    Variant 3
    AT PFn.
    Effect
    Event in interactive reporting
    Here, n stands for a numeric value between 0 and 99.
    This event is executed whenever the user presses a function key that contains the function code PFn in the interface definition. The default status for lists contains some of these functions.
    Otherwise, the effect is as for the variant AT LINE-SELECTION. The cursor can be on any line.
    Notes
    To ensure that the chosen function is executed only for valid lines, you can check the current HIDE information.
    This variant should be used only for test or prototyping purposes, since the default status is not normally used. Instead, you should set a program-specific status with SET PF-STATUS. This should not contain any function codes beginning with "PF".
    Example
    DATA NUMBER LIKE SY-INDEX.
    START-OF-SELECTION.
      DO 9 TIMES.
        WRITE: / 'Row', (2) SY-INDEX.
        NUMBER = SY-INDEX.
        HIDE NUMBER.
      ENDDO.
    AT PF8.
      CHECK NOT NUMBER IS INITIAL.
      WRITE: / 'Cursor was in row', (2) NUMBER.
      CLEAR NUMBER.
    Additional help
    User Action on Detail Lists
    GET
    Basic form 2 GET CURSOR. ...
    Variants:
    1. GET CURSOR FIELD f.
    2. GET CURSOR LINE line.
    Variant 1
    GET CURSOR FIELD f.
    Additions:
    1. ... OFFSET off
    2. ... LINE line
    3. ... VALUE g
    4. ... LENGTH len
    5. ... AREA
    Effect
    Transfers the name of the field at the cursor position to the field f.
    The return code is set as follows:
    SY-SUBRC = 0:
    Cursor was positioned on a field.
    SY-SUBRC = 4:
    Cursor was not positioned on a field.
    Note
    Unlike screen processing, list processing allows you to output literals, field symbols, parameters and local variables of subroutines. Literals, local variables and VALUE parameters of subroutines are treated like fields without names (field name SPACE, return value 0).
    Otherwise, GET CURSOR FIELD returns only names of global fields, regardless of whether they are addressed directly (i.e. by "WRITE"), by field symbols or by reference parameters.
    Example
    DATA: CURSORFIELD(20),
          GLOB_FIELD(20)    VALUE 'global field',
          REF_PARAMETER(30) VALUE 'parameter by reference',
          VAL_PARAMETER(30) VALUE 'parameter by value',
          FIELD_SYMBOL(20)  VALUE 'field symbol'.
    FIELD-SYMBOLS: <F> TYPE ANY.
    PERFORM WRITE_LIST USING REF_PARAMETER VAL_PARAMETER.
    ASSIGN GLOB_FIELD TO <F>.
    AT LINE-SELECTION.
      GET CURSOR FIELD CURSORFIELD.
      WRITE: /   CURSORFIELD, SY-SUBRC.
    FORM WRITE_LIST USING RP VALUE(VP).
      DATA: LOK_FIELD(20)  VALUE 'local field'.
      ASSIGN FIELD_SYMBOL TO <F>.
      WRITE: /  GLOB_FIELD,  /  LOC_FIELD,
             /  RP,          /  VP,
             /  'literal',   /  FIELD_SYMBOL.
    ENDFORM.
    When you double-click the word " global field", CURSORFIELD contains the field name GLOB_FIELD, on "parameter by reference" the field name REF_PARAMETER, on " field symbol" the field name FIELD_SYMBOL, and on "local field", "parameter by value" and "literal" the value SPACE.
    Addition 1
    ... OFFSET off
    Effect
    Copies the position of the cursor within the field to the field off (1st column = 0).
    If the cursor is not somewhere within a field (SY-SUBRC = 4), the offset value is set to 0.
    Addition 2
    ... LINE line
    Effect
    With step loops, lin contains the number of the loop line where the cursor stands. In list processing, this is the absolute line number (as stored in the system field SY-LILLI).
    Addition 3
    ... VALUE g
    Effect
    g contains the value of the field where the cursor stands, always in output format (character display).
    Addition 4
    ... LENGTH len
    Effect
    len contains the output length of the field where the cursor stands.
    Addition 5
    ... AREA a
    Effect
    If the cursor is positioned on the field of a table view control, the name of the control is placed in the field a.
    Variant 2
    GET CURSOR LINE line.
    Additions:
    1. ... OFFSET off
    2. ... VALUE  g
    3. ... LENGTH len
    Effect
    As for variant 1 with addition LINE, except that there are differences with the return code and the effect of the additions.
    The return code is set as follows:
    SY-SUBRC = 0:
    The cursor is on one of the list lines (list processing) or on a loop line (step loop).
    SY-SUBRC = 4:
    The cursor is not on one of the list or loop lines.
    Addition 1
    ... OFFSET off
    Effect
    Applies to list processing only. The field off contains the position of the cursor relative to the beginning of the list line (1st column = 0). With horizontally shifted lists, the offset value can thus be greater than 0, even if the cursor is positioned on the extreme left of the window.
    Addition 2
    ... VALUE g
    Effect
    List processing only. The field g contains the list line where the cursor is positioned.
    Addition 3
    ... LENGTH len
    Effect
    List processing only. len contains the length of the line (LINE-SIZE).
    Related
    SET CURSOR
    Additional help
    Setting the Cursor Position
    Reading Lists at the Cursor Position
    Vasanth

  • Regarding sy-lilli, Get cursor line

    Hi Folks,
    I'm having some trouble with getting the cursor line in a search help selection.
    This is my code:
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'XBLNR'
                dynpprog        = sy-repid
                dynpnr          = sy-dynnr
                dynprofield     = 'ITAB-FACTURA'
                window_title    = 'Facturas'
                value_org       = 'S'
           TABLES
                value_tab       = itab_bsik_v[]
                return_tab      = return_tab
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc = 0.
      ENDIF.
      GET CURSOR LINE l_linea.
      READ TABLE itab_bsik_v INDEX l_linea.
      DATA: l_stepl LIKE  sy-stepl,
             l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
           IMPORTING
                povstepl        = l_stepl
           EXCEPTIONS
                stepl_not_found = 0
                OTHERS          = 0.
      l_indx = grid-top_line + l_stepl - 1.
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'ITAB-FACTURA'.
      dynpfields-fieldvalue = itab_bsik_v-xblnr.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'ITAB-BUZEI'.
      dynpfields-fieldvalue = itab_bsik_v-buzei.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname     = sy-repid  "Program name
                dynumb     = sy-dynnr  "Screen number
           TABLES
                dynpfields = dynpfields
           EXCEPTIONS
                OTHERS     = 0.
    The internal table itab_bsik_v is filled with 10 records. So when user clicks on record 5, I would expect that l_linea gets 5 as cursor line, however I'm getting 1 always.
    I tried changing the GET CURSOR LINE by sy-lilli but I'm not understanding really well the sy-lilli variable because when I click the first line of the search help result, I get a 4 as the index, and when I click in the last line I get 13.
    If anyone could help me with this I really appreciate it.
    Thanks for your help.
    Regards,
    Gilberto Li

    Instead of using GET CURSOR LINE why not u use return_tab.
    This int. table should contins data selected ny user during F4 help. I have done few changes in ur code. pl. check whether it works or not.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield        = 'XBLNR'
                dynpprog        = sy-repid
                dynpnr          = sy-dynnr
                dynprofield     = 'ITAB-FACTURA'
                window_title    = 'Facturas'
                value_org       = 'S'
           TABLES
                value_tab       = itab_bsik_v[]
                return_tab      = return_tab
           EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
      IF sy-subrc = 0.
      ENDIF.
    GET CURSOR LINE l_linea.*
    READ TABLE itab_bsik_v INDEX l_linea.*
      read table return_tab into l_wa_return
                      with key fieldname = 'XBLNR'.
      if sy-subrc eq 0.
       l_XBLNR = l_wa_return-fieldval.
      endif.
      read table return_tab into l_wa_return
                      with key fieldname = 'BUZEI'.
      if sy-subrc eq 0.
       l_BUZEI = l_wa_return-fieldval.
      endif.
      DATA: l_stepl LIKE  sy-stepl,
             l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
           IMPORTING
                povstepl        = l_stepl
           EXCEPTIONS
                stepl_not_found = 0
                OTHERS          = 0.
      l_indx = grid-top_line + l_stepl - 1.
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'ITAB-FACTURA'.
      dynpfields-fieldvalue = l_XBLNR. 
       dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'ITAB-BUZEI'.
      dynpfields-fieldvalue =  l_BUZEI.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
           EXPORTING
                dyname     = sy-repid  "Program name
                dynumb     = sy-dynnr  "Screen number
           TABLES
                dynpfields = dynpfields
           EXCEPTIONS
                OTHERS     = 0.

  • For some reason I cannot download and install the latest version of iTunes. 11.0.2. Could you help please? Each time I try, I get a command box saying 'The feature you are trying to download is on a network resource that is unavailable. Click Ok to try ag

    For some reason I cannot download and install the latest version of iTunes. 11.0.2. Could you help please? Each time I try, I get a command box saying 'The feature you are trying to download is on a network resource that is unavailable. Click Ok to try again or enter an alternate path to a folder containing the installation package iTunes.ms in the box below.
    Please help!
    Many thanks in advance
    Ben Bentley
    West Midlands
    UK

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Whenever I close down Photoshop CS5 I get the message: "Could not save Preferences because the file is locked or you do not have the necessary access privileges. Use the get info command in Finder to unlock the file or change permission on the file or enc

    Whenever I close down Photoshop CS5 I get the message: "Could not save Preferences because the file is locked or you do not have the necessary access privileges. Use the get info command in Finder to unlock the file or change permission on the file or enclosing folders." What on earth does it mean? How can I stop this message from appearing?

    See here:
    I cannot save recent images.

  • Cannot open iPhoto. I get this command, " you can't open your current photo library using this version of iPhoto.

    I tried downloading iPhoto library manager as suggested by a pervious post, but even with Safari and Firefox it will not download.  The dmg image disappears before I can click on it and I get a command that says "it does not work with this architecture". I'm using a G-5 Power PC Mac running OS 10.5.8.  Any other suggestions? Thanks!

    Likely that is for IntelMacs only.
    If the iPhoto Library was ever "touched" by a later version of iPhoto, then you get the can't open message.
    Create a new photo library
                               Quit iPhoto.                       
                               Hold down the Option key as you open iPhoto.                       
                               In the window that appears, click Create New.                       
                               Type a name and choose a location to store the new photo library.                       
                               Click Save.                           The iPhoto Source list shows your new, empty photo library. Any photos you import are added to this library.                                                      You can switch to another library you’ve created at any time.                       
    http://support.apple.com/kb/PH15263

  • Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Get Info' command in the Finder to ensure the file is unlocked and you have permission to access the file.

    I have this massage every time close ps cc
    Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the ‘Get Info’ command in the Finder to ensure the file is unlocked and you have permission to access the file. If the problem persists, save the document to a different file or duplicate it in the Finder.

    You may get better help in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll
    If FINDER means Mac, read below (and try to give more information when asking a question)
    Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0

  • ALV-Grid - Get cursor position

    Hi,
    I replaced the table control in my dynpro with a custom container and placed an ALV-Grid in there.
    So, my problem is now to get the cursor position when the user double clicks at the text in a cell.
    It´s important for me to know at which position at the text he double clicked.
    e.g.:
    | Nr |Text   |
    |----|-------|
    |   1|Hello  |
    |   2|Test   |
    The user clicks double between the 'e' and 's' at line 2 ('Test').
    I need following information:
    line 2
    column 2
    offset 3 (position, where the user clicked)
    When I'm using the table control, it's no problem with
    the ABAP-statement 'GET CURSOR' and property 'OFFSET',
    but I didn't find a method with the same result for ALV-Grid.
    Maybe you know a possibility?
    Thank you.
    Regards from Germany

    hello,
    go through these links.these links will surely solve your problem.just have a luk.
    Get the cursor position row number in a table control.
    upper is for table-ctrl
    if you are working with alv.you can achieve it by.
    call method cl_gui_control=>set_focus
    exporting control = w_grid.
    w_grid is ur gid name.
    go through this link also
    Get cursor position from grid
    regards,
    Shweta
    Edited by: Shweta Joon on Aug 20, 2009 1:15 PM

  • To run iTunes in 64-bit mooose the "Get Info" command in the File menu, and uncheck the "Open in 32-bit mode" checkbox in the iTunes Info window. but i doesn't have the tick thing plus i redownloaded it a

    To run iTunes in 64-bit mode, select the iTunes application in the Finder, choose the “Get Info” command in the File menu, and uncheck the “Open in 32-bit mode” checkbox in the iTunes Info window. but i doesn't have the tick thing plus i redownloaded it again and same message comes up

    Have you disclosed the "General" brick in the "Info" panel? Click the disclosure triangle to the left of "General":
    What is your iTunes version and MacOS X version?
    -- Léónie

  • When to use GET LATE command in LDB

    Hi,
    Can anyone tell me the the use of GET LATE command in logical database,
    when to use this..
    example will be more helpful.
    Regards,
    Mrunal

    Hi Frd
            If you want to perform calculations or other operations which are not associated with certain additional fields, you can formulate ABAP code for the GET and GET LATE events of a logical database table when creating an InfoSet. The code for GET events is particularly important if you have defined parameters or selection criteria for the InfoSet. It is here that you must define the code to check whether a table line is to be evaluated or not.
    Example
    REPORT demo_program_get_late.
    NODES: spfli, sflight, sbook.
    DATA weight TYPE i VALUE 0.
    START-OF-SELECTION.
      WRITE 'Test Program for GET node LATE'.
    GET spfli.
      SKIP.
      WRITE: / 'Carrid:', spfli-carrid,
               'Connid:', spfli-connid,
             / 'From:  ', spfli-cityfrom,
               'To:    ', spfli-cityto.
      ULINE.
    GET sflight.
      SKIP.
      WRITE: / 'Date:', sflight-fldate.
    GET sbook.
      weight = weight + sbook-luggweight.
    GET sflight LATE.
      WRITE: / 'Total luggage weight =', weight.
      ULINE.
      weight = 0.
    Reward Me Point
    By
    Pari

  • How to get the command button component id  in bean class?

    Hi All,
    I'm using adf 11g.
    I'm having three command button , which have some similar code to use on fire of these buttons.
    if it possible to catch the component id in bean , i can use the code with little parameter passing .

    Hi,
    You can get the command button from the actionEvent (if you are writing a generic actionListener) and from it, you can get the Text of the command button. Using which, you can process accordingly.
    If the text also same, then set some client attribute for the command button (check out [url http://docs.oracle.com/cd/E21764_01/apirefs.1111/e12419/tagdoc/af_clientAttribute.html]af:clientAttribute), and from the actionListener, get the client attribute using getClientAttribute method and process accordingly.
    -Arun

  • Didnt get the command back after startWebLogic.sh

    Hello,
    after i start weblogic server i dont get the command back.
    It looks like below. And if i close my terminal the server will shutdown. Is this normal ??
    Thanks for ur help .
    FUSION mode detected, skipping all update logic
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    FUSION mode detected, skipping all update logic
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    Mode: Fusion read from Registry
    HRContextListener::contextInitialized
    CSSSystemFactory: creation FusionSystem
    Calling FusionSystem.getInstance
    FusionProvider BIPlatformProvider security version 2
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
    <Nov 5, 2013 11:10:56 AM CET> <Warning> <Server> <BEA-002611> <Hostname "localhost", maps to multiple IP addresses: 127.0.0.1, 0:0:0:0:0:0:0:1>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[3]" is now listening on 127.0.0.2:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 10.215.205.5:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[1]" is now listening on fe80:0:0:0:250:56ff:fea4:5472:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[4]" is now listening on 0:0:0:0:0:0:0:1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <Server> <BEA-002613> <Channel "Default[2]" is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <Nov 5, 2013 11:10:56 AM CET> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "bifoundation_domain" running in Production Mode>
    <Nov 5, 2013 11:10:57 AM CET> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
    <Nov 5, 2013 11:10:57 AM CET> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

    Hi,
    Yes this is normal.
    when you start the service it will end with running mode only..
    If you close the command automaticaly it will shutdown the services all.
    http://mkashu.blogspot.com
    regards,
    VG

  • Get node command

    I am getting following compile error on the "GET ZSFLIGHT" command line in my program.
    error ->       ZSFLIGHT is not defined for the current logical  database.
    I went to SE36 and created a structure with the name ZSFLIGHT in which both the root node and the database table were defined as ZSFLIGHT. I have also created a transparent table with the name ZSFLIGHT in which there are two records.
    What am I missing. What more needs to be done to make the error go away.
    Thanks in advance.
    Pankaj

    Follow the steps to use the LDB in your program.
    Create LDB
    Define the hiereachy correctly
    Assing the LDB name in your program attributes
    Kesav

  • How to get ALL command line parameters

    Hi,
    Is there possibility to get all command line parameters which
    Flex builder invokes when I press RUN button ?
    I am asking because I want to create mxmlc ant task with the
    same parameters as Flex builder.
    I wrote something like that below but I have a problem with
    invoking remote function, it seems that poduced SWF inf flex
    builder an my script (below) arent the same - and mayby have some
    security differences.
    Any Ideas how to get all compiler argumets from flex builder
    quote:
    <mxmlc
    file="${flex.src}\main.mxml"
    output="${flex.output}\main.swf"
    services="${path.tomcat.root.WEB}/flex/services-config.xml"
    context-root="${path.tomcat.root}"
    use-network="true"
    keep-generated-actionscript="false"
    debug="false"
    locale="en_US"
    incremental="true"
    >
    <!--load-externs="${LOADEXTERNS}"
    link-report="link-report.xml" -->
    <load-config
    filename="${FLEX_HOME}\frameworks\flex-config.xml"/>
    <source-path path-element="${FLEX_HOME}\frameworks"/>
    <compiler.source-path path-element="${flex.src}"/>
    <compiler.library-path dir="${FLEX_HOME}\frameworks"
    append="true">
    <include name="libs" />
    <include name="../bundles/{locale}" />
    </compiler.library-path>
    </mxmlc>

    Hi,
    Try -dump-config compiler argument, which will write all the
    currently set configuration values. Please find more details at the
    URL below.
    http://www.quilix.com/node/9
    Hope this helps.

Maybe you are looking for