‎2008 Jan 21 3:00 AM
Hi,
I have a tcode for module pool program it has 7 screen i used to only one module for back in all screens but my problem is when i press back buttom in 2 nd screen it is comming first screen it is correct but after that when i press enter in the first screen the back module is executed , when i execute the program in debugging mode sy-ucomm is back but i pressed enter in this screen what to do how to change sy-ucomm .
I will reward Definitely for good answer.
‎2008 Jan 21 3:12 AM
Hi Syamala,
I thing your back button is at pf-status , when you use function in at pf-status i.e when you click button the function code is fill in sy-ucomm but after it is there until another function code is triggered ( Enter function code is space other than enter ) your back function code is same in all screens so it will go to previous screen ,plzz check SE11 back button
( Display a table and press back button in the se11 initial screen press /h in okcode and press enter see the function code here )
Plzz Reward if it is useful,
Mahi.
‎2008 Jan 21 3:05 AM
Use the clear : sy-ucomm statement in order to avoid the same previous screens command to be executed.
Once you press the BACK button in screen 2.
At the end of user command module write the clear statement.
So that after the clear statement it goes to the PBO of the screen / next called screen.
Regards
Gopi
‎2008 Jan 21 3:12 AM
Hi Syamala,
I thing your back button is at pf-status , when you use function in at pf-status i.e when you click button the function code is fill in sy-ucomm but after it is there until another function code is triggered ( Enter function code is space other than enter ) your back function code is same in all screens so it will go to previous screen ,plzz check SE11 back button
( Display a table and press back button in the se11 initial screen press /h in okcode and press enter see the function code here )
Plzz Reward if it is useful,
Mahi.
‎2008 Jan 21 3:17 AM
Hi Maheswari,
Yes , you are correct it is also back in sy-ucomm but what to do now plzz guide me.
i will reward definitely.
‎2008 Jan 21 3:20 AM
Cool, try to write different different fcodes for back button in all screen and you can control throught programatically only it is depending your logic .
Plzz reward if it is useful,
Mahi.
‎2008 Jan 21 3:26 AM
Thanks for your suggestions, now i have a clue to clear my problem i will solve the problem by self .
Thank you very much.