Application Development 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: 

Modal Dialog Box --- Screen Coordinates

Former Member

Hi All, I am trying to create a Screen of type "Modal Dialog Box". So, that when i call the transaction i want the screen to be diplayed as a popup( Small Screen ) on which user will input some values and that eventually calls a std transaction. I am unable to specify the coordinates for this screen. Even though i had specified screen type as Modal Dialog .. I am getting complete screen not as a small/popup window. I know that we can pass the coordinate parameters through call transaction. But in my case this will be the first screen which eventually calls other screens. Please let me know where can set the screen coordinates for an initial screen.

Thank You,

Regards,

Swaroop Patri

4 REPLIES 4

Former Member
0 Kudos

Use something like:

form d9999_call_screen.
*
* Call popup screen
*
  call screen 9999  "data in popup
    starting at 003 003
    ending   at 105 023.

endform.

Jonathan

0 Kudos

Hi Jonathan,

Thanks for the reply...!!!! I know that we can use a call screen 9999 with screen coordinates.. But in my case this will be the initial screen... in a module pool program... I would like to know if we can set parameters to initial screens as well..

Thank you,

Regards,

Swaroop Patri

0 Kudos

HI SWAROOP,

its module pool i suppose. Firstly, in screen attributes you need to click the radio button for screen type 'Modal Screen'.

then in screen layout, design the screen as it is,now you press F8.You will have one screen in front of you asking for adjusting screen co-ordinates.You need to set there only and then save.It will solve your purpose.

Gaurav

former_member491305
Active Contributor
0 Kudos

Hi swaroop,

There is one option to call a pop up screen at first time itself.

Change the program type in Program attribute to Type E (Executable program).And then Call the screen with coordinates .Hope this will help u.

Eg.

Report test1.

Start-of-selection.

Call screen starting AT 10 30 Ending at 40 60.