Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Fcode

Former Member
0 Likes
884

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
816

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.

5 REPLIES 5
Read only

gopi_narendra
Active Contributor
0 Likes
816

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

Read only

Former Member
0 Likes
817

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.

Read only

0 Likes
816

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.

Read only

0 Likes
816

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.

Read only

0 Likes
816

Thanks for your suggestions, now i have a clue to clear my problem i will solve the problem by self .

Thank you very much.