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: 

ModulePool CLOSE button not working for NORMAL WINDOW

ullas_u2
Explorer
0 Kudos
1,443

Dear Gurus,

  I ve a module pool screen and I found that the SAP Standard CLOSE button (right top of the window) is not working. The screen is not Modal Window but a Normal one only.

I am sure that the issue happened as I triggered the screen by using the command "Call Screen 100 Starting at 1 1".  If I comment out the "Starting At 1 1" from the "Call Screen 100 Starting at 1 1", then the issue will be solved, but for some reason I cannot take that option. Can anybody suggest some alternate way to get the CLOSE button ACTIVE?

Regards

Ullas

1 ACCEPTED SOLUTION

dirk_wittenberg
Contributor
0 Kudos
328

Hi,

it it's a  normal screen not a modal one, why are you using "Call Screen 100 Starting at 1 1" ?

The option "starting at ..." is for modal windows, so you're mixing things that shouldn't be mixed.

Regards,

Dirk

3 REPLIES 3

dirk_wittenberg
Contributor
0 Kudos
329

Hi,

it it's a  normal screen not a modal one, why are you using "Call Screen 100 Starting at 1 1" ?

The option "starting at ..." is for modal windows, so you're mixing things that shouldn't be mixed.

Regards,

Dirk

0 Kudos
328

Hi Dirk,

It is a good Question. Actually the issue exists in std SAP prog. SAP released one new module 'FSCM' and the issue is associated with one of the programs. I am analyzing and need to revert with correction instruction.

Thanks

Ullas U

0 Kudos
328

The issue got solved.

We need to handle the situation like how we handle a Modal Dialogue Box. See the 2nd last thread of http://scn.sap.com/message/7210773 .

To activate this magic 'X' button (allow closing the window with ALT+F4),  in PBO set status (type dialog box ) and activate CANCEL and CONTINUE buttons. Now when you try closing the window either by CANCEL button or using X, sy-ucomm (ok_code of the screen) will store CANCEL function code. This way you can simply say LEAVE SCREEN .

- Ullas