Problem with sub-screen actions on Cancel button

Hi all,
I have a problem with sub-screen.
I created a subscreen (screen sequence in MM01/MM02/MM03). When users leave this screen, I call POPUP_TO_CONFIRM to ask if they want to save the data.
1) My goal is: when they choose Cancel, no actions are performed and users will see the current screen. However, I cannot use command: SET SCREEN 0 or LEAVE TO SCREEN 0 because the system gives an error message:
*SET SCREEN not allowed in subscreens*.
2) How can we determine when the user leaves the screen? which value of SY-UCOMM will be used to check this?
Thanks in advance.

for dis SET SCREEN is not required.
Consider d code given below as n eg:
CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
      titlebar              = 'SAVE'
      text_question         = 'SOME _QUS'
      text_button_1         = 'YES'
      text_button_2         = 'NO'
      default_button        = '2'
      display_cancel_button = ' '
    IMPORTING
      answer                = l_ans
    EXCEPTIONS
      text_not_found        = 1
      OTHERS                = 2.
  IF sy-subrc <> 0.
    MESSAGE e066.
  ENDIF.
IF l_ans EQ '1'.    " when yes is pressed
   MODIFY db.
   commit work.
   leave program.
ELSEIF l_ans EQ '2'.  "when no is pressed
    leave program.
ELSE.     " when cancel is pressed
ENDIF.
In above module when Yes is pressed it saves data den leave prog.
As no action is specified for cancel button it will remain on that screen only from which popup is called, in this way ur problem can be solved.
Reward properly.

Similar Messages

  • I have a problem with the screen. my cat pressed a few buttons and everything is displayed in reverse. What shall I do?

    I have a problem with the screen. my cat pressed a few buttons and everything is displayed in reverse. What shall I do?

    Pick up Garfield and quickly swing him/her over the keyboard once or twice. 
    Set the cat down.
    Try the keyboard.
    If no luck, then the catscan failed.
    I couldn't resist...............

  • Problem with matrix/screen in Qosmio F55-Q502

    Hello
    For a few weeks I have strange problem with matrix/screen in my laptop.
    The matrix flickers very often - no matter if power cable is plugged or not.
    The screen is full bright and suddenly it starts to blink - it is getting darker, than lighter, usually for few/dozen seconds. It does it when nobody touches it or when I work on it.
    It very annoying and making eyes tired - it does it very quickly and there are few levels of screen brightness.
    Moreover sometimes the screen turns off - You can see what is on desktop but the screen is very very dark (but not blank or completely switched off). It happens without any reason - sometimes just in the middle of working, sometime for example when I touch (not pull) the power cable between laptop and power supply.
    Then, the only way to get back to normal brightness of screen id to close the lid just for half a second and open it
    - matrix lights then normally, but can "turns off" moment later and I must do it once again - sometimes even few times..
    After "action" with lid screens seems like nothing ever happen..
    Does anyone have idea what is the cause of such behaviour or how to diagnose it in details?
    Or maybe solve this problem?
    Best regards
    300m

    Sounds like the Backlight or Inverter is failing or there is a loose connection.
    Is the unit under warranty? Send it to an ASP for repair.
    You should avoid repairing it yourself, the backlight is very high voltage!

  • Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    Does anyone has a problem with the screen of the new ipad? (there's a part of the screen which the color in it is "very" bright) and when I move the aluminium part of the smart cover when it's attached to the ipad the colors change!! Help!!!

    I'd take it into my local APple store and have them look at it. There may be something wrong inside your device.

  • Problem with Variable screen in WAD

    Hi ,
    I have a problem with variable screen in WAD , in the varable seen it is displaying only Key , it is not giving any description , but in BEX is is displaying both Key and Description , can any only have an idea why is this happening . this is occuring only for one variable , rest are working fine .
    Thanks,
    Abraham

    Hi Abraham,
    thsi could be a problem from the specisic setting of the infocube. Please check the BEx Settings from the infocube. You can find them by the following steps:
    - search for the infocube
    - doubleclick on the infocube
    - choose an specific infoobjekt
    - right mousebutton and click "specific dataprovider settings"
    - check if the right entries are set
    Hope this will help.
    André

  • Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Hello. Having a problem with skype. i am online, all buttons work, however i can not make a video call the button simply doesnt work. Messages works. voice calls works. Please help.

    Sounds like you need to contact skype.

  • Problem with SAP Screen

    Not sure if this is the correct forum.
    Okies, a user of mine has a problem with her SAP screens. It seems that she can't view the full screen of CJ20N She has to drag the window bigger to be able to see the content. She uses this window in a split monitor view, i.e. some of the applications are displaying on the laptop window while other applications display on the monitor.
    Details of her SAPGUI:
    Release 640 Final
    File version: 6404.4.16.1015
    Build: 774474
    Patch Level : 16
    Do note that her primary monitor (notebook) is always set to 1280x800 and the secondary monitor is set to 1024x768. Anyone encounter this problem before?

    Hi,
    This is problem with windows screen resolution. Better to use, maximum supported window size and make sure to use same size for both the screens.
    Regards,
    Ganesh

  • X220:Graphics problem with full screen videos

    I have got my X220 laptop last month. I am facing problem while playing youtube videos full sceen.
     videos can be seen best with smaller window but there is major graphics problem with full screen.
    Can someone help on this?
    I am using Windows 7 Enterprise edition.
    Thanks

    what do you mean by major graphics problem, please elaborate.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Problem with Full Screen

    Ok I am getting problems with full screen graphics on some computers.
    I am writing an internet based RPG and this is really eating into my time...
    Can any one explain why my graphics will not show some times (works others) with the exact same code running....
    I am using a BufferStratagy with a frame.
    Any help would be gladly apreashiated thank you in advance,
    Phibred

    Not a thread issue, no thread on this side of the program and yes there is a media tracker. However I have learned that my problem was that my screen does not like to flip to 800x600 for java applications for some reason thx any way.

  • With the new IOS 7 mi iPhone has problems with the screen, I go out once stripes, and Apple told me it is the software. help when there is a new update?????

    with the new IOS 7 mi iPhone has problems with the screen, I go out once stripes, and Apple told me it is the software. help when there is a new update?????

    We are users here.  We cannot possibly know when a new update will be available.

  • Problems with share screen in lion

    Hello
    I have had problems with share screen since i have installed Lion. I can't share screen even inside the Lan, between Macs and between Mac and Iphone. It's like Lion would had some port block in any hidden place. Anyone knows something about it?

    FINALLY! Got Screen Sharing to work! REPLACE ARDAgent (v3.5.1) with the older v3.4
    Instructions by tchaga:
    1. Download ARD 3.4 (http://support.apple.com/kb/DL1350 RemoteDesktopClient.dmg), mount it, look inside the package/Contents, copy the Archive.pax.gz to the desktop
    2. Expand the Archive.pax.gz and navigate inside the resulting folder Archive to /System/Library/CoreServices/RemoteManagement
    3. Navigate to the same folder at the root of your HD (i.e. HD/System/Library/CoreServices/RemoteManagement)
    4. Copy ARDAgent from your HD/System/Library/CoreServices/RemoteManagement to the Desktop and then delete it from the HD/System/Library/CoreServices/RemoteManagement folder (you need admin password).
    5. Copy ARDAgent from Archive/System/Library/CoreServices/RemoteManagement to HD/System/Library/CoreServices/RemoteManagement (you need admin password again).
    6. Restart

  • Ongoing problem with newsletter-eMail-actions: CF is hanging

    Hi forum-members, we have an ongoing problem with
    newsletter-eMail-actions.
    We use CFMX 7.02 Entperprise on Win 2003 Server. (between
    100.000 and 200.000 receivers).
    The deep links into the shops are of the following structure:
    http://www.xyz.com/shop.cfm?ml=171,92560,21,24,1,nhs1381639,03081,nsletter,03081-138163966 958-nl-3eb938532a4be8b9e94cb5002154789e
    In the highest hours we have between 80 and 200 current
    users/connections
    per second. We are running two HP 380, 3 GB, CF-Servers in a
    static loadsharing.
    From time to time CF gets unresponsive and I don't know why.
    We use fusion reactor and there are no long running requests
    from
    what I have seen, when CF is hanging. There is nothing in the
    logfiles which is obvious to what it could
    be related what is casing it. Does anybody have any idea what
    else to look into ? Uwe: confused;

    Direct link to http://www.imgburn.com/index.php?act=download (send the author a PayPal donation if you like his program)
    I use Imgburn for ALL of my disc writing... backup files/folders as well as Encore output

  • I have an IMac running the latest level of Lion.  Since installing Lion and also being forced to replace the hard drive I have a problem with the screen intermittently go all white.  Happens about 8 to 12 times a day.  I am using Wild Blue as my ISP.

    I am looking for anyone in the west Tennessee area using Wild Blue along with Apple IMac who is having a problem with their screen going complelely white every so often.  Have had the maching into the Apple store in Memphis.  They could not get it to fail.  Help

    TutorDaddy, if this Mac is still covered by the initial warranty or under AppleCare, take it in and have it looked at. As the old label used to say, there truly are "no user serviceable parts inside." Kernel panics very usually indicate failing hardware.
    I have an older iBook G4 that started developing kernel panics and like you, despite reinstalling the OS from a freshly formatted volume, they kept continuing. I looked at the crash log and saw that in each instance of panic, the last bit of code to be accessed had something to do with AirPort. Knowing that the AirPort software was at then current levels, I surmised the problem to be a bad AirPort networking card which, on that particular model of the iBook, was a very small module attached directly to the logic board. Since the computer was out of AppleCare, I broke the machine down myself (I didn't realize that there could be so many barely visible screws in one machine) and removed the offending piece of hardware. My iBook lives but without WiFi, it now sits as a more or less desktop machine needing an ethernet connection to stay connected to a network.
    I do not suggest you break into your iMac. First of all, I'm guessing one would need to be able to pull off the glass and have the necessary glue to reattach it, which is not really available to us consumers. If you're feeling adventurous enough to read the crash logs from each panic, you might be able to surmise the hardware component (or badly written application or library; it can happen) that's causing the panic. If it's a software issue, remove the offending software app and see if the panics return. If it's a hardware issue, it's best to let a competent service tech qualified on Apple hardware to handle it.
    [edited to add:]
    After browsing through related problems in the discussions, I saw this link to a third-party web site being handed out. Perhaps you'll find it useful: http://www.thexlab.com/faqs/kernelpanics.html
    Message was edited by: Stephen Adams

  • Macbook Pro late 2013 - problem with login screen resolution

    Hi,
    I've got problem with login screen resolution, after upgrade to Yosemite. I use the 4rd resolution (last one) on my Mac Pro (late 2013), and after restart login screen is always on optimum mode... But it's only about the login screen.
    Do you know how can I fix it? I would like to have the same resolution on every screen.
    thx in advance

    I  Reformatted the CF card  on the new computer   it works fine now on the new Mac Pro
    Interesting point about  the low power  of the usb ports   I had to deal with all devices ejecting them selves  when the mac pro  was idle or slept  Drobo needed a Firmware update and another drives  needed  me  to change the sleep setting  or the Mac Pro   to never and  i also  had to deploy a  script to write to each device  ever minute,   this  kind  of sold the problem  with external Hard drives.   I wonder if the lowering  power  to a CF card   can eject  it  in a manor  which would make the  computer  think it is corrupt.
    I have looked at  buying a power usb Hub    but seems only one or two  of the ports are powered. 
    Seems to be a bit problem with the mac pro especially  as everything has to be connected externally  
    Will assume the Firewire Connector does not work.

  • Hi guys, problem with grey screen and flashing question mark. on top of it while in utility, i'm unable to verify, verify disc permission or repair disc0 which is obviously my main hd. any ideas where to go from here? tried to reistall osx but no luck.

    hi guys, problem with grey screen and flashing question mark. should be straight forward affair but on top of it while in disc utility, i'm unable to verify, verify disc permission, repair or even erase disc0 which is obviously my main hd. any ideas where to go from here? tried to reinstall osx but no luck, stucked when asked to chose location to install osx. would really apreciate any kind of help with this cause i'm quite new mac user. ty

    If you don't have a backup, read this:
    https://discussions.apple.com/docs/DOC-1689

Maybe you are looking for

  • HP Laserjet PRO MFP M125nw; scanner is not located wirelessly

    Product name: HP Laserjet PRO MFP M125nw Operating system: Windows 8.1 64 bit This is a new MFP that I installed today. The printer works fine wirelessly but the scanner is not located wirelessly - it is found only with the USB connection. I get the

  • Windows 8.1 DPI scaling issue's [how to disable it]

    I'm having trouble with new the DPI scaling features of windows 8.1. I have 2 displays of the same resolution (1920 x 1080) .  The main display (24") is bigger then my laptop display (17"). I don't want to use different scaling for each display =>  I

  • I want to highlight various words in a pages document with a yellow or black box behind the text

    I want to use a highlighter in Pages. I know how to do it in steps.. but would like a shortcut to highlight various words throughout the document with a yellow or black box behind the text.. help

  • Scrambled Screen from a virus?

    I just want to report a possible virus attack. I'm skeptical that this could be the problem, but ever since the antivirus scan, the problem has been eliminated. Here's how it all happened: On Wednesday night: 1. I woke the computer up from sleep mode

  • UNIT OR ASYNCHRONOUS COSTING IN PROJECTS

    HI ALL, I HAVE ATTACHED SOME FINISHED PRODUCTS IN PROJECTS- WBS ,FOR WWHICH I HAVE WBS-WISE SPECIFIC BOMS AND ROUTINGS,AND WHEN I RUN MRP PLANNED ORDERS ARE CREATED FROM WHICH SIMULTANEOUSLY PRODUCTION ORDERS ARE CREATED. NOW WHEN I AM TRYING TO RUN