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: 

back button in standard transaction

Former Member
0 Kudos

Hi Experts,

i have designed a custom screen.in this screen if user clicks one button one standard transaction is called by skipping initial screen.up to this point evry thing is fine.

but when the user clicks back button in standard transaction the initial screen of standard transaction is coming .after another back my custom screen is coming.

here is the problem.

when the user clicks back button in standard transaction it should to custom screen.

please guide me.

Thanks

sai

7 REPLIES 7

former_member632729
Contributor
0 Kudos

Hi Dude,

At PBO level.

IF sy-ucomm eq 'BACK'.

call screen screen number.

endif.

Former Member
0 Kudos

Hi raghunath,

when i am in stadard transaction it is not triggering my program.after 2 back operations it was triggering.

Thanks

sai

Former Member
0 Kudos

Whats the Statement you are using to call the other Tcode?

If its any Statement Other then Call transaction TCODE and SKIP FIRST SCREEN.

Use Call transaction statement or justs let me know the exact statement.

Regards,

Gurpreet

Former Member
0 Kudos

i am using call trnasaction and skip first screen.

Thanks

Sai

0 Kudos

Hi,

>

> i am using call trnasaction and skip first screen.

>

> Thanks

> Sai

I create a zprogram in which i took a field for material as a parameter and I used code:-


parameters : p_matnr type mara-matnr.

start-of-selection.

set parameter id 'MAT' field p_matnr.
call transaction 'MM03' and skip first screen.

Now when user executes MM03 is executed and when BACK button is clicked it returns back to my selection screen.

Hope this helps you.

Regards,

Tarun

Former Member
0 Kudos
PARAMETERS: p_field1(5) TYPE c,
            p_field2(5) TYPE c,
            p_field3(5) TYPE c.

INITIALIZATION.
  SET PF-STATUS 'INITIAL'.

AT SELECTION-SCREEN.
  CASE sy-ucomm.
    WHEN 'BACK'.
      CALL TRANSACTION t-code AND SKIP FIRST SCREEN.
  ENDCASE.

Former Member
0 Kudos

Hi

here i am using VK11 Transaction.in the first screen i am skipping.

call transaction 'vk11' and skip first screen.

when the user clicks back button it is coming back to forst screen of vk11.

Thanks

Sai