Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ALV

Former Member
0 Likes
600

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

4 REPLIES 4
Read only

Former Member
0 Likes
583

Hi

Can anyone help me.

How i can assign the priority for a progaram or report by using sm36.

Give details description.

Thanks

Sachin

Read only

Former Member
0 Likes
583

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

Read only

Former Member
0 Likes
583

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..

Read only

Former Member