ReturnListener invocation when closing popup window with (X) Button

When I use a bounded task flow in an inline-pop, when the user clicks on the upper right (X) button of the popup window, the ReturnListener
is not invoked which needs to be called in my use case because I need to refresh the caller’s table displayed in the calling screen. Do you know if there is a way to invoke the ReturnListener method to be invoked in case of closing the dialog via (X) button on the top right? Or how to refresh(addPartialTrigger) the caller’s table in that case.
This behavior is described in Andrejus following
http://andrejusb.blogspot.com/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html
Thanks for your feedback.
Best Regards,
JP

Hi,
We created our own region in popup system partly for that reason. You have to add a popupClosed client listener and send a custom event to the server to in turn call the returnListener. Sadly, it's really not simple to implement, so I cannot come up with a good solution for you. :(
Regards,
~ Simon

Similar Messages

  • Popup window with radio button-urgent

    Hi..
    Is ther any functionmodule for dispalying a popup window with radio button ....

    Use This
    K_KKB_POPUP_RADIO2
    I_TITLE   ...                      This is the title                       
    I_TEXT1   ...                      first radio button                      
    I_TEXT2    ...                     second radio button                     
    I_DEFAULT     ...                  default                     
    reward if useful
    Amit Singla

  • When closing Popup Window it does not ask "discard data?" dialog

    We have a popup window to create/update a record. When we click on 'Close Window' on this popup window with unsaved changes it does NOT show the dialog popup - "The changes you have made to this page have not been saved. If you continue, the changes will be discarded. Do you wish to continue?"
    What do I need to do to ensure the dialog popup is shown so that the underlying VO/EO are left in a consistent state before closing the popup window?
    At the moment, if the user navigates to the popup window a second time in the same session the EO cache is retained and causes create to fail.
    Regards
    Firoz

    The message you are talking about is a Warn About Changes message and it shows only if the user tries to navigate away from the page page without committing/rollbacking the data.
    As far as Window close is concerned check whether the windows.close() could be handled using Javascripts. As far as OA framework is concerned I would recommend you do not retain the AM while the pop up window is opened. This way no data from previous popup would be available. Just make sure that you pass sufficient parameters to initialize the popup everytime.
    Regards

  • Not closing popup window with firing Exitplug

    Hi Friends,
    Could you please help me in resolving below webdynpro issue.
    With a button (SAVE) click on 1st webdynpro application, Iu2019m calling a confirmation popup window using CREATE_POPUP_TO_CONFIRM method ("Data has been saved" is the message in the popup window). Then with the OK button on confirmation popup window, Iu2019m calling the EXIT plug to go to another webdynpro application
    Issue is: If I execute this webdynpro application in Enterprise Portal then the confirmation popup window is not getting closed even after reaching to the 2nd webdynpro.
    But If I execute direct webdynpro URL, confirmation pop is getting closed and there is no issue.
    CODE:
    Code for SAVE button action: Here Im calling the confirmation popup window.
        DATA: lt_text TYPE string_table.
        DATA: mr_popup_window TYPE REF TO if_wd_window.
    pop a confirmation window for display purpose
        DATA: l_window_manager TYPE REF TO if_wd_window_manager,
              l_cmp_api        TYPE REF TO if_wd_component,
        l_window         TYPE REF TO if_wd_window.
        l_cmp_api        = wd_comp_controller->wd_get_api( ).
        l_window_manager = l_cmp_api->get_window_manager( ).
        APPEND 'Data has been saved' TO lt_text.
        CALL METHOD l_window_manager->create_popup_to_confirm
          EXPORTING
            text           = lt_text
            button_kind    = if_wd_window=>co_buttons_ok
            default_button = if_wd_window=>co_button_ok
          RECEIVING
            result         = mr_popup_window.
    associated the action handling methods with the window
        DATA: view_controller TYPE REF TO if_wd_view_controller.
        view_controller = wd_this->wd_get_api( ).
        mr_popup_window->set_remove_on_close( abap_true ).    CALL METHOD mr_popup_window->subscribe_to_button_event
          EXPORTING
            button      = if_wd_window=>co_button_ok
            action_name = 'ON_SUCCESS_OK'
            action_view = view_controller.
        mr_popup_window->open( ).
    Code for OK button action of POPUP window: Here Im calling the EXIT plug.
        DATA: lr_ref TYPE REF TO ig_yics_userdefault,
              lv_url TYPE string.
        CALL METHOD cl_wd_utilities=>construct_wd_url
          EXPORTING
            application_name = 'YICS_HOMEPAGE'
          IMPORTING
            out_absolute_url = lv_url.
        lr_ref = wd_this->get_yics_userdefault_ctr( ).
        lr_ref->fire_go_exit_plg( url = lv_url ).
    Regards,
    Vijay.

    >Exit plugs do not work in a portal environment.
    This is a good point that I feel silly for not remembering...
    You can check if your application is running in the portal using the IF_WD_APPLICATION->GET_CLIENT_ENVIRONMENT method
      lo_api_componentcontroller = wd_this->wd_get_api( ).
      lo_api_application = lo_api_componentcontroller->get_application( ).
      l_client_environment = lo_ap_application->get_client_environment( ).
    if it is - then you can use the IF_WD_PORTAL_INTEGRATION interface
    lo_portal_integration = lo_api_componentcontroller->get_portal_manager( ).
    and the you can use the IF_WD_PORTAL_INTEGRATION methods to navigate eg - NAVIGATE_ABSOLUTE
    call method lo_portal_manager->navigate_absolute
        exporting
          navigation_target   = 'ROLES://portal_content/blah/test_URL'
          navigation_mode     = if_wd_portal_integration=>co_show_inplace
    If you're navigating in the portal you should probably have iViews set up for the apps you are calling, but it is possible to create a pass-through iView which will redirect to a URL passed as a parameter.
    [Setting the URL at Runtime - in URL iVIew|http://help.sap.com/saphelp_nw04/helpdata/en/45/85087d755d1f88e10000000a1553f6/frameset.htm]
      data lo_api_component  type ref to if_wd_component.
      data lo_portal_manager type ref to if_wd_portal_integration.
      data lt_params type wdy_key_value_list.
      data ls_param type wdy_key_value.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      ls_param-key = 'forcedURL'.
      ls_param-value = 'http://www.google.com'.
      append ls_param to lt_params.
      call method lo_portal_manager->navigate_absolute
        exporting
          navigation_target   = 'ROLES://portal_content/blah/test_URL'
          navigation_mode     = if_wd_portal_integration=>co_show_inplace
          use_sap_launcher    = abap_false
          launcher_parameters = lt_params.
    Hope this helps
    Chris
    Chris

  • Stuck Thread when closing dialog window with 'X' browser button

    Hello,
    I moved my application to JDev 11.1.1.3 and it seems I've got a problem appearing since. Here it is:
    I've a bouded task-flow having 5-6 JSP pages.
    3 of them can open a dialog window to show a PDF report using dialog:report such as:
    <control-flow-rule id="__1">
    <from-activity-id id="__2">etats</from-activity-id>
    <control-flow-case id="__3">
    <from-outcome id="__7">dialog:goReportEtat</from-outcome>
    <to-activity-id id="__8">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__9">
    <from-activity-id id="__10">real</from-activity-id>
    <control-flow-case id="__11">
    <from-outcome id="__13">dialog:goReportReal</from-outcome>
    <to-activity-id id="__12">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    <control-flow-rule id="__14">
    <from-activity-id id="__15">previ</from-activity-id>
    <control-flow-case id="__16">
    <from-outcome id="__18">dialog:goReportPrevi</from-outcome>
    <to-activity-id id="__17">report</to-activity-id>
    </control-flow-case>
    </control-flow-rule>
    When a go to "Etat" page, launch my report window, close it with the 'X' button of the browser and going back to let's say "Real" page, the page just won't load completely and I got this error after 10 mins:
    *<Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "616" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@1c68ec0[*
    *GET /myapp/faces/javascript/favicon.js?_adf.ctrl-state=1303iqjhth_40 HTTP/1.1*
    *User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 (.NET CLR 3.5.30729)*
    *Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8*
    *Accept-Language: fr*
    *Accept-Encoding: gzip,deflate*
    *Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7*
    *Keep-Alive: 115*
    *Connection: keep-alive*
    *Referer: http://127.0.0.1:7101/myapp/faces/my-flow/real?_adf.ctrl-state=1303iqjhth_7&_afrLoop=255213241325922*
    *Cookie: JSESSIONID=t942Mx3KqWtx05CvKcYMfGyCKNBV9nf27jsvLcpRMKJJnyng7Gjj!1056711659*
    *]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:*
    *     sun.misc.Unsafe.park(Native Method)*
    *     java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:747)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:778)*
    *     java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1114)*
    *     java.util.concurrent.locks.ReentrantLock$NonfairSync.lock(ReentrantLock.java:186)*
    *     java.util.concurrent.locks.ReentrantLock.lock(ReentrantLock.java:262)*
    *     oracle.adf.model.dcframe.DataControlFrameImpl.lock(DataControlFrameImpl.java:294)*
    *     oracle.adf.model.dcframe.DataControlFrameImpl.beginRequest(DataControlFrameImpl.java:336)*
    *     oracle.adf.model.BindingContext.setCurrentFrame(BindingContext.java:2107)*
    *     oracle.adf.model.BindingContext.setCurrentDataControlFrame(BindingContext.java:2009)*
    *     oracle.adfinternal.controller.util.model.DCFrameImpl.makeCurrent(DCFrameImpl.java:126)*
    *     oracle.adfinternal.controller.state.ViewPortContextImpl.makeCurrent(ViewPortContextImpl.java:1006)*
    *     oracle.adfinternal.controller.state.RequestState.setCurrentViewPortContext(RequestState.java:159)*
    *     oracle.adfinternal.controller.state.ControllerState.setCurrentViewPort(ControllerState.java:1247)*
    *     oracle.adfinternal.controller.state.ControllerState.releaseViewPort(ControllerState.java:1413)*
    *     oracle.adfinternal.controller.state.ControllerState.processViewPortReleaseQueue(ControllerState.java:2114)*
    *     oracle.adfinternal.controller.application.SyncNavigationStateListener.afterPhase(SyncNavigationStateListener.java:62)*
    *     oracle.adfinternal.controller.lifecycle.ADFLifecycleImpl$PagePhaseListenerWrapper.afterPhase(ADFLifecycleImpl.java:531)*
    *     oracle.adfinternal.controller.lifecycle.LifecycleImpl.internalDispatchAfterEvent(LifecycleImpl.java:120)*
    *     oracle.adfinternal.controller.lifecycle.LifecycleImpl.dispatchAfterPagePhaseEvent(LifecycleImpl.java:168)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$PhaseInvokerImpl.dispatchAfterPagePhaseEvent(ADFPhaseListener.java:124)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:70)*
    *     oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.afterPhase(ADFLifecyclePhaseListener.java:53)*
    *     oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:364)*
    *     oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:205)*
    *     javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)*
    *     weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)*
    *     weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)*
    *     weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)*
    *     weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     com.figaret.payroll.view.util.ApplicationSessionExpiryFilter.doFilter(ApplicationSessionExpiryFilter.java:124)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *     oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)*
    *     org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)*
    *     org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)*
    *     weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)*
    *     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)*
    *     weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)*
    *     weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)*
    *     weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)*
    *     weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)*
    *     weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)*
    *     weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)*
    *     weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)*
    *     weblogic.work.ExecuteThread.run(ExecuteThread.java:173)*
    After a while, my Weblogic Server throws an outOfMemoryException and I have to restart it which is dreadful in production mode.
    My report page contains just an inline tag receiving a bytes Arrays from a Servlet to show the PDF doc:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <f:view>
    <af:document title="#{res['report.title']}" id="d1">
    <af:form id="f1">
    <af:panelStretchLayout startWidth="0px" endWidth="0px" topHeight="30px"
    bottomHeight="30px" styleClass="AFVisualRoot"
    id="pt_psl1">
    <f:facet name="top">
    <!--<af:commandButton text="#{res['template.null']}" id="close"
    partialSubmit="true" visible="true"
    immediate="true">
    <af:returnActionListener/>
    </af:commandButton>-->
    </f:facet>
    <f:facet name="center">
    <af:inlineFrame shortDesc="#{res['report.title']}" id="if1"
    source="/pdf/report.pdf"/>
    </f:facet>
    </af:panelStretchLayout>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    I tested by putting a button into my report page to close the page and containing a returnActionListener tag and when I close the page with this button, everything is fine.
    <af:commandButton text="" id="close"
    partialSubmit="true" visible="true"
    immediate="true">
    <af:returnActionListener/>
    </af:commandButton>
    Is this normal?
    My problem is that our users are used to close the dialog using 'X' button so it is a 'must' for me to make it work.
    Is this normal? OR Am i doing something wrong there?
    I spent a full week looking for mistakes and searching into the net but I'm lost there
    Any help welcome! :)
    Jack

    Hi Puthanampatti,
    That's what I thought and I did try to do what you said:
    I added this into my report page:
    <f:facet name="metaContainer">
    <af:resource type="javascript">
    window.onbeforeunload = simulateClick;
    function simulateClick() {
    if (document.getElementById('close') != null) {
    // simulate a click
    //alert('simulate a click');
    document.getElementById('close').click();
    //alert('CLICKED');
    </af:resource>
    </f:facet>
    And here my close button into report page:
    <af:commandButton text="#{res['template.null']}" id="close"
    partialSubmit="true" visible="true"
    clientComponent="true" immediate="true">
    <af:returnActionListener/>
    </af:commandButton>
    But, this doesn't resolve the problem.
    When doing so, I have this javascript error:
    Erreur : AdfXMLRequest is not defined
    Fichier Source : http://127.0.0.1:7101/payroll/afr/partition/gecko/default/opt/core-11.1.1.3.0-0084.js
    Ligne : 457
    SO now I'm quite lost and dunno what to do next.
    I am 99% sure it was working well when I was developing with JDev11.1.1.2.
    Is it not a regression?
    Jack

  • When closing 2 windows(with multiple tabs each), system restore does not properly restore the second window's tabs. Is this a bug in the new update/any ideas to fix?

    I regularly use 2 windows with multiple tabs each and session restore would work to get them all back, but after this latest update the second window does not restore properly, with the first tab not visible on top(only in drop down menu) and the add a tab button now on the left(instead of right). The add a tab button is not really concerning other than it indicates other problems with the tabs on tab of the 2nd window. Not having the 1st tab visible is frustrating, because I can not move it or as easily navigate. Also, the tabs on top of the 2nd window that are visible no longer have the "x" to close visible unless that tab is selected. I'm assuming this is a problem with the new release/update, since this is the first time I've ever encountered the problem, and I've shut down and restored Firefox a few times to make sure this was a recurring problem and not a one-time deal. Any ideas on how to fix would be welcome(other than perhaps cramming my tabs onto one window or sucking it up XD).

    Hi,
    You can try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.
    If the problem persists, please try a [https://support.mozilla.org/en-US/kb/Managing-profiles?s=profile&r=0&e=sph&as=s new profile]. You can later copy [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s needed data] from the old profile to this.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • How to create popup window with radio buttons and a input field

    Hi Guys,
    Can somebody give some directions to create a stand alone program to create a window popup with 2 radio button and an input field for getting text value. I need to update the text value in a custom table.
    I will call this stand alone program from an user exit. 
    Please give me the guidance how go about it or please give any tutorial you have.
    Thanks,
    Mini

    Hi,
    There are multiple aspects of your requirements. So let's take them one at a time.
    You can achieve it in the report program or you can use a combination of the both along.
    You can create a standalone report program using the ABAP Editor (SE38). In the report program you can call the SAP Module pool program by CALL Screen <screen number>. And then in the module pool program you an create a subscreen and can handle the window popup with 2 radio button and an input field for getting the text.
    For help - Module Pool programs you can search in ABAP Editor with DEMODYNPRO* and you will ge the entire demo code for all dialog related code.
    For Report and other Module pool help you can have a look at the following:
    http://help.sap.com/saphelp_nw70/helpdata/en/47/a1ff9b8d0c0986e10000000a42189c/frameset.htm
    Hope this helps. Let me know if you need any more details.
    Thanks,
    Samantak.

  • I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' it won't go away-'delete' is greyed out-can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

    I upgraded to Mountain Lion (MacbookPro). Now when I open ical I get a popup window with a list I had added to Reminders app with the message 'Your calendar couldn't be refreshed' i--t won't go away-'delete' is greyed out--can't access calendar! Help!

  • Popup to confirm when closing browser window?

    Hi
    I want to display popup confirm window when closing browser window, "changes will be lost" yes or no. for this i searched forums got some idea, about "WORK PROTECT MODE". this will work only when our application running from portal. my doubt is where should i write code for this??? any help
    Thanks,
    kris.

    Hi Thomas,
    We are on ECC6.0 enph5.
    In system configuration in epc.loader(service) the value for work protect mode is set as 1 - Protect unsaved data (open page in a new window) 
    1)Is it possible to override this value within WD ABAP application? for example show popup window when there is unsaved data
    2)In this scenario what is the significance of L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
    and   L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
    3)Where exactly  L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG has to coded. It does trigger modify method of the view.
    Thanks,
    chamu

  • ABAP Web Dynpro Window Inactive After Closing Popup Window

    Hello ABAP'ers
    I have a custom ABAP Web dynpro applications that uses multiple tiers of popup windows.  This application was functioning properly in our ECC6.0, Basis release 7.00 Service level 15 environment.  However, we are currently installing EHP4 and moving or basis release to 7.01 service level 5. In this new environment, when multiple popup window tiers are closed simultaneously, the underlining window is not re-activated.
    Here's a more specific description:
    The application starts with a control panel window presenting a series of buttons.  Selecting one of these buttons activates a modal (I know... all web dynpro popups are modal) popup window for the purpose of maintaining some object.  If the user attempts to exit this window without saving the changes, another popup window appears asking if they want to save their changes.  If they say no, both the popup window asking the question and the popup maintenance window are closed, thus returning the user to the switchboard.
    The problem is that none of the functionality on the switchboard is active. the user must manually refresh the URL to "reactivate" the switchboard. 
    When only a single popup window is closed, the underlying window is properly reactivated.  The problem only occurs when multiple popups are closed together.
    Has anybody else seen this occur? Any ideas / notes around to correct it?
    Any info is greatly appreciated.
    R/
    Jim M

    Hello Jim, hello everyone,
    I am encountering the same issue.
    Is a solution known already?
    Thanks
    Johannes

  • Custom pushbutton in ME21N should display a popup window with item details

    Hello,,
    The requirement is to
    1. Add a custom pushbutton in ME21N screen at header level.
    2. The user will select some PO line items and will click on this push button.
        This inturn should trigger a popup window with item details only for those selected PO line items along with schedule line qty.
    I have created the custom push button in a custom tab using the BADI ME_GUI_PO_CUST.
    Now I am not able to retrieve item details and schedule line details inside the PAI of the custom tab..
    i.e., when i click on the custom push button, I am not able to retrive the item data and schedule line data.
    Please help me to retrive PO line item data and schedule line data.
    Regards,
    Sharah

    JSF is not so relevant in this question. It's all about how the generated client side code look like. Which is usually a bunch of HTML/CSS/JS (open page in browser, rightclick and view source). If you know HTML, you should know that using target="_blank" in a <form> or <a> element would open a new window. If you know JS, you should know that using window.open() would open a new window.
    Apply this so in the JSF source code so that the generated HTML/JS output is exactly what you want.

  • When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs..

    When closing Firefox windows, I would like a warning before the last window closes. The about:config settings do nothing. There is a warning for multiple tabs... why not for the last window? I do not use tabs... just windows... I have a mouse button programmed for that. It is really irritating to have to restart Firefox all the time and then open the history window because no warning was issued!

    This is ridiculous. I've had this problems for years now and I'm finally walking away from Firefox. I use my keyboards more than my mouse, and how many times does your finger slip and hit Command Q instead of W. How come FF can't reset something as trivial as this? So many people are having problems with this?
    Feels like FF has become too big, too slow and just not cooperative anymore. What a shame, I've been using Netscape/Firefox for 13 years. This is silly.

  • Popup windows with annotation

    When I click on an annotation, a litle popup windows is coming in the middle of the screen. Does it exit a way (preferences) to make this popup window to fit the entire screen (easier to read the text inside the popup windows with th vertical scroll bar).

    There is really no way to expand this popup ?
    Because on a PC, Adobe Reader is taking care of the dimensions I gave to this popup.
    I use QuickPdf library to do that. The command is :
    int QuickPDFAddNoteAnnotation(int InstanceID, double Left, double Top,
    int AnnotType, double PopupLeft, double PopupTop,
    double PopupWidth, double PopupHeight, wchar_t * Title,
    wchar_t * Contents, double Red, double Green, double Blue,
    int Open)
    Parameters
    Left The horizontal co-ordinate of the anchor for the annotation
    Top The vertical co-ordinate of the anchor for the annotation
    AnnotType The annotation type:
    0 = Note
    1 = Comment
    2 = Help
    3 = Insert
    4 = Key
    5 = New paragraph
    6 = Paragraph
    Add 100 to any of the above values to suppress the date shown in the popup
    annotation's title
    PopupLeft The horizontal co-ordinate of the left edge of the popup window
    PopupTop The vertical co-ordinate of the left edge of the popup window
    PopupWidth The width of the popup window
    PopupHeight The height of the popup window
    Title The title of the annotation
    Contents The body of the popup annotation
    Red The red component of the color of the annotation
    Green The green component of the color of the annotation
    Blue The blue component of the color of the annotation
    Open Specifies whether to show the annotation when the document is opened:
    0 = hide
    1 = show
    Unfortunatly the Android Adobe reader doesn't take care of theses values and put the popup windows in the middle of the screen
    It's very difficult to read the text on an galaxy SII : too small
    Thanks

  • I am using a Photoshop cs2, and I wonder if it is possible to keep the settings of the guidelines when closing an image, with the actual document ? It would be nice to have the guidelines locked down, I find it than when opening the same or another image,

    I am using a Photoshop cs2, and I wonder if it is possible to keep the settings of the guidelines when closing an image, with the actual document ? It would be nice to have the guidelines locked down, I find it than when opening the same or another image, the guidelines are not locked, it is annoying to have to lock them down again. and it would actually be nice, to ba able to give specific directions when placing the guidelines. Thanks

    Then why are the guides unlocked when I reopen a document that I saved with the guides locked ?
    Thanks.

  • I accidently closed my window with all my app tabs, now the only window that opens was a 2nd one I had open. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab?

    I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
    Details

    Then the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
    *http://kb.mozillazine.org/sessionstore.js

Maybe you are looking for

  • 3.1 Bug? - Images don't display properly after upgrade to 3.1 from 3.0

    When pages are displayed after the upgrade, the image appears the first time the page is opened. Once a user goes to another page, then come back to the page with the image, the image is no longer displayed. This happens when the browser is set to "C

  • Characteristic in BPS layout

    Hi all, I need to insert a characteristic in BPS level but not in the layout, it's possible? Thanks Gianmarco

  • The Message Pane shows up even when selected not to.

    When I open Thunderbird the Message Pane shows up. I have gone to View, Layout and deselected the Message Pane but it will show up again when I open Thunderbird. When I look at the layout again, the Message Pane is checked marked again. I have to des

  • Trouble getting started with AX

    I'm sorry if this issue has been addressed early; in perusing earlier posts I couldn't find exactly what I was looking for. I have purchased an AX and want to inlcude it in my home wireless network, which uses a Neatgear wireless router. I've plugged

  • Bapi /FM to update BSEG-ZLSPR

    Friends, Is there any BAPI or FM to update the field ZLSPR in table BSEG?. I wanto update that field from my abap proogram. is BAPI_ACC_DOCUMENT_POST helpful? Nash John