All active favourites

Hi, I need to write a program which will give me all Active favourites i.e. the output should be in the form of:
<user_id>, <Total # of folders the user has under KM Favourites>.
Can anyone please point me in the right direction? Thanks.

Hi Sri
The rough code will be
->The rid path to your favorites will /userhome/<userid>/favorites
->Obtain the RID object by passing the rid path
RID rid = RID.getRID(<ridpath>)
->Obtain ResourceContext object by passing in the IUser object
ResourceContext ctx = new ResourceContext(<IUser>)
->Get an instance of the ResourceFactory
resFact = ResourceFactory.getInstance()
->Obtain to an IResource object to the RID path by passing in the RID object and ResouceContext
IResource iRes = resFact.getResource(rid,ctx)
->obtain child resources using the method
ICollection chldColl = iRes(ICollection);
chldColl.listIterator()
//recursivel call method to obtain child of child
//passing each value from the iterator
Regards
Pran

Similar Messages

  • How do I get rid of Firefox as its awfully slow and has lost all my favourites which are not in the unsorted bookmarks file?

    I was told by eBay to set up Mozilla Firefox as I had problems uploading scans on to listings. I now find I have lost all my favourites and there is nothing in the unsorted bookmarks, where you told me they would be. Also it has slowed down my computer considerably, and seems to want to have about ten goes every time you try to get into a website. So it seems totally useless to me, and I want to revert to Internet Explorer. Why is MF such a useless system and how do I delete it - I am very elderly busy computer operator with ;ittle knowledge of systems, what you call things and so on, so please keep it simple. Jeremy

    From Bookmarks (at top left of page) select 'Show All Bookmarks'. This will open the bookmarks Library. Have a look around here to see if your bookmarks (favourites) are all there. If so, you can now export them for use in other browsers. Why not take the opportunity to tidy or restrucure them before export?
    To export them select 'Import and Backup' then 'Export HTML'. Save the file to somewhere safe on your PC, My Documents perhaps.
    I use an Uninstaller Program so I'm not too sure but I think you can uninstall Firefox > Start > All Programs > Mozilla Firefox - and there's possibly an uninstall option here. Failing this, go to the Program folder and find the 'uninstall' folder, double click 'helper.exe' and this will open the Firefox uninstaller.

  • I have an old shuffle that holds all my favourite songs. How do I transfer these to my iPhone. My original iTunes playlists no longer exist

    I have an old shuffle that holds all my favourite songs. How do I transfer these to my iPhone. My original iTunes playlists no longer exist

    Basically, no, but as long as all the music is in the same iTunes library and it doesn't contain protected content from more than five Apple IDs, you don't need to. If desired, click here and ask the iTunes Store staff for assistance.
    (124362)

  • Query to get all active customers in oracle apps

    Hi All,
    I want to grab all active customers account number, customer name, email address, tel number. Could any one give me the query to get it.
    Thanks,
    Red.

    Hi,
    Please refer to this document, and see if it helps.
    Note: 68046.1 - SQL Scripts To Extract Information Relating To A Particular Customer
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=68046.1
    Regards,
    Hussein

  • All Active Application Requests is empty

    I have setup the Application Approval Workflow.  I use 3 different servers one for SCOR one for SCSM and one for SM Datawarehouse.  Everything appears to be set up correctly according to the AAW documentation.
    Under All Applications in Configuration Items the applications are listed.  Under Applications Associated with Application Requests there are No items found.  Is this an association I need to create or should it list the Applications I have already
    marked for requiring Approval in SCCM (2012 R2 CU3)  ?
    Also in SCSM under Work Items - All Active Application Requests there are No Items Found.
    In SCOR if I run the Runbook Tester for Application Request Synchronization it goes from Monitor - Get Counter Value - Check init Start - Check Max - Increment Counter.
    I suspect the items listed above are empty because this Runbook is not completing fully.
    If I disable CheckMax and Increment Counter to force it to route to the Get IsActive counter it doesn't run past Check init Start.
    So the Sychronize Application Requests counter is not getting run.
    Hope this makes sense and any feedback appreciated.
    Stephen

    Hi,
    Please try to manually sync the application requests under Work Items by clicking
    Sync Now.
    Please also check out the CM -> SM Synchronization Runbook and run through it once via Runbook Tester. This way you can get additional information for what particular application this activity failed. Then check what might be wrong with the application
    on SCCM side.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Whenever I plugin an iTunes device to my computer the volume of all active applications lowers. What would cause this?

    Basically any iDevice I plug into my PC lowers the volume of all active applications to about 10% no matter its previous level. I've tested this with several iDevices and they all act in the same manner. I've reinstalled iTunes and tested this out on a fresh install of Windows 7 Ultimate 64-bit.

    I actually figured out the fix for this. The issue was how Windows interacts when a communication device is plugged in. If you follow the path Control Panel -> Sound and click on the communications tab (in Windows 7) you can change event "When Windows detects communcations activity: " to not lower any of the sound. I hope this helps! It plagued me for a good few months before I realized it.

  • Is moving all active ports to another VSAN disruptive?..

    Hi! I moved all active ports to another VSAN and this caused a server to failure. I know that this can be because of the small time-out values at the operating system or bad multipathing, but how large a time-out can be in a such reconfiguration?.. What if the server can't survive any storage loss and we move server and storage array ports to another VSAN? I wonder if it can be done without any traffic interruption...

    Hi Artem,
    Changing server from VSAN is a disruptive process for each path you're acting on: that means if you're not having dual fabrics and proper multipathing configuration, the server will lose access to its LUN for a certain amount of time. Depending on the operating system you might expect various behaviors (kernel panic, SCSI errors, CPU in I/O wait until timeouts,...). Consider it even more restrictive when booting on SAN or when swap memory is also on a SAN LUN.
    It's always good practice to work one one fabric at a time by disabling the path attached to it from the OS perspective (if multipath software is not set in a failover mode).
    Changing VSAN membership for a FC port on the MDS9000 means that the initiator HBA has to log (FLOGI) into a new VSAN where the DomainID is different from previous VSAN, so its FCID will change also. It is same effect as moving fibers to another physical SAN from the host perspective.

  • How to get all active session id's

    hai,
    i am new to servlet. i am tring to find out all active session id's for security perpose.
    and also i want to deactive a perticular session using that session id.
    but i don't know how to do. please help me.
    thanks in advance.

    Well to me.. I wud like to write a Listener class implementing HttpSessionListener in the following way....
    import javax.servlet.http.HttpSession;
    import javax.servlet.http.HttpSessionListener;
    import javax.servlet.http.HttpSessionEvent;
    import java.util.HashMap;
    public class SessionHandler implements HttpSessionListener{
    public static HashMap<String,HttpSession> SessionsMap = new HashMap<String,HttpSession>();
    public void sessionCreated(HttpSessionEvent se) {
    SessionsMap.put(se.getSession().getId(),se.getSession());
    public void sessionDestroyed(HttpSessionEvent se) {
    SessionMap.remove(se.getSession().getId());
    public static invalidateSession(String SessionId){
    HttpSession session =  SessionsMap.get(SessionId);
    SessionMap.remove(SessionId);
    session.invalidate();
    }Note:I'm assuming tht you are running the code on Jdk/jre 1.5+
    However, i think its more of core way of implementing this specially usage of static members howevr @ the given situation can very well cater your resources.added to it you add ActivationListener depending on your requirement.
    Hope this might help :)
    REGARDS,
    RaHuL

  • All activity prices are manually entered (Message no. KP211  )

    Dear All,
    I have maintained Activity Rates through KP26. On Activity Master I have set Act. price indicator = 5.
    Now when i am executing KSII it is giving me error message as :
    All activity prices are manually entered
    Message no. KP211
    Diagnosis
    All activity prices in controlling area FLGP, fiscal year 2011, and version 0 were determined and set as manually entered prices.
    In actual price calculation, all plan activity prices, meaning those calculated automatically (activity price indicator 1 and 2) and those set manually (activity price indicator 3), are treated as if they have been set manually.
    System Response
    The SAP System cannot calculate activity prices automatically.
    Processing is cancelled.
    Procedure
    Check your activity type planning. To calculate the activity price automatically, you must set the activity price indicator accordingly.
    Proceed
    Please let me know if I need to done any additional settings.
    Br, Vivek Srivastava

    Hi Vivek, 
    "The error message KP211 is display by the system due
    to the SAP System cannot calculate activity prices automatically.
    (can you review the settings in the system).
    The procedure that you have to follow is to review transaction code
    KP26 and your activity types.
    From viewpoint of actual price iteration all plan prices are political
    in the sense that 'prices does not change during actual price
    iteration'.  If all activity types have indicator 1 then everything
    will be evaluated with plan price in actual.  So actual price iteration
    has nothing to compute because no price will be changed.  You have to
    set price indicator to 5 or 6 in actual price indicator for at least
    one activity type in order to calculate the actual activity price.
    When you change some activity type master data in transaction KL02,
    these changes take effect in all relevant tables, BUT please notice
    that the values of TARKZ, TARKZ_I etc. are only DEFAULT values for
    activity planning and therefore ONLY READ ONCE when the relevant
    planning set is created. Subsequent changes to the master data (default
    value) take not effect in the planning sets. You have to change the
    values in every single planning set manually."
    You indicates that for the activity types you have set in the master data
    actual price indicator to 5 (Actual price, automatically based on
    on activity). But this is only a default value and can be overwritten
    for example during planning.
    Please see table COKL for cost center / activity type if have an empty field for
    the actual price indicator. Thus the system only finds the plan price
    indicators during price calculation and message KP 211 is justified if
    you consider the following part of the long text:
    In actual price calculation, all plan activity prices, meaning those
    calculated automatically (activity price indicator 1 and 2) and
    those set manually (activity price indicator 3), are treated as if they
    have been set manually.
    In order to run KSII as expected by you, you have to execute trans.
    KP26 for the cost center and activity type  using layout 1-204
    (Activity Types: Indicators).
    Here you can set the actual price indicator to 5.
    Afterwards there should be no further problem with KSII.
    I hope helps,
    Regards,
    MLM

  • To fetch all active records in Report falling in the Date Range

    Gurus,
    My requirement goes like this. In my Bex Report I have Input prompt on ZStart_Date [ Interval Mandatory ] type.
    There is something called as process which can have start Date and End Date.
    Say
    Process A has Start Date as 01.01.1990 End Date - 31.12.9999 ( ie., ongoing)
    Process B has Start Date as 01.01.1995 End Date - 01.01.2000 ( i.e., Process Dead)
    So when I execute the report giving the prompt for Start Date as 01.01.2008 to 31.12.2008, the report should fetch me all active processes which falls in that period regardless of the process start date at the same time it should not consider Dead Processes.
    To help you guys, I have got a logic of using a customer exits variable or sort of this, but I dont know much about these concepts.
    Any pointers would be og GREATEST help.
    Regards,
    Yaseen

    Shalabh,
    To be precise enough , We  term a process ongoing based on the End Date of Process.
    Say, process X can started on 01.01.2000 and Ended on 31.12.2005, so when I execute the report say for  period 01.01.2006 - 31.12.2006 , Process X is Dead according to reporting Period and hence should not appear in the report.
    The report should  fetch process which are ongoing i.e., there end dates can be 31.12.9999 or can be between the reporting period.
    couldnt understand "regardless of the process start date " .....??
    mean , say Process A started on 01.01.1995 and End Date is 31.12.9999 ( which we term as ongoing ). So when my reporting period is say 01.01.2006 to 31.12.2006 I should fetch this process, and thats why I term this as Active process in the Reporting Period.
    Hope this clarifies.
    Edited by: Yaseen Ahmed on Dec 15, 2008 5:32 PM

  • Disconnect all active Essbase connections using VBA code in Excel

    Hi All,
    I am currently using the below code to disconnect the active essbase connection. It works fine but it shows me a windows with the list of active essbase connections and I have to select each essbase connection and click disconnect. I want a vba code which will disconnect / kill all active connections of Essbase at one go. for e.g. I have 10 worksheets connected to different databases in Essbase. I want a code which will disconnect all 10 sheets at one go. Please expedite. Thanks for your help in advance.
    Private Sub MDisConn()
    On Error Resume Next
    EssError = EssMenuVDisconnect()
    ErrorBox
    End Sub

    Hi,
    You could use EssVDisconnect which takes a sheet name and does not open the disconnect login box.
    Declare Function EssVDisconnect Lib "ESSEXCLN.XLL" (ByVal sheetName As Variant) As Long
    Sub DisConn()
    X=EssVDisconnect("Sheet1")
    End Sub
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • I want to get List of all active sessions in current system

    Hi experts
    How to get list of all active sessions in current system in any internal table along with details.
    A sample code wud be helpful
    Thanks in advance.

    try this code it might help u.
    Below report execution gets the active Session list to ABAP memory
    submit rsm04000_alv and return exporting list to memory.
    refresh: gt_listobj.
    Below FM get the List output from ABAP memory to gt_listobj in HEX
    call function 'LIST_FROM_MEMORY'
      tables
        listobject = gt_listobj
      exceptions
        not_found  = 1
        others     = 2.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This FM converts ITAB gt_listobj from HEX to ASCII
    call function 'LIST_TO_ASCI'
      tables
        listasci           = it_list
        listobject         = gt_listobj
      exceptions
        empty_list         = 1
        list_index_invalid = 2
        others             = 3.
    if sy-subrc <> 0. " Executed successfully ?
      message id sy-msgid type sy-msgty number sy-msgno
      with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    This Shows the output in List format on screen
    call function 'REUSE_ALV_LIST_DISPLAY'
    exporting
       i_structure_name                  = 'line'
      tables
        t_outtab                          = it_list
    exceptions
       program_error                     = 1
       others                            = 2.
    if sy-subrc <> 0. " Executed successfully ?
    message id sy-msgid type sy-msgty number sy-msgno
             with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.

  • Change all activity to Display in a role

    Hi all,
    I wanted to know if we can change all the 'ACTIVITY' in a role to display. I donot want to do it one by one for all authorization objects but in one go. Is this possible, if yes then how can we achieve it?
    Thank you

    Hi Zaheer,
    As there is exact no way to restrict all activity to display in single action like Organization value in role. To make a display role you need to also check the other objects not having the field ACTVT for ex: in HR object (P_ORGINCON) restriction based on authorization level  Values in this fields are R, W etc.
    Better to check table AGR_1251 for particular role. This will provide you the all field along with values exist in role, and based on that u can  decide what need to be restrict to make a role display. For this u also needed the inputs from functional team alongwith testing.

  • How to get List of  all activated Info objects in sap BI production system

    Hi Experts,
             For my requirement  I need list of all activated info objects in sap bi production system.
    Can any body suggest any thing.

    Hi,
    Check in the following table, all the below tables are for InfoObejct related only
    RSDIOBJ -
    Directory of all InfoObjects
    RSDIOBJT------ Texts of InfoObjects
    RSDIOBJ------- Directory of all InfoObjects
    RSDIOBJT----- Texts of InfoObjects
    RSDATRNAV------ Navigation Attributes
    RSDATRNAVT----- Navigation Attributes
    RSDBCHATR------ Master Data Attributes
    RSDCHABAS------- Basic Characteristics (for Characteristics,Time Characteristics, and Units)
    RSDCHA----
    Characteristics Catalog
    RSDDPA -
    Data Package Characteristic
    RSDIOBJCMP----
    Dependencies of InfoObjects
    RSKYF----
    Key Figures
    RSDTIM----
    Time Characteristics
    RSDUNI -
    Units
    Thanks
    Reddy

  • Lost all my favourites on iPad 2

    I Have lost all my favourites on my iPad 2. All it shows are the favourites from my i phone 4 .
    how can I restore my favourites ?

    If your email account is an IMAP account, then when you select it in Settings > Mail, Contacts, Calendars, you can set Notes to 'on' which will display the notes associated with that email account in the Notes app , set it 'off' to display them as a folder in the Mail app.  As long as there is at least one email account where the notes are set to be displayed in the Notes app then you will get the option in Settings > Notes as to where to save/associate new notes - if all the email accounts are set to display their notes in the Mail app then you don't get the option in Settings > Notes as there is nothing to chose between i.e. new notes will be stored on the iPad and not to an email account
    So if you had an email account on the iPad that had been set to display its notes in the Notes app, then you may have been storing new notes to that email account. If you then deleted that email account from the iPad (or changed its Notes on/off setting) then the notes that had been stored to it would also have gone from the Notes app, but they will still be linked to the email account.

Maybe you are looking for

  • I want to use Final Cut Pro with Lion?

    I have FCP 6.0.6 and Lion on MacBook Pro. Can't open FCP.

  • Change logs missing for OB52

    Hi Experts We have a peculiar problem where change logs are missing for some of the transactions made through OB52 for modifying FI posting periods. I vefired that change logging has been correctly activated for table T001B. Though change logs are  d

  • Associate ed2k protocol to program (eMule or aMule etc. )

    Hello to the to the Firefox team , When one click a eMule or aMule (P2P) link , there is no option to associate it with /usr/bin/ed2k (the P2P program) . In former versions you had to go in "about:config" and enter a New then Boolean with as name : "

  • Defaulting variable in select query

    Hi Experts,   I am having some different requirement here like, while selecting data from a table, for some column need to deafult some constant value for all lines if the actual value in the DB table has no value. There are some aggregate results li

  • Purchase Order release strategy -- Workflow related

    Hi All, We have a scenario where in the PO's are subject to Release Strategy with 4 levels based on the Value of the PO. My requirement is to ......... 1)  Trigger a workflow once the PO is fully released. (Final approver has released), send a copy o