Make a screen pop up

Hi
After a report is being displayed and the user wants to print it, normally the standard printing screen appears
But the requirements is to have a screen appearing which contains all the documents on the report, a 'Print' and a 'Cancel' button
I have to create a screen in SE41, I guess but I dont know how to link the report and that new screen to avoid the standard print screen

Hi Anjali,
You can apply this logic if you want.
method onactionpopup4_1 .
  data: l_cmp_api          type ref to if_wd_component,
        l_window_manager   type ref to if_wd_window_manager,
        l_popup            type ref to if_wd_window,
        l_text             type string_table,
        l_api              type ref to if_wd_view_controller.
  l_cmp_api        = wd_comp_controller->wd_get_api( ).
  l_window_manager = l_cmp_api->get_window_manager( ).
  insert `Data where changed` into table l_text.    "#EC *
  insert `Do you want to save?`        into table l_text.    "#EC *
  l_popup = l_window_manager->create_popup_to_confirm(
                text            = l_text
                button_kind     = if_wd_window=>co_buttons_yesnocancel
                message_type    = if_wd_window=>co_msg_type_question
                window_title    = 'Test: Popup to confirm'
                window_position = if_wd_window=>co_center )."#EC *
  l_api = wd_this->wd_get_api( ).
  l_popup->subscribe_to_button_event(
               button            = if_wd_window=>co_button_yes
               action_name       = 'YES'
               action_view       = l_api
               is_default_button = abap_true ).
  l_popup->subscribe_to_button_event(
               button            = if_wd_window=>co_button_no
               action_name       = 'NO'
               action_view       = l_api
               is_default_button = abap_false ).
  l_popup->subscribe_to_button_event(
               button            = if_wd_window=>co_button_cancel
               action_name       = 'CANCEL'
               action_view       = l_api
               is_default_button = abap_false ).
  l_popup->open( ).
endmethod.

Similar Messages

  • I cannot make the screen smaller.  It will pop up the normal sizee for a second, and the go large.

    I have an I-Pad version 4?  I cannot make the screen go to the normal size.  Squeezing my fingers together  does not work.  Every now and then the normal size screen will pop up for a second.

    Thanks!  It worked.  First time I have used this.  I have had the I-pad for two years.
    BIll

  • I cant use facetime. but my sister can. we share the same account for itunes.but when i go to face itme and click on create a new account a blank screen pops up. what do i do?when i go to make a new facetime account nothing comes up

    i cant use facetime. but my sister can. we share the same account for itunes.but when i go to facetime on my ipod touch and click on create a new account a blank screen pops up and the only thing it says is cancel and account.  what do i do?

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.  Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes some

    My iPhone 3Gs randomly shutting off at any given moment. I could be in the middle of a text, a call, or doing some games and it'll just shut off.
    Now here's the unique part. When I go to turn it back on, the apple loading screen pops up but it takes somewhere from 3-5 minutes for it to boot up. Then the lock screen with the time and whatnot shows up. From this point on, my iPhone has a chance to shut itself back down and I have to repeat the process over and over again. Most of the time the lock screen flashes and then goes straight to black (shut down) but sometimes I can make it a few menus before it shuts itself down.
    The only way to keep the iPhone on is to plug it into a charger of any sort. I'm fairly certain it isn't a battery charge issue because this happens at any % of power and sometimes my iPhone can use up all of its charge and not have this happen while other times I can be at 90-100% and it could randomly shut itself down. What can I do in this situation if some has some solution to this problem please let me know on [email protected] Thanks!

    Not sure if this Term is Relevant towards an iPhone but, my iPhone won't Post unless if it's plugged into a Charger.

  • So in the last few days I've noticed that pressing my volume change keys actually isn't changing the volume on my macbook pro at all. When I press the volume up or down keys, it makes the recognisable pop sound but stays at the same volume while the squar

    So in the last few days I’ve noticed that pressing my volume change keys actually isn’t changing the volume on my macbook pro at all. When I press the volume up or down keys, it makes the recognisable pop sound but stays at the same volume while the squares go up or down. I mute it but my computer still makes sound. It’s the same with the volume control up the top of the screen, too. I slide it up and down and it doesn’t change the volume at all. The only way I can change the volume is with my speakers or the program I’m in (iTunes, VLC etc). I restarted and it seems to be okay then I go to change it a couple minutes later and it’s back to not working again.
    I’ve checked my settings- the “use all F1, F2, etc. keys as standard fuction keys” is not switched on, and I have tried a suggestion of moving the com.apple.systempreferences.plist file out of the library and onto the desktop and restarting and neither of those seem to make any difference whatsoever. I’ve tried to find online forums but the only suggestions I found were those two and they didn’t work.
    I’m just annoyed because I usually have the worst luck with technology but my macbook had been going strong and I got it because of the apparent lack of things that could go wrong, but of course even if there is one thing that could go wrong it will happen to me.
    Please help!

    You migh give resetting your NVRAM a try:
    http://support.apple.com/kb/ht1379

  • I tried updating to iOS 8.1 but it have the apple symbol and a blue screen pops up and it restarts the process and its been going on about 3 weeks already. I dont know what to do? Is my iPad broke cause I just got that iPad in August.

    I tried updating to iOS 8.1 but it have the apple symbol and a blue screen pops up and it restarts the process and its been going on about 3 weeks already. I dont know what to do? Is my iPad broke cause I just got that iPad in August.

    Hi You may have a hardware fault take ipad to Apple Store. Ring then first to make an Appointment take box and you purchase paperwork they may give you A replacement. Before you do that Try a Reboot hold down power button & menu button hold both down until you see Apple Logo you may need to hold down for up to 30 Seconds But you may need to do this more than once. If it doesn't work take back to Apple Store. Cheers Brian

  • My Apple Macbook hard drive crashed and I had to replace. Now trying to reload CS5 and having issues. When I click download from Adobe download page, a screen pops up saying "Access Denied". I have serial number, but don't even get to a page to enter. Ple

    My Apple Macbook hard drive crashed and I had to replace. Now trying to reload CS5 and having issues. When I click download from Adobe download page, a screen pops up saying "Access Denied". I have serial number, but don't even get to a page to enter. Please help…Thanks!!

    Make sure you have cookies enabled and clear your cache.  If it continues to fail try using a different browser.
    You can also download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • Screen popping when closing--2012 Macbook Air

    Is it normal for the screen or hinge to make a popping sound sometimes when closing the lid? Particularly after extended periods of use, my MBA's screen will make a soft popping noise as I start to close the lid; I can also feel the popping in my hand if I put my whole hand on the back of the lid to close it. It almost sounds like someone popping their knuckles, except it is just one soft pop. Other than that, closing the screen feels fine.

    no one knows until Apple announces it.

  • My iPod screen popped out alittle bit and its not working. How do i get it to work?

    The screen popped out...now it doesnt work. What do I do? Please, i need answers. I'm so lonely without my iPod =(

    This may help:
    iPod Touch Repair – iFixit
    You can make an appointment at the Genius Bar of an Apple store. However, what you describe appears to be from abuse like dropping it which is not covered by the warranty.

  • Blue Screen Pops up everytime I put my shuffle into USB port

    PLEASE anyone help me!! My shuffle was working fine and then one day an Blue ERROR screen pops up telling me windows is shutting down because of an error. I was told it might be a driver error and to disable the drive or check for driver updates. is this normal? and if so how do I do this so the problem does not happen again. It also listed a bunch of letters and numbers that all start with the 0x followed with a bunch of letters or numbers. Do these mean anything? this is my first computer and I want to make sure I did not do something wrong with any of it. Thanks for all your help! P.S. I am a Windows XP user

    I have the same problem. The error message I get is IRQLNOT_LESS_OREQUAL, Windows advises it is a driver error. It only happens when I plug in my iPod Shuffle.
    I haven't found a solution. I updated my video driver and ran a hardware diagnostic that passes everything

  • I have both Mozilla Firefox & Internet Explorer installed one my computer, but chose to us Firefox. Several days ago while opening Firefox a screen popped up wh

    I have both Mozilla Firefox & Internet Explorer installed one my computer, but chose to us Firefox. Several days ago while opening Firefox a screen popped up which said that my Firefox browser was out of date. I clicked on the box, which said free download. This happened several times and now on my desktop I have Firefox Setup 3.6.13, Firefox Setup 3.6.13.exe, Firefox Setup 3.6.13(2), Firefox Setup 3.6.13(3), Firefox Setup 3.6.13(3).exe, Firefox Setup 3.6.13(4) and I still keep getting the same pop-up screen for a free download of a newer, speedier, more secure version of Firefox. I tried calling Mozilla Corporation in Mountain View, CA; but was unable to speak with anyone. I also got an 800 number (1-800-229-9895) from information and called that number. On the first 800 call the person hung-up. On the second call I spoke to Marv and supposedly got disconnected. On the third call I spoke to Marv again. He informed me that I couldn’t speak to anyone at Mozilla and had to pay $99 to get any help. He also told me that: if I tried to remove the extra Firefox downloads or tried to remove Firefox completely, my computer would crash. I can’t afford the $99 and don’t know what to do next. Can you help me. Jack (Phone number removed by mod).

    As far as I know, Mozilla doesn't have any paid support service. There are lots of other companies that advertise paid support for desktop software including Firefox. Maybe you called one of those other providers??
    Anyway, I suggest dragging all those exe files on your desktop to the recycle bin. They are all out of date.
    Before upgrading, have you considered making a backup? Your bookmarks and other Firefox settings ''should'' be safe during an upgrade, but better safe than sorry. This article describes how you can back up: [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. For example, you can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.
    To get the latest Firefox, you can try either of these:
    (1) Help > Check for Updates - this should work automatically
    (2) Download the installer for Firefox 12 from http://www.mozilla.org/firefox (green button) to a convenient location, then double-click to launch it (Firefox needs to be closed)
    After you see Firefox 12, the user interface will look different. For tips on how to restore features you miss from Firefox 3.6, you can ask questions here. For a little advance reading, check out this article: [http://www.computertechtips.net/64/make-firefox-4-look-like-ff-3-6/ Make Firefox 4+ Look Like FF 3.6 | Computer Tech Tips].

  • I have an iPhone 5s and my screen popped out. I am paying insurance can I just go and ask them to replace my phone or do I have to pay for phoneclaim or any company similar to that?

    My back camera won't work. Also if I try to use my camera my phone keeps restarting.

    If the screen popped out, then make an appointment at the Genius Bar at the nearest Apple Store. The device is still under warranty and unless this is user damage, they should replace it. However, Apple makes that call. I wouldn't worry about insurance unless Apple will not replace it.

  • Ipod touch 4g screen popped out a little, can I get it replaced?

    so my ipod touch's screen popped out just a little. I can see the white light underneath along the top of one side when its unlocked. It works perfectly though. But I want to get it replaced or covered somehow so it won't get worse. its within warranty so will they fix/replace it if I go to the iStore?
    it looks like this

    If the iPod is in warranty, defective, not abused and is other than a cosmetic defect, Apple should exchange your iPod for refurbished one. Make an appointment at the Genius Bar of an Apple store.

  • IPod 4th Gen Screen Popping Off

    Recently, my little brother noticed his screen popping off, we ignored it thinking it wouldn't move up any farther. About a month later, the screen is popped up so much, he can't use the home button anymore. Can we get it repaired? Also, can we exchange the iPod for a new one at Target or any other nearby store?

    If within warranty you can try go to eithr the place you purchaded it (If not Apple) or to an Apple store.  Make asn Appointment at the Genkus Bar of an Apple store.
    Apple Retail Store - Genius Bar
    If the iPod was abused, 9e.g., dropped) that voids the Apple warranty.
    Apple will replace it with a refurbished iPod. If not underwarranty the exchange price is $99, $149 or $199 depending upon the capacity.

  • I played the a video game that has a rim tats black that goes around the screen making it smaller and normally when i quit the game the screen goes back to normal but now when i quit the game the ring of black stays plz help it makes my screen small

    Ok so i played the sims a game that make your screens smaller by adding to black bares at the side that kind of zoom it in but now no matter what the black bars stay and it makes mi screen smaller and stuff doesnt fit on it please help i need the whole screen it is like when a movie doesnt fit the tv screen there is like black on the side making it so that it fits please help

    go to System Preferences > Displays and select the highest resolution (1280x820) or something like that. the screen should turn blue for a sec then go back to normal resolution.

Maybe you are looking for

  • Avoid billing split for different partners

    Dear all, I'd like to avoid invoice split for 2 billing items whose partner function (VE) in a sales order are different. I tried to create a routine in the copy control in VOFM, but it seems that the value of the partner (VBPA-PERNR) could not be pa

  • How can I place MediaPlayer in PDF?

    Help me please! How can I place Windows Media Player in my PDF?

  • Powerbook will not network with PC

    I have spent the last 4 hours in the Apple Discussions forums trying to find a solution to my problem with no avail. Please forgive me if I have alot of links to explain my issue, I'm just too exhausted to re-iterate. So here's the jist... I wanted t

  • G31M3 V2 wont boot

    Hi, i am building my own PC. got a G31M3 V2 with 2x corasir DDR2 ram 2GB each. processor of E8400. seems wired that when i start the motherboard the very first time, it's working... (booting using a XP CD) then it hang when i'm asked to creaate parti

  • HT4623 iOS 7 update is stuck - using iTunes to update

    Hi Folks, Backed up my iPad, went into iTunes for the update.  Looked like it went through all the steps and then my iPad just shows the iTunes/USB graphic and iTunes on my PC doesn't show my iPad under the devices. I did a hard reboot (power + home)