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

Navigation

Former Member
0 Likes
1,129

Hi Everybody,

I have report where I am using GUI status.

In this Gui Status I have one button to navigate to table maintenance

means I am using this button as call transaction

so when I click on this button I got to transaction where I have table maintenance generator but When I click back on transaction for table maintenance generator then It take me out of transaction and I go to SAP user menu screen

Please help me How I can manage to come to report screen again once I press Back button in table maintenance generator .

Thanks in advance

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,071

hi,

please write your code in PAI ,

if it does not help you please let me know i can help you more

regards

Rahul sharma

Hi Everybody,

I have report where I am using GUI status.

In this Gui Status I have one button to navigate to table maintenance

means I am using this button as call transaction

so when I click on this button I got to transaction where I have table maintenance generator but When I click back on transaction for table maintenance generator then It take me out of transaction and I go to SAP user menu screen

Please help me How I can manage to come to report screen again once I press Back button in table maintenance generator .

Thanks in advance

7 REPLIES 7
Read only

raja_narayanan2
Active Participant
0 Likes
1,071

hI....

you have to write your code in PAI event.

Like.

Case sy-ucomm.

when 'CLICK'. " When button clicked

CALL TRANSACTION 'SE38'.

endcase.

try this....

Regards

Raja

Read only

Former Member
0 Likes
1,072

hi,

please write your code in PAI ,

if it does not help you please let me know i can help you more

regards

Rahul sharma

Read only

0 Likes
1,071

Hi Rahul I am developing report program not a module pool program

so in which PAI event i should write code to get back to result screen of report transaction from table maintenance generator transaction

Read only

0 Likes
1,071

What did the code for the Button in GUI you have written.

CASE SY-UCOMM

WHEN 'ABCD'.

CALL TRANSACTION 'SE54'.

ENDCASE.

if you have used LEAVE TRANSACTION, when you click back it will take you to sap user menu, and with CALL TRANSACTION if you click back, it will take you back to the program.

Read this help document

http://help.sap.com/saphelp_nw70/helpdata/en/9f/db9da935c111d1829f0000e829fbfe/content.htm

Regards

Bala Krishna

Read only

0 Likes
1,071

Hi ,

I have not written any code for button in program

instead when we create GUI status, in that when we create button on Application toolbar then that button have option of function code in GUI status that function code nothing but transaction code

so no need to write Call transaction and all that explicitly in program

Read only

0 Likes
1,071

Try to give some function code and write the above statement and check.

May be by giving directly the Tcode name in GUI, it is treating as LEAVE Transaction.

So give some function code and write the above code which i send you in previous message.

Read only

Former Member
0 Likes
1,071

Hello Akshay.

CALL TRANSACTION is itself enough to do with.

But, I suggest it would be rather much more simplified if you would paste your code.

Good Luck & Regards.

Harsh Dave