How to give a popup with back end data in struts

I have a page having information corresponding to a particular role..and there is a button for mapping/unmapping resources to that particular role...The problem is this button should open a pop-up with the whole resources' list with checkmark in already mapped resources' checkbox...and the user can then do map/unmap as he likes...i am using struts+spring dispatchactionsupport....
i have given the button as..
<html:button value="Map Resource" onclick="javascript:popitup('Role_Map_Resource.jsp')" property="mapping" styleClass="orangebtn"></html:button>
and in script
function popitup(url) {
     newwindow=window.open(url,'name','height=300,width=300');
     if (window.focus) {newwindow.focus()}
     return false;
But even this pop-up is not working...it's giving 404 error....only after getting this i can think of pre-populating it....Pls help if anyone knows what's wrong in this code.....

Well, thanks for your reply, but unfortunately that is not exactly what I meant.
I want to open an PopUp like I usualy do in "classical" ABAP with "CALL SCREEN scr STARTING AT x1 y1", only with staying within the BDT using the View-eventing functions.

Similar Messages

  • Realtime data for a flash game - how to access/handle/poll the back end.

    Hi,
    I'm about to start working on a game that will be played on multiple consoles simltaneously. The user input from each console will be fed into a server and would populate a database/external store. This needs to be a client/server architecture where the flash client (the game on the kiosk), works on real time data that it gets from the server. Keeping in mind the "real" time aspect of the gamelplay and that it would involve multiple users at a time, I'm not really sure of how to interface the database with AS. The back end will essentially be PHP/MYSQL driven and I was thinking of maybe using AMFPHP service calls. But would this be efficient for a real-time setup ? Also, the users of the game, can be playing it physically on a touch screen kiosk , on the web, on SMS all at the same time!!
    There are aspects in the game design, where a character changes animation based on their input. For example: If a user is playing an auction game and if his bid is the lowest (at the time of bidding), his character might start jumping. I'm not sure how to access this real time information from the database so that I can use it in Flash succesfully for such a client/server based multiplayer game.
    Please advice.
    Thanks
    smaira
    Message was edited by: sameermaira

    you would use the urlloader class from flash to access your server-side php and your php will query your database.

  • Issue with back end validation in jsf 2.0

    I am upgrading my apps to jsf2.0 and I came across something that I hope you have already solved.
    In jsf 1.1 action methods returned a string. If that string was NOT mapped as a navigation in faces-config.xml, then it just rerendered the active page. this made doing back end validation easy because I could add messages to the faces context and when the active page rerendered the validation messages would get displayed and no one was the wiser than it was done on the back end instead of on the front end.
    In jsf 2.0 I get null pointers if I return a string that is NOT mapped as a navigation. So I changed the code to return a string that is mapped as a navigation for that page when there is a validation error. but that is treating it like a new request and not a rerender so the validation messages I added to the faces context are not there when the page renders.
    if i test submit a form that has only front end validation then it works fine and the validation messages are correctly shown.
    any suggestions?

    In 11.2.0.3 you are unlikely to see the various truncate/drop issues relating to large numbers of small extents - unless you use dictionary managed tablespaces.
    There are a couple of possible threats with small extents and highly concurrent inserts with ASSM that might be a temporary problem when the object size is small. There may still be some issues with large uncommitted inserts or deletes making other session's work very hard to identify free blocks until the large transaction has committed - these things can be hard to test.
    There may still be a couple of inefficiencies with parallel query and small extents, although parallel CTAS did have a (possibly temporary) hack to allocate immediate large extents to work around some of the silly details.
    Really you need to think through your requirements and them model them on your system - some of the anomalies have changed several times over the last three years.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    Now on Twitter: @jloracle

  • User,Role Sync with back end Error.

    Hello,
    I am connecting a new back end ECC system for an existing RAR system with 2 backend systems.
    I get the following error message. I have configured the Jco to the new system and it tests O.K.
    " Error while executing the Job:Interface Controller does not exist for Component Instance "
    Is it an configuration issue with the RTA at the back end ?
    Thanks
    Vidyar

    Hello ,
    Please check the following steps for the error.                                                                               
    1. Make sure that SLD is up and running.                               
    2. JCO's are properly configured and are successfully pinged and tested.
    3. After verifying the above steps, Restart the J2EE server.                                                                               
    TEST & PING the JCO in Web Dynpro =>Content Administrator =>Maintain JCOs. This JCO has to be the one which you are using for the connector for which you are running the SYNC job.
    Periodically the JCo destinations, as part of the Netweaver framework, sometimes fail.  Recreating them or restarting the system can make them work again.                                                      
    Regards
    -Ranjiv

  • Not able to get a link to the fron-end portal(ess) with back-end sap R\3 AB

    Hi,
       In the back-end i.e sap abap-hr , the required data (leave types) are available.But on front-end Portal(ESS) ,the drop-down menu in personal LOA forms shows only two leave types(personal & self-funded leave).i got struck in how to make few in remaining also viewable in the drop-down list.Can anyone help me on this?

    Bottom line,
    to configure the Leaves on your portal you have to do.
    1. Configure the Leave Types and all the customizing on T554S.
        opc. If you want to have quota deduction, and everything else you should check V_T559L, T556C, T556A as well.
    2. Configure the Leaves on the Portal.  This is done on the IMG path colleague replied:
    >Personnel Management
    >Employee Self-Service
    >Service-Specific Settings
    >Working Time
    >Leave Request
    >Processing Processes
       a. Create the Rule Groups - this step you just create them.
       b. Adjust feature WEBMO - The feature WEBMO is used to select the rule group. Most of the times based on MOLGA and Ctrl. Center.
       c. Define Processing Processes for Each Rule Group - define the processes such as how to record partial day leaves, details on to check PTREQ_HEADER tables for unposted leaves, and how to determine workflow's next agent (more info press F1 on each of these fields)
       d. Specify Processing Processes for Types of Leave - Associate the Leaves from T554S that you want to show on the portal. This includes Absences and ATtendances. Here you define data such as if you are allowed to create leaves on the past, present and future; field customizing, and other details.
    Since Time Management is an old part of SAP the F1 documentation is very complete so I really advise you to check.
    Also, check http://wiki.sdn.sap.com/wiki/display/ERPHCM/LeaveRequestCustom+Messages
    for how to have custom warning messages to show on your leaves.
    I hope I have clarified.
    Kind Regards,
    Bentow.

  • Unable to map the portal user with back end user through web dynpro coding

    Hi All,
    I 've a portal user which is mapped to back end user by  system in the portal.
    i 'm able to get the portal user from web dynpro application.
    But unable to get the mapped back end user
    this is my code
    String systemalias = "SAP_CRM_PROD";
    Map mapattr = new HashMap();
              //     IPrincipal principal = (IPrincipal) request.getUser();
    //   get user user mapping information
    IUserMappingData userMapping =
                   //(IUserMappingData) UMFactory.getUserMapping().getUserMappingData(systemalias, principal, mapattr);
                   (IUserMappingData) UMFactory.getUserMapping().getUserMappingData(systemalias,principal,mapattr );
    //                  For testing purposes only
                   //mappingData = userMapping;
                   HashMap map = new HashMap();
                   userMapping.enrich(map);
                   mappedPassword = map.get(UMAP_KEY_PASSWORD).toString(); //String "user"
                   mappedUserId = map.get(UMAP_KEY_USER).toString(); /
    following is the error reported .
    The project was not built since its classpath is incomplete. Cannot find the class file for javax.xml.soap.SOAPMessage. Fix the classpath then try rebuilding this project.
    please help.

    Hi Sanjay,
       request component need to be initialized before using it. Include these lines before ur code.
    IPortalComponentRequest request = (IPortalComponentRequest) this.getRequest();
    String mappedPassword = null;
    String mappedUserId = null;
    Also check these threads for ur help.
    Accessing Mapped Username / Password
    How to access user id and password via UserMapping ?
    Reward points for helpful answers.
    Regards,
    Harini S

  • How to create a popup with a messages in solaris 8?

    I want to create a simple popup with a OK button when my users logon to the CDE environment informing them about some important stuff.
    How can I do this the easiest way?
    /C

    If your messages are short enough, you can use the existing /usr/dt/bin/dterror.ds script to display the message you want:
    /usr/dt/bin/dterror.ds "Message" "Title Bar" "OK Button Text"
    If you need more than that, you could adapt that script to your needs. Here's the dtksh reference:
    http://docs.sun.com/app/docs/doc/806-2912

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

  • In sm30, when save, how to fill the table with the system data in the table

    Hi all, in SM30, we have user name and time fields, when we create record, after we click the SAVE button, it will automatically fill the fields with the system data, how can we realize it?

    Hi ,
    Do like this.
    1. Go to SE11 -> give your table name and press on change button .
    2.Go to Menu->Utilities-> Table Maintainance Generator , then it will take you another screen .
    3.Assign Functin group if already have one , other wise create function group and assign
    4.Go to Menu->Environment->Modification->Events , again it will take you to another screen
    5.Click on new entries
    ->Now press F4 in T column . Select<u> "01" - Before saving the data in the database</u> and in form routinue give any name of the routinue like "SAVE_USER_DATA" and press enter then u can see an editor symbol in next column click on that it will take you ABAP editor there type this code .
    ztable-username = sy-uname.
    ztable-createtime = sy-uziet.
    check and activate the code .
    With this your job will be complete . Now while entering data just leave columns blank , they will insert corresponding username and time
    Don't forget award points if it helps you.
    Regards,
    Raghav

  • How to determine current period start and end dates

    Hi All,
    If given previous period start date and end date, how to determine current period start date and end date?
    Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Can you please suggest an FM to determine the current period dates?
    Thanks & Regards
    Gowthami

    >
    gowthami karunya wrote:
    > If given previous period start date and end date, how to determine current period start date and end date?
    > Suppose if given previous period start and end dates are 12/28/08 - 01/30/09, then current period start date and end date will be 01/30/09 - 02/27/09. (where 12 is the previous period, 28 is the day, 08 is the year......)
    Hello,
    I am assuming you have the Company Code with you & proposing this solution.
    TABLES: bkpf.
    PARAMETERS:
    p_bukrs TYPE bukrs.
    SELECT-OPTIONS:
    s_date FOR bkpf-budat.
    DATA :
    l_perio LIKE bkpf-monat,
    l_poper TYPE poper,
    l_year  LIKE bkpf-gjahr,
    l_spmon TYPE spmon,
    l_periv TYPE periv,
    l_date1 TYPE datum,
    l_date2 TYPE datum.
    CALL FUNCTION 'BAPI_COMPANYCODE_GET_PERIOD'
      EXPORTING
        companycodeid = p_bukrs
        posting_date  = s_date-high
      IMPORTING
        fiscal_year   = l_year
        fiscal_period = l_perio.
    CONCATENATE l_year l_perio INTO l_spmon.
    * Get the next period
    IF l_perio < 12.
      l_perio = l_perio + 1.
    ELSE.
      l_perio = '01'.
      l_year = l_year + 1.
    ENDIF.
    MOVE l_perio TO l_poper.
    SELECT SINGLE periv INTO l_periv
    FROM t001
    WHERE bukrs = p_bukrs.
    IF sy-subrc = 0.
      CALL FUNCTION 'FIRST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date1
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION 'LAST_DAY_IN_PERIOD_GET'
        EXPORTING
          i_gjahr        = l_year
          i_periv        = l_periv
          i_poper        = l_poper
        IMPORTING
          e_date         = l_date2
        EXCEPTIONS
          input_false    = 1
          t009_notfound  = 2
          t009b_notfound = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      WRITE: / l_date1, l_date2.
    ENDIF.

  • Conditions with Fixed end date before Loan term end

    Hi gurus,
    Please how do I set up an interest condition that should accrue and post only for the first six months of a loan with a 60 months repayment term?
    When I enter 1 in the frequency, it calculates for the whole of the loan period. When I leave the frenquecy blank, it calculate for the whole of the six months, and post the total on the sixt month.
    What I want is the interest to accrue and post monthly only for the first six months.
    Thanks
    Fisayo.

    Hi,
    You are expecting to set a condition for the first 6 months of the loan term where your contract is maturing after 60 months. If so please create an interest condition with out specifying any frequency but provide calc start date = start of term of contract and calc end date = (date completing 6 months after term start )- 1 day, due date = 6 months after term start. For eg: if your loan start date is 01.01.2010 and end of term is 31.12.2014:
    Interest Condition details:
    Int Start Date = 01.01.2010
    Calc End date = 30.06.2010
    Due Date = 01.07.2010
    Freq = NIL
    I hope by setting above condition, you can get the required cash flows for first six months only.
    Regards
    Prasad AV

  • How to build a screen with master detail data

    Hi ,expert ,
    Someone can teach me how to build a screen with master detail table ?
    I wnat to build a screen for user to maintain FERT group  and  FERT detail list  in one screen .
    just like this ..
    MASTER Block
    FERT1      
    FERT2 
    FERT3
    DETAIL Block
    FERT1A1
    FERT1A2
    FERT1A3
    when I double click FERT1 in the Master Block the detail view will show FERT1A1  A2 A3
    Thanks for your help ....
    Moderator message : Not enough research before posting. Spec dumping not allowed. Thread locked.
    Edited by: Vinod Kumar on Jun 13, 2011 1:38 PM

    An inefficient way to create the array is to use the build array and a shift register as shown below. It's more effecient in terms of memory management to create the array and then use the replace array subset as shown in the other image. Of course, if you don't need the array inside the loop, just wire the value out of the while loop and on the exit tunnel, right click and select 'Enable Indexing'.
    Message Edited by Dennis Knutson on 07-03-2007 10:25 PM
    Message Edited by Dennis Knutson on 07-03-2007 10:26 PM
    Attachments:
    Crude Build Array.PNG ‏4 KB
    Better Build Array.PNG ‏6 KB

  • How to create a folder with the name = date (e.g. "20030512") with LV6.0

    hi,
    i want to create folders with the name = date automaticly.
    i found several solutions here, but all in LV6.1. could somebody give me an example in LV6.0 ?
    I tried it with "get date-string" but that date-string has "." in it :-(
    6.1-example :
    here

    Hope this will help!
    ian.f
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    folder_create_2003.vi ‏66 KB

  • How to create pdf files with text field data

    how to create pdf files with text field data

    That looks like it should work, but it doesn't.
    I opened the PDF I had created from Word in Acrobat (X Pro). Went to File > Properties. Selected "Change Settings". I then enabled "Restrict editing...", set a password, set "Printing Allowed" to "none", "Changes Allowed" to "none", and ensured that "Enable copying of text..." was disabled.
    I saved the PDF file, closed Acrobat, opened the PDF in Reader, and I was still able to select text and graphical objects.
    I reopened the PDF in Acrobat, and the document summart still shows everything as allowed. When I click on "show details" (from File > Properties) it shows the correct settings.
    Any ideas?

  • How do I select range and require end date in it crystal report

    I'm trying to select a range of dates in my records however it must include the end date from my parameters what is the syntax for that record selection and anything after the Start Date (open).  If the Date range doesn't end in the specified End Date then I don't want to see it.

    well I created two reports one with pulling all the end dates data then the other report with the stuff before that date and put the end date as a subreport in the other one so he can see what was done recently on the subreport and scroll through the other report while the subreport stays on the results bottom end - however he has to scroll through 100's of pages to find the data he wants so he doesn't like that. However it is a good mockup of the results he wants ...but he doesn't want to scroll through 100's of pages - my guess is he wants one report with end date only and any dates before hand.
    Original
    Part                         TransactionDate                         Qty                     Unit cost
    GA101                    10/11/2013                                  5                         1.23
    GA101                    5/25/2012                                   10                        2.23   
    GA101                    8/14/2011                                   15                        5.15
    HE8924                  8/22/2014                                   14                        4.25  
    HE8924                  6/13/2012                                   2                          3.25
    UY325                    8/22/2014                                   5                         6.32
    UY325                    7/10/2010                                   2                         3.25
    TE5689                  8/12/2014                                   1                          8.14
    TE5689                  5/16/2013                                   2                          9.12
    IO8978                    8/22/2014                                   6                         8.25
    IO8978                    5/20/2013                                   8                         7.25
    IO8978                    3/15/2012                                   4                         9.25
    IO8978                    1/20/2009                                   5                         10.25
    MY CODE RESULTS SHOULD SEE
    START DATE 01/01/2011  END DATE 08/22/2014
    Part                         TransactionDate                         Qty                     Unit cost
    HE8924                  8/22/2014                                   14                        4.25  
    HE8924                  6/13/2012                                   2                          3.25
    UY325               
      8/22/2014                              
        5                    
       6.32
    IO8978                    8/22/2014                                   6                         8.25
    IO8978                    5/20/2013                                   8                         7.25
    IO8978                    3/15/2012                                   4                         9.25

Maybe you are looking for

  • Calling internal table in smartform

    Hye, using structure l_xekpo. In global definition intilalization code: DATA : GT_XEKPO LIKE L_XEKPO OCCURS 0 WITH HEADER LINE. DATA ekpo_wa LIKE L_XEKPO. loop at L_XEKPO into ekpo_wa.   move ekpo_wa to gt_xekpo.   append gt_xekpo. endloop. now in ou

  • Issue Installing SP2 for Windows Server 2008 SP1

    Hello, I have a very annoying issue, and I hope someone can help a bro out. Server: Windows Server 2008 SP1 64-bit Issue: SP2 wont install on Windows Server 2008 SP1 This is what I am seeing when I check the event viewer: 1. (Information) Windows Ser

  • Im tryin to update my apps,but its telling me my security code is invalid. how can i get my card updated?

    IM TRYIN TO UPDATE MY APPS, AND IT KEEPS TELLING ME MY SECURITY CODE IS INVALID. HOW CAN I UPDATE MY CREDIT CARD INFORMATION?

  • Partition Swap problem

    Hello All, I'm tryin partition swap a temp table with another FACT table. All the columns, and their datatypes is a 100% match (used WinMerge to check) But when I try to run the partition swap, I get the below error SQL Error: ORA-14097: column type

  • Spotlight won't index iPhoto 7 files

    It seems spotlight won't index the iPhoto Library for iPhoto 7 (iLife '08) automatically. I manually issued the following command in Terminal and it worked. But will it work automatically when I add more pics? mdimport -f "/Users/ibrian/Pictures/iPho