Skip to Content
author's profile photo Former Member
Former Member

Set Cursor For Select Option ?

How can i using Set Cursor for my select option

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2014 at 01:34 PM

    HI Burak,

    This will place the cursor in selection screen

    SELECT-OPTIONS : S_FY FOR lt.

    AT SELECTION-SCREEN ON S_FY.

    IF S_FY-LOW IS INITIAL.

    MESSAGE 'EMPTY' TYPE 'E'.

    ENDIF.


    Regards,

    Sivaganesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 23, 2014 at 01:41 PM

    Hi Burak,

    Use SET CURSOR in the At Selection Screen Output event.Try this

    PARAMETERS p_name TYPE char10.

    SELECT-OPTIONS s_dte FOR sy-datum.

    AT SELECTION-SCREEN OUTPUT.

    SET CURSOR FIELD 'S_DTE-LOW'.

    Regards,

    Jeffin

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 24, 2014 at 06:04 AM

    Hi,

    Follow the above coding.

    Remember to place the set cursor coding before the error message you need to display while coding.

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 24, 2014 at 06:12 AM

    SET CURSOR will work if it is executed in PBO (Module pool) / AT SELECTION-SCREEN OUTPUT (Report transaction).

    In PBO, you can write it to set the cursor whichever field you want.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.