Displaying the list of resources

Hi guys,
I need to display the resources assigned to the each user, in the form. i have the list of user objects and i am doing iteration using fieldloop. is there any function to get the list of resources assigned to the user.
i am trying with user.getAssignedResources( ) metho. But its giving me the following xpress exception
XPRESS exception:
Can't call method getAssignedResourceList on class com.waveset.object.WSUser ==> com.waveset.util.WavesetException: Cannot resolve resources without a cache

The getAssignedResourceList method works for me.... not sure what causes the cache exception mentioned above
Message was edited by:
chits98

Similar Messages

  • Displaying the list of values in the Report

    Hi All,
    Is there any possibility to include the scrollable list on the face of report(Not in the left side i.e as input control)
    For example If I have a country with different counties.
    Based on the country selection in the block it should display the list of counties as scrollable list.
    Would it be possible.
    Please help
    thanks
    Edited by: VP S on Sep 1, 2010 2:45 PM

    Not sure if you are looking for the same..
    Have you tried applying the filter at the filter pane..i.e.
    Click on the the show\hide filter pane (filter icon is present nearby the drill icon)
    Now drag the required object on this pane.
    It will create the dropdown filters on top of the report.
    Regards,
    Rohit

  • Run time error while displaying the list of km folders

    hi
    i am trying to display the list of contents in the km folder using km api but the application is displaing an runtime error
    package com.sap.test;
    error in init method component
    any body know the solution for this problem .
    thanks

    hi there
    public class kmportalcomp extends AbstractPortalComponent
              public String outtxt;
              int depth;
              int rowid = 0;
              int counter = 0;
         public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              IUserContext userCtx =request.getUser();
              IResourceFactory factory;
              IPortalComponentContext compContext = request.getComponentContext();
              IPortalComponentProfile profile = compContext.getProfile();
              try {IUser serviceUser = WPUMFactory.getServiceUserFactory().getServiceUser("ccadmin_service");
                   String webpath = request.getWebResourcePath();
                   IResourceContext resourceContext = new ResourceContext(serviceUser);
                   response.write(webpath);
                   String fpath;
                   fpath = profile.getProperty("path").trim();
                   depth = Integer.valueOf(profile.getProperty("depth").trim()).intValue();
                   RID rid = RID.getRID(fpath);
                   ICollection folder = (ICollection)ResourceFactory.getInstance().getResource(rid, resourceContext);
                   IResourceList  fileList = folder.getChildren();
                   response.write("d.add(0,-1,'"folder.getName()"');\r\n");
                   rowid = 0;
                   scan_km(response, fileList,0);
                   response.write("document.write(d);\r\n");
                    response.write("//--></script>");
                    response.write("</div>");
                } catch (Exception e) {
                    response.write("Error Occured<br>");
                    response.write(e.toString());
              public void scan_km(IPortalComponentResponse response,IResourceList list,int level) {
                   int currentrowid = rowid;
                   if (level>depth&&depth!=0) {
                         return ;
                     String rid = " ";
                     IResourceList tmpreslist;
                     ICollection tmpcollection;
                     level++;
                     for (int i = 0; i < list.size(); i++) {
                         IResource tmpres = list.get(i);
                         try {
                             if (tmpres.isCollection() && tmpres.getLinkType() == LinkType.NONE ) {
                                  //&& tmpres.getLinkType() == LinkType.NONE
                                  tmpcollection = (ICollection) tmpres;
                                tmpreslist = tmpcollection.getChildren();
                                if (tmpreslist.size()>0) {
                                    rowid++;
                                    response.write("d.add("rowid","currentrowid",'");
                                    response.write(tmpres.getName());
                                    response.write("','');\r\n");
                                    scan_km(response,tmpreslist,level);
                             else {
                                rowid++;
                                String dispname;
                                dispname = tmpres.getDisplayName();
                                if (dispname==null||dispname.equals(""))
                                    dispname = tmpres.getName();
                                rid = "/irj/go/km/docs"+tmpres.getAccessRID();
                                response.write("d.add("rowid","currentrowid",'"dispname"','"rid"');\r\n");
                         } catch (Exception ex) {
    the error is am getting is
    com.sapportals.wcm.repository.enum.LinkType and com.sapportals.wcm.repository.enums.LinkType     kmportalappproject/src.core/com/sap/test     kmportalcomp.java     
    thanks

  • How can we display the list of Report Names in Dashboard Prompt?

    How can we display the list of Report Names in Dashboard Prompt?

    Hi,
    No its not possible to display list of reports in dashboard prompts.
    Can do this using SQl results in prompt(we write query checking out report names manualy),but its not easy thing if you are having many report names to be displayed.
    Assign points and close your threads if answered.
    Refer : http://forums.oracle.com/forums/ann.jspa?annID=939
    Regards,
    Srikanth

  • To display the list of File Name in a report region from a Directory

    Hello All,
    Can any one guide me in displaying the list of file name from a file system directory in a report region with link?
    On click of the link it should display the open/save dialog box.
    I will appreciate the early solution. (It is bit urgent)
    Thanks,
    Shyam

    A quick, "dirty solution would be to have a cron job (I am assuming you are on a UNIX-based system) that populates a file periodically with the names of files in a directory/directories. Then have an external table that points to that file. You can then create an Apex report that lists the contents of the external table.
    1) crontab job:
    ls -1 /source_dir/* > /destination_dir/file.list
    2) create external table:
    CREATE DIRECTORY filedir AS ' destination_dir ';
    GRANT READ ON DIRECTORY xfer_files TO public;
    CREATE TABLE file_list_ext (file_names VARHCAR2(100))
    ORGANIZATION EXTERNAL
    TYPE oracle_loader
    DEFAULT DIRECTORY files_dir
    ACCESS PARAMETERS
    records delimited by newline
    fields terminated by ','
    missing field values are null
    (file_name)
    LOCATION ('file.list')
    REJECT LIMIT UNLIMITED;
    3) create APEX report on table: file_list_ext
    Hope this helps.

  • TS3274 Email display problem: My email only display the list of emails and a preview (first two lines of the body of the mail). If one click on the message it only shows the heading on the right hand side of the screen, but not the content.

    My email only display the list of mails in my in box with a preview of the first two lines of the body of the message. When one clicks on the message to open it, only the header is displayed in the right hand side of the screen - the actual message is missing. This happens on older mail previously downloaded that use to work properly as well. Any idea how to fix this?

    Try closing the Mail app completely and see if it works properly when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't work also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • What Component should be used to display the list on UI

    Hi All,
    I have a table in which when the user selects a row and tries to remove the row. I am supposed to show the pop up which shows all the rows matching to the header of the row.
    In my backing bean i have the context of the row so i could extract the matching rows form db into a List<String> . Now what i need to know is which component on the Ui will show this as a list in Pop Up.
    I mean which component af:??? should be used to display the List ?
    I am kind of new to ADF.
    Regards,
    Sharma

    inputComboboxListOfValues
    selectOneChoice
    inputListOfValues

  • Display the list in module pool program

    Hi All,
    I want to display the list of material like report after some user command in module pool.
    How can I achive the same.
    Regards
    Sagar

    Hi,
       If you want to display in ALV, you can use REUSE_ALV_GRID_DISPLAY FM also, which will call standard program from module pool and will display the list.
      If you use module pool, it is not mandatory that you have to use only OO ALV.
      You can create list output also from module pool. For that in user command you can write like
      IF sy-ucomm = '.....'.
         leave to list processing and return.
         write :/ '..............'.
    Endif.
    Thanks and regards,
    Venkat

  • Can I display the list view of a blog horizontally?

    Hi,
    Is there any way that I can display the list view of a blog horizontally? {module _blogpostlist} defaults to a vertical display.
    Thanks,
    Dean

    Hi Dean,
    How you present it is up to you and use of CSS.

  • Displaying the list of numbers in the box on the screen

    Hi folks,
    This is what i am looking to achieve, I have an agency number (regulierer -field from jhaga) table Each agency has several advertisers listed to it, in the same table separate field inserent contains the advertiser numbers
    when I type in the agency number i need to have a listbox appearing in the same screen that contains the list of the advertiser numbers in them.
    how to write the code for that?
    I know I have to write the select query to grab the list of advertiser numbers and then how tostore in the list box and display on the screen the second part i do not know.
    thanks in advance.
    Santhosh

    Hi,
    Here are the sample codes.
    <b>SAMPLE CODE 1:</b>
    TYPE-POOLS: vrm.
    DATA: name TYPE vrm_id,
           list TYPE vrm_values,
           value LIKE LINE OF list.
    PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
    AT SELECTION-SCREEN OUTPUT.
      name = 'PS_PARM'.
      value-key = '1'.
      value-text = 'Line 1'.
      APPEND value TO list.
      value-key = '2'.
      value-text = 'Line 2'.
      APPEND value TO list.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = name
                  values = list.
    START-OF-SELECTION.
      WRITE: / 'Parameter:', ps_parm.
    SAMPLE CODE2:
    type-pools: vrm.
    data: it_val type vrm_values,
          w_line like line of it_val.
    parameters p_bukrs like t001-bukrs as listbox
               visible length 25 obligatory.
    initialization.
      select bukrs butxt from t001 into (w_line-key, w_line-text).
        append w_line to it_val.
        check p_bukrs is initial.
        p_bukrs = w_line-key.
      endselect.
    at selection-screen output.
      call function 'VRM_SET_VALUES'
           exporting
                id     = 'P_BUKRS'
                values = it_val.
    end-of-selection.
    Hope it helps.

  • Report for display the list with details of quantity stock order etc

    Can anybody give the code to display a list with details of quantity stock for specific materials in specific plants or storage locations based on the input values like plant, storage location, material and product hierarchy entered on the selection screen?

    Yes it is possible.
    we can try doing this by user exsits. with one of our client we have added a new tab in MIGO transaction.
    For details on user exsits user below links
    Check out the below links
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    here is the user exit examples..
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6378ef94-0501-0010-19a5-972687ddc9ef
    all the user exits for sd
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/erplo/sd%2buser%2bexits
    Regards

  • How do I get iCloud Backup Options to display the list of apps on my iPad?  It just spins forever.

    I'm trying to set up iCloud backups for my iPad.  I go into Manage Storage, selet my iPad from my list of iCloud enabled devices and then I get the Backup Info screen.  Its supposed to list all of my applications so I can turn on/off backups on an app by app basis.  Unfortunately it just spins forever and the Backup Options list never populates.
    This works fine in my iPhone 4s, but not on my iPad.
    I don't want to run a backup without doing this since I have a lot of data in a couple of apps and I don't want those backed up.
    Is this an iOS bug on the iPad?

    Eventually the Settings app just crashes while waiting for the Backup Options list to populate.
    When I try an actual backup of my iPad to iCloud it spins for a while and then crashes.
    I only want to backup up a handful of my apps to iCloud but right now I can't even get it to show me the list of apps to turn on/off.

  • SQVI to display the list of vendors with the email address

    Hi can any one please provide me the steps for SQVI to get the list of the vendors(LFA1) with the Email address ( ADR6 )

    go to t-code sqvi> enter ztest or any cutom name>create>enter title>enter comments
    -->slect table join asa a data source and hit enter..
    -->press shiftF1 and enter table name LFA1 and again press shiftF1 and enter table ADR6..and hit
    enter
    now you will get the table relation ship between the LFA1 and  ADR6 ..
    next go to se16 and get the value for the vendor and pass the value to adr6 ..
    Prabhu

  • TS1424 new itunes user today. saved alot a songs on wishlist to return later to purchase and its says error ..try again later . when i try to save again its says already in wishlist but doesnt let me display the list. thx for any advise

    new to itunes. saved several songs to wishlist so that I could return later to purchase and It says error occured when I click on wishlist. I went back in a tried to save some of the same songs that i selected earlier and its says they are already saved but wont display them so that i can purchase. Any advise ?

    new to itunes. saved several songs to wishlist so that I could return later to purchase and It says error occured when I click on wishlist. I went back in a tried to save some of the same songs that i selected earlier and its says they are already saved but wont display them so that i can purchase. Any advise ?

  • Count Hits not displaying the list in Oracle 10g

    Hi all,
    I have a form that is been converted into ORacle 10g from Forms 6i. When the count hits is executed from the action > Query menu, the no of records that will be fetched is not displayed, instead "press F7 for query, and F8 to execute query" is displayed. The same form in 6i works fine.
    Please let me know, is there any settings in Oracle 10g related to this, or a way out to solve this.
    Thanks,
    Gopal.

    Hi Arun,
    Thanks for your suggestion.
    I did compile using both the methods (compile_all=yes on linux and also compile all and generating the .fmx through Form builder), but both in cases, the result is the same, no count is displayed.
    I have tried with F12 also but did not get the count.
    Any Suggestions?
    Thanks,
    Gopal

Maybe you are looking for

  • How can I export a single track in Soundbooth CS5?

    Greetings, I have built up a single track in Soundbooth composed of several repeated clips. I wish to export this single track. How can I do this in CS5 Soundbooth? Thanks, folsombob

  • How can I pause an action while recording so I can...

    Hi all, I have made many actions before but I do not know how to do this. Ok I want to make an action which will unlock the background layer then duplicate that layer and add adjustment mask to the new layer, I have gotten all this done. But on the f

  • TO FIND START DATE AND END DATE OF THE MONTH

    HAI ALL,            I want to find the start of the date for the month and end of the date for the month, for given date. Ex. if input is : 08-06-2007,                                        I want to get the first and last date for this month. . Is

  • Solaris 10 on HP DL385 "Error setting up next portion of DMA transfer" ??

    We've got an HP DL385-g2 box running Solaris 10 that has started spewing messages of this form: Error setting up next portion of DMA transfer Apr 21 07:44:30 teak scsi: [ID 107833 kern.warning] WARNING: /pci@0,0/pci1166,14 2@12/pci103c,3234@0/sd@1,0

  • Secure Store Service problems

    Hi, I am getting the following error when trying to manage the Secure Store Service (CMA -> Application Management -> Service Applications -> Manage Service Applications) "Cannot complete this action as the Secure Store Shared Service is not respondi