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

create a popup custom

Former Member
0 Likes
1,106

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

7 REPLIES 7
Read only

birendra_chatterjee
Active Participant
0 Likes
1,059

Hi Gabriele,

Call a function module with import and export, and write the call screen in this function module.

Rgds,

Birendra

Read only

0 Likes
1,059

Hi

I tried to create a FM ... but how call a screen from it ?

Read only

0 Likes
1,059

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

Read only

0 Likes
1,059

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

Read only

Former Member
0 Likes
1,059

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'

Read only

Former Member
0 Likes
1,059

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.

Read only

Former Member
0 Likes
1,059

I created the screen in function group (working on SE80 instead of SE37)