‎2009 Dec 28 11:43 AM
Hi experts,
I have a call transaction in my program with skip first screen. It calls the transaction, but when I want to navigate back with the pushbuttons it doesn't go back to my calling program. How can I solve that?
‎2009 Dec 28 11:58 AM
to navigate back what code have you written.
try SET SCREEN 0 or LEAVE TO SCREEN 100, i hope this will work.
‎2009 Dec 28 12:01 PM
Check whether FCT code is defined for that push button which you have defined when you click on Back.
Cheers!!
VEnk@
‎2009 Dec 28 12:07 PM
Hi,
This question was discussed earlier also in some posts...Please search in SCN you will get the information. I think this may not work. Please give a try in SCN , am sure you will get.
Regards,
Nagaraj
‎2009 Dec 28 12:09 PM
You need to write ' Leave to screen 0 or Leave to screen100' to go back to last screen.
Regds,
Lalit
‎2009 Dec 28 12:24 PM
Thanks for the posts, but my problem is the transaction is not mine. It is a developped one.
I know that I should modify that program, but is there any other way to avoid it.
In the called transaction the navigation buttons handle like this:
when 'EXIT'.
set screen 0.
leave screen.
when 'CANC'.
set screen 0.
leave screen.
‎2009 Dec 28 12:27 PM
Hello,
You are calling this transaction in a normal report or a module pool program?
Vikranth
‎2009 Dec 28 12:27 PM
Hi,
Just check submit <program_name>....and return is suitable for the requirement.
‎2009 Dec 28 12:58 PM
I cannot submit a transcation with type 'M'. It is a modul pool which I want to call.
‎2009 Dec 28 1:05 PM
Hi,
You need to make this coding in tcode YJJ4 (It seems it is a custom development not a standard report). You should find the program for this tcode and add the code mentioned above to PAI of that program not to the calling program.
Regards,
‎2009 Dec 28 1:06 PM
white..
tell us few things..
1 - from where you can calling this tcode
2 - what tcode are you calling
‎2009 Dec 28 1:12 PM
I have an ALV report when I click on a certain field on my ALV it calls a customer developped transaction (actually a modulpool). So when I try to get back from the modul pool to my alv it doesn't work. Instead of going back to my alv list it just go out of the Modul pool and I see only the SAP menu.
‎2009 Dec 28 1:15 PM
So you need to change that module pool program in BACK button they used leave program command. You need to put set screen statements in module program which is called via YJJ4 tcode. You have nothing to do with your program or call 'YJJ4' statement.
‎2009 Dec 28 1:38 PM
so...
open your custom code(module pool for the tcode )..
here for the BACK button what code you have written??
this must be having some leave commands which kills the flow.. check that..
‎2009 Dec 28 12:48 PM
Hi Mr White... all depends from where you have called it..
basically call transaction come back to the point from where it is called...
so check from where you are calling,,
‎2009 Dec 28 12:52 PM
Hi,
Try the following code,
order = '0000245087'.
set PARAMETER ID 'JK1' field order.
call transaction 'JK03' and skip first screen.
BREAK-POINT. u201C see when you hit back it from the above transaction code it stops at the break-point. Here you can write u201CSET SCREEN 0100.u201D Or go ahead with the Program processing.
SET SCREEN 0100.
Hope it helps you,
Regards,
Abhijit G. Borkar
‎2009 Dec 28 12:55 PM
I use this code:
SET PARAMETER ID 'YJR' FIELD wa_alv-numb.
CALL TRANSACTION 'YJJ4' AND SKIP FIRST SCREEN.
‎2009 Dec 28 1:05 PM
Hi,
if you have a module-pool and calling a transaction code from there then you can simply set the previous screen by using the code
SET SCREEN <screen no.>.
hope it helps you.
Regards,
Abhijit G. Borkar
‎2009 Dec 28 4:13 PM
I have the solution, without modifying the other program. I just have to call the transaction in BDC mode.
CALL TRANSACTION p_tranz USING bdcdata MODE 'E'.
Before it I should fill the screen with values. When I finished the transaction, so I click on 'BACK' button it will go right back to may ALV
Thanks anyway for posting
‎2009 Dec 28 4:22 PM
I am very much in doubt if solution you mentioned will work(button is button and it will do whatever is coded nothing else). Please let us know the result.