Add popup to confirm saving on BP_HEAD Overview

Hi,
I actually need to add a popup to confirm saving on CRM application.
I need to add this popup On context Save (SAVE_ADDR)
View Controller : BPHEADOverview.do.
I don't understand how it is working. Apparently it is not possible to had a javascript popup code and link it to my input filed.
How is it possible to add this popup on click to save buttom?

Hello,
It's actually quite simple to create popups in the new WebUI (as from 2007, I don't think this method exists in 5.2).
Every IMPL class should have a reference to the compcontroller attribute (check the IMPL class of the view you're trying to enhance). In the compcontroller you also have a reference to the window_manager and this window_manager (IF_BSP_WD_WINDOW_MANAGER) contains a cool method "CREATE_POPUP_2_CONFIRM".
Do a "where-used" on this method and you'll find plenty of examples!
One remark, this method only gives you a reference to an interface (IF_BSP_WD_POPUP to be precise), after the method call don't forget to lr_popup->open( ) else the popup won't be shown!
THis is a typical "confirm" popup, quite simple, check out the other popup methods of that window_manager class!
Hope this helps,
Joost

Similar Messages

  • In PSE 9 how do I add slides to a saved slide show

    In PSE 9 How do I add slides to a saved slide show?

    When you open a project, there is an option to launch Add Media window from where you can access files from Catalog or a particular album.

  • What User Exit can I use to add a cust field to PO Item overview in ME23n?

    Hi,
    I need help!
    Does anyone have any examples of adding a new cust field to PO Item Detail screen with a user exit?
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Which user exit I can use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    We are on release SAP ERP Central Component 5.0

    Hi,
    Thank you for the response.  I tried this and found  Badi ME_PROCESS_PO_CUST.  Do you have any examples of adding a new cust field to PO Item overview screen using badi ME_PROCESS_PO_CUST? I have had little experience creating badi's, and would appreciate very much some sample code if possible.
    In transactions ME21n, ME22n, ME23n I need to add a new field in PO Item overview (screen 1211 of SAPLMEGUI). The new field ZZUNSPSC, has been appended to table EKPO as a 30 char field, which will be enterable/changeable on the ME21n, ME22n screens and display only on ME23n.
    Can you tell me if method FIELDSELECTION_ITEM of badi ME_PROCESS_PO_CUST the correct one to use for the purpose of adding a new input/output field to the PO item overview on SAPLMEGUI screen 1211?
    Thank you for help - much appreciated,
    Vicki

  • How to Add A Javascript Confirm() on an Apex button for a form?

    Hi, how can I add a Javascript confirm() to a button in Apex for a form? Thanks.

    Hello:
    You could do the following
    1)In the 'Option URL Redirect' section of the Edit Button page set 'Target is a ' to 'URL'
    2)For URL Target enter javascript:{if (confirm('Your Question here')) doSubmit('<button name>');}Varad
    Edited by: varad acharya on Jul 15, 2009 3:47 PM

  • Can you add an Add Password to the Saved Password window?

    There are some sites that do not prompt Firefox to save my password.
    Is it impossible to add an Add Password to the saved passwords screen for times when I revisit the site?

    Make sure that you do not run Firefox in permanent Private Browsing mode (Never remember history).
    *https://support.mozilla.org/kb/Private+Browsing
    *Firefox > Preferences > Privacy > Firefox will: "Use custom settings for history"
    *Deselect: [ ] "Always use private browsing mode"
    The website might be using autocomplete=off to prevent Firefox from saving form data like name and password.
    *You can toggle the signon.overrideAutocomplete pref to true on the <b>about:config</b> page.
    *You can remove autocomplete=off with a bookmarklet to make Firefox store form data like names and passwords.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered
    Note that Firefox won't auto-fill saved form data automatically when autocomplete=off is used, so double-click the empty name field to get a drop-down list.
    *Saved Password Editor: https://addons.mozilla.org/firefox/addon/saved-password-editor/

  • Help with add cover art by saving a file as preview.jpg

    I need help. Im new to mac and have all my movie files on my external drive. I found out how to make an alias folder and it works great in Front Row. But when I look at the movie in Front Row. All I see is a blue folder. I read another post stating that it can be done and this is what I got,
    Front Row in Leopard supports playing VIDEO_TS folders. You can also add cover art by saving a file as preview.jpg in the parent directory. The folder structure would be like the following.
    /Users/fred/Movies/The Day the Earth Stood Still/VIDEO_TS/
    /Users/fred/Movies/The Day the Earth Stood Still/preview.jpg
    But how do I save it this way? Thanks guys and girls!

    slaychild wrote:
    I need help. Im new to mac and have all my movie files on my external drive. I found out how to make an alias folder and it works great in Front Row. But when I look at the movie in Front Row. All I see is a blue folder. I read another post stating that it can be done and this is what I got,
    Front Row in Leopard supports playing VIDEO_TS folders. You can also add cover art by saving a file as preview.jpg in the parent directory. The folder structure would be like the following.
    /Users/fred/Movies/The Day the Earth Stood Still/VIDEO_TS/
    /Users/fred/Movies/The Day the Earth Stood Still/preview.jpg
    !!! But how do I save it this way? Thanks guys and girls!
    That other post looks like one I wrote. I am note sure what you are stuck on, except perhaps you are not using VIDEO_TS folders.
    The normal location for Front Row to look for movies is /Users/yourname/Movies in that movies folder you can put either movie files, or folders containing movie files, or aliases to folders containing movie files (which might via the alias be on another hard drive).
    If you are using video files e.g. an AVI, or MPG, or MOV then these normally should be added in to iTunes and Front Row can access them via the iTunes library. iTunes will then let you set a 'poster' frame for the movie.
    If the movie is a full VIDEO_TS (i.e. a copy of a DVD) then you cannot add these to iTunes and you cannot set a poster frame. Therefore Front Row which in Leopard now supports playing VIDEO_TS folders has provided another mechanism to provide a poster for each VIDEO_TS movie, which is the previously mentioned preview.jpg file.
    This literally is just a standard JPG file, I get most of mine from Amazon.com to match the DVD covers, but some people prefer using movie posters rather than DVD covers, and in that case you could try getting a suitable JPG from http://www.impawards.com/
    So, in /Users/yourname/Movies you would either create a folder for each movie (VIDEO_TS) like the following
    /Users/yourname/Movies/The Day the Earth Stood Still/
    /Users/yourname/Movies/Soylent Green/
    /Users/yourname/Movies/Forbidden Planet/
    or you would put an alias in Movies to a folder on another drive containing individual folders for each movie, I will use italics to represent an alias
    /Users/yourname/Movies/MovieDrive/
    MovieDrive would then contain folders for each movie
    /MovieDrive/The Day the Earth Stood Still/
    /MovieDrive/Soylent Green/
    /MovieDrive/Forbidden Planet/
    Each movie folder e.g. "The Day the Earth Stood Still" would contain firstly a JPG file called "preview.jpg" which would be your poster or DVD cover image, and also the VIDEO_TS folder which is a copy of the DVD.
    /MovieDrive/The Day the Earth Stood Still/preview.jpg
    /MovieDrive/The Day the Earth Stood Still/VIDEO_TS/
    /MovieDrive/Soylent Green/preview.jpg
    /MovieDrive/Soylent Green/VIDEO_TS/
    /MovieDrive/Forbidden Planet/preview.jpg
    /MovieDrive/Forbidden Planet/VIDEO_TS/
    Note: VIDEO_TS is the standard folder name used on DVDs and you have to keep that name so that Front Row know it is from a DVD and therefore how to play it, however in order to let Front Row list them under individual names you put the VIDEO_TS folder inside a folder which would be the Movie name, as shown above.
    In Front Row you would select "Movies" this lists the contents of
    /Users/yourname/Movies
    If you have put an alias in Movies it would list this as a folder which in Front Row you would select. Front Row would then list all the movie folders you have created and it would automatically see the preview.jpg files and VIDEO_TS folders in each movie folder you have created. Front Row would then know to display as a poster the preview.jpg when you highlight each movie folder.

  • Confirmation saving  in Goods Movemnt TAB

    Hi,
    This is related to order confirmation. How to make the order confirmation saving mandatory/not mandatory for co11n trx in goods movement tab and how to see the component list in that TAB. where to configure this. Please let me know how to do this.
    Regards,Kundan

    Hi
    Go to OPK4, and tick the All components in the Goods Movements subscreen, so that you will get all components in the Goods Movements screen during confirmation.
    Then go to the "General individual entry" tab in the same transaction, and tick on the Goods movements and activate the termination of incorrect goods movements, this will terminate the wrong goods movements entry.
    Regard
    Bala

  • I have two options in my apple contacts. And I chose to not expose my hotmail contacts to limit the length of my list. Now whenever I add someone they get saved to my hotmail contact list, rather than iCloud. How do I change this?

    I have two options in my apple contacts. And I chose to not expose my hotmail contacts to limit the length of my list. Now whenever I add someone they get saved to my hotmail contact list, rather than iCloud. How do I change this?

    Settings>Mail,Contacts,Calendars>Default Account (in the Contacts section), set this to iCloud.

  • Production Order Confirmation saved but no goods movement happening

    Hi Folks,
    I have implemented an enhancement while Production Order Confirmation ( txn CO11N). The enhancment works as follow:
    I have a production order with quantiy 2. Now I am making confirmation for quantity 1. In the enhancement, i have used a BAPI called BAPI_PRODORD_CREATE_FROM_REF to create another production order with the remaining quantity 1.
    As of now everything works fine and a new prod order is created with quantity 1.
    Now, I release this newly created prod order and make GR for the same. The problem here is, now when I try to confirm this newly created prod order ( txn CO11N), the confimation is saved but the goods movement does not happen. I get a message saying " Confirmation saved (Goods movement 0, failed 1) ".
    The original order is of type PP01 and everything works fine for it. The newly created order is of type ZRWK (rework) and for this only confimation is saved but no goods movement.
    Request you to please suggest how can I remove this error and make goods movement as that of for the original order.
    Thank you.
    Regards,
    Sud.

    Hi
    Check if you have something in the tcode COGI. Perhaps you don't have enough stock of raw materials
    Regards
    Eduardo

  • Firefox won't prompt me for my email password and I can't find a way to add it to my saved list

    Firefox has just prompted me to save my password for this registration, but it won't prompt me for my password for my virgin email acct. It used to but virgin mail had a new signing in window and it was not saved in that. I checked my saved password list and it was there ok, so I removed it thinking that it would prompt me again but it doesn't. Is there any way I can add it to my saved list myself. The problem might be with the virgin email site. Can you please advise.

    If they were put there via iTunes sync process, then simply untick the Music box before syncing again.

  • Triggering a Popup to confirm from FPM IDENT Area.

    Hello
    for Workprotect Mode I am trying to triggering a WD Popup to confirm via FPM.
    How to do that?
    Thanks and regards
    Armin

    Hi Armin,
    If you want to call data loss popup, you can do it in two ways.
    1. Set is_dirty flag
          use if_fpm_work_protection interface and use the method set_dirty () to set the is_dirty flag. Once you set this, by default FPM will call the data loss popup. also it is your responsibility to clear the is)dirty flag after the commit in your application.
    2. Reimplement needs_confirmation method
          if you are connected to FPM, you would have used if_fpm_ui_building_block. In this interface, you have a method needs_confirmation to call the data loss popup. use below code snippet.
    *eo_confirmation_request = cl_fpm_confirmation_request=>go_data_loss.
    Thanks
    Senthil

  • Popup to confirm on close of browser

    Portal used, but WDA started via CREATE window. So it runs in a separate window.
    No inside portal IVIEW.
    When user presses, close browser window,
    wddoEXIT method is called as expected.
    Trying to trigger a new phase model, by opening a window didnt work.
    The new window doesnt appear. (not surprising... just confirming it doesnt work)
    Within BSP javascript can be used to manage this process.
    The portal can also manage this, and hence the expectation that new windows
    behave the same way.
    Customer wants to gain control again to the extent of triggering more dialog.
    Has anyone found away to bring a popup, on close of browser in WDA?
    A new phase model, is required. Since this popup should have a Save on exit
    yes/no option. Allowing optioning saving of data.  The context should also have been updated.
    I have looked for but not found a "register dirty data" type of method.
    So I dont think it is possible.
    But I promised I would ask before dismissing it as not possible in WDA.
    Is there some framework method I havent found ?
    confirming it is not possible , is also useful info.
    Cheers
    Phil.

    When you generate the HTML templates, did you generate the type as "SAP GUI for HTML"?
    What error did you get?
    You might want to report this problem in OSS so that they can help you by login into your system.

  • How to add Popup to a particular DataGrid in a multiple DataGrid View?

    hi All,
    I am developing an application where multiple datagrids are displayed in one view. They have individual refresh buttons to load grid data when ever required. But grids are independent with each other. What i am trying to do is add a popup(to block the grid)  only to it's corresponding grid when i click a particular refresh button so that other grids can be accessed  without any problem. But i was not able to do this since when modal is set to true the popup blocks entire view. Please let me know if there is any way to do this?
    Thanks in advance,
    Harshi

    Do this:
    UIImageView *page1 = [[UImageView alloc] initWithImage:[UIImage imageNamed:@"page1.jpg"]];
    CGRect frame = page1.frame;
    frame.origin.x = newX;
    frame.origin.y = newY;
    page1.frame = frame;
    [myParentView addSubView:page1];
    And use {code}, not {CODE}

  • Error in using popup to confirm dialog

    I am using a set of coding given in book. Follows :
    I am giving the essential only here.....
    DATA : LT_TEXT TYPE STRING_TABLE,
               LR_COMPONENT_API TYPE REF TO IF_WD_COMPONENT,
               LR_POPUP                  TYPE REF TO IF_WD_POPUP_TO_CONFIRM,
               LR_VIEW_CONTROLLER TYPE REF TO IF_WD_VIEW_CONTROLLER.
    CALL METHOD CL_WD_POPUP_FACTORY=>POPUP_TO_CONFIRM
                    EXPORTING
                                     COMPONENT   = LR_COMPONENT_API
                                            TEXT         =  LT_TEXT
                            WINDOW_TITLE         = 'DELETE CONFIRMATION'
                     RECEIVING
                              POPUP_TO_CONFIRM = WD_THIS->LR_POPUP.
    Now I am getting the error like WD_THIS->LR_POPUP not defined .
    i checked with the class CL_WD_POPUP_FACTORY and method POPUP_TO_CONFIRM  and LR_POPUP declaration for type compatibility, every this is fine but not working. can anyone help on this ?

    Try the following code:
        DATA lo_api_componentcontroller TYPE REF TO if_wd_component.
        DATA : lr_popup TYPE REF TO if_wd_popup_to_confirm.
        DATA l_controller_api TYPE REF TO if_wd_controller.
        DATA : l_configuration TYPE wdr_popup_to_confirm.
        DATA : l_text_table TYPE string_table,
        ls_text_table TYPE string .
        lo_api_componentcontroller = wd_this->wd_get_api( ).
        l_controller_api = wd_this->wd_get_api( ).
        ls_text_table = 'Are you sure you want to Delete record?'.
        APPEND ls_text_table TO l_text_table .
        TRY.
            CALL METHOD cl_wd_popup_factory=>popup_to_confirm
              EXPORTING
                component        = lo_api_componentcontroller
                text             = l_text_table
                window_title     = 'Confirmation'
                configuration    = l_configuration
              RECEIVING
                popup_to_confirm = wd_this->popup.
          CATCH cx_wd_runtime_repository .
        ENDTRY.
        wd_this->popup->subscribe_to_events(
        controller = l_controller_api
        handler_name = 'CONF_DELETE' ).

  • How to change delivery date in confirmation tab in item overview in PO

    Hi,
    I am using ME_CONFIRMATION_UPDATE to add delivery date into the confirmation tab in item level.It is adding new line item.
    It is even updating the table EKES.
    Now my requirement is to change the delivery date from the above PO. Is there any function module for the same.
    PLEASE GUIDE ME.
    Thanks,
    Vengal Rao.

    Hi,
    Our client is into Apparel business and using SAP-AFS.  Some time at the last moment the due to change in customer delivery date there is a requirment to change the delivery date in confirmation tab also..
    Thanks,
    Vengal Rao.

Maybe you are looking for

  • After Win 7 Pro 64 crash, CS6 AE, PS and PPro won't start.

    Windows 7 runs fine and LR 4.3 runs fine.  The CS apps mentioned above now will not start.  PS fails upon "measuring memory", AE and PPro get the splash screen then fail.  I reinstalled the CS6 applications to no avail.  My connected drives work fine

  • Sudden SSD un-recognition + blinking question marked folder

    Dear all, i've got a pretty strange behaviour here. my late 2011 MacBook Pro won't boot my SSD disk (Samsung 840 Evo 750gb) anymore. restarting or powering off/on the mac will always result in no disk found (question marked blinking folder). please n

  • Costing of Production Orders

    Dear Gurus, My client requirement is that , always the planned costs need to be captured in to the productin order while confirming,irrespective of the actual costs. What settings should i do , to enable the system to perform the same? Best regards,

  • Update users name in PPOMA from SU01

    Hello together, I am having a question. Is there a report or FM available which allows me to update the users name in the PPOMA with the data from SU01. While creating users with czech characters with the transaction users_gen, the file has been corr

  • F.50 f.5d

    hi, may i know why need to run f.50 and f.5d. what is the purpose for these 2 account. thanks