2008 May 15 6:36 PM
HI
Can anbody tell me what is the use of GET CURSOR and SET CURSOR in details.
Regarding
Sachin
HI
Can anbody tell me what is the use of GET CURSOR and SET CURSOR in details.
Regarding
Sachin
2008 May 15 6:40 PM
Hi
Can anyone help me.
How i can assign the priority for a progaram or report by using sm36.
Give details description.
Thanks
Sachin
2008 May 16 7:11 AM
1: Why do we use GET CURSOR and what is it?
GETCURSOR
is used to trace the position of the cursor in the list ..
suppose we want to double click on any filled in the list and want to trace data using that field we use getcursor .....
2: Why do we use SET CURSOR and what is it?
SET CURSOR
To set the cursor, use the SET CURSOR statement. This statement sets the cursor in the most recently created list. While creating the basic list, this is always the basic list itself. While creating a secondary list, this is the previous list.
SET CURSOR.
Reward points
Regards
Fareedas
2008 May 16 7:39 AM
GET CURSOR.
If this statement is specified during PAI processing, depending on the specification for FIELD or LINE, it transfers either the name of the screen element or the number of the row of a table control or of the group of a step loop (on which the screen cursor is positioned after a user action) into the data objects field or line. For field, a character-type (before Release 6.10 flat) variable is expected. For line, a variable of the type i is expected. In field_properties, further properties of the screen element can be defined.
If the cursor is in the input field of the standard toolbar or on a pushbutton in the screen, the statement is ignored and the specified variables remain unchanged. If the cursor in the first variant is not in a screen element of the current screen but on a bar in the GUI status, the contents of field and the variables specified in field_properties are initialized. If the cursor in the second variant is not on a screen element that is part of a table control or a step loop, the variable line is initialized.
SET CURSOR.
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 input field in the systemtoolbar.
The latter also applies if the input field in the system toolbar is not displayed.
Reward points..
2008 May 16 7:51 AM
hi,
refer to the following links.
getcursor :
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dbabf135c111d1829f0000e829fbfe/frameset.htm
set cursor:
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dba47e35c111d1829f0000e829fbfe/content.htm
reward if useful
thanks and regards
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |