12-12-2006 12:49 PM
Hi All,
Iam woking on a report ,there iam using the function module POPUP_GET_VALUES, i need to set the cursor for a selected field,
i tried with SET CURSOR FIELD FIELDNAME. Its not working....
can anyone help me on this
12-12-2006 3:59 PM
Hi,
You need to populate the FIELDS table in such a way that the requried field which need to have the cursor will be appended first.
Regards,
Satya
null
12-14-2006 5:07 AM
hi,
if u look at function POPUP_GET_VALUES and screen <b>300</b> what SAP does is nothing but the same -
<b>MODULE P100_SET_CURSOR OUTPUT.
IF CUR_FIELD <> SPACE.
SET CURSOR FIELD CUR_FIELD
LINE CUR_LINE
OFFSET CUR_OFFSET.
ENDIF.
CUR_FIELD = SPACE.
CUR_LINE = 0.
CUR_OFFSET = 0.
ERROR_TAB = SPACE.
ERROR_FIELD = SPACE.
ENDMODULE.</b>
please check the FM in debug mode and i am sure u can get the requirement done
hope that helps..
pls. reward if useful...