2010 Jul 27 11:43 AM
Hi,
i execute a program, and it displays the alv output, and if i double click on the details, it takes to another transaction of user exit, in the user exit, i need to perform some check, and if there is error message and then it should get back to the alv output screen again. I tried all "LEAVE SCREEN", LEAVE TO SCREEN 0. Nothing is working. Anyone can suggest to solve this.
Regards
anbu.
2010 Jul 29 3:41 PM
You have called another transaction and that user-exit is in that program.
Than LEAVE SCREEN does not work or returns to main screen of called transaction.
You should use LEAVE PROGRAM. statement.
I hope it helps.
Hi,
i execute a program, and it displays the alv output, and if i double click on the details, it takes to another transaction of user exit, in the user exit, i need to perform some check, and if there is error message and then it should get back to the alv output screen again. I tried all "LEAVE SCREEN", LEAVE TO SCREEN 0. Nothing is working. Anyone can suggest to solve this.
Regards
anbu.
2010 Jul 29 1:17 PM
2010 Jul 29 3:23 PM
Can you give another # for Screen?
As per my information, Screen cannot be of # '0'. It has to be certain value.
Harish
2010 Jul 29 3:38 PM
hello friend...
please, read documentation about what does mean:
set screen 0.
2010 Jul 29 3:41 PM
You have called another transaction and that user-exit is in that program.
Than LEAVE SCREEN does not work or returns to main screen of called transaction.
You should use LEAVE PROGRAM. statement.
I hope it helps.
2010 Jul 30 5:46 AM
2010 Jul 30 1:17 PM
2010 Aug 08 10:51 PM
Hi all,
Problem solved. set screen 0 will not work. Since it is a user exit, therefore we cannot have the exact dynpro number.
Also i got Ecc 6.0 version, therefore I used the below code.
MESSAGE s031(zc) DISPLAY LIKE 'E'.
LEAVE TO SCREEN 0.
-Anbu.
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |