Ansicht
Dokumentation

ABAPGET_CURSOR_DYNPRO - GET CURSOR DYNPRO

ABAPGET_CURSOR_DYNPRO - GET CURSOR DYNPRO

CPI1466 during Backup   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

GET CURSOR, Dynpro

Short Reference



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

Effect

If this statement is specified during PAI processing, depending on how FIELD or LINE is specified, it passes either the name of the screen element or the number of the line of a table control or of the group of a step loop on which the screen cursor is positioned after a user action to the data objects field or line. field expects a character-like variable; line expects a variable of the type i. 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 the screen layout, 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 dynpro but on a bar in the GUI status, the content of field and the variables specified in field_properties is 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-subrc Meaning
0 If FIELD is specified, the cursor is on a screen element of the current dynpro, or on the input field of the standard toolbar. If LINE is specified, the cursor is on a screen element within a table control or a step loop.
4 If 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 can be specified after LINE as when using statements for lists. However, the variables specified during PAI processing are always initialized.






Fill RESBD Structure from EBP Component Structure   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 3622 Date: 20240623 Time: 204117     sap01-206 ( 58 ms )