Popup on Save

Dear Experts,
Need your help.
How can I produce a popup screen on Save event for my PCUI activity application (CRMD_BUS2000126).
I'm working on CRM 5.0.
Thanks in advance.
best regards,
Edward.

Hi Sarat,
thanks for you reply
but could you please explain little more on this. which close event are you talking abou?
i have say bt115H_SLSO/SOHOverview.  are you talking about the do_handle_event of this IMPL will trigger when i click yes in the popup??
whic IMPL class i can catch this close event which you mentioned?
htmlb_event_ex attribute of the close event of which IMPL's method..
could you tell me how exactly this close event is catched?
thanks
RD

Similar Messages

  • How to create new file and popup a Save As Dialog?

    I want to create a new file and then popup a Save As Dialog to save the new created file.
    I have tried to use the JFileChooser as the following code:
    =============================================
    JFileChooser jfc = new JFileChooser();
    File f = new File("c:\\text.txt");
    jfc.setSelectedFile(f);
    int returnVal = jfc.showSaveDialog(this);
    if(returnVal == JFileChooser.APPROVE_OPTION) {
    f = jfc.getSelectedFile();
    =============================================
    I can't found the created file execute the program, anyone can tell me whats going wrong of my code or give me some advice?
    Thanks a lot.

    Actally, I want to generate a file and specific the
    name and the location to save it.
    And solution to do this if don't use the JFileChooser?Use a JFileChooser to choose a file name (you can select the directory and type the filename into a field). Once you have the file name you can open a FileOuputStream or FileWriter and write to the file you have just defined. If this file does not exist then it will be created.
    If you want to confirm before overwriting an existing file then just put up a confirm dialog if the file exists (File.exists()).

  • Popup for SAVE

    Hello ppl,
    My requirement is that in my selection screen, I have a select-option for path where the file needs to be downloaded.
    When the user places the cursor on this text box and presses F4, a popup for SAVE FILE should come up, like we get when we press "SAVE AS" when creating WORD documents in MS office.
    How can this be achieved.
    Please help.
    Thanks,
    Dawood.

    Hi,
    this is the foding with close and save options...
    I am calling this code from my controller , do the necessary changes , if you want to work from your view.
    Data:l_cmp_api type ref to if_wd_component,
    l_window_manager type ref to if_wd_window_manager,
    l_comp_info type ref to IF_WD_RR_COMPONENT,
    l_final_window type ref to IF_WD_WINDOW.
    l_cmp_api = wd_this->wd_get_api( ).
    CALL METHOD L_CMP_API->GET_COMPONENT_INFO
    RECEIVING
    COMPONENT_INFO = l_comp_info
    l_window_manager = l_cmp_api->get_window_manager( ).
    CALL METHOD L_WINDOW_MANAGER->CREATE_WINDOW
    EXPORTING
    MODAL = ABAP_TRUE
    WINDOW_NAME = 'W_MYWINDOW'
    TITLE =
    CLOSE_BUTTON = ABAP_TRUE
    BUTTON_KIND =
    MESSAGE_TYPE = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
    CLOSE_IN_ANY_CASE = ABAP_TRUE
    MESSAGE_DISPLAY_MODE =
    DEFAULT_BUTTON =
    RECEIVING
    WINDOW = l_final_window
    CALL METHOD L_FINAL_WINDOW->SET_WINDOW_POSITION
    EXPORTING
    LEFT = 300
    TOP = 150
    POSITION =
    CALL METHOD L_FINAL_WINDOW->SET_WINDOW_SIZE
    EXPORTING
    WIDTH = '3000px'
    HEIGHT = '3000px'
    wd_this->LO_POP_UP = L_FINAL_WINDOW.
    CALL METHOD L_FINAL_WINDOW->OPEN
    regards,
    venkat.

  • Triggering POPUP to SAVE when user Presses BACK  Button

    h4.
    Hi Friends,
    h4.
    When the User Presses BACK Button in the PF Status, it should trigger POPUP_TO_CONFIRM  whether to SAVE or not.
    h4.
    Suppose if the user doesn't change any thing in the Screen, it should not ask the User.
    h4.
    How can i know whether the user changes something in the Screen.
    h4.
    Screen mean Table Control..
    h4.
    How can i track this.
    h4.
    Regards:.
    h4.
    Sridhar.J

    Hi Sridhar,
    Within the table control loop, create a chain of all the fields in the structure of line type. call a PAI module with addition ON CHAIN-REQUEST. This is a conditional module call which will be triggered ONLY when user changes something on the screen. In this module you can set a global variable DATA_CHANGED to say 'X'. When user chooses BACK function, check this global variable to decide on the confirmation popup.
    One small caution. If you have the ROW SELECTION field also included in the line type of your internal table associated with the table control, you need to exclude that from the CHAIN of fields above; otherwise even when user selects a line or de-selects, this module will be triggered.
    Read ON CHAIN-REQUEST and ON REQUEST online ABAP help for more clarity.
    Regards
    Suresh
    Edited by: Suresh Radhakrishnan on Sep 28, 2009 4:29 PM

  • Data loss popup - on SAVE button

    Hi Friends,
    basically on webui for any transactions we will have a SAVE button on the overviewset...  we can enhance that viewset and redefine that event handler SAVE to write our own logic...
    but when we do some changes to a transaction and hit standard BACK button( this will be available along with forward button, on right hand side top), it gives a data loss popup, do u want to save , with buttons, Yes/No/Cancel.
    if we press Yes, it saves the transaction too.. but how and where can we write the logic we wrote in SAVE button( on viewset ), when on data loss pop up, YES button is pressed on the pop up??
    Any thoughts
    RD

    Hi Sarat,
    thanks for you reply
    but could you please explain little more on this. which close event are you talking abou?
    i have say bt115H_SLSO/SOHOverview.  are you talking about the do_handle_event of this IMPL will trigger when i click yes in the popup??
    whic IMPL class i can catch this close event which you mentioned?
    htmlb_event_ex attribute of the close event of which IMPL's method..
    could you tell me how exactly this close event is catched?
    thanks
    RD

  • Can not get prompt popup for save password and plugin install

    I am using Firefox 10.0.0.2 on Win7 b4bit os. I found that I can never get prompt popup with any password form submission. Even the plugin install prompt popup can never turn up.. The prompt popup can show in safe mode only.
    I tried to re-install the whole browser and cleared all plugins/extensions. Never worked...PLEASE HELP!

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Try to disable hardware acceleration.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    If disabling hardware acceleration works then check if there is an update available for your graphics display driver.
    *https://support.mozilla.org/kb/how-do-i-upgrade-my-graphics-drivers

  • Can't save pictures on original folder position after edit...since I'm upgraded to IOS7 on IPad2.

    can't save pictures on original folder position after edit, get save popup to save at different position, also still on toubles to get them back to original folder positon since I'm upgraded to IOS7 on IPad2.

    I say the problem is probably noted, and probably will be resolved. Not that i can speak for Apple.  I find the "problems" of wallpaper to be pretty minor compared to the advantages of iOS 7.  The fun of wallpaper has always been pretty insignificant here.

  • Issue with Parameterized Popup

    Hi,
    I have created a parameterized popup which gets opened on click of an image. Opening the popup is working fine but custom close button (not the X icon) is not working. I have added javascript:closeit() as the destination URI of the button but nothing happens when I click the button. I also tried adding a javascript function for closing the window and put a PPR on the button to forward to the current page and execute the java script but no luck :-( Issue with using X button for closing the popup is - the control is still in the popup processformrequest afer I close the wondow using X. Whatever action I perform on the base page is yielding no results/undesired results. That's why I wanted a custom close button so that I can direct the control back to the calling page.
    Please advise.
    My requirement is to have 2 buttons on the popup region (save and close). On click on save, data should be saved and the calling (base) page should get refreshed and close should just close the popup and bring the control back to the base page. I have a standalone region created with desired fields and buttons and this region is added to the region popup.
    Can anyone please help me with this?
    Thanks in advance.
    Shreevatsa

    Thanks Peddi. Any other option of achieving this functionality in parameterized popup?
    Also I saw the below in the dev guide.
    You can handle user interactions for embedded and parameterized pop-ups as follows:
      All-Submit - Configure buttons on an embedded pop-up to submit the pop-up data and the base page data together. The pop-up closes and the base page submits after this event.
      Self-PPR - Define partial page refresh events on the pop-up to refresh the pop-up window alone. The pop-up remains displayed after a self-PPR event.
      Page-PPR - Define partial page refresh events on the pop-up to refresh the base page items. The popup closes after a page-PPR event.
    I didn't understand completely as what are the differences and how we can enable these actions on popup. I am thinking of Page-PPR which might work for my requirement but I am not sure how to enable this. Is this same as enabling a PPR on a item on the popup region.
    Thanks
    Shreevatsa

  • How to "Save Image" directly instead of "Save Image As"?

    Is there anyway or option to directly save images instead of having to click "save image as" then go into the popup to save the image location? Thank you!

    Gingerbread Man made good suggestions.
    However you still must "save as" something even if "unnamed001". Windows requires a name and location for each file (whether an image or other file) saved. You can have the same file name in different directories (folders).
    You can copy and paste images without saving, in some applications.

  • How to clear changes done in a popup.

    Hi All,
    I am facing a scenario where in a table for each row I am showing a link which opens up a popup showing xml payload attribute for that specific row.
    That popup allows user to edit that popup and save the changes.
    However, if user makes some changes in the popup and click cancel, the next time he again opens up that popup that previous changes are retained because they are available in entity cache.
    The requirement is if the user re-opens the popup after some time, he should see the changes from the database and not from cache.
    Any pointers on how to achieve this?
    Thanks.

    The thing I forgot to add is that on the pop up, there are two components. First one is input text that shows xml payload attribute for the row selected in the table ( for which we are opening the popup ) and the second is a submit button.
    The submit button needs to be enabled only if there is a change in the content of input text field. So I have set autosubmit to true on input text field to enable submit button.
    The submit button is enabled through a value change listener on the input text field.
    Now in this scenario, I need to add a cancel button using which I need to clear the changes done by the user in the input text field.
    The resetActionListener does not work in that case.
    What approach should I follow to achieve this?

  • How can I save a facebook photo to a jpg

    how can I save pictures as jpg

    Hi there, and welcome to the site.
    This is a simple process. Head to facebook.com, open up the photo, ctrl click (or right click) and on the popup, click 'Save image As...' or the equivalent for your browser. Enter what you want to call the picture followed by .jpg.
    If you want to call the image Friend, then without quotes, enter 'Friend.jpg'.
    This should work but it may vary from browser to browser.
    Let me know how you get on,
    Regards,
    Nathan
    <Edited by Host>

  • Photoshop CS6 Save for Web not working

    I am using photoshop CS6 (cloud) on Mac (10.7.5) and when I use the Save For Web > save, i got the following popup :
    ---- Adobe Save For Web Error ----
    Could not complete this operation. An unknown operating system error has occurred.
    I have been using CS6 for months and it worked fine yesterday before shutting done. Today morning at startup it was not working anymore.
    I have tried to  uninstalled and reinstalled photoshop, clear my presets, shut down/started up, repair disk, repair permissions,... without succes.
    The save for web function still works in CS5.
    Any help will be very much appreciated,
    Raphaël K.

    I found the solution (took forever to consolidate all the answers) for OS X 10.9 + Maverick. Finally!
    1. Change permissions (as AOTPR says) to your User/Library/Preferences file so that your admin and user (the one you are using) has read + write permissions within the Get Info pane (command+I). You may have to add them with the sign.
    2. Delete Adobe save for web 12.0 Prefs & Adobe save for web 13.0 Prefs files within the User/ Library/ Preferences folder. These may be hidden for some people, so when in a finder window, hold Option(alt) and click Go from the main top menu (keep holding Option/Alt) and click Library — the full Preferences folder should open for you.
    3. Change the view when in Save for web pane in PS. If you have it in Cover Flow — it won't work. Change it to another view like List or Columns view.
    Presto! Works for me on Maverick.
    Thank god. It took forever to get this cleared up!!
    If you have any questions, email me [email protected]

  • How to open a single WD Component in a popup window?

    Hi,
    I want to open a WD component in a popup window but don't know how. I have searched this forum without a result.
    The following situation:
    DC1 (main DC) with a button to open the popup
    DC2 (popup DC)
    How can I open DC2 in a popup window without destroying DC1 in a way like
    if (!DC1.hasActiveComponent()) {
    mainR_Usage.createComponent("my.comp.DC2","my.comp/comp~DC2~wd");
    and of course how can I destroy the DC2-popup from DC1?
    The general problem is not to open a popup window inside DC1. The problem is to open DC2 as a popup!
    Thanks ahead

    Hi Bernd,
    You can try this:
    1.Create a context attribute of the type IWDWindow in your view/Component Controller of DC2, say 'PopupWindow'
    2.Create a method in your DC2, say
    openPopup()
    IWDWindowInfo winInfo = (IWDWindowInfo)wdComponentAPI.getComponentInfo().findInWindows("DC2Window");      
           IWDWindow popup= (IWDWindow)wdComponentAPI.getWindowManager().createModalWindow(winInfo);      
           wdContext.currentPopupElement().setPopupAttribute(popup);      
           popup.setTitle("Hello, this is DC2");
           popup.setWindowSize(600,500);
           popup.setWindowPosition(100,100);
           popup.show();
                           +// Save WindowIsnstance in Context
         wdContext.currentContextElement().setPopUpWindow(window);+
    3.Expose this method in your Interface controller so that it is available to be called by DC1
    4.in your DC1 you can call this method
          if((!DC1.hasActiveComponent())
         wdThis.wdGetDC2ComponentUsage().createComponent();
         wdThis.wdGetDC2Interface().openPopup();
    5.This should open the popup window from DC2.
    6. You can have a close button or any other event on the view contained in this window itself. On click of this button you can retrive the window instance stored in the context and destroy it.
    e.g we have an action assigned to a Close button. this will be in the view from the window you are trying to open as a popup.
    onActionCloseWindow()
             IWDWindow  window = wdContext.currentContextElement().getPopUpWindow();
             window.destroyInstance();
    this should close yourr popup window.
    Regards,
    Ajay
    Edited by: Ajay Patil on Jul 6, 2010 10:27 PM

  • Photoshop wont let me 'save as'

    hi, have been using photoshop CS on windows seven, previously xp for years now with only a few problems/bugs here and there which were fixed if i reset the user preferences, but the other day while i was working on a picture when i went to 'save as' nothing happened, nothing popped up and photoshop didnt freeze, it just didnt do anything, also saving for web wont work, the save as button isnt greyed out, i can click it but no popup, no save . Have reinstalled, resent the preferences, checked my resolution, everything i can think of but nothing seems to fix the problem!!! please help!!

    Lots of "save as" problems in CS6 because user is transfering plugins from a previous version into CS6.  Do not do this.
    Delete the plugins and do not point CS6 to old plugins.
    If you have 3rd party plugins best to go to website and download current version in the the CS6 plugins folder.

  • Unable save WA report

    Installed EPM on different machine. One Server play Data Source role,
    contains EPM service components and repository DB, windows service list below:
         Hyperion EPM Architect - .Net JNI Bridge
    Hyperion EPM Architect - Engine Manager
    Hyperion EPM Architect - Event Manager
    Hyperion EPM Architect - Job Manager
    Hyperion EPM Architect - Process Manager
    Hyperion Essbase Services 11.1.1 - hypservice_1
    Hyperion Financial Management - DME Listener
    Hyperion Financial Management - Management Service
    Hyperion Financial Reporting - Java RMI Registry
    Hyperion Financial Reporting - Print Server
    Hyperion Financial Reporting - Report Server
    Hyperion Financial Reporting - Scheduler Server
    Hyperion Integration Services
    Hyperion Workspace - agent
    Another Server play AP Provider role,
    contains EPM Web AP components, windows service list below:
    Hyperion Administration Services - Web Application
    Hyperion CALC Manager - Web Application
    Hyperion EPM Architect - Web Application
    Hyperion EPM Architect Data Synchronization - Web Application
    Hyperion Financial Management - Web Service Manager
    Hyperion Foundation OpenLDAP
    Hyperion Foundation Shared Services - Web Application
    Hyperion Planning - Web Application
    Hyperion Provider Services - Web Application
    Hyperion RMI Registry
    Hyperion Web Analysis - Web Application
    This environment can't save WA report (Both on edit and create new report, but use LCM import WA Report is OK).
    I don't know what wrong with it, WA Studio GUI just display:
    can't save error (when edit)or popup a save window but no response (when create new)......
    No more detail information.
    Environment software list here:
    OS :Windows 2003 Server
    AP Server: Weblogic 9.2
    EPM:11.1.1.3
    DB:SQL Server 2008
    Thanks for your replay!!!
    Edited by: user1935859 on Feb 22, 2010 6:43 PM

    Hi all,
    I also have similar issue, and Oracle Support has help us solved the issue.
    So, let me post it here:
    The issue is reported by several customers. Please check the solution listed below: "Basic repository consistency verification tests detected a number of "lost" or "unused" records in Web Analysis metadata DB tables. These records however can cause an issue when new data is written in the repository tables on "Save As" action. If customer performed repository content migration, then current repository state could be a result of that migration phase. There is a special SQL script designed to clean up Web Analysis metadata tables in repository (sent by email). It is designed to remove all redundant/unused records from WA tables and reset internal document counters.
    We recommend client doing WA metadata cleanup in order to fix the problem."
    This SQL script should be run to clean up Web Analysis metadata tables in repository. This script is designed to remove all redundant/unused records from WA tables and reset internal document counters.
    Please make a back up the Web Analysis metadata tables in the repository before running the script below.
    DELETE FROM ATF_NE_INFO WHERE ATF_ID NOT IN (SELECT CONTAINER_UUID FROM V8_CONTAINER);
    DELETE FROM HYA_REPORT WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.Report'));
    DELETE FROM HYA_REPORTATTR WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.ReportAttributes'));
    DELETE FROM HYA_PRESENTATION WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAPresentation'));
    DELETE FROM HYA_VIRTCUBE_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAAtfVirtCubeData'));
    DELETE FROM HYA_ESS_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAEssbaseDatabase'));
    DELETE FROM HYA_HFM_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAHFMDatabase'));
    DELETE FROM HYA_ADM_SAP_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAAtfAdmSapDatabase'));
    DELETE FROM HYA_SAP_BAPI_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAAtfAdmSap%'));
    DELETE FROM ATF_SHORTCUTS WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.atf.repository.Shortcut'));
    DELETE FROM HYA_USER_PREFS WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAUserPreferences'));
    DELETE FROM HYA_MSAS_DB WHERE (ATF_ID NOT IN (SELECT OBJECTID FROM ATF_NE_INFO WHERE OBJECTID IS NOT NULL AND OBJECTCLASS LIKE 'com.hyperion.analyzer.atf.om.HYAAtfAdmSSASDatabase'));
    DELETE FROM HYA_DB_PREFS WHERE PARENT_ID NOT IN (SELECT ATF_ID FROM HYA_USER_PREFS);
    DELETE FROM OJB_HL_SEQ
    This document applies to any migration
    1. Lower version to higher version
    2. Migration of Development to Production on same version
    Please have a try.
    Rgds,
    Benedict

Maybe you are looking for

  • What are the requirements to deploy Portlets from Jdeveloper 10.1.3.2

    Hi all, I'm new in version Jdeveloper 10.1.3.2 plz which version of Application Server (infrastructure and middle-tier) or web-center are required to deploy portlet from jdeveloper 10.1.3.2 can you send me links about these requirments thanks

  • Disable sound on imac in target display mode

    Have a question about disabling the sound. I have a MacBook Pro connected to my iMac by the thunderbolt cable. I enable the target display mode on iMac with a script for disabling some configurations on iMac ( including the bluetooth for mouse and ke

  • Can I safely open an optical drive to retrieve a CD?

    I have a dead MBP with a cd stuck in the optical drive.  I saw a few video tutorials on ifixit.com that show how to open the drive to retrieve the cd and it looks really simple.  It's just a matter of taking out the drive then taking out the 4 screws

  • Share internet with a neighbour (2 wireless routers with switch?)

    Hi All, I want to ask for your help, if there are better options for sharing Internet: Today: The Internet is today shared like this: cable->modem->1. WRT320N router-> 2. WRT320N router (LAN port to LAN port). It is working pretty OK but as the first

  • Error console does not show

    I have installed Safari on Windows, and am trying to use the Error console in the Develop menu. When clicking on the menu item, the menu closes but nothing happens. I have tried uninstalling and reinstalling Safari, with no success. Any ideas?