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

standard tool bar functions

Former Member
0 Likes
693

Hi,

I have created a PF-STATUS in module pool nd in tht I activated SAVE , EXIT , CANCEL.

In program I have written

WHEN 'BACK' OR 'EXIT' OR 'CANCEL'.

LEAVE PROGRAM.

My doubt is for Module pool we will create T-code .

When we create T-code and execute . When I press Back ...Its not going to module pool program nd its going to SAP EASY ACCESS SCREEN.

Why its not going to program..

Plz..give me the solution.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
673

Hi,

It'll not go to the Module Pool Program but it goes to the screen only

Regards.

5 REPLIES 5
Read only

Former Member
0 Likes
673

hi

instead of leave program

write

Leave to screen 0.

this would solve your issue

reward points if useful

regards

padma

Read only

GauthamV
Active Contributor
0 Likes
673

hi,

use leave to screen <ur screen no>.

Read only

Former Member
0 Likes
673

My Question is will it goes to module pool program..not screen.

Read only

sachin_mathapati
Contributor
0 Likes
673

Hi Vijay,

LEAVE PROGRAM always leaves the current program - there is never any processing after LEAVE PROGRAM.

Regards,

Sachin M M

Read only

Former Member
0 Likes
674

Hi,

It'll not go to the Module Pool Program but it goes to the screen only

Regards.