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

pop-up in module pool program

Former Member
0 Likes
2,612

I created a module pool program for inserting/changing/deleting a database record through a table control on a screen. Now everything is working fine. When I executed that module pool program by a transaction (there is only one screen in this program which has table control on it), I would like that screen to come-up as a pop-up which I am not able to figure how to do it. Any ideas?

Help is appreciated.

Thanks in advance

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,995

You will need to change the screen to a "Dialog Box" on the attributes tab of the screen. Then you need to call the screen this way.

call screen 100 starting at 1 1
                ending   at 20 10.

Regards,

Rich Heilman

8 REPLIES 8
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
1,996

You will need to change the screen to a "Dialog Box" on the attributes tab of the screen. Then you need to call the screen this way.

call screen 100 starting at 1 1
                ending   at 20 10.

Regards,

Rich Heilman

Read only

0 Likes
1,995

Can you tell me where to insert this call screen statement? in main program on the top?

Thanks.

Message was edited by: nuren hm

Read only

0 Likes
1,995

Well I guess this is a module pool, right? Not sure. If this initial screen was to be a pop up, it probably would have been better to do a regular report program and use call screen. Still isn't too late to do that. THen you could just CALL SCREEN directly after the START-OF-SELECTION event.

REgards,

Rich Heilman

Read only

0 Likes
1,995

I did exactly what Rich said. (created report instead of 'M' program and called screen in the starting). Now the functionality is working perfect.

But the pop-up is not coming as expected. The screen is being called and table control is somewhere inside this screen which I have to drag the scroll bars to be able to find it out.

Any setting I can play around with to see?

Thanks.

Read only

0 Likes
1,995

Hi,

in screen painter adjust the table control on the screen to fit into the call screen co-ordinates.

Laxman

Read only

0 Likes
1,995

Hi nuren,

I need to call this pop up screen in module pool program last screen(4000).After exectuting the transaction code for module pool i will click the "Printlabel button,which is there in final screen(4000).If once i click that printlabel button, this pop up screen should come(for selecting the label sizes,here two different labels are there).

Thanks & Regards,

Sudha

Read only

Former Member
0 Likes
1,995

Nuren,

You need to create a screen as a 'modal dialog box'.

Then code:

CALL SCREEN STARTING AT <top left>

ENDING AT <bottom right>.

Regards

David

Read only

Former Member
0 Likes
1,995

in se51 create the screen , and check the radio button Dialog box. and place alll the components...and then save /activate it.

now in your program call the screen like this..

call screen 200 starting at 1 5   
                ending at 30 20.

regards

vijay