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

back button in standard transaction

Former Member
0 Likes
1,453

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

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
Read only

former_member632729
Contributor
0 Likes
1,087

Hi Dude,

At PBO level.

IF sy-ucomm eq 'BACK'.

call screen screen number.

endif.

Read only

Former Member
0 Likes
1,087

Hi raghunath,

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

Thanks

sai

Read only

Former Member
0 Likes
1,087

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

Read only

Former Member
0 Likes
1,087

i am using call trnasaction and skip first screen.

Thanks

Sai

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,087

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

Read only

Former Member
0 Likes
1,087
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.
Read only

Former Member
0 Likes
1,087

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