Application Development 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: 

Skip One screen and Go back

Former Member
0 Kudos

Hi Friends,

Just Like, how we have,

CALL TRANSACTION TCODE AND SKIP INITIAL SCREEN.

Which skips the first screen and calls the transaction,in the same way Do we have any other statement , When I click back button ,which skips the first screen and goes to next screen?

Regards,

Xavier.P

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

When you are calling one transaction, you can use the statement like SKIP INITIAL SCREEN, because for a transaction a flow of screens is defined. I mean by that time it knows what could be the next screen.

In a similar way, the SY-UCOMM assigned to BACK button, is calling some transaction means, definitely you can use the same statement again for skipping the initial screen.

Usually for the BACK button, the statement used is, LEAVE TO SCREEN XXX. etc.. kind of thing, it does not know the next screen. Hence you can use any...

Regards,

Santhosh.

4 REPLIES 4

Former Member
0 Kudos

Hi,

When you are calling one transaction, you can use the statement like SKIP INITIAL SCREEN, because for a transaction a flow of screens is defined. I mean by that time it knows what could be the next screen.

In a similar way, the SY-UCOMM assigned to BACK button, is calling some transaction means, definitely you can use the same statement again for skipping the initial screen.

Usually for the BACK button, the statement used is, LEAVE TO SCREEN XXX. etc.. kind of thing, it does not know the next screen. Hence you can use any...

Regards,

Santhosh.

Former Member
0 Kudos

Hi,

Use Leave to screen XXXX... Jsut specify the screen to which you want to move back.

Former Member
0 Kudos

Try

 set screen 0.  leave screen. 

Best regards,

Advait

former_member229729
Active Participant
0 Kudos

Hi Xavier,

Taking the control to a specified screen is possible by:

Leave to Screen XXXX. ( In the Module Pool Programming)

(OR)

SY-LSIND = <pre><code> (in the Interactive List Reporting)

Rgds,

Ramani N.