‎2006 Dec 28 12:30 PM
Hello all,
Plz help me to use GET CURSOR in module pool programming, I am trying the syntax , but the statement is failing ( Sy-SUBRC = 4). Syntax is right and there is no error , but it is not extracting the field on which i double clicked. I have a problem in which i have to double click on the filed , and it should give me the name and contains of the field. I am on a tabstrip. and its a subscreen. I already catch the sy-ucomm.
‎2006 Dec 28 12:33 PM
Define & Use OKCODE, instead of capturing the value sy-ucomm
‎2006 Dec 28 12:33 PM
Define & Use OKCODE, instead of capturing the value sy-ucomm
‎2006 Dec 28 12:50 PM
But it is failing on GET CURSOR statement, means sy-subrc goes to 4 after executing the statement. plz help in this regard.
Thanks for quik reply
‎2006 Dec 28 1:11 PM
Hi
*- Get Cursor field
GET CURSOR FIELD gv_cursor.
Will give you the current field where the cursor/control is .... it will not return you the value of it...u can get by the variable/screen field...
Regards,
Raj
‎2006 Dec 28 1:22 PM
thanks raj , but it is not solving the problem......i already tried it...
‎2006 Dec 28 1:14 PM
Hi,
Cursor Position on Table Controls
At PBO you can set the cursor on a specific field of a specific row of a table control.
SET CURSOR FIELD .
if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
reward if this helps .
regards,
keerthi