on 06-09-2008 7:59 AM
hi ABAPers
i have 5 fields in the screen
i want set the cursor in the 3rd field
how to set the cursor..
i have tried with
SET SURSOR FIELD wa_matnr.
and
SET CURSOR FIELD wa_matnr OFFSET 5.
i have given these two statements . but i didn't get the answer...
please give me the answer..
Regards
venkatesh
Hi,
hope this will help you out.
To set the cursor to a certain field on a line of the displayed list, use:
SET CURSOR FIELD f LINE lin [OFFSET off].
This statement sets the cursor on line lin onto the field whose name is stored in f. If a field appears more than once on a line, the system sets the cursor to the first field. If the field does not appear on the line or if it is outside the displayed area, the system ignores the statement. You can use the SCROLL statement to scroll the line into the visible area of the screen.
Use the OFFSET option to set the cursor to position off of the field stored in f. off = 0 indicates the first digit.
When you set the cursor, you must take into account the header lines of the list.
And also you can refer to this link..
http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba47e35c111d1829f0000e829fbfe/content.htm
Regards,
Razia.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.