‎2008 Jul 25 9:22 AM
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
‎2008 Jul 25 9: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.
‎2008 Jul 25 9:26 AM
‎2008 Jul 25 9: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
‎2008 Jul 25 9: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
‎2008 Jul 25 9:41 AM