POPUP window after OVS selection

Hi experts,
After selecting an entry in an OVS I need to do a check with the selected value.
To do this, in the custom controller I create a class that implements IWDOVSContextNotificationListener and do my check in the method applyResult.
In case the check fails, I would like to:
1 - prompt an error message in a modal dialog and
2- navigate to another view.
How can I achieve this ?
thanks in advance
Filippo

Hi Filippo,
your OVS has to be bound to a InputField and the value changes when you apply your OVS-Result. So then the onChange of the InputField should be triggered and you could do your checks there. Haven't tryed it but i think it should work this way. Maybe just give it a try,
Regards,
Tobias

Similar Messages

  • Popup window for data selection in maintenance view

    Hi,
    How to create popup window for data selection in maintenance view. For example when you go to view v_t510 in se16, there you will see a popup window to enter values. after you enter the values in that window, then data related to those values that you entered in the popup window will displayed.
    How can we do that for the custom maintenance view?
    Thanks in advance for your help guys.
    Regards,
    Srinivas.

    In your custom maintainace view, if you select the Data browser / Table view maintainace under the tab "Maint Status" as "Dispaly maintanence allowed with restriction" than system will give you popup to restrict by selection.
    Regards,
    Naimesh Patel

  • Hi, coding to display popup window after first alv grid display

    hi
    can anybody please send coding to display popup window after first alv grid display i.e.  first the prog shows grid display and from grid display the user select the field and on the basis of field value i need to show pop up window in the first secondary window and then third popup window.
    thanx
    rocky

    Hi rocky,
    here is the sample code .hope this helps you.
    TYPE-POOLS : SLIS.
    DATA : GT_OUTTAB TYPE VBAK OCCURS 0,
           GS_PRIVATE TYPE SLIS_DATA_CALLER_EXIT,
           GS_SELFIELD TYPE SLIS_SELFIELD.
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    DATA : ITAB TYPE TABLE OF SLIS_SELFIELD,
           WA_ITAB LIKE LINE OF ITAB.
    START-OF-SELECTION.
    PERFORM POPULATE_GT_OUTTAB.
    PERFORM GET_POPUP.
    PERFORM POPULATE_ITAB.
    PERFORM FIELDCAT.
    PERFORM DISPLAY_DETAILS.
    *&      Form  FIELDCAT
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
    LOOP AT ITAB INTO WA_ITAB.
    WA_FIELDCAT-FIELDNAME = 'TABINDEX'.
    WA_FIELDCAT-TABNAME = 'WA_ITAB'.
    WA_FIELDCAT-COL_POS = 1.
    WA_FIELDCAT-SELTEXT_L = 'TABLE INDEX'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'SEL_TAB_FIELD'.
    WA_FIELDCAT-TABNAME = 'WA_ITAB'.
    WA_FIELDCAT-COL_POS = 2.
    WA_FIELDCAT-OUTPUTLEN = 20.
    WA_FIELDCAT-SELTEXT_L = 'FIELD NAME'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    WA_FIELDCAT-FIELDNAME = 'VALUE'.
    WA_FIELDCAT-TABNAME = 'WA_ITAB'.
    WA_FIELDCAT-COL_POS = 3.
    WA_FIELDCAT-SELTEXT_L = 'FIELD VALUE'.
    APPEND WA_FIELDCAT TO IT_FIELDCAT.
    ENDLOOP.
    ENDFORM.                    " FIELDCAT
    *&      Form  POPULATE_GT_OUTTAB
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_GT_OUTTAB .
    SELECT * FROM VBAK
           UP TO 10 ROWS
           INTO TABLE GT_OUTTAB.
    ENDFORM.                    " POPULATE_GT_OUTTAB
    *&      Form  GET_POPUP
          text
    -->  p1        text
    <--  p2        text
    FORM GET_POPUP .
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
      EXPORTING
       I_TITLE                       = 'SALES ORDER'
      I_SELECTION                   = 'X'
      I_ALLOW_NO_SELECTION          =
       I_ZEBRA                       = 'X'
      I_SCREEN_START_COLUMN         = 0
      I_SCREEN_START_LINE           = 0
      I_SCREEN_END_COLUMN           = 0
      I_SCREEN_END_LINE             = 0
      I_CHECKBOX_FIELDNAME          =
      I_LINEMARK_FIELDNAME          =
      I_SCROLL_TO_SEL_LINE          = 'X'
        I_TABNAME                     = 'SALES ORDER'
        I_STRUCTURE_NAME              = 'VBAK'
      IT_FIELDCAT                   =
      IT_EXCLUDING                  =
      I_CALLBACK_PROGRAM            =
      I_CALLBACK_USER_COMMAND       =
       IS_PRIVATE                    = GS_PRIVATE
    IMPORTING
       ES_SELFIELD                   = GS_SELFIELD
      E_EXIT                        = G_EXIT
      TABLES
        T_OUTTAB                      = GT_OUTTAB
    EXCEPTIONS
       PROGRAM_ERROR                 = 1
       OTHERS                        = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " GET_POPUP
    *&      Form  POPULATE_ITAB
          text
    -->  p1        text
    <--  p2        text
    FORM POPULATE_ITAB .
    WA_ITAB-TABNAME = GS_SELFIELD-TABNAME.
    WA_ITAB-TABINDEX = GS_SELFIELD-TABINDEX.
    WA_ITAB-SEL_TAB_FIELD = GS_SELFIELD-SEL_TAB_FIELD.
    WA_ITAB-VALUE = GS_SELFIELD-VALUE.
    APPEND WA_ITAB TO ITAB.
    ENDFORM.                    " POPULATE_ITAB
    *&      Form  DISPLAY_DETAILS
          text
    -->  p1        text
    <--  p2        text
    FORM DISPLAY_DETAILS .
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
    EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
      I_CALLBACK_PROGRAM             = ' '
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
      I_STRUCTURE_NAME               =
      IS_LAYOUT                      =
       IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
      I_SAVE                         = ' '
      IS_VARIANT                     =
      IT_EVENTS                      =
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
      TABLES
        T_OUTTAB                       = ITAB
    EXCEPTIONS
       PROGRAM_ERROR                  = 1
       OTHERS                         = 2
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM.                    " DISPLAY_DETAILS
    award points if helpful.
    regards,
    deepthi reddy

  • Create record issue in the JHS LOV popup window after delete record

    Jdeveloper : Studio Edition Version 11.1.2.2.0
    Jheadstart : 11.1.2.1.28
    hi
    i sent a testcase to [email protected]
    in JHS lov popup window,when i delete a record and then, i want to create a new record,it is not work
    but when i click in one of the fields and then click plus icon, it work correctly

    OK, this happens because of the code that fixed the delete issue that I sent you before. This code needs to be changed slightly, the following lines:
    Row row = selectedRowData.getRow();
    if (!isMultiSelect())
    // make this row current, so row delete will work in LOV page
    selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
    selectedRows.add(new RowData(row));
    should be enclosed with a check whether there is a selected row:
    if (selectedRowData != null)
    Row row = selectedRowData.getRow();
    if (!isMultiSelect())
    // make this row current, so row delete will work in LOV page
    selectedRowData.getIteratorBinding().getRowSetIterator().getRowSet().setCurrentRow(row);
    selectedRows.add(new RowData(row));
    Steven Davelaar,
    JHeadstart team.

  • Popup window after submit

    When clicking a report column link, putting target="_blank" in the Link attributes launches the link target in a new browser tab/window.
    Is there a way to do this when the page is submitted as usual and after-submit processing logic causes it to branch to a target which is not a page in the current application?
    Thanks

    You can't do it in the branch, because that happens on the application server, so instead of branching to the URL you want to open in a popup window, you need to branch back to the same page (or another page if you prefer) and then have Javascript as I described. If the URL to go to is not static you can store it in a page item before branching, and extract the value in the onload Javascript before opening the popup.

  • URGENT PLEASE ---How to open popup window after selecting a cell of JTable.

    Hi,
    I am struck at aproblem, I am developing an applet in which I am using TabbedPanes and each tabbed panel has either tables or some key information to display.
    My Problem is, I have a JTable, which has informations related to a perticular record, each record may or may not have some more hidden information. If a record has a hidden information, then the record's cell will contain a message " click here for more information " . after clicking this cell a window will open to show the hidden information.
    I have tried ListSelectionListener and MouseListener to the JTable but nothing is giving me the desired results.
    Please I you could suggest me about this.

    You say its urgent
    So urgent, so oh oh urgent
    Just wait and see
    How urgent my love can be
    Its urgent

  • Unable to open Popup Window after transporting using NWDI

    Hi
    I am using Nw04 SP19. I have created a window using createWindow() and createModalWindow() too. The Window opens if we use direct deployment into  the server, whereas afer we transport thru NWDI the window dosent open and gives null pointer exception.
    Even creating ConfirmationDialog has the same problem.
    The Issue occurs after Assembly is Done in NWDI i.e after SCA files created ( just thought this info is useful).
    Any comments on this is appreciated.
    Thanks
    With Wishes
    Krishna kanth

    You say its urgent
    So urgent, so oh oh urgent
    Just wait and see
    How urgent my love can be
    Its urgent

  • Need to Open a popup window after logon to EP 6.0

    Hi All,
    I need to do an enhancement in the portal logon for a particular role.
    I want to open a popup showing his/her profile details after login into the system.
    How it can be done?
    Thanks in anticipation
    Prashil

    Hi Robin,
    Thanks for the immediate reply!!!!
    I am confused with the loggin process.
    I read many blogs from SDN. Somewhere it is said that i should customize the com.sap.portal.runtime.logon.par. While in some it mention that it should be configured it from the portal. Somewhere it is mentioned in both(par and portal).
    Which is the correct way. i am good at programming but not very clear with the portal customization.
    Can you help me in this!!!
    Regards,
    Prashil

  • How to get F4 help in popup window

    Hi all,
    I have to show a popup window after I click on SAVE button of a standard transaction CV01n. I am using BADI for this purpose. I am able to display popup for taking input as "user name". But problem is that I need to provide F4 help to the input field of popup window. After I press F4 I need to display user names which I have stored in one Z table. As I am writing code in BADI i am not able to write any sub-routine or not able to call any sub-screen/selection-screen etc.
    Please tell me how can I provide F4 help to the input fields of popup window.
    Thank in advance.

    Hi
    This can help you.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
           EXPORTING
                retfield    = 'input field name'
                dynpprog    = 'progname'
                dynpnr      = 'dynnum'
                dynprofield = 'structure-inputfield name'
                value_org   = 'S'
           TABLES
                value_tab   = tbl_values_tab.(values u want to get while pressing f4)
    Reward if it is useful.
    Thanks
    Siva Kumar

  • Suppressing 'Ending program' popup window in Windows 7

    Hello,
    If you configure the system setting AllowBlockingAppsAtShutdown to 1, and there is some program which is blocking shutdown process with ShutdownBlockReasonCreate system call, you get an 'Ending program...' popup window after trying to shut the system down.
    My question is: is there a way to either:
    not display this window at all, or
    display it in hidden mode or at least,
    notify my application that this popup window was opened?
    And, does this window come from system or from the shell?
    The goal is to achieve the compatibility with similar solution for Windows XP, which suppresses the shutdown without displaying any window. Thanks in advance for answers.

    Hi piotr,
    The following article would be helpful regarding shutdown process between Windows XP and Windows Vista/7:
    Application Shutdown Changes in Windows Vista
    That Windows is designed through new API compared with Windows XP, which I am not very good at.
    Besides, if you would like to short the waiting timeout, you may either do a registry change, or create a shut down shortcut:
    Before any changes, please backup registry first.
    Those registry keys:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control
    Find WaitToKillServiceTimeout and set it to 2000 from 20000(Default 12 seconds).
    HKEY_CURRENT_USER\Control Panel\Desktop
    Find WaitToKillAppTimeout and set it to 2000.Reference:
    WaitToKillServiceTimeout
    https://technet.microsoft.com/en-us/library/cc976045.aspx
    WaitToKillAppTimeout
    https://technet.microsoft.com/en-us/library/cc978624.aspx
    For the shortcut:
    Right-click your Windows 7 desktop and select > New > Shortcut.
    Enter > shutdown.exe -s -t 00 -f in the location field, click >
    Next, give the shortcut a descriptive name, e.g. Shut Down Computer, and click Finish.
    https://technet.microsoft.com/en-us/library/cc732503.aspx
    Best regards
    Michael Shao
    TechNet Community Support

  • Bex POPUP Window. How to Customise

    Hi BW Experts,
      Currently i am using the BEx Analyser for my reporting.I am  entering the wrong values in Selection screen. By hitting the OK Button, the system throws an error message in the POPUP Window.After clicking the OK button, the POPUP disappears but the system shows the message as "BY PROCESSING" in the status bar of the Bex.
    How can we control this scenario.And i would like to give own error message in the POPUP Window.
    Pls help.
    Thanks,
    Siva.

    Go to transaction SMOD.
    Enter RSR00001 in Enhancement field.
    Select the Documentation radio button
    Click Display button
    This will show you all the information you need including the sample code.
    CAUTION:
    1) You should use CMOD (not SMOD) when you implement a solution.
    2) Most people usually leave the standard popup box alone becuase it is too much work for a cosmetic change

  • Can't screen capture popup windows in Flex web-based application

    Hi all,
    I'm a tech writer looking for a tool that will capture single popup windows of a flex-based web application (perl popups have the same issue).
    Snagit (and all the freeware I've tried), doesn't recognize the popup window as a selectable element, even though the mouse can move the popup window anywhere in the application window.
    We've got lots of snapshots to take, and do not want to have to crop a region and edit out the white space (top of the popup box has square corners, bottoms are rounded).
    Does anyone know of a screen capture utility or way to get these windows in a single click like we can with the standard old window dialog boxes?
    Any help is greatly appreciated!
    Thank you!
    joan

    Hi Alex,
    I don't quite understand.
    Are you suggesting a way to get the snapshots from the server generating the image and not as an end user who opens the application and trys snapping from the Internet Explorer browser window?
    I'll need to be more specific when communicating with the developer. Can you provide a little more direction?
    Thank you!
    :-) joan

  • Popup window by javax.script. API, help

    Hello All,
    anybody did something like
    <h:commandButton id="errorpage" action="#{bean.errorPage}" value="Error Page" />
    public void errorPage() {
        try {
          ScriptEngineManager factory = new ScriptEngineManager();
          ScriptEngine engine = factory.getEngineByName("JavaScript");
          StringBuilder scriptCode = new StringBuilder();
          scriptCode.append("window.open('/error.faces', 'popupWindow', 'height=400'," +
                  "'width=500'," +
                  "'dependent=yes', " +
                  "'menubar=no'," +
                  " 'toolbar=no');");
          engine.eval(scriptCode.toString());
        } catch (Exception exception) {
          exception.printStackTrace();
      } I would like open popup window after some action generated in managed bean.
    but I see some exception
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "window" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
            at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)

    also tryed but the same error
      public void errorPage() {
        try {
          ScriptEngineManager factory = new ScriptEngineManager();
          ScriptEngine engine = factory.getEngineByName("JavaScript");  
          String win2 = "/error.jsf" +  "Window2" + "width=310"+ "height=600"+ "scrollbars=yes";      
          engine.put("x", win2);   
          engine.eval("window.open(x)");     
          //engine.eval("onclick='window.open('/error.jsf', 'popupWindow', 'height=400','width=500','dependent=yes',  'menubar=no','toolbar=no');'");           
        } catch (Exception exception) {
          exception.printStackTrace();
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "window" is not defined. (<Unknown source>#1) in <Unknown source> at line number 1
            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:110)
            at com.sun.script.javascript.RhinoScriptEngine.eval(RhinoScriptEngine.java:124)
            at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:247)

  • Opening a new window after computations and validations

    Hi all
    I want to open a new popUp window after a submit button is clicked but this window should open only after all the validations assosiated with this button are executed. Please note that, I want to open this window before the process associated with this button can fire
    Any thoughts??
    Message was edited by:
    Shantanu

    Heres what I did
    I created a process called status bar to execute on submit and after computatuions and validations. This process contained the javascript to launch my new popup. This is the first process in after submit catagory. Logically it is supposed to execute before any other process but the problem is ...
    The status bar process is not executing on submit after computations and validations.I tried changing its process point to before computations and validatuions. No problems on before computations and validations if I have some validations error on that page. But if everything is validated in this case as well, We don't get the status window.
    If this is any help, here r the contents of the process in question :
    htp.p('<script language=javascript>');
    htp.p('function statusbar(page)');
    htp.p('{');
    htp.p('url = "http://flexfareserver:7777/pls/apex/f?p=101:" + page + ":&APP_SESSION.";');
    htp.p('win = window.open(url,"","Scrollbars=0,resizable=0,width=600,height=500");');
    htp.p('}');
    htp.p('statusbar(4)');
    htp.p('</script>');
    rout(11);
    end
    Notice the last statement in the process. This is a call to an external procedure called rout. This executes fine but just the htp.p is giving me problem, only in the particular case I spotted out.
    Please help

  • Centered Popup Window Extension

    For years I used this extension for GoLive to simply launch a
    window, sized accordingly, no toolbars, address bar, etc, and
    CENTERED precisely in the middle of the screen. It worked
    perfectly. It was written by Rasmussens Design Actions.
    The only extension I can find so far for Dreamweaver
    re-locates a popup window after it's launched, so the window scoots
    into place - pretty annoying.
    And, this is a two-step process - I have to add two scripts.
    One to launch the window from the main page, and another script in
    the actual popup window page to center it. Kind of a pain.
    Can anyone point me to a good, all-in-one extension for
    Dreamweaver that can do this?
    Thanks!

    thanser wrote:
    > Can anyone point me to a good, all-in-one extension for
    Dreamweaver that can
    > do this?
    http://fourlevel.com/dreamweaver/extensions/openbrowser/index.htm
    Danilo Celic
    | Extending Knowledge Daily :
    http://CommunityMX.com/
    | Adobe Community Expert

Maybe you are looking for

  • Tried to install Firefox 8.0, it says I have a newer version, but have a 3.6.24. How come?

    When I use Firefox (3.6.24) I get a page saying I need the newest version, 8.0. I download the new one, move the file from "Fetched files" and put it on my desk, where I open it. As I, in dialogue field, drag Firefoxsymbol over to Applications map, i

  • Can swap file cause a plugin crash?

    Hi Guys, I'm in the midst of trouble shooting a crashing Cubase 7.5 on the mid 2011 iMac. I'm hoping by posting a crash log some of you guys might be able to help. I've spent hours trying to replicate the problem by removing all plugins and then re-a

  • HELP NEEDED -MACBOOK CRASH AFTER LEOPARD UPDATE

    I have just downloaded iTunes 9.0 and then a Mac Update for Snow Leopard appeared so I downloaded that, restarted my MacBook but then I got a little message saying An error occurred installing MacUpdate My MacBook now doesn't start up!!! I switch it

  • Display Issues on Early 2011 Macbook Pro

    I am currently experiencing an undocumented problem for my 15 inch Macbook Pro (Early 2011 Version), and was hoping to get some help diagnosing what the issue might be. Lately, it seems that whenever I am doing anything that is computationally expens

  • Working auto-mount?

    Hi all, I have a xfce4 desktop installed. I want an automount service. I tried autoFS, with the following settings: auto.master /media /etc/autofs/auto.custom --timeout=15 auto.custom disc -fstype=auto,ro,nodev,nosuid :/dev/cdrom Backup -fstype=auto,