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

Help on Back Button on a custom screen

Former Member
0 Likes
654

Hi,

I am running a custom report which calls the screen 100 first and upon double click on a particular line item it calls the screen 200. I am facing a problem with back button. When i click back button from screen 200 screen 100 is called properly. But when i click back from screen 100 it should go to selection screen but its again calling the same screen. Please let me know how can i solve this.

Thank You,

Regards,

Swaroop

Hi,

I am running a custom report which calls the screen 100 first and upon double click on a particular line item it calls the screen 200. I am facing a problem with back button. When i click back button from screen 200 screen 100 is called properly. But when i click back from screen 100 it should go to selection screen but its again calling the same screen. Please let me know how can i solve this.

Thank You,

Regards,

Swaroop

3 REPLIES 3
Read only

Former Member
0 Likes
539

LEAVE TO SCREEN 0.

will return you to the selection screen.

Good luck

Brian

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
539

In the PAI of the screen 100, do something like this.

case ok_code. 
  when 'BACK'.
    set screen 0.
    leave screen.

endcase.

Regards,

RIch Heilman

Read only

0 Likes
539

Hi Rich, I was doing the same thing...but to my surprise when i come from screen 200 to 100 and then back button with leave to screen 0 its calling screen 100 again.

Thank You,

Regards,

Swaroop