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

Set cursor

Hi Experts ,

When I press ' ENTER ' button in Subscreen the cursor is going to Main Screen .... Could you please tell me any way to avoid this n make sure that the cursor stays in the Subscreen itself .. Its a bit urgent ....

\[removed by moderator\]

Thanks in advance

Bhaskar

Edited by: Jan Stallkamp on Jul 25, 2008 11:03 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Jul 25, 2008 at 08:25 AM

    In the Main screen PAI module

    MODULE USER_COMMAND..
    
    CASE OK_CODE.
    
    *WHEN  'ENTER' .
     
    *WHEN OTHERS.
        
    ENDCASE.
    
    
    ENDMODULE.

    May be you are doing the mistake in that. can you show that module code.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 25, 2008 at 08:26 AM

    Hi

    set-cursor-in-module-pool

    regards

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 08:30 AM

    hiii

    when you press 'ENTER' that time use ABAP statement SET CURSOR field...it will set cursor on that field only...for more info just write SET CURSOR in your program and place cursor then and press F1..so you will get that statement for DYNPRO program too.

    regards

    twinkal

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 08:33 AM

    Hi Bhaskar,

    If u want to show that screen again after pressing enter then u write

    CALL SUBSCREEN <area>. in the PBO of the same subscreen.

    i hope this will help u...

    Thanks & Regards

    Ashu Singh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2008 at 08:41 AM

    Hi Bhaskar.

    I would like to suggest a few references,

    [SDN - Reference for Issue in Cursor position in a sub-screen|Cursor position in a subscreen ?-;

    [SDN - Reference for cursor position for table control in case of subscreen|How to get the Cursor line in table control?;

    Hope that's usefull.

    Good Luck & Regards.

    Harsh Dave

    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.