Reg: Parameterized Popup with Button

Hi team,
I have a reuiqrement as below :
Table Region : Header Data For each header i have a link to PopUP.
In the PopUP user will enter all the line information.
To save the line information i have use normal button bean and i was able to save data.
When i close the popUP window, i get a message saying : "Data Entered will be lost, do you still want to close"-->it is a browser warning message.
How to get rid off the above warning.
Please suggest.
Regards
Sridhar

Can you use a submit button instead? Popup will be automatically closed once you hit the submit button.
Thanks
Shree

Similar Messages

  • Variable screeen popup with button in bex

    Hi ,
    When I try to display variable screen using a button in bex, I get the following error. has anyone come across this. pls advise.
    BExItemButton.RenderData01: Unable to get the Item property of the OLEObjects classErr: Unable to get the Item property of the OLEObjects class
    Kartheek

    Sounds front end related, are all your Front end patches (FEP) upto date.  Might be worth downloading FEP 11.
    Cheers,
    Pom

  • 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

  • Invoking popup with taskflow train accepting parameters from a  region

    Hi All,
    I would like to know the best practice to implement the following use case. Jdeveloper used is Jdev11g.
    I have a taskflow DND as a region. The refresh property is set to if needed so that region is loaded when the input parameter is changed. The region displays the table and the contents of the table is modified in a another task flow train which is DND as a region in a popup and the popup is invoked on button click. The taskflow train in the popup accepts input paramters and the refresh is set to if Needed. The popup has to be closed at the end of task flow and also the parent region should be refreshed to reflect the updated value.
         I was not able to control the order of execution of action listener of button(to set the parameters required task flow) and show popup behavior( to invoke the popup). Show pop up behavior is executed before action listener and hence the parameters are not properly passed to the task flow.
    Here are few queries:
    1.To work around the above problem, we implemented a client listener to find and show the pop up.Is this the right way to do it?.
    2.Also at the end of the taskflow train taskFlowReturn returns to head of the task flow and the popup still remains in the window. We implemented a region navigation listener to identify the end of the task flow and hide the popup(is this right?).
    3.To refresh the parent region we find the component in the view tree and do region.getRegionModel().refresh(FacesContext.getCurrentInstance())( is this the right way to do it).
    4. The parameters are not passed properly when the table from which popup with taskflow train is invoked is the detail table of Master-detail relationship.
    Regards,
    Prakash

    Hi,
    this document describes best practices
    http://www.oracle.com/technology/products/adf/patterns/11.1.1.1.0/popupregionpattern.pdf
    Frank

  • Popup with four buttons

    Hi, I'm a newbie in ABAP and I want to create a popup with only four buttons (with my options), like a questionnaire, but without cancel button.
    I see the function C102_POPUP_TO_CONFIRM, I want something similar but without cancel button.
    can someone help me?
    Thanks!!

    Only a little doubt more
    Why SPACE string don't work in this situation:
      CALL FUNCTION 'C102_POPUP_TO_CONFIRM'
        EXPORTING
         titlebar                    = 'title'
          text_question               = 'question'
         text_button_1               = 'text1'
      ICON_BUTTON_1               = ' '
      I_ICON1_INFO                = ' '
         text_button_2               = 'text2'
      ICON_BUTTON_2               = ' '
      I_ICON2_INFO                = ' '
         text_button_3               = 'text3'
      ICON_BUTTON_3               = ' '
      I_ICON3_INFO                = ' '
         text_button_4               = 'text4'
      ICON_BUTTON_4               = ' '
      I_ICON4_INFO                = ' '
      DEFAULT_BUTTON              = '1'
       DISPLAY_CANCEL_BUTTON       = SPACE
      START_COLUMN                = 25
      START_ROW                   = 6
    IMPORTING
         answer                      = answer1.
    Thanks for all!!

  • Popup with text area & ok/cancel button

    Hi all,
    My requirement is to display a popup with a text area in editable mode along with 'Confirm' and 'Cancel' button. If the user changes the text, and presses the 'CONFIRM' the text is to be saved in DB.
    How do i implement this? Should i use a FM or modal dialog box?

    You can use simple modal dialog box ..
    using below syntax :
    CALL SCREEN 1100 STARTING AT 1 1.
    Select modal dialog box ( Screen type).
    Thanks
    Seshu

  • Popup cache with button has property immediate="true"

    Hi
    I am using jdevloper 11.1.2.2
    I have caching  problem with popup has contentDelivery="lazyUncached" and I add cancel  button on popup with  immediate="true" to skip validation in input fields at popup.
    After I click cancel button it hide popup , but again If I show popup, it still cache old data in input feilds.
    My popup source is as below
    <af:popup childCreation="deferred" id="compPop"
                      binding="#{pageFlowScope.CustomersBean.compPop}" autoCancel="disabled" contentDelivery="lazyUncached">
                <af:dialog id="d1" title="#{viewcontrollerBundle.COMPANY} #{pageFlowScope.mode}" closeIconVisible="false"
                           type="none">
                    <f:facet name="buttonBar">
                        <af:toolbar id="t2">
                            <af:commandButton text="#{viewcontrollerBundle.SAVE}" id="cb6"
                                              actionListener="#{pageFlowScope.CustomersBean.onClickSaveCompPop}"/>
                            <af:commandButton text="#{viewcontrollerBundle.CANCEL}" id="cb7"
                                              actionListener="#{pageFlowScope.CustomersBean.onClickCancelCompPop}"
                                              immediate="true"/>
                        </af:toolbar>
                    </f:facet>
                    <af:panelFormLayout id="pfl1">
                        <af:inputText value="#{bindings.CompanyNumber.inputValue}"
                                      label="#{bindings.CompanyNumber.hints.label}"
                                      required="#{bindings.CompanyNumber.hints.mandatory}"
                                      columns="#{bindings.CompanyNumber.hints.displayWidth}"
                                      maximumLength="#{bindings.CompanyNumber.hints.precision}"
                                      shortDesc="#{bindings.CompanyNumber.hints.tooltip}" id="it1">
                            <f:validator binding="#{bindings.CompanyNumber.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.CompanyName.inputValue}" label="#{bindings.CompanyName.hints.label}"
                                      required="#{bindings.CompanyName.hints.mandatory}"
                                      columns="#{bindings.CompanyName.hints.displayWidth}"
                                      maximumLength="#{bindings.CompanyName.hints.precision}"
                                      shortDesc="#{bindings.CompanyName.hints.tooltip}" id="it2">
                            <f:validator binding="#{bindings.CompanyName.validator}"/>
                        </af:inputText>
                        <af:selectOneChoice value="#{bindings.CompCategory.inputValue}"
                                            label="#{bindings.CompCategory.label}"
                                            required="#{bindings.CompCategory.hints.mandatory}"
                                            shortDesc="#{bindings.CompCategory.hints.tooltip}" id="soc3">
                            <f:selectItems value="#{bindings.CompCategory.items}" id="si3"/>
                        </af:selectOneChoice>
                        <af:selectOneChoice value="#{bindings.City.inputValue}" label="#{bindings.City.label}"
                                            required="#{bindings.City.hints.mandatory}"
                                            shortDesc="#{bindings.City.hints.tooltip}" id="soc4">
                            <f:selectItems value="#{bindings.City.items}" id="si4"/>
                        </af:selectOneChoice>
                        <af:inputText value="#{bindings.Tele1.inputValue}" label="#{bindings.Tele1.hints.label}"
                                      required="#{bindings.Tele1.hints.mandatory}"
                                      columns="#{bindings.Tele1.hints.displayWidth}"
                                      maximumLength="#{bindings.Tele1.hints.precision}"
                                      shortDesc="#{bindings.Tele1.hints.tooltip}" id="it3">
                            <f:validator binding="#{bindings.Tele1.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Tele2.inputValue}" label="#{bindings.Tele2.hints.label}"
                                      required="#{bindings.Tele2.hints.mandatory}"
                                      columns="#{bindings.Tele2.hints.displayWidth}"
                                      maximumLength="#{bindings.Tele2.hints.precision}"
                                      shortDesc="#{bindings.Tele2.hints.tooltip}" id="it4">
                            <f:validator binding="#{bindings.Tele2.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Fax.inputValue}" label="#{bindings.Fax.hints.label}"
                                      required="#{bindings.Fax.hints.mandatory}"
                                      columns="#{bindings.Fax.hints.displayWidth}"
                                      maximumLength="#{bindings.Fax.hints.precision}"
                                      shortDesc="#{bindings.Fax.hints.tooltip}" id="it5">
                            <f:validator binding="#{bindings.Fax.validator}"/>
                        </af:inputText>
                        <af:inputText value="#{bindings.Website.inputValue}" label="#{bindings.Website.hints.label}"
                                      required="#{bindings.Website.hints.mandatory}"
                                      columns="#{bindings.Website.hints.displayWidth}"
                                      maximumLength="#{bindings.Website.hints.precision}"
                                      shortDesc="#{bindings.Website.hints.tooltip}" id="it6">
                            <f:validator binding="#{bindings.Website.validator}"/>
                        </af:inputText>
                    </af:panelFormLayout>
                </af:dialog>
            </af:popup>

    Hi,
    can you try and add the af:resetActionListener tag to the cancel button ?
    http://docs.oracle.com/cd/E28280_01/apirefs.1111/e12419/tagdoc/af_resetActionListener.html
    Frank

  • How to add a parameterized Popup to seeded iProc page by Personalisation ?

    Hi
    I'm trying to add a button on the iProcurement 'Add To Cart' region (ResultsInParagraphRN), to display a standard OAF popup. Release 12.
    Please let me know where I went wrong :)
    1. I read the OAF Dev Guide on popups, as far as I can currently follow it ...
    2. I made a region in a different project, and a test page, and successfully deployed that project so I can call the popup, so far no problem.
    3. I used personalization to create a Parameterized Popup and a Button to call it, in iProc, using the same values as above.
    4. When I click on the button in iProc, there is no reaction other than an 'Error on Page' indication in the browser.
    In IE6 - still our standard browser :(, I get and 'Error on Page' message, which then gives a message 'object required'.
    In Firefox, I see this message : 'popupdiv is null'. line 132 in popup.js - the last line of this fragment is highlighted -
    *//To avoid code redundency this is commen mehtod for showpopup and showpopuponppr.*
    function displayPopup()
    var winW = 630, winH = 460;
    t = document.getElementById(currentElement);
    *if (parseInt(navigator.appVersion)>3) {*
    *if (navigator.appName=="Netscape") {*
    winW = window.innerWidth;
    winH = window.innerHeight;
    *if (navigator.appName.indexOf("Microsoft")!=-1) {*
    winW = document.body.offsetWidth;
    winH = document.body.offsetHeight;
    width=popupDiv.style.width;_
    So, either I have gone wrong somewhere, or there is an issue with the Javascript generated by Framework?
    Thanks in advance for any help!

    user13501968 wrote:
    Hi ,
    Your popup id's are not properly generated.For popups under table the id's should be generated like
    tablename:popupname but in your case it is just popupname alone
    thats why you get javascript error since in run time java script cannot find popup of type tablename:popupname.
    Please share the page structure.
    Meanwhile try adding the popup under rowlayout instead of flowlayout.
    Regards,
    Guru Krishnan.Hi
    Here is (part of) the page structure (table is already nested inside another). The bit I added starts
    at <oa:flowLayout id="CustomFlow">
                  <oa:rowLayout id="ControlsRow" width="100%">
                     <ui:contents>
                        <oa:cellFormat id="AddToCartTopCell">
                           <ui:contents>
                              <oa:tableLayout id="AddToCartTableLayout">
                                 <ui:contents>
                                    <oa:rowLayout id="AddtoCartRow">
                                       <ui:contents>
                                          <oa:cellFormat id="QuantityFormatCell" extends="/oracle/apps/icx/icatalog/shopping/webui/QuantityFormatRN" rendered="${oa.current.IsItemAvailable}"/>
                                          <oa:cellFormat id="AddToCartSpacerCell" rendered="${oa.current.IsItemAvailable}">
                                             <ui:contents>
                                                <oa:spacer id="AddToCartSpacer" width="5"/>
                                             </ui:contents>
                                          </oa:cellFormat>
                                          <oa:cellFormat id="AddToCartButtonCell" rendered="${oa.current.IsItemAvailable}">
                                             <ui:contents>
                                                <oa:button id="AddToCart" text="Add to Cart" prompt="Add to Cart" shortDesc="Adds this item to your shopping cart." rendered="${oa.ShoppingPVO.IsIPFlow}"/>
                                                <oa:button id="AddToDocument" text="Add to Document" prompt="Add to Document" shortDesc="Adds this item to your document." rendered="${oa.ShoppingPVO.IsSicFlow}"/>
                                                <oa:flowLayout id="CustomFlow">
                                                   <ui:contents>
                                                      <oa:popUp id="CustomPopup" popupType="ParameterizedPopup" popupRegion="/oracle/apps/xxfss/newcart/webui/AddToCartRN" popupParameters="pItemId={@ItemId}" popupTitle="CustomPopup" height="200" width="400" readOnly="false" shortDesc="CustomPopup" comment="Custom Popup Region"/>
                                                      <oa:button id="CustomButton" popupId="CustomPopup" popupEnabled="true" text="Custom Button" prompt="Custom Button" shortDesc="Custom Button Additional Text" comment="Custom Button Comments"/>
                                                   </ui:contents>
                                                </oa:flowLayout>
                                             </ui:contents>
                                          </oa:cellFormat>
                                          <oa:cellFormat id="ItemNotAvailableCell" rendered="${oa.current.IsItemNotAvailable}">
                                             <ui:contents>
                                                <oa:formattedText id="ItemNotAvailableText" shortDesc="This item is not available." styleClass="OraTipText" text="This item is not available."/>
                                             </ui:contents>
                                          </oa:cellFormat>
                                       </ui:contents>
                                    </oa:rowLayout>
                                 </ui:contents>
                              </oa:tableLayout>
                           </ui:contents>
                        </oa:cellFormat>                                                           

  • "Define query parameters" popup in Dataset properties - Refersh field, not displayed for Sps in SSDT 2010 (Works fine in BIDS)

    When we upgraded our SSRs projects to 2012, we are facing an issue in Data tools environment.
    When we click REFRESH FIELDS button in Dataset properties, With query type as SP (For all our sps), the "Define query parameters"  popup is not displayed. 
    When we checked the SQL Profiler for queries executed at back end , NULL values are used for parameters.
    But when we Used the QUERY DESIGNER button, and clicked execute for sp, the popup comes.
    For User defined Functions, the Popup comes correctly.
    In BIDS, still we can open the RDLs and do the operations correctly
    Please advice

    Dear Wendy Fu
    My Scenario is different.
    In Query Designer, Every thing is fine (Parameter Popup is coming, and fields are populated under data set)
    But what we need to do is
    1, Select Query Type As SP
    2, Select the required SP
    3, Click Refresh Button
    4, A "Define
    query parameters" window popsup
    5, Provide values and click Ok
    6, Fields will be populated under the dataset
    The issue we face is that, we are not getting the  Define query parameters popup,
    Hence NULL values are passed to execute the sp, to retrieve the fields set.
    The Work around we are using now is editing the sp, and use
    set @Parameter = Value
    for each parameters in sp, and then we get the fields populated under dataset, when we click refresh.
    The issue exists in both  MSDT for
    Visual studio 2010 &  MSDT for  Visual studio 2012.
    But every thing is fine in BIDS with VS 2008 Shell for the same RDL

  • Error after close popup with swfloader

    Hi all, hope some one could help me with this i get this
    error ( Error: Unable to load '' ) each time after i close a popup
    with a swfloader the error popsup when i click on the datagrid
    *****************************main mxml
    private function ShowPano():void
    var SWFLoaderInstance:Panoramica2 =
    Panoramica2(PopUpManager.createPopUp(this,Panoramica2,true));//
    instantiate and show the title window
    PopUpManager.centerPopUp(SWFLoaderInstance);
    SWFLoaderInstance.mainAppPano = this //Reference to the main
    app
    scope
    *******************************this is the mxml Panoramica2
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="doInt()"
    cornerRadius="10" width="600" height="450">
    <mx:Script><![CDATA[
    import mx.controls.PopUpMenuButton;
    import mx.managers.PopUpManager;
    import mx.collections.ArrayCollection;
    import mx.controls.Button;
    [Bindable]public var mainAppPano:Object = null;
    //called by the close event raised byclicking the close
    button
    private function closeWindow():void
    PopUpManager.removePopUp(this);
    }//closeWindow
    private function doInt():void
    PopUpManager.centerPopUp(this);
    ]]>
    </mx:Script>
    <mx:TitleWindow layout="absolute" right="10" left="10"
    showCloseButton="true"
    close="closeWindow()" top="10" bottom="10">
    <mx:SWFLoader
    source="{mainAppPano.datagrid.selectedItem.pano..src}"
    scaleContent="false"
    horizontalCenter="0" verticalCenter="0"/>
    </mx:TitleWindow>
    </mx:Canvas>
    ********************************xml structure
    <catalog>
    <libro>
    <name><![CDATA[<b>Biblioteca Central
    </b> ]]></name>
    <desc><![CDATA[Se inauguró el 20 de noviembre
    de 1978 ]]></desc>
    <imagen>FOTOS/est/Biblioteca Central Manuel Bartlett
    Bautista.jpeg</
    imagen>
    <pano nombrePano="Biblioteca Central Bautista">
    <src>FOTOS/Panoramicas/PanoZoom642007.swf</src>
    </pano>
    <ico>BOTONES/gifs/video.gif</ico>
    <video nombreVid="Biblioteca Manuel Bartlet">
    <src>VIDEOS/Biblioteca Manuel Bartlet.flv</src>
    </video>
    <audio/>
    <pie>Biblioteca Central Manuel Bartlett
    Bautista</pie>
    </libro>
    </catalog>

    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    var test = $x('P7_FLAG').value;
    if(test == '1')
    window.close();
    window.opener.doSubmit('REFRESH');
    </script>javascript does not wait for the current action to complete and then perform the next line.
    means in your function call
    doSubmit('SUBMIT');is triggered and it carry on's to next line that is
    $x('P7_FLAG').value;this will not be set because you are setting the value of P7_FLAG to 1 in plsql and trying to check in javascript, which will not work.
    what you need to do is amend your js function like below
    <script type="text/javascript">
    function saveChanges(){
    doSubmit('SUBMIT');
    </script>create a page branch to procedure and make it conditional to when P7_FLAG = 1
    and set the branch source to below
    htp.p('window.close();');
    htp.p('window.opener.doSubmit(''REFRESH'');');

  • Popup with open and save file option

    Hi,
    I have created a button on my page name as "Export File" and created a process and called on "EXPORT FILE" button. I am using utl file in this procedure and i want to download this file and file will be .ics file using for calendar.
    My page process code is
    begin
    pro_create_ical(:P6_START_DATE,:P6_END_DATE);
    end;when i click on export file button it should raise a popup with open and save file option.
    How i can do this?
    Thanks & Regards
    Vedant
    Edited by: Vedant on Jan 25, 2013 1:59 AM
    Edited by: Vedant on Jan 25, 2013 2:00 AM
    Edited by: Vedant on Jan 25, 2013 3:49 AM

    Shiv,
    Have you installed any new Software/Spyware/Virus Scanner etc.Check it out.It might have caused the issue for last 5 days.
    This issue is fixed in Latest Support Package Versions.
    Which Version of Support Package you are using?
    If EP6 <SP19 you will face this issue.
    Just upgrade it to EP6, Support Pack-19,this will be resolved.
    Upgrade of Support Pack wont take much time.you can get the document under http://service.sap.com/instguides
    Hope it helps
    Regards,
    Karthick Eswaran
    *Reward Points for helpful answers.

  • Popup with generic ALV to display all fields of a structure

    Hello WebDynpro Experts,
    I have developed a WebDynpro application using an ALV control to display all the search results in a table.
    The number of columns shown in this table is reduced by a default view, that is preset for all users.
    In the SAP GUI there is a standard feature to show all the details of a record in a pop up window.
    E.g. in WE02 you see a few fields in the ALV table, and when you click on the details button, you get a popup with all the fields of the selected line.
    Is there something similar in the ALV table for WebDynpro?
    I want to show all the fields of the selected structure in a generic table with two columns: Field label and value.
    Can anybody help?
    Regards,
    Jürgen

    Hello Jurgen,
                    When you select a particular row in ALV table, you can get the data in that row by using ONLEADSELECT
            method from used component(SALV_WD_TABLE).
                   And i Guess you can get all the field names of that structure from DD03L table and you can display them
            in a generic table.
        Regards,
        Harry

  • Popup with the text "Security Breach" in Safari

    My son told me he saw a popup with the text "Security Breach" when visiting a website. He is concerned that his phone may be compromized. He is using Safari, iOS 6.0.1 on a iPhone 4S. The was a n OK button on the popup. He pressed it and the popup disappeared. Is there serious danger here?

    This may be caused by a problem with an add-on. Try the procedure in the [[Troubleshooting extensions and themes]] article.

  • How to create a popup with link without creating any screen

    Hi experts,
    Is the any function module or way to create a popup with a link inside (for e.g. to forums.sdn.sap.com)?
    I do not want to create any screen and call that screen.
    Thanks,
    Khanh

      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
        EXPORTING
          TITEL        = 'Title POPUP_TO_DISPLAY_TEXT'
          TEXTLINE1    = 'Message to display'
          TEXTLINE2    = ' '
          START_COLUMN = 25
          START_ROW    = 6.
    CALL FUNCTION 'POPUP_TO_CONFIRM_WITH_MESSAGE'
    EXPORTING
      DEFAULTOPTION        = 'Y'
       DIAGNOSETEXT1        = 'This is Testing'
      DIAGNOSETEXT2        = ' '
      DIAGNOSETEXT3        = ' '
      TEXTLINE1            = 'Do You want to Exit'
      TEXTLINE2            = ' '
       TITEL                = 'POPUP_TO_CONFIRM_WITH_MESSAGE'
      START_COLUMN         = 25
      START_ROW            = 6
    *----for the display of cancel button  do like this.
      CANCEL_DISPLAY       = ' '
    IMPORTING
      ANSWER               = ANS
      IF ANS = 'J' .
    *---put code on selecting yes
      ELSE.
    *---put code on selecting no
      ENDIF.

  • Popup Windows Buttons

    Hi,
    we create the buttons when opening the popup windows , like as
    lr_popup = lr_window_manager->create_window(
      MODAL               = ABAP_TRUE
      window_name         = 'CHGOFFER'
           "Name of the window created in step 2
      TITLE               = 'Talep Deu011Fiu015Ftir'
      CLOSE_BUTTON        = ABAP_TRUE
      BUTTON_KIND         = if_wd_window=>CO_BUTTONS_YESNOCANCEL
    *  MESSAGE_TYPE        = if_wd_window=>co_msg_type_error
    *  CLOSE_IN_ANY_CASE   = ABAP_TRUE
    *  MESSAGE_DISPLAY_MODE = MESSAGE_DISPLAY_MODE
    ** Adds an action to the popup screen buttons
    lr_view_controller = wd_this->wd_get_api( ).
    lr_popup->subscribe_to_button_event(
                  button = if_wd_window=>co_button_yes
                  button_text = 'Onayla'
                  action_name = 'APPROVE'
                  action_view = lr_view_controller
                  is_default_button = abap_false ).
    lr_popup->subscribe_to_button_event(
                  button = if_wd_window=>co_button_no
                  button_text = 'Sil'
                  action_name = 'DELETE'
                  action_view = lr_view_controller
                  is_default_button = abap_false ).
    lr_popup->subscribe_to_button_event(
                  button = if_wd_window=>co_button_cancel
                  button_text = 'Reddet'
                  action_name = 'REFUSE'
                  action_view = lr_view_controller
                  is_default_button = abap_false ).
      lr_popup->open( ).
    we can create only 3 buttons as 'YES NO CANCEL' with this method becase of IF_WD_WINDOW interface has type of WDR_POPUP_BUTTON_KIND.
    But i want to create 5 buttons for my popup window. is it possible?
    Can somebody help me pls?
    Thanks.

    As someone has already stated you can design as many buttons as you want into the view that you embed into the popup.  However for the bottom bar of the popup, you can only work with the buttons that SAP provides.  You can not add custom buttons into this bottom bar. 
    Personally when I have custom buttons, I go ahead and hide all of the standard buttons in the bottom bar.  I recreate them on the same button line as my custom buttons so that the interface looks more consistent.

Maybe you are looking for

  • HT4106 Cannot read the connected storage media error comes when I connect my SDHC card using apple camera connection kit

    When I connect SDHC card using iPad camera connection kit I am getting error message 'cannot read the connected storage media'

  • Displaying Custom Opportunity Fields in Accounts

    Hi, We have created custom opportunity fields via EEWB. We would also like to display these fields in the Accounts page, in the Opportunities assignment block as columns. The fields were already part of the BUILOPPORTUNITY context node. I have create

  • SNP Forecast consumption based on Delivery

    Hi Gurus, What would be the config required for rqmt strategy /anything else for consuming forecast in APO whenever a delivery is made in R3? Is there anything reqd on R3 side as well? I tried few rqmt strategies with net segment and category group o

  • Flash player for Device central

    Every time i try to preview a page in device central i get a message saying i need a flash player plugin. I click on ok and it takes me to adobe site that has download links for flash player 9. I have downloaded it 3 times now and i keep getting the

  • Could not complete get pdusage

    When I drag and drop a VO, as an ADF Table, on to the af:panelPage, I get the following error message: "Could not complete get pdusage from application because it would result in an invalid document" DETAILS: oracle.bali.xml.model.XmlReadOnlyExceptio