2011 Jan 21 8:39 AM
Hi all
I am working on user exit. In this, I needed to add a popup where some buttons are present and user choose one and then the control is returned to the user exit. I created this popup with an external report submitted where there was a
CALL SCREEN STARTINA AT x y ENDING AT k j.The problem is that, while the popup is on the screen I lost the background transaction (VA01), because external report is submitted. Is there a way to avoid this beavhiour?
Thanks
Regards
Gabriele
Hi all
I am working on user exit. In this, I needed to add a popup where some buttons are present and user choose one and then the control is returned to the user exit. I created this popup with an external report submitted where there was a
CALL SCREEN STARTINA AT x y ENDING AT k j.The problem is that, while the popup is on the screen I lost the background transaction (VA01), because external report is submitted. Is there a way to avoid this beavhiour?
Thanks
Regards
Gabriele
2011 Jan 21 8:42 AM
Hi Gabriele,
Call a function module with import and export, and write the call screen in this function module.
Rgds,
Birendra
2011 Jan 21 9:03 AM
Hi
I tried to create a FM ... but how call a screen from it ?
2011 Jan 21 9:05 AM
if u want to do it that way.
you have to create the screen in function group and call it buy why do you really have to create one when may of these pop ups are already available in SAP
2011 Jan 21 9:30 AM
Hi
It's the same as report, so you can replace the code you've used in your report:
CALL SCREEN STARTING AT x y ENDING AT k j.
Max
2011 Jan 21 8:50 AM
why do u have to create a screen use available ones
e.g FM 'POPUP_WITH_3_BUTTONS_TO_CHOOSE'
'J_3A_POPUP_TO_DECIDE'
2011 Jan 21 9:00 AM
Hi Gabriele,
Why didn't you put your pop-up logic inside the exit itself with the condition ? A screen would have been called at the point when your return is TRUE.
2011 Feb 01 9:25 AM
I created the screen in function group (working on SE80 instead of SE37)
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |