Change Report Owner

In a previous thread titled [Change Report Owner|Change Report Owner; by [Roy King|http://forums.sdn.sap.com/profile.jspa?userID=4028889] he was asking how to change the owner of a report.
Since the post went unanswered, I thought I would post the solution that worked for me:
If you are using ASP.Net like I did, you can follow the post from [Pinchii.com: How to Change Owner for a Crystal Reports Server Report|http://pinchii.com/home/2011/01/how-to-change-owner-for-a-crystal-reports-server-report/]
The code on this page is a complete .NET project ready to use
If you are using Java, you can use the code from [ Forumtopics.com's BoB LoblaW: Re: Change Report Owner|http://www.forumtopics.com/busobj/viewtopic.php?p=699058#699058].  Bob's code is only the bit you need to change the owner, but you still have to code the rest
The key to change the owner is to change SI_OWNERID
and the fix for Roy Kings Code:
Replace the line oSourceUserObject.save();
sourceUser = (IInfoObjects) iStore.query("select * from ci_infoobjects where si_id=" + repID);
for ( int i = 0; i < sourceUser.getResultSize(); i++ ) {
oSourceUserObject = (IInfoObject)sourceUser.get(i);
//oSourceUserObject.properties().setProperty("SI_OWNERID",ownerID); //set new Name/ID
oSourceUserObject.properties().setProperty(CePropertyID.SI_OWNERID,ownerID); //set new Name/ID
//oSourceUserObject.save();
oSourceUserObject.save();
with
iStore.commit(sourceUser);
The above code is not complete, you need to declare an instance of the infoStore service which is represented above by iStore

I would open a support ticket, since you appear to have an interesting case.
As background, there's some things that can trigger change in ownership to Administrator, where the main culprit is that the original owner User is either deleted or disappears.  When the owner is gone, then documents are transferred to the Administrator. 
For example, if you have AD or LDAP authentication based Users, and the connection to the authentication server dies, then a refresh update can remove those users (unless you generate Enterprise auth aliases for each User).
Sincerely,
Ted Ueda

Similar Messages

  • How do I change the "Owner" of my Business Objects Reports

    Here is my problem.
    When we upgrade Business Objects we 'convert' a large number of reports to the BO XI rel2 version of the reports.  During this convertion process all the reports were switched to be 'owned' by usercode 'Administrator'.  Our users are now wanting to move/change/delete these reports and they can't because they are not the owner.
    So we need to switch this owner.  Problem is the only way we can find to do this is to copy the report to a new name and delete the old one.  This is very time consuming.  Also many of our users are not priviledged to delete reports that they don't own.  Therefore our administrators are the only ones that can do the delete step.
    It seems like I should be able to logon to the system as 'Administrator' and change the owner of the reports (similiar to doing a chown command in Unix) to whoever I want.  There however doesn't appear to be a way to do that in Infoview or the Central Management Consule.
    Is there a simple easy way to do this??  I have thousands of report to change.
    Thanks Bart

    It's possible via the Enterprise SDK, if you have a Java or .NET programmer.
    Sincerely,
    Ted Ueda

  • Change job owner for job owned by a report server process

    Question on a SQL 2008 Enterprise Edition (64-bit)
    I have changed the owner of a couple of jobs (owned by a report server process) using Management Studio. The new user has sysadmin role just like the previous one had.
    Then I kept thinking on the job's legend: "This job is owned by a report server process. Modifying this job could result in database incompatibilities. Use Report Manager or Management Studio to update this job."    
    Did I do it at the right place or I had to do it at the Report Manager?
    I went to report manager and I was not able to find where I could change this.
    So, Did I do it at the right place by doing it at Management Studio?
    Thanks!
    Paulino

    Hi Paulino PP,
    According to your description, you want to know some information about changing owner of jobs in SQL Agent. Right?
    In this scenario, you did the right thing. We should edit it in SQL Server Manager Studio. Since the new owner has same permission and authority, so the job will be also executed. For some detail information, please refer to the link below:
    http://msdn.microsoft.com/en-us/library/ms178031.aspx
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Proper way to make bulk changes the Owner ID, Path and file share credentials for my existing subscriptions, ExtensionSettings

    We are going through with an upgrade/migration to SSRS 2012 and moving everything to a different domain. We have about 200 active subscriptions running, the reports are being delivered to a file share.  What is the correct way, in bulk, to change
    the OwnerId, the Path and the FileShare Username password credentials for these subscriptions?  I see these values are being stored in Subscriptions > ExtensionSettings.  I see that the file share path and Owner wouldn't be a problem to change,
    but since I see the file share credentials are encrypted I would not be able change them directly in ExtensionSettings.  Anyone know the proper way to change the Owner ID, Path and file share credentials for my existing subscriptions without having to
    change each one of them manually in the report manager?
    Note: Reporting Services Native upgrade from SSRS 2005 to SSRS 2012.
    Thanks in advance.

    Hi Cygnus46,
    Based on my understanding, you want to change the Owner ID, Path and file share credentials for all existing subscriptions.
    In Reporting Services, the subscription information are stored in the Report Server database. In your scenario, you can go to report server database and run the query to list all the subscriptions, then modify the owner and fileshare paths in the subscriptions
    table. For more information, please refer to this article: Tip: Change the Owner of SQL Reporting Services Subscription. If you want to change
    the file share credentials for subscriptions, you can run the query provided by
    wiperzeus from this similar thread:
    Windows File Share Delivery/ SSRS 2008 R2.
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • How to change the owner of an Information Broadcasting setting?

    Hi,
    I have created and scheduled some reports to be distributed via the Information Broadcasting functionality. I would like know if it is possible to change the "owner" of the setting in order to cater for the following scenario.
    User A has created and setup a few Information Broadcasting settings. I would like to change the ownership of the setting so that User B has access to make changes. At the moment, users only have rights change their own settings.
    Appreciate any help...
    Cheers,
    Lashan

    Found a workaround although not ideal. I can temporarily assign the user the required rights to view all setting. User can then copy the settings (using save as option) and once done I can remove the rights.
    However, the report format would have been customised and saved (using save view option) prior to setting up the information broadcast. When transfering ownership I also need to transfer the ability for the user to edit the saved format without starting from scratch. Any table or transaction I could use to do this? So at the moment I have a solution to enable the new user to change the distribution list and schedule, but not the report format which is required.

  • Changing Report Title format in Discover 4i Viewer

    I have been reviewing the style sheets for configuring discoverer 4i viewer and have been able to change logos and remove copyrights etc. but I am having difficulty changing the format of the report title. the current title concatinates the discoverer report owner, name and description. ex:
    SYSADMIN.Search_Pending_and_Approved.DIS - Search Deals and Opportunities
    which frankly looks aweful to an end user, much less an external end user (we are pushing reports out to partners via Partner Management partner portal).
    I think that I found the place to change this in the gui objects style sheet, but it appears that there is only one parameter passing this whole thing. Is there a way to just display the description. ex:
    Search Deals and Opportunities
    Any help would be greatly appreciated.
    Thanks in advance
    Dean

    Right click on the date field -> choose textbox properties -> choose number -> choose Date -> and choose the format you want or choose a custom format  "YYYY-MM-DD"

  • How to Discoverer change workbook owner?

    Using:
    OracleBI Discoverer 10g (10.1.2.1)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.48.18)
    Discoverer Model - 10.1.2.48.18
    Discoverer Server - 10.1.2.48.18
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.48.18
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bi
    How does one change the owner of a workbook?
    The problem is when a user changes their name, then there Oracle database user name changes. The user needs to keep both user names. So
    the reports must be re-assigned to the new user name and given access to the old user name that has ownership of the report.
    Thanks.

    A) One way of doing this is to share the workbooks to the new userid and then the new userid saves th
    em to the database as their own.
    Ensure new userid is created with the EXACT same privileges as the old userid. The Discoverer Administrator must ensure the new userid has security to the EXACT same Business Areas and the same privileges as the old userid.
    B)
    1. Ensure new userid is created with the EXACT same privileges as the old userid. The Discoverer Administrator must ensure the new userid has security to the EXACT same Business Areas and the same privileges as the old userid.
    2. The Discoverer Administrator must export the workbooks File - Export to an .eex file and generate an XML file.
    3. The Discoverer Administrator must open the .eex file in Notepad or Wordpad and find the old userid and change manually to the new userid.
    4. The Discoverer Administrator then imports File - Import the workbooks back into the EUL.
    a) File -> Import
    b) Add File
    c) The .eex file that was just changed
    d) Next
    e) Step 2 here is very IMPORTANT ***" Only take ownership if original owner cannot be found "***
    ****CHECK THIS****
    f) Start
    g) Finish
    5. Login with new userid into Desktop or Plus and then Open an existing workbook from the database and confirm all workbooks are there.
    6. The first time you run the workbook Discoverer will prompt with 3 choices:
    a) Open the workbook in the account where it was saved.
    b) Open the workbook in the current database account. *** CHOOSE this one ***
    c) Don't open the workbook.
    *** Choose B and confirm the workbook can be seen and runs correctly. ***

  • Chnage Report Owner

    Hi Forum Members
    I  saw this in Sap Ideas List Is any of the forum members develop any code and try this..
    This is the one i saw in web
    When a users leaves the company, we need to transfer ownership of all reports to another user. In our security model, non-admin users do not have the right to modify a report for which they are not they owner. Also, we get a number of users that change their name (married, divorced.. other). Currently, we have to copy all reports owned by their "Old" name into a folder, then they have to use their "new" name/userid to perform "Save As" for each one of them. This is VERY time consuming as we have users with dozens and even hundreds (power users) of reports. I get this request 30-50 times a year.
    When a user is removed from the system, all public folder reports become owned by Administrator. So some of the code for this has already exists. THIS WOULD BE AWESOME FUNCTIONALITY!! I have spoken with many other BO admins that have this as one of the top 5 on their wish list.
    I find some code on Bo forum , but when irun it didnt give any error  but it didnnt do any this.
    I comile this java to jar and call this jar file through Cmc console as a program file and schedule it.
    It say success but it didnt change the owner of the report If some one have an idea chanck this code
    package com.programobject;
    import com.crystaldecisions.sdk.properties.*;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.plugin.desktop.program.IProgramBaseEx;
    public class JavaProgramObject_1 implements IProgramBaseEx
    public void run(IEnterpriseSession enterpriseSession,IInfoStore infoStore,IInfoObject programInfoObject,java.lang.String objectID,java.lang.String[] args) throws SDKException
    public class OwnerChanger {
    public static void main(String[] args) throws Throwable{
    ISessionMgr sm = CrystalEnterprise.getSessionMgr();
    // args[] contains user, password, CMS host name and authentication type
    IEnterpriseSession es = sm.logon(args[0], args[1], args[2], args[3]);
    IInfoStore infoStore = (IInfoStore)es.getService("InfoStore");
    // Get the ID of the new owner
    String newOwnName = "kaboorva";
    String query = String.format("select si_name, si_id from ci_systemobjects where si_kind = 'user' and si_name like '%kttao%'", newOwnName);
    IInfoObject newOwner = (IInfoObject)infoStore.query(query).get(0);
    int newOwnerId = newOwner.getID();
    // Query for the objects whose ownership should be changed
    IInfoObjects objsToChange = infoStore.query("select si_id, si_name, si_owner, si_ownerid from ci_infoobjects where SI_KIND='webi' and SI_OWNER = 'testy' and SI_INSTANCE=0");
    for (Object o : objsToChange ) {
    IInfoObject objToChg = (IInfoObject)o;
    String oldOwner = objToChg.properties().getString(CePropertyID.SI_OWNER);
    // Set new owner ID. Note that changing CePropertyID.SI_OWNER has no effect; SI_OWNERID must be changed instead
    objToChg.properties().setProperty(CePropertyID.SI_OWNERID, newOwnerId);
    System.out.format("Changed owner on %s: %s -> %s%n", objToChg.getTitle(), oldOwner, newOwnName);
    System.out.println("Saving changes...");
    infoStore.commit(objsToChange);
    System.out.println("Complete");
    infoStore = null;
    es.logoff();
    Regards

    You don't seem to be implementing run() method which is required.
    public void run(IEnterpriseSession oEnterpriseSession, IInfoStore oInfoStore, String args[])
    // your code goes here.
    //you already have current IEnterpriseSession and IInfoStore Object, so you can straight away query and change owner.
    You need not call logoff() towards the end of this method.
    Edited by: Aasavari Bhave on Jan 31, 2012 9:39 AM
    Edited by: Aasavari Bhave on Jan 31, 2012 9:40 AM

  • Purchase order price change report

    Hello
    How to retieve the purchase order price change report ? do we have any standard report for it or any table which gives these data?
    kindl

    HI
    Have you activate version management at your end for PO,i think this will help you to track changes of PO for qty,price etc.
    [http://wiki.sdn.sap.com/wiki/display/ERPLO/Version+Management]
    Regards
    Kailas Ugale

  • Change report S_ALR_87012168 - 0SAPDUEAN-01

    I am in FDI2 for changing report 0SAPDUEAN-01-Due Date Analysis for Open Items. I would like to add one more characteristic in the list available in the right hand side. Currently there are only 26 characteristics available for selection

    Hi Suma,
    In my last project I worked a lot on that to add new characteristic but I didn't get in clue.  If you get any idea that would be great.
    Best of luck
    Sreenivas

  • How to change report displayname at runtime when run from the report server?

    hi all,
    with the reportviewer widget in a winforms app, i'm able to change report displayname at runtime by handling thesubmittingparametervalues event like so:
            private void reportViewer1_SubmittingParameterValues(object sender, ReportParametersEventArgs e)
                string po = e.Parameters["Order"].Values[0];
                this.reportViewer1.ServerReport.DisplayName = "Load Out - " + po + " - " + DateTime.Now.ToShortDateString();
    question: how do i achieve the same thing when the report is run via the ssrs reportserver website?
    thanks for any tips,
    sff

    Hi sherifffruitfly2,
    According to your description, you want to change the display name of report in Report Manager. Right?
    In Reporting Services, we can't make the report file name dynamically. But we have Build-in Fields to show report name and execution time in a report. We can add a textbox and put in the expression below:
    ="Load on- "+Globals!ReportName+" "+Globals!ExecutionTime
    It will show the report name with execution time when we run the report:
    Reference:
    Built-in Collections in Expressions (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Error while changing the owner of an object in Discoverer

    Hi All,
    I have a problem in Discoverer folders.
    I have a folder whcih is based on a view in schema in A, now i have created the same view in schema B and want to change the owner of the view in Discoverer to B.
    But when i do that it gives me an error as -
    'An error occured with the darabse transaction because the underlying object has been changed'
    I am not able to understand this.
    If anyone can help me this it would be really helpful.
    Regards,
    Shruti

    Well, this is something not talked about in the Administration training class. My hunch is that you are trying to do something that Oracle never intended you to do. I think when you edit the folder and want to change the Owner property, the idea maybe is that you are trying to change the owner on the original table. Here you have said that you recreated the view in schema B (so technically a different table object). But in Discoverer you are still dealing with the view in schema A as the basis for the folder, not the view in schema B. Though I would think if you can see the new owner's name in the database/user list and thus can pick it, it should let you change the owner property, even if that may not be quite what you intended. Discoverer does store things under the cover (such as unique ids), so maybe something is going on that is not visible. My suggestion would be to open up a service request with Oracle support on this. The idea of dropping the folder and then readding it may be okay, but that would be something you would want to test in some kind of test environment and see what happens (not sure what impact that may have on workbooks using the original folder). Of course it may be possible that you have uncovered an Oracle bug.
    John Dickey

  • What is the procedure to change the owner of the BW jobs.

    Hi Gurus,
    Version- BW 3.5
    I need to change few jobs Owners which are collected from the SM37 from a individual User to generic account(ALEREMOTE).
    Will any body help me out with the procedure to change the owner of the BW jobs.
    Thnaks in advanace..
    With Regards,
    MBS

    in SM37, take all release jobs by giving JOb name as "" and user as "".
    When you get the release job details then follow the steps.
    1. Select theJob --> Menu Bar --> JOB --> Change --> here you will get the details of the job and Clieck on STEP just above the job name.
    In the next screen select the job and click on Change ICON.  here you can see the user name in change mode and you can update the user to ALEREMOTE. And then save the job.
    Once done then the job will be on the new user.
    Hope this helps..

  • How do you change the owner of a folder?

    Hello,
    I'm having a very difficult time finding an answer to this question. I have a brand new xserve (10.5.2) up and running fine with a single web site with wikis and blogs enabled. I can get to the web page and the wikis with no problems.
    The problem is, the default folder for the web home page and the wiki information are on the system drive. I need to have those folders on another partition. I created a folder called /Collaboration and one called /Webdocs on the partition on which I need these folders.
    When I put a copy of index.html into the webdocs folder, the web site shows up fine in a browser window. Wikis show as being "disabled" though. The folder for the wiki files has me as the owner since I created it. I've read on a few posts in these forums that the owner of that Collaboration folder needs to be "teamserver" however, I am unable to change to that using Get Info, like I could with a Tiger machine.
    Could someone please tell me how to do this? Thanks.

    I've got a similar problem:
    I'm attempting to follow the directions in the Upgrading and Migrating Guide for Leopard. The Mac has two hard drives in it. Batman contains the active server running 10.4.11. Magic is the hard drive that will run 10.5.2.
    Since I'm moving from one hard disk to another (as opposed to an entirely different Mac), things ought to be fairly easy. But not for me. ;(
    What I'm trying to do: Migrate the mail database. (I have managed to import users and groups; only the mail service will run on this machine.)
    Problem: I can't change the owner and group settings on the various files in the var/imap and var/spool/imap folders (for example, so that they are owned by system or _cyrus, with group wheel or mail and everyone set to read only).
    The owner and/or group often shows up as unknown (which is to be expected with the migration to a different hard drive). But how can I change these permissions?
    Or is there a way to use a command to copy them from one disk to another? I tried ditto, but didn't get the syntax right (the files were copied to the same level as the imap folder rather than within it) and now I have a bunch of files owned by nobody that I can't delete because I can't change the owner.
    TIA,
    mm

  • Unable to change document owner

    Hi All,
    I am trying to change document owner of Master Agreement via Contracts.xls file.
            I am getting below error:
            # Record 1. Warning: the item Rama Kishore referenced in column DOC_OWNER_USER could not be found
    Also, I went through various posts and as mentioned in one of the post to assign "Document Owner" role using "user account.xls". But still I was not able to see this role in Security Tab of my user account.
    Another post says to use a template with following fields
           # Field
           # CLASS_NAME
           # PARENT_EXTERNAL_ID
           # PARENT_UNIQUE_DOC_NAME
           # LOOKUP_PRINCIPAL
           # LOOKUP_COLLABORATOR_TYPE
           # LOOKUP_COLLABORATOR_ROLE
           # PRINCIPAL
           # COLLABORATOR_TYPE
           # COLLABORATOR_ROLE
           # REPRESENTING
           # USAGE
           # SILENT
           but it gives error:
           # Failed: object 1: The object referenced in column DOC_TYPE could not be found.
    Please guide me on how to change document owner of an Master Agreement.
    Thanks,
    Saloni

    HI Saloni,
    Try to import the sample workbook  with your Data which I have sent to your email id. While importing select the object type as Master Agreement. Also make sure the user which you are trying to update should be available in the System.
    Let me know if it works.
    Thanks,
    Kushagra A

Maybe you are looking for

  • List of Released Sales order USER ID'S wise Report

    Hi,       Where can i get List of Released Sales order.The problem is we have 3 user ID's to release orders.So i need user ID's wise release orders report.In VKM2 its not working even if i give credit representative group.Thanks in advance. Rgds, NAG

  • Creating Bookmarks in a PDF Doc

    Hi, I have a created a couple of ibots that create PDF documents - does anyone know how to have bookmarks created in the PDF file ? In a previous BI tool we used when a PDF was created it created a tree of bookmark links on the left side. Any idea's

  • REPORT for Lead Questonnaier.

    Hi CRM Gurus, I want to generate a report which gives the details of the questionnaier for leads created in the given date range. the questionnaier which is in the evaluation TAB of the lead transaction. please help me in finding the table name and f

  • Can't delete library

    I deleted songs from several playlists without problem. Then I tried to delete songs from several other playlists. I have tried hitting the DELETE button. I have tried hitting EDIT and then DELETE. Nothing works. The DELETE selection is grayed out. I

  • DataGrid formatting

    Hello, I want to use a DataGrid in my application, but with different formatting depending on each cell (editable or not, text color, etc.). The app displays a kind of procedure in a grid. Some cells of the grid are empty and need to be NOT editable,