2012 Sep 28 6:58 AM
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
2012 Sep 28 7:13 AM
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
2012 Sep 28 7:13 AM
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
2012 Sep 28 7:19 AM
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
2012 Sep 28 7:51 AM
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