ABAPGET_CURSOR_DYNPRO - GET CURSOR DYNPRO

BAL_S_LOG - Application Log: Log header data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

GET CURSOR - Dynpro

Short Reference



Syntax

GET CURSOR { { FIELD  field [field_properties] }
           | { LINE line } }.

Effect

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 atable control or of the group of asteploop (on which the screen cursor is positioned after a user action) into the data objects fieldor line. For field, a character-type variable is expected. For line, a variableof the type i is expected. In field_properties, further properties of the screen element can be defined.

If the cursor is in the command field of the standard toolbar or on a pushbutton in thescreen,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 currentscreenbut on a bar in the GUI status, the contents of field and the variables specified in field_propertiesare 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.

System Fields

sy-subrcMeaning
0The cursor is on a screen element of the current dynpro, if FIELD is specfieid, or on the input field of thestandardtoolbar. If LINE is specified, the cursor is on a screen element within a table control or a step loop.
4If FIELD is specified, the cursor is on a toolbar in the GUI status or, if LINE is specified, the cursor is outside a table control or a step loop.

Note

In the second variant, the same additions VALUE, LENGTH, and OFFSET could be specified after LINE as specified for theuse of the statement for lists. However, the variables specified during PAI processing are always initialized.


ABAP Short Reference   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.


Length: 3879 Date: 20120522 Time: 062337     triton ( 162 ms )