Popup dialog with 3 buttons to show internal table

Hi,
Is there any popup dialog that can show internal table and with 3 buttons?
Just like the combination of POPUP_WITH_3_BUTTONS_TO_CHOOSE and POPUP_WITH_TABLE.
Thanks in advance.

hi,
Use FM 'POPUP_TO_CONFIRM'.
Check the below example code
data parameters like spar occurs 0 with header line.
data Name(75) type c.
name = ' '.
Data : v_ecc6_text type string,
v_ecc6_title type string.
DATA: L_SVAR(1).
concatenate
'1'
'2'
'3'
into Name separated by space.
move Name to parameters-value.
move 'NAME' to parameters-param.
append parameters.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
TITLEBAR = 'Hai'
DIAGNOSE_OBJECT = 'ZDIALOG_TEXT'
TEXT_QUESTION = 'Hello'
DEFAULT_BUTTON = '1'
IMPORTING
ANSWER = L_SVAR
TABLES
PARAMETER = parameters
EXCEPTIONS
TEXT_NOT_FOUND = 1
OTHERS = 2.
Edited by: Raj on Jul 1, 2008 1:03 AM

Similar Messages

  • Popup dialog with 3 button

    does anyone know any FM which provides popup dialog with 3 button?

    hi Oscar,
    you can try:
    POPUP_WITH_3_BUTTONS_TO_CHOOSE
    hope this helps
    ec

  • Close ADF Popup Dialog with html button in Inline Frame

    hi,
    I'm using jdev 11.1.1.2,
    I have a adf popup dialog which contains an Inline Frame(source is a jsp file).I want to close the dialog with a html submit button in the frame page. when the submit button is clicked, auto close the dialog.
    can anyone help in this.
    Thanks

    Try to close the popup from Javascript using a sciptlet similar to the following one:
    var popup = AdfPage.PAGE.findComponent('<yourPopupClientId>');
    if (popup.isPopupVisible()) {
      popup.hide();
    }where <tt><yourPopupClientId></tt> should be replaced with the popup's client ID. The client ID is composed of the popup's ID from the <af:popup> tag preceded with IDs of the eventual parent naming containers where the popup has been declared.
    For example, if the tag is <tt><af:popup id="myPopup"></tt>, then the clientId might be:
    <tt>  myPopup
      container1:myPopup
      container1:container2:myPopup</tt>
    ... and so on, depending on where you have defined the popup in your JSF page (i.e. within which naming containers), you should determine it first.

  • 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

  • I am having problems with my button's showing up on the internet. I am using dreamweaver!!!!!!!

    I am having problem's with my button's showing up when I published the site.
    Before I published the website you could see the button's images in the preview's, but soon as I published the website the button's where there, but the image weren't
    this is my codeing
    Please help it would be much appreciate
    </style>
    <link href="css/layout.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    body,td,th {
              color: #FFF;
    #apDiv1 {
              position:absolute;
              width:526px;
              height:431px;
              z-index:1;
              left: 930px;
              top: 325px;
    </style>
    </head>
    <body>
    <div id="wrapper">
      <div id="logo"><a href="index.html"><img src="wettrades logo1 .jpg" width="922" height="200" alt="wettrades logo" /></a><a href="open trade acccount.html"><img src="openaccount.jpg" width="395" height="201" alt="open account" /></a></div>
      <div id="navigation"><img src="images /home button.jpg" width="266" height="117" alt="home button" /><img src="images /render 1 button.jpg" width="259" height="117" alt="render button" /><img src="images /adhesives &amp; waterproofing.jpg" width="277" height="117" alt="adhesives &amp; waterproofing " /><img src="images /tools button 1.jpg" width="263" height="116" alt="tool's button" /><img src="images /loaction button 1.jpg" width="255" height="116" alt="location button" /></div>I
    All The Very Best
    Entwisle1992 

    Firstly, I do not understand why you are using an absolutely positioned div for your button.
    And if you gave us an actual link to the website, we could see how the AP div actually does interact with your website.
    But I do have a hunch:
    Looks like you have positioned the button off the screen. If one has one's browser open to something like 900 pixels wide, your button will be 30 more pixels to the right of where the viewer's browser is. It will also be 325 pixels down from the top, which means it will be just below many headers.
    With AP divs, often browsers won't show you scroll bars if you have positioned something off the page.

  • Read MULTIPLE idocs data with all sgmn to my internal table in a single

    Dear SAP Folks!
    I have a question, I know to read SINGLE idoc data with all segments, we have FM IDOC_READ_COMPLETELY but my requirement is to Read MULTIPLE idocs data with all segments to my internal table in a single shot without keeping this FM in loop! since it is performance issue, at a time i may want to read 1000 idocs data!
    Could anyone please let me know is there any way to get this, keeping mind of performance and any other FM?
    Best Regards,
    Srini

    Hi,
    I know idoc numbers and i can write a select Query to DB table EDID4 to get all segments data to my internal table. But i am looking for FM to do this. because i have too many number of idocs and each idoc is having many segments(I am thinking in performance point of view!) The FM IDOC_READ_COMPLETELY can accept only ONE IDOC number as import parameters at a time to get segment data. in similar way do we have any other FM? or other way? except select query to EDID4 table?
    Best Regards,
    Srini

  • Create an internal table with the rows of another internal table.

    Hi I want to know if posible to create an internal table structure with the  rows of another internal table?
    ex.
    If in i_tab column A has this values: row 1 = first, row 2 = second, row 3 = third.
    Now I want that the structure of my internal table be: first, second, third

    Hi,
    If you do this way then what will be the difference between the two table anyway?? First internal table has the same structure irrespective of which row you select. and you are going to store the data from each row to the rows of the second internal table. In that case, the structure of the internal table is the same as first table. and it would have same rows.
    Am I missing something here? or you want to declare the internal table with each field being the structure of the first table? In this case you'd have to do a dynamic declaration of data as the first table can have any no of rows then the second table would have any no of fields in the structure.
    Now if you know that your first internal table is going to have a fixed no of rows eg 3 rows then it becomes simple. Do the following then
    Data: begin of second_table occurs 0,
    first type <first_table type>,
    second type <first_table type>,
    third type <first_table type>,
    end of second_table.
    Regards
    Prasenjit

  • 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

  • PopUp Dialog with SplitViewNavigator

    Hi,
    I created an application with a SplitViewNavigator taking care of 3 views.
    I want to create a PopUp Dialog to receive some user input.
    I have tried the examples that I have been able to find but they all place the dialog box in one of the views of the SplitViewNavigator instead of popping a dialog box up on the screen outside of the navigator.
    Has anyone found a solution to this?
    Neil

    hi Oscar,
    you can try:
    POPUP_WITH_3_BUTTONS_TO_CHOOSE
    hope this helps
    ec

  • Doubts with control break statements on internal table loops (AT/ENDAT)

    Hi, i've had a couple of doubts for a long while which I hope someone can clarify today:
    1) I know how to use the AT statements, however, i'm not sure I get correctly what this part of help regarding this commands means:
    <i>"The control level structure with internal tables is static. It corresponds exactly to the sequence of columns in the internal table (from left to right). In this context, the criteria according to which you sort the internal table are unimportant."</i>
    I've always sorted the internal table before the control break and it works that way. For example:
    SORT ITAB BY EBELN EBELP.
    LOOP AT ITAB.
      AT NEW EBELN.
    *   Code for the order header
      ENDAT.
    ENDLOOP.
    If I <b>don't</b> sort the internal table, it doesn't work! (i get dupplicated processing). In the example, if i have more than one register with the same EBELN and they're not consecutive, the header gets processed twice. I really don't get that part of the help text.
    2) I know this: <i>"At the start of a new control level (i.e. immediately after AT), the following occurs in the output area of the current LOOP statement:
    All character type fields (on the right) are filled with "*" after the current control level key.
    All other fields (on the right) are set to their initial values after the current control level key."</i>
    My doubt is: WHY is that this way? Because sometimes (most times) I need those fields INSIDE the statement! So when that happened i've solved it in one of three ways:
    LOOP AT ITAB INTO WA_ITAB.
      WA_ITAB_AUX = WA_ITAB.
      AT NEW FIELD.
        WA_ITAB = WA_ITAB_AUX.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    LOOP AT ITAB INTO WA_ITAB.
      AT NEW FIELD.
        READ TABLE ITAB INDEX SY-TABIX INTO WA_ITAB.
    *   ...Rest of the code for the first register
      ENDAT.
    ENDLOOP.
    * (Without AT)
    LOOP AT ITAB INTO WA_ITAB.
      IF WA_ITAB-FIELD <> FIELD_AUX.
        FIELD_AUX = WA_ITAB_FIELD.
    *   ...Rest of the code for the first register
      ENDIF.
    ENDLOOP.
    Is there any problem with this way of coding? Can be done better?
    Thank you very much in advance.

    Hi..,
    1)
    See if u sort the table on a field on which u r using AT ENDAT .. then all the records which are having the same value for that field will form a group or those reocrds will be at one place.. so when u sort the table for all the records  AT ENDAT  will get executed onli once..
    If u dont sort this table on this field then all these records will be at different places and in between there may be records with different value for this field.. so this AT ENDAT will get executed for each record !!
    2)
    No u cannot use the Right hand fields of the field in the table .. Because these AT events work as Group based operations... So till that field on which AT ENDAT is working it breaks that record into two groups.. One is the left hand fields including that field.. and right hand fields as another group.. and makes the right hand group as stars ****.  Thats y u can observe that even any one field in the left hand group changes the AT ENDAT will get executed  !!!!
    Hope u understood !!!
    regards,
    sai ramesh

  • Update the database table with the content of the internal table

    Hello!
      I have the next form:
      FORM erase_data.
    SELECT * FROM zadrress INTO CORRESPONDING FIELDS OF TABLE itab_adrress.
      DELETE TABLE itab_adrress: FROM zadrress,
                                 WITH TABLE KEY adrid = '456'.
      WRITE 'The information after the DELETE operation'
      COLOR 2.
      LOOP AT itab_adrress INTO wa_adrress .
        WRITE:/
               wa_adrress-adrid COLOR 5,
               wa_adrress-name COLOR 7,
               wa_adrress-email COLOR 5,
               wa_adrress-depart COLOR 7,
               wa_adrress-display COLOR 5.
      ENDLOOP.
      SKIP.
    LOOP AT itab_adrress INTO wa_adrress.
       MODIFY zadrress FROM wa_adrress.
       COMMIT WORK.
       IF sy-subrc = 0.
         WRITE 'OK !'.
         SKIP.
       ELSE.
         WRITE 'FAIL !'.
         SKIP.
       ENDIF.
    ENDLOOP.
      MODIFY zadrress FROM TABLE itab_adrress.
      UPDATE zadrress FROM TABLE itab_adrress.
    TRANSPORTING adrid, name, email, depart, display.
    INSERT zadrress FROM TABLE itab_adrress ACCEPTING DUPLICATE KEYS.
    PERFORM display_data .
    ENDFORM.                    "erase_data
    I see that my record is deleted  when I display the records from my internal table, but
    now I want to delete the record from database table.
       For that I want to move the content of the modified internal table in the database table. You can see the methods I tried (some of them commented), but nothing seems to work.
    Any advice ?
    Thank you.

    FORM erase_data.
    SELECT * FROM zadrress INTO CORRESPONDING FIELDS OF TABLE itab_adrress.
    DELETE TABLE itab_adrress: FROM zadrress,
    WITH TABLE KEY adrid = '456'.
    WRITE 'The information after the DELETE operation'
    COLOR 2.
    LOOP AT itab_adrress INTO wa_adrress .
    WRITE:/
    wa_adrress-adrid COLOR 5,
    wa_adrress-name COLOR 7,
    wa_adrress-email COLOR 5,
    wa_adrress-depart COLOR 7,
    wa_adrress-display COLOR 5.
    ENDLOOP.
    SKIP.
    LOOP AT itab_adrress INTO wa_adrress.
    MODIFY zadrress FROM wa_adrress.
    COMMIT WORK.
    IF sy-subrc = 0.
    WRITE 'OK !'.
    SKIP.
    ELSE.
    WRITE 'FAIL !'.
    SKIP.
    ENDIF.
    ENDLOOP.
    <b>DELETE FROM zadrress.</b>  "Make this change and try
    MODIFY zadrress FROM TABLE itab_adrress.
    UPDATE zadrress FROM TABLE itab_adrress.
    TRANSPORTING adrid, name, email, depart, display.
    INSERT zadrress FROM TABLE itab_adrress ACCEPTING DUPLICATE KEYS.
    PERFORM display_data .
    ENDFORM. "erase_data'.

  • Help with basic ABAP code (merge internal tables, sort of...)

    Hello,
    Can someone please help write some basic code for a Basis guy with limited ABAP knowledge?
    Should be some easy points for an experienced ABAPer!
    I have identicaly structured internal tables I_A and I_B and I_C which have already been filled by function models I called.
    How will I code the following?:
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    Then I want to read I_B and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_B is smaller than the value of MYFIELD in I_MASTER.
    Then I want to read I_C and:
    1)Update I_MASTER with NEW records
    2)Update existing records if the value of field MYFIELD in I_C is smaller than the value of MYFIELD in I_MASTER.
    Let me know if I can provide anymore information.
    Thanks in advance for you help!
    Adriaan
    Message was edited by: Adriaan
    Message was edited by: Adriaan

    Hi Adriaan ,
    I want to read all the data of I_A into a new internal table I_MASTER (structured the same as I_A,I_B and I_C).
    <b>i_master[] = i_a[] .</b>
    loop at i_b .
    read table i_master with key myfiled < i_b-myfield .
    if sy-subrc = 0 .
    append i_master from i_b .
    endif.
    endloop.
    loop at i_c .
    read table i_master with key myfiled < i_c-myfield .
    if sy-subrc = 0 .
    append i_master from i_c .
    endif.
    endloop.
    Let me know if this helped .
    Regards,
    Varun .
    Message was edited by: varun sonu

  • Problem with pdf output of an internal table

    Hi,
    My requirement is to get the internal table out put to be displayed through pdf in a table form.
    Internal table :  
         Matter       Matter Description -
    > Table Head
         0011            Standard            -
    > Table contents
         0022             Clerk
    I want this to be displayed through pdf in same format.
    I searched sdn and tried this way.
    Please help if am wrong anywhere.
    Thanks,
    Sandeep
    Edited by: SandeepReddy on Jun 9, 2010 9:13 AM

    types:begin of ty_mara,
    matnr type matnr,
    end of ty_mara.
    data i_mara type standard table of ty_mara.
    data itab like line of i_mara.
    DATA: v_handle LIKE sy-tabix,
    v_spool_id type RSPOID,
    v_rc TYPE c,
    v_errmessage(100) TYPE c,
    gd_spool_nr type RSPOID,
    gd_bytecount type i,
    v_text(70) TYPE c.
    types ty_pdf type tline.
    data it_pdf_output type standard table of ty_pdf.
    data i_pdf like line of it_pdf_output.
    gd_spool_nr = sy-spono.
    SELECT matnr FROM mara INTO TABLE i_mara.
    CALL FUNCTION 'RSPO_OPEN_SPOOLREQUEST'
    EXPORTING
    dest = 'LP01'
    LIFETIME = '8'
    IMPORTING
    handle = v_handle
    spoolid = gd_spool_nr
    rc = v_rc
    errmessage = v_errmessage.
    LOOP AT i_mara into itab.
    v_text = itab-matnr.
    CALL FUNCTION 'RSPO_WRITE_SPOOLREQUEST'
    EXPORTING
    handle = v_handle
    text = v_text
    IMPORTING
    rc = v_rc
    errmessage = v_errmessage
    EXCEPTIONS
    handle_not_valid = 1
    OTHERS = 2.
    ENDLOOP.
    CALL FUNCTION 'RSPO_CLOSE_SPOOLREQUEST'
    EXPORTING
    handle = v_handle
    IMPORTING
    rc = v_rc
    errmessage = v_errmessage
    EXCEPTIONS
    handle_not_valid = 1
    OTHERS = 2.
    CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = gd_spool_nr
    IMPORTING
    pdf_bytecount = gd_bytecount
    TABLES
    pdf = it_pdf_output
    EXCEPTIONS
    err_no_abap_spooljob = 1
    err_no_spooljob = 2
    err_no_permission = 3
    err_conv_not_possible = 4
    err_bad_destdevice = 5
    user_cancelled = 6
    err_spoolerror = 7
    err_temseerror = 8
    err_btcjob_open_failed = 9
    err_btcjob_submit_failed = 10
    err_btcjob_close_failed = 11
    OTHERS = 12.
    LOOP AT it_pdf_output INTO i_pdf .
    TRANSLATE i_pdf USING ' ~'.
    CONCATENATE OUTPUT i_pdf INTO OUTPUT IN CHARACTER MODE.
    ENDLOOP.
    TRANSLATE OUTPUT USING '~ ' .
      app_type   = 'APPLICATION/PDF;'.
        CALL FUNCTION 'SCMS_STRING_TO_XSTRING'
        EXPORTING
          text     = output
          mimetype = 'APPLICATION/PDF;'
        IMPORTING
          buffer   = l_xstring.
    CONCATENATE cl_abap_char_utilities=>byte_order_mark_little
                  l_xstring
             INTO l_xstring IN BYTE MODE.
      CONCATENATE 'attachment; filename=NIM2_matter_Summary_'
                  sy-uzeit
                  '.pdf'
             INTO l_content.
      CALL METHOD cl_bsp_utility=>download
        EXPORTING
          object_s            = l_xstring
          content_type        = app_type
          content_disposition = l_content
          response            = _m_response
          navigation          = _m_navigation
    Edited by: SandeepReddy on Jun 9, 2010 10:30 AM

  • 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.

  • Javascript not working in Popup/Dialog with contentDelivery=lazyUncached ?

    I am seeing following problem while using jdev 11.1.1.3.0
    The inline javascript function myTest2() is not available. any thought ?
    <af:commandButton text="commandButton 1" id="cb1">
    <af:showPopupBehavior popupId="p1" triggerType="action"/>
    </af:commandButton>
    <af:popup id="p1" contentDelivery="lazyUncached">
    <af:dialog id="d2">
    <af:resource type="javascript" source="test1.js" />
    <script type="text/javascript">
    function myTest2() {
    alert("you have called function myTest2");
    </script>
    Here is the content of Dialog
    calling myTest1()
    calling myTest2()
    </af:dialog>
    </af:popup>

    Please ignore the <af:resource which was added for comparison. The following code segment is trying to re-create the problem I have encountered in my project.
    The javascript is not working after the popup was showed. For some reason, the retrieved xmlhttp response not adding the javascript into the page.
    <af:commandButton text="commandButton 1" id="cb1">
    <af:showPopupBehavior popupId="p1" triggerType="action"/>
    </af:commandButton>
    <af:popup id="p1" contentDelivery="lazyUncached">
    <af:dialog id="d2">
    <script type="text/javascript">
    function myTest2() {
    alert("you have called function myTest2");
    </script>
    Here is the content of Dialog
    calling myTest2()
    </af:dialog>
    </af:popup>

Maybe you are looking for

  • Button to open a file

    I am using Flash 8 and would like to know if I can have a button in my movie open up a .pdf file either in Acrobat or a new html window? My movie will be run from a CD in a PC with no internet access. I am trying by using the following code on a butt

  • Create a link in a table calls sql statement

    Hello, I'm very new to htmldb but need to complete a project within a tight timeline. I created a sql report in a region. On each row, I have an on/off link, which used to trigger a sql statement. It turns a flag on and off in a table. Key needs to b

  • WPA2 support for c6380

    I'm thinking in buying a c6380 wireless printer. Does it support the following setup? Auth> WPA2-psk Encryption>AES In the specs, it doesn't show WPA2 support, only WPA and WEP with AES encryption. I guess it's supported as it is the standard nowaday

  • How to call QTP scripts using labview

    Whether any API or dll calls can be used to access the QTP scripts?

  • Problem in Acrobat PDFMaker

    Hi, i am using Acrobat 7 to convert the one word document into PDF, while in the conversion process i am getting following error. An error while creating a temporary file: Word was unable to write some of the embedded objects due to insufficient memo