I want to call popup in the loop

Hi,
for example: I selected the N no.of rows in a table and click the button based on that  N no. of pop up i want to display.\
For this I got the selected elements in the table.here i have condition
loop at wa to itab.
if field ne empty.
LO_WINDOW->OPEN( ).
endif.
else
something.
endloop.
But only one poup is coming.can you please help me how to display the multiple popup.
Thanks
Ramkumar

METHOD ONACTIONVALIDATION .
  * getting the node zres_disp_new..
    DATA LO_ND_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_NODE.
    DATA LO_EL_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_ELEMENT.
    DATA LS_ZRES_DIS_NEW TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
    DATA LT_ZRES_DIS_NEW TYPE WD_THIS->ELEMENTS_ZRES_DIS_NEW.
  navigate from <CONTEXT> to <ZRES_DIS_NEW> via lead selection
    LO_ND_ZRES_DIS_NEW = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ZRES_DIS_NEW ).
  get element via lead selection
    LO_EL_ZRES_DIS_NEW = LO_ND_ZRES_DIS_NEW->GET_ELEMENT(  ).
LO_ND_ZRES_DIS_NEW->GET_STATIC_ATTRIBUTES_TABLE(
EXPORTING
   FROM   = 1
   TO     = 2147483647
  IMPORTING
    TABLE  = LT_ZRES_DIS_NEW
getting the error table node******
  DATA LO_ND_RR_EVALUTE_FINAL TYPE REF TO IF_WD_CONTEXT_NODE.
  DATA LO_EL_RR_EVALUTE_FINAL TYPE REF TO IF_WD_CONTEXT_ELEMENT.
  DATA LS_RR_EVALUTE_FINAL TYPE WD_THIS->ELEMENT_RR_EVALUTE_FINAL.
  DATA LT_RR_EVALUTE_FINAL TYPE WD_THIS->ELEMENTS_RR_EVALUTE_FINAL.
navigate from <CONTEXT> to <RR_EVALUTE_FINAL> via lead selection
  LO_ND_RR_EVALUTE_FINAL = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_RR_EVALUTE_FINAL ).
DATA wa_selected TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
DATA itab_selected TYPE WD_THIS->ELEMENTS_ZRES_DIS_NEW.
DATA lt_temp type  wdr_context_element_set.
DATA index type I.
DATA empty type string.
      empty = ' '.
* getting the user selected elements
CALL METHOD LO_ND_ZRES_DIS_NEW->get_selected_elements
      RECEIVING  set = lt_temp.
LOOP AT lt_temp INTO LO_EL_ZRES_DIS_NEW.
  CALL METHOD  LO_EL_ZRES_DIS_NEW->get_static_attributes
          IMPORTING   static_attributes =  wa_selected.
  if wa_selected-sumplus ne empty .
    wd_this->callpopupacceptreject( ). <b> based on the condition each  wa_selected elemnts calling the popup but here problem is not displaying the multiple times </b>
  else.
   <b> how to pass the  itab_selected to below FM.
      CALL FUNCTION 'ZBAPI_RR_EVALUATE'
         TABLES
           RES_DIS                    =     itab_selected <b>?</b>
           RES_DIS_ERROR       =   LT_RR_EVALUTE_FINAL.
      if sy-subrc = 0.
       wd_this->callerrorpopup( ) .
      endif.
  endif.
  APPEND wa_selected to itab_selected.
ENDLOOP.
LO_ND_RR_EVALUTE_FINAL->bind_table( LT_RR_EVALUTE_FINAL ).
method CALLPOPUPACCEPTREJECT .
   DATA LO_ND_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_NODE.
   DATA LO_EL_ZRES_DIS_NEW TYPE REF TO IF_WD_CONTEXT_ELEMENT.
   DATA LS_ZRES_DIS_NEW TYPE WD_THIS->ELEMENT_ZRES_DIS_NEW.
  navigate from <CONTEXT> to <ZRES_DIS_NEW> via lead selection
   LO_ND_ZRES_DIS_NEW = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_ZRES_DIS_NEW ).
  get element via lead selection
   LO_EL_ZRES_DIS_NEW = LO_ND_ZRES_DIS_NEW->GET_ELEMENT(  ).
  get all declared attributes
   LO_EL_ZRES_DIS_NEW->GET_STATIC_ATTRIBUTES(
     IMPORTING
       STATIC_ATTRIBUTES = LS_ZRES_DIS_NEW ).
*data lt_temp type wdr_context_element_set.
* getting the user selected elements
*CALL METHOD LO_ND_ZRES_DIS_NEW->get_selected_elements
     RECEIVING  set = lt_temp.
*LOOP AT lt_temp INTO LO_EL_ZRES_DIS_NEW.
*    *creating the window.
DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
DATA  popup        TYPE REF TO IF_WD_WINDOW.
LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
IF WD_THIS->POPUP IS INITIAL.
WD_THIS->POPUP        = LO_WINDOW_MANAGER->CREATE_WINDOW(
                   WINDOW_NAME            = 'ACCEPTREJECTWINDOW'
                  title                  = 'Manual Evalution'
                  close_in_any_case      = abap_true
                   MESSAGE_DISPLAY_MODE   = IF_WD_WINDOW=>CO_MSG_DISPLAY_MODE_SELECTED
                 close_button           = abap_true
                   BUTTON_KIND            = IF_WD_WINDOW=>CO_BUTTONS_yesno
                   MESSAGE_TYPE           = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
                   DEFAULT_BUTTON         = IF_WD_WINDOW=>CO_BUTTON_yes
seting the 'yes' action for the window popup
getting the view name
data view_name TYPE REF TO if_wd_view_controller.
view_name  = wd_this->wd_get_api( ).
WD_THIS->POPUP->SUBSCRIBE_TO_BUTTON_EVENT(
    BUTTON            = IF_WD_WINDOW=>CO_BUTTON_yes
   BUTTON_TEXT       = BUTTON_TEXT
   TOOLTIP           = TOOLTIP
    ACTION_NAME       = 'RADIO'
    ACTION_VIEW       = view_name
    IS_DEFAULT_BUTTON = ABAP_TRUE
ENDIF.
WD_THIS->POPUP->open( ).
*endloop.
endmethod.
method CALLERRORPOPUP .
* CALL WINDOW for error message.................
  DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
  DATA LO_API_COMPONENT  TYPE REF TO IF_WD_COMPONENT.
  DATA errpopup        TYPE REF TO IF_WD_WINDOW.
  LO_API_COMPONENT  = WD_COMP_CONTROLLER->WD_GET_API( ).
  LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
   wd_this->errpopup         = LO_WINDOW_MANAGER->CREATE_WINDOW(
                     WINDOW_NAME            = 'MESSAGE_EVALUATE_WIN'
                    title                  = 'Error message List'
                   close_in_any_case      = abap_true
                     MESSAGE_DISPLAY_MODE   = IF_WD_WINDOW=>CO_MSG_DISPLAY_MODE_SELECTED
                   close_button           = abap_true
                     BUTTON_KIND            = IF_WD_WINDOW=>CO_BUTTONS_OK
                     MESSAGE_TYPE           = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
                     DEFAULT_BUTTON         = IF_WD_WINDOW=>CO_BUTTON_OK
  wd_this->errpopup->OPEN( ).
endmethod.
Running the application based on that it is showing the error<b>Instance of the view MESSAGE_EVALUATE_WIN already exists in component </b>
can you please help me in the same.
Thanks
Ramkumar

Similar Messages

  • HT4623 I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I AM FACING PROBLEM AFTER UPDATING (7.0.4) MY PHONE MODEL 5C,AFTER THIS UPDATE SOME TIMES I CANT MAKE CALLS & SOME TIMES WHEN ANY BODY ELSE WANTS TO CALL ME BACK THE MESSAGE COME THAT THE USER IS NOT REACHABLE.PLS HELP

    I am facing the same issue! I bought 5c few days back
    and everything was fine till I updated the software 7.0.4!
    Whenever am connected to wifi am unable to make a call and if someone tries
    Calling me they get the message that my number is not
    Reachable! When I go back to 3G the calls work perfectly!!
    Please help me out since I use wifi more than my network.
    Appreciate any advise on this

  • Call transaction in the popup screen

    hi friends . ı want to call transaction in the popup screen.
    what do ı do ?
    thanks.

    to call a transaction in the popup screen
    can u give me one scenerio
    because
    try this
    create a program of type report
    in that "call screen '100' starting 10 10 ending at 100 100.
    and u click on this 100  and make the layout what ever u want
    and just go to se93 create transaction for this report program
    thats it
    if it ok
    then ur problem is solved
    or else it is not solved

  • Call or execute the procedure 1000 times simultaneously

    Hi all,
    I hava written a procedure. And i want to call or execute the procedure 1000 times simultaneously.
    I don't want like below
    for i in 1..1000 loop
    exec procedure1
    end loop;
    Any Idea ?
    Bye
    Nathan

    You want the procedure to run 1000 simultaneously? Well, one way to do this is to set up 1000 SQL*Plus sessions and prepare 1000 EXEC statements, which you kick off at the same time. This approach is good if you're a Hindu deity.
    Alternatively you can use DBMS_JOB to submit calls to the procedure, viz.
    for i in 1..1000 loop
       DBMS_JOB.SUBMIT(jobno , what=>'procedure1', next_date=> trunc(SYSDATE) + 11/24);
    end loop; This - trunc(SYSDATE) + 11/24 - ensures that all the jobs kick off at 11 o'clock in the morning. You may need to adjust the timing to suit your needs.
    Are you sure you have sufficient resources to run this job 1000 times?
    Vibes, APC

  • I forgot my security questions but I don't want to call apple support

    I forgot the answers to my apple security questions by I don't want to call apple support.

    The Three Best Alternatives for Security Questions and Rescue Mail
         If you do not have success with one, then try another:
            1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
            2.  Call Apple Support in your country: Customer Service: Contact Apple support.
            3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • Calling a procedure in the loop

    Just want to know one thing :
    I am calling a procedure with the following parameters
    DECLARE
        PROFIT_CENTER NUMBER;
    BEGIN
      PROFIT_CENTER:= 1109 --( Similarly I am running the proc for 5 more profit_centers 1123,1132,1122,3211,1111 one by one by passing values manually, it is taking almost a minute for each profit center)
    Prc_test_calc (  PROFIT_CENTER);
    COMMIT;
    END;
    For each profit_center proc is taking 1 mins (Approx) time.
    But when I am trying to loop it to call the procedure for each profit_center , I don’t know for what reason it is taking too much time for each profit_center
    Please let me know is there anything wrong with the below loop
    DECLARE
        PROFIT_CENTER NUMBER;
      cursor c_profit is
    select distinct PROFIT_CENTER from plng_pc where profit_center in (1109, 1123,1132,1122,3211,1111); -- Plng_pc is a table from where profit_center information is getting fetched
    BEGIN
    For pc_rec in c_profit
    loop
       Prc_test_calc (  pc_rec .PROFIT_CENTER );
      COMMIT;
    End loop;
    END;
    Could you please sugget me if something is going wrong?

    That depends on what the code is doing inside the proc, however how do you know that the select is not consuming more time and it is the procedure only. Your select -
    select distinct PROFIT_CENTER from plng_pc where profit_center in (1109, 1123,1132,1122,3211,1111);
    Is there a need to be commit inside the loop. It seems incomprehensible to me.

  • Datepicker PopUp opens in the calling PopUp window

    Hey Guys, I need some help on this...
    I have a button that opens a PopUp window, and in this PopUp I have a "Date Picker" item,
    And when I want to select a date, the calendar shows up in the same PopUp window, and I m loosing the calling PopUp(the first one).
    How can I do so, that to have my PopUp window, and the calendart to show up in another PopUp?
    Thanks in Advance

    Hi,
    that's because of the Window Name you specified. Specify another one or use the popUp2 method which will create a unique name.
    Hope that helps
    Patrick
    Check out my APEX-blog: http://inside-apex.blogspot.com

  • Using field i want to call the transcation code

    hi,
      by clicking the filed  i want to call the transcation code.how i can i do.
    regards
    Sivakumar

    <b>Hi u can do that in Menu painter..(Tcode SE41).</b>
    While creating the GUI status of a screen..
    U will go to SE41 that is Menu paniter screen.
    Here while creating the status for a list or screen of a particular program.. u will create the Push buttons in Application toolbar !! right!! GIve the function code in one of the input enabled box and double click on that..
    then u will get a popup window where u can give the function text and icon name and info text !! IN the <b>function text give the <u>transaction code here</u> in capital letters...</b> and select an icon.. <b>press enter</b> .. then it will take u to the <b>Function attributes window</b>  ... <u><b>here for the function type field give the input as 'T'. </b></u>
    and press enter .. save and activate it..
    regards,
    sai ramesh

  • Since you don't allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don't want documented, I am calling and I want this call recorded for future reference. I have been a long time fa

    Since you don’t allow emails any more – I suspect because of the numerous complaints with your service and the way you treat people that you don’t want documented, I am calling and I want this call recorded for future reference.
    I have been a long time faithful customer of vzw and although the past year I have been late on payments many times and really couldn’t afford your exorbitant prices for services lots of other companies offer sometimes three times cheaper than what you charge, I have hung in there trying my best to meet my obligations.
    This month has been no exception. You don’t know the background; the whole story of people’s lives. I know you could care less because all you care about is the profit-the money that comes in.
    I was told when I agreed to pay my bill on the third per the recorded message that I had 14 days to pay…you cut me off anyway. The phones are not the tissue; your suspending my service means I cannot work. I may lose my job…how do you justify that? In any case? The least you could do would be to keep 4986 on and cut the phones off. But no. You refuse to compromise and meet the basic needs of your customer. What does that say about your company? I tried to call back on three separate occasions to tell you I couldn’t pay because of unexpected expenses but couldn’t get out of the automated system…sadly couldn’t get to a real person which also speaks volumes to me.
    All this tells me this is a company I don’t wish to be affiliated with any more. As soon as I can, I will discontinue service with you…I know you could care less. I will honor the remaining portion of the contract but that’s it. You don’t deserve my business. I am a good, hardworking person who, at the sacrifice of myself and my needs, always pays her bills…albeit late at times. I realize others tell you stories and lies to justify themselves. That’s not me. If you knew what I had been through the last 7 yrs you would marvel that I am  still on my feet…don’t judge too quickly. You could be wrong…and in my eyes you are by doing this to me.
    God will see us through this extremely scary time of that I have no doubt. No thanks to your company and lack of understanding and mercy. I am doing the best I can. Sadly you are not.
    See I have choices. MANY choices of providers for services you offer. I don’t have to be treated like this. I don’t have to succumb to your coldness and callousness. I intend to choose better (and cheaper). If your company doesn’t get the “people factor” back you will be sorry.

    Problem here is you admit you cannot afford the service.
    And you want to blame Verizon for losing a job because you have no cell phone.
    If your job depends on that phone I would pay it on time every time if you need a job to pay your bill.
    No other service is going to treat you any different. And if you cannot afford Verizon's monthly invoice how are you going to afford new devices, activation fees, possible security deposits on any other cellular carrier? You can't.
    Also if you made an arraignment to pay and then decide you cannot do so, why should Verizon extend you service or credit, or why is it you want to use the service and data and not pay for it as agreed.
    Get a prepay phone. Its evident the cost is too high for you to afford on post pay.
    Good Luck

  • I want to fill the rows of the report from the loop

    I want to fill the rows of the report from the loop
    For example, in forms
    cursor bdl is select code,decode(:global.user_lang,1,name,2,latin_name) name
    from GL_ANALYSISHDR
    begin
         go_block('bdls');
         clear_block;
         first_record;
         for rec in bdl loop
         :bdls.code:=rec.code;
         :bdls.name:=rec.name;
         next_record;
         end loop;
         go_block('bdls');
         first_record;
    end;
    I tried to use the REF CURSOR
    But it return the values in one time and does not allow me to conduct and control of

    Why do you need to do it by a curesor loop? Can't you put the query in the datamodel of the report and simply pass the parameter to restrict the query?

  • Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial v

    Adobe is giving me the runaround when all i want to do is download the programs i bought several years ago. Anyone else experience this? Contacted support, was told i would get a call back.  Account blocked so I had to create a new one to download trial versions to compete my work.  So frustrated.

    You will need to have the serial number to activate the products. Please have then handy & also check the compatibility of the operating systems.
    Regards
    Rajshree

  • I have 2 photo albums on my iPhone that i want to delete. One is called "Photo Library" the other is called "iPhonePics". I cannot delete any of the photos in either album. How do I delete the photos and/or the albums?

    I have 2 photo albums on my iPhone that i want to delete. One is called "Photo Library" the other is called "iPhonePics". I cannot delete any of the photos in either album. How do I delete the photos and/or the albums?

    You can uncheck multiple songs by selecting all the songs you want to uncheck, then right-click and choose "uncheck selection".  Also, make sure that you have checked "Sync only checked songs and videos" on the Summary tab of your iTunes sync settings or the sync process will ignore your selections.
    You can remove all the photos from your camera roll using Preview on your Mac.  Connect your phone to your Mac, open Preview, go to File>Import from iPhone.  When your photos appear in Preview, select the photos you want to delete, then click on the icon at the bottom showing the red circle with the diagonal line through it (see image below), then click Delete.
    To remove photos from the Photo Stream album on your phone you'll have to either reset Photo Stream (deleting all the photos from iCloud) or turn off Photo Stream on your phone.

  • When i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i solve this?if i don t want a headset?when i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i

    when i m in a call i touch the screen with my cheek and i keep on putting calls on hols or speaker..how do i solve this?if i don t want a headset?

    SORRY, the picture is just to illustrate and to better show the area where the time display is located, same place in the iPhone 3gs, to my knowledge, the location is the same, due to the OS on both phones.
    Second, run the test to see if it works:
    1st test: go to phone mode, select dial key pad, put the tip of your thumb in top of the time display ( the screen will not go black), try to dial.
    2nd test: place a call, after starts ringing switch the display to dial pad, put the tip of your thumb on top of the time display, the screen will not go black, try to dial.
    THE SCREEN WILL ONLY GO BLACK ( INACTIVE) IF YOU TOUCH A LARGER AREA TO THE TOP OF THE DISPLAY, IF THE THUMB ONLY TOUCHES THE TIME DISPLAY AND A LITTLE PART OF THE AREA WHERE THE NUMBERS APPEAR THE DIAL PAD DID NOT WORK EVEN WITH THE DISPLAY NOT GOING BLACK (INACTIVE).
    I am also trying in my wife's iPhone 4 as I right this post and both phones behave the same way.
    I found out what I stated above after running tests to see if the case was affecting the phones performance.
    Due to the thickness of the case on the sensor area, it really did affect the way the sensor was supposed to work, after I cut that part on the case, the sensor started to work perfectly and the screen turns off during a call like it is supposed to do.
    So before someone go nuts thinking that the phone is not working and that they have to take it to repair, try seeing if the case is not interfering with the phones performance.

  • I want to know what's the conference call in community level and how to use it

    i want to know what's the conference call in community level and how to use it

    Welcome to Apple Support Communities
    Conference calls are got when you reach level 4. Sometimes, ASC hosts may do a conference call about something related to Apple Support Communities. You will be notified through mail or through the "Using Apple Support Communities" forum.
    The last community calls were only for level 6 and higher users, so it's possible that you don't get invited to any until you reach level 6

  • I want to call External Java class from the PL/SQL

    Hi,
    I am using Oracle Apps R11i (11.5.7), I wanted to call external Java class from the PL/SQL. This external Java class is residing in another application server.
    How do I do this.
    I know one way. Develop C routine in Oracle Apps to call external java class and call this C routine from the PL/SQL.
    Is there any simple method available? or any other method?
    Thanks in advance.
    -Venkat

    First of all, this is a Java application you're talking about, right (i.e. it has a main() function)? It's not just a class that you're trying to instantiate is it? If it's an application, you obviously have to start a new virtual machine to run it (rather than using the virtual machine built into the database like stored java). I'm a little leary of your mention of an "application server" as this would more commonly mean that a virtual machine is already over there running with access to this class. In which case, you'd typically interface with SOAP or some other RPC API.
    All that aside, as long as you have physical disc access (through NFS or whatever) to the class file, you could use a java wrapper class with a system call to do this. In fact, there is a thread in just the last day or so on this very forum that has the code to do just that (see " Invoking OS Commands from PL/SQL"). However, it's worth noting that the virtual machine will be running on the database server in this case and not the application server.

Maybe you are looking for