Workbook not saving in ROLE

Hello,
I have one workbook in direct BI production. What happened user having "create authorization"' and after creating he has saved in Favorites.
Now he wants that particular workbook to be saved in existing role so that i will be available for others.
when he is doing that he is getting message like this     "you are not assigned to role"..
Can u please suggest solution for this..
Amit Shetye
9766392606

hi,
it could be again an authorization issue,just chk whether the auth is available to assign
Ramesh

Similar Messages

  • PCD Attribute not saved for Role Folder

    Hello,
    I try to change a PCD-Attribute programmaticaly.
    If I do it on an iView  (e.g. MyIview) - it works fine.
    If i try on a Folder in a role (e.g. MyFolder) - it does not work !
    I tryed two different approches - same behavour...
    Apporach 1
    String pcdLocation = "portal_content/MyRole/MyFolder";
    //String pcdLocation = "portal_content/MyRole/MyIView";
    IUser principalObj = this.getServiceUser("pcd_service");
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, principalObj);
    env.put("com.sap.portal.jndi.requested_aspect", "com.sap.portal.pcd.gl.PersistencyAspect");
    env.put("java.naming.factory.object", "__IPcdContext__");
    InitialContext initialContext = new InitialContext(env);
    IPcdContext pcmObj = (IPcdContext) initialContext.lookupLink(pcdLocation);
    IPcdObjectFactory pcdObjectFactory =
    ((IPcdGlService) PortalRuntime.getRuntimeResources().getService(IPcdGlService.KEY))
      .getPcdObjectFactory();
    IPcdAttribute newPcdAttr = pcdObjectFactory.createPcdAttribute(PcdAttributeValueType.BOOLEAN,
    "com.sap.portal.navigation.Invisible");
    newPcdAttr.set(0, new Boolean(true));
    ModificationItem[] mods = new ModificationItem[] {
    new ModificationItem(DirContext.REPLACE_ATTRIBUTE, (Attribute) newPcdAttr)};
    pcmObj.modifyAttributes("", mods);
    Apporach 2
    String pcdLocation = "portal_content/MyRole/MyFolder";
    //String pcdLocation = "portal_content/MyRole/MyIView";
    IUser principalObj = this.getServiceUser("pcd_service");
    Hashtable env = new Hashtable();
    env.put(Context.SECURITY_PRINCIPAL, principalObj);
    env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put("com.sap.portal.jndi.requested_aspect", PcmConstants.ASPECT_ADMINISTRATION);
    InitialContext initialContext = new InitialContext(env);
    IAdminBase result = (IAdminBase) initialContext.lookup(pcdLocation);
    IAttributeSet myIview = (IAttributeSet) result.getImplementation(IAdminBase.ATTRIBUTE_SET);
    myIview.putAttribute(IAttriView.ATTRIBUTE_NAVINVISIBLE, "true");
    myIview.save();
    Any idea how to get NAVINVISIBLE - Attribute saved on a role-folder ?
    tnx Johannes

    Hi Johannes,
    I guess you found a working alternative until now, but if not, you should try the other [modifyAttributes |http://help.sap.com/javadocs/NW04S/current/pc/com/sapportals/portal/pcd/gl/IPcdContext.html#modifyAttributes(java.lang.String,%20int,%20javax.naming.directory.Attributes] method on IPcdContext. Your code could look like this:
    IPcdUtils factory = PcdAccess.getPcdUtils();
    IPcdAttributes attributes = factory.createPcdAttributes();
    IPcdAttribute navInvisibleAttribute =
         factory.createPcdAttribute(
              PcdAttributeValueType.BOOLEAN,
              IAttrPcmNavigation.ATTRIBUTE_NAVINVISIBLE);
    navInvisibleAttribute.add(Boolean.TRUE);
    pcdContext.modifyAttributes(
         StringUtils.EMPTY,
         IPcdContext.REPLACE_ATTRIBUTE,
         modifiedAttributes);
    This works in my application, so I never tried working with ModificationItem again. Maybe the implementation is somehow insufficient, but I didn't investigate it further (time pressure kills us all). However, please notice that REPLACE_ATTRIBUTE will replace or create the attribute as specified in the DirContext. Hope that helps.
    Best regards,
    Fabian

  • ERM: "Role not saved" ?

    Hi All, I've recently imported roles to ERM (SP11) and I've generated the role on the backend successfully. However, if I try to then change the role I'm unable to save the changes for the imported role. Instead a red error message is issued: "X Role not saved."
    This problem appears to only occur on imported roles, but not on new roles created in ERM. Has anyone experienced this problem?  Thanks.
    -Dylan

    Hello Satyabrat,
    Thank for posting the OSS Note. I followed the instructions but still have a problem relating to those specific roles. In the meantime, I've tested the same procedure against another set of uploaded roles from another system, and these roles seem to work well. I'll delete all my roles and reload them once again (we are not yet productive, but nearly there).
    I've also noticed that SP12 is a major SP with many changes, we'll also implement SP12 and the latest RTAs before I re-download and import the roles.
    Best Regards,
    Dylan

  • The workbook was not saved

    Hi,
    This problem occurs after a BI upgrade. When I try to change a workbook and save it, I get the error "The workbook was not saved". There are other threads with that issue but no answer has been provided.
    Thanks,
    Patrick

    Hi
    Try this, go to RSRT and give your query and in properties change to H. And do all queries which you are using in the workbook. Hope it works.
    Vishal.

  • User cannot see workbook assigned to his Role

    Hi,
    One of my users have a role (Z_T1_USER - T1 User) assinged to them in the backend. I have created a workbook and saved it under this role under Roles Menu in RSECADMIN - Role Maintenance and there is a green light for Menu. The workbook executes when I execute it from here. This shows that there is no problem so far.
    But when the user logs in to BEx Analyzer, he is not able to see this role (T1 User) and hence is unable to run the workbook. What is causing this?
    Thanks

    Hi,
    Its an authorization problem.
    Pls check the RSSM T code. There enter the cube on which query was built and search for authorization object.
    In the authorization object, there must be atleast one authorization object maintained for the info cube.
    Suppose if you find a company code pertinent authorization object, you need to maintain the same in the role that you have assigned to the user.
    In the authorization tab of the role maintain the authorization object and you are done with it

  • Workbook not shown anymore after upgrade

    Hi,
    We have several workbooks assigned to different Roles_ e.g. Purchase, FI/CO etc.
    If a user has both roles then the workbooks in both roles can be seen by the users.
    But after we have upgrated BW.  The users are not able to see workbooks for one role.
    Even if they have severlar roles. For example if the users have Purcahse and FI/CO roles,
    he/she will only be able to see workbooks belonging one or the other.  If Purchase role
    comes first in the list in the users profile.  Then the workbooks assigned to Purchase role
    will appear but not the workbooks assgined to FI/CO.  If FI/CO comes first in the in the list of
    the roles in the user profile then the workbooks assigned to FI/CO will be seen by the user.
    Does any one of you experienced the same problem.
    Thanks for your help.
    Best Regards,
    Rose
    Edited by: Rose on Jun 14, 2010 12:11 PM
    Edited by: Rose on Jun 14, 2010 12:12 PM

    Hi
    Was your issue resolved?. Were you able to display the workbooks correctly under the roles , if so can you please let me know the solution. we have the same issue.
    Thanks..
    PM

  • Excel COMException : 0x800A03EC Document not saved.

    Hello,
    I am using Interop.Excel in my WinForms application. The application is used to copy some sheets from one workbook to newly created one.
    The newly created workbook is saved when I don't copy shapes. But, when I copy shapes into newly created sheet, the workbook is not saved and COMException is raised with message "Document not saved".
    Scenario :
    I am working with three workbooks simultaneously. 
    MainWorkbook - this workbook contains data to be written into new workbook.
    ResourceWorkbook - this contains sheets that are copied into new workbook.
    OutputWorkbook - this is the result workbook.
    Step 1: Open MainWorkbook. Get data to write in OutputWorkbook.
    Step 2: Write data into OutputWorkbook.
    Step 3: Open ResourceWorkbook from resource file for copying the sheets.
    Step 4: Copy sheets from ResourceWorkbook into OutputWorkbook.
    Step 5: Save OutputWorkbook.
    In step 5, if there are no sheets with images copied in step 4, then the OutputWorkbook is saved. But, if there are sheets containing images, the OutputWorkbook is not saved.
    I am using VS2010 and MS Office 2010.

    Hi,
    According to the description, the issue seems that relative to the specific worksheet which containd shapes.
    I am trying to reproduce this issue in Excel 2010 using VBA, howerever it failed. Here is the test sample which set write the value to the Book2 and copy the worksheet contained shapes from Book1 to Book2:
    Sub CopySheet()
    Application.Workbooks("Book2.xlsx").Worksheets("Sheet1").Range("A1") = "Hello Word!"
    Worksheets("Sheet1").Copy Application.Workbooks("Book2.xlsx").Worksheets("Sheet1")
    Application.Workbooks("Book2.xlsx").Save
    End Sub
    Could you reproduce the issue with code above? If not, a sample worksheet and code snippet to help us reproduce this issue is much appericate.
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 1 workbook in 2 different roles in BI7.0

    Is it possible to publish the same workbook in 2 different roles in BI7 ?
    I would like that all modification done on the workbook in the first role would be automatically done on the workbook in the second role (because it's not a copy but just a publication).
    Please, give me a solution in NetWeaver ?

    HI Srikumar,
    Yes I understood your requirement. We cannot use Static ID.
    My method should work.
    You have to create two buttons for 2 different regions.
    and use the button requests in your MRU process as mentioned above.
    So if Administrators log in and click the button in region X, it will call the MRU process.
    If end-Users log in and click the button in region Y, it will also call the MRU process.
    You dont need two processes.
    Sreenithi

  • BPC 4.2 Dimension not saved

    Hello dear friends,
    I 'm encoutering a prroblem when trying to process a dimension in bpc version 4.2
    when i click on the process button i have this message
    CANNOT SAVE THIS WORKBOOK
    ERROR: DIMENSION.XLS EXCEL FILE WAS NOT SAVED
    ERROR: DOCUMENT NOT SAVED
    i tried to go to manage dimensions screen and save my dimension again
    i saved the application using this dimension again
    i saved on my desktop the xls file and tried to save it manually on the server but can't save it
    please can you help me regarding this issue, how can i solve it without creating a new dimension etc...
    thanks in advance
    best regards
    C.L

    The member sheet itself might be corrupted.  Rename the suspect sheet to dimension_old.xls and then copy and paste its contents into a new workbook.  Don't forget to rename the worksheet tabs.  
    Also, this is old OutlookSoft KB article:
    Please check the following:
    Make sure the AdminApp directory is not set to read-only. If it is and cannot be changed you can recreate the directory and move everything over to the new folder.
    Delete the files under the AdminApp/LogFiles folder.
    Try validating and processing again.
    This can also be caused by load balancing software running. We have an issue with load balancing that is under investigation right now. If you have two or more webservers with load balancing you will get these messages periodically. At this time, we recommend using only 1 web server.
    Another Osoft KB:
    Please try the following on the Everest Server to resolve this issue.</p>
    Turn off "enable authoring" on the default web site in IIS on the Everest Server, this forces Everest to use WEBDAV instead of FrontPage Server Extensions which we have found to be more stable. NOTE: IF YOU ARE USING WINDOWS 2003 SERVER YOU WILL FIND THIS UNDER "WEB SERVICE EXTENSTIONS."
    Delete all vticnf folders on the Everest Server and in IIS. These folders are a result of using Frontpage Server Extensions rather than WEBDAV.
    Enable Content Expiration in IIS:
    Under the Default Web Site folder, navigate to the Application Set folder.
    Expand the AppSet then right click on the Adminapp folder and select Properties.
    On the HTTP Headers tab select the Enable Content Expiration check box and select the Expire Immediately radio button.
    Click Apply then click OK.
    Repeat for all Application Sets under the Default Web Site.
    Run the server diagnostic utility on the Everest Server and check results. It is possible that some of the directories in IIS are not set for "WRITE" access.

  • Business Critical- Table for Wokbook saved in Roles Node Level

    Hi Gurus,
    We have upgraded to Nw2004s from 3.0B. One of our Role which was having several nodes and many workbooks were saved on those nodes got corrupted. As a result we dont see the node structure for that Role. Users are going to face problems to find out these workbooks as the structure is missing.
    Basically we could find out the Nodes descriptions from AGR_HIERT and could find query list(RSRWBINDEX) and user names and the role name from the tables AGR_HIER and AGR_USER.
    Now we have to find out which are the  workbooks saved in which Node Level for this particular Role.
    Can anyone please tell us the table names or tables which is linked internally and we could identify from the link that which workbook is saved in which Node Level.
    This is Business Critical issue.
    Thanks in advance.
    regards,
    Akash

    Hi Rohit,
    Thanks for your reply!
    The report requirement and design idea was to initially display L04 and L05 of the PC-hierarchy as this level gives a good overview of the overall costs.
    We have also discussed more detailed reports where L06 and L07 are used.
    The roles will be defined on the profit center hierarhcy. As of now some users should have full access, some users should have access based on node level L05 and some users based on L07. I dont have the full list of users though.
    Obviously, based on your input (that the values never remain constant) I have to give the design a bit more thought as I think it will be confusing when the node levels are shifted depending on access.
    But to simplify, if the access only is based on two scenarios:
    1) root node (full access L00)
    2) nodes on level 4 of the hierarhcy (L04)
    and the report should look like
    L04, L05, Amount
    How can I use variables to avoid the shifting?
    /Daniel

  • Transferring workbook from favourites to Role

    Hi
    I have created a workbook and saved under favourites. Now i want to put that workbook in the roles. How do i do that?
    Regards
    Annie

    Hi ,
    1)After creating the query, save the query to a role from the query designer.
    2)PFCG(tcode ) > role > menu > add the report .
    Hope it helps.
    Thanks & Regards,
    Ramnaresh.

  • Image is not saved in jpeg/bmp file but ok with png

    Hi i am unable to save the image in disk in jpeg format.
    Here is the code.
    public void saveImage(){
    //if no filechooser is there means no image file opened.
            if(fileChooser==null){
                if(errorWindow==null)
                    errorWindow=new ErrorWindow(XXX.getPrimaryStage());
                errorWindow.showErrorWindow("There is no image to save !!\n");
            else{
                fileChooser.setTitle("Save The Image");
                File saveFile=fileChooser.showSaveDialog(XXX.getPrimaryStage());
                if(saveFile!=null){
                    System.out.println("saveFile path= "+saveFile);
                    //get the extension of output image to be saved.
                    //XXX: is the main class name(say)
                    outExtension=*XXX*.getImageExtension(saveFile);
                    //if user does not give extension: set default extension as jpg
                    if(outExtension.equalsIgnoreCase(saveFile.getName())){
                        outExtension="jpg";                   
                        String newPath=(saveFile.toString())+".jpg";
                        saveFile=new File(newPath);                   
                    Task task = new Task<Void>() {
                        @Override
                        public Void call() {
                            Platform.runLater(
                                    new Runnable() {
                                        public void run() {
                                            try {
                                                //The image is inside ImageView->inside ScrollPane-> inside TabPane.
                                                Image curImage=XXX.getCurrentImage();
                                                int width=(int)curImage.getWidth();
                                                int height=(int)curImage.getHeight();                              
                                                System.out.println("cur image width= "+width+" ht= "+height);
                                                bufferedImage=new BufferedImage(width, height,BufferedImage.TYPE_INT_ARGB );
                                                //set the current image to awt Buffered Image
                                                SwingFXUtils.fromFXImage(curImage, bufferedImage);
                                                    imageTabPane=xxx.getImageTabPane();
                                                    Tab tab=imageTabPane.getSelectionModel().getSelectedItem();                                    
                                                    TabPane childTabPane=(TabPane)tab.getContent();
                                                    ScrollPane sp=(ScrollPane)childTabPane.getSelectionModel().getSelectedItem().getContent();
                                                    final ImageView imageView=(ImageView)sp.getContent();
                                                    WritableImage wim = new WritableImage(width,height);
                                                    imageView.snapshot(null, wim);
                                                    System.out.println(" snapShot width= "+wim.getWidth()+" ht="+wim.getHeight());                             
                                                    *ImageIO.write(SwingFXUtils.fromFXImage(wim,null), outExtension, saveFile);*
                                                       //<------ its not working  for png,jpeg,bmp,gif                                          
                                                    // the below lines are working only for png and gif
                                                    OutputStream out = new FileOutputStream(saveFile);                                                
                                                    ImageIO.write((RenderedImage) bufferedImage, outExtension, out);
                                                    out.flush();
                                            } catch (Exception ex) {
                                                Logger.getLogger(FileMenuController.class.getName()).log(Level.SEVERE, null, ex);
                                                //ex.printStackTrace();
                                            System.out.println("finished");
                            return null;
                    Thread th = new Thread(task);
                    th.start();
                }else{
                    System.out.println("File is not saved");
        }//saveImageNote: The above code is executed in ubuntu(10.04) using Netbeans 7.2(Javafx(2.2), java(1.7.0_11).
    When i run(from terminal) separately in a new class with an image in an Imageview( inside a Vbox) and take the snapshot
    of the imageview and write into the file using ImageIO.write(SwingFXUtils.fromFXImage(wim,null), outExtension, saveFile);
    with any extension (jpeg,png etc) it is working fine.
    Please help me.
    Any small hint is also helpful.Please feel free to comment or give suggestion.
    Edited by: 963038 on Feb 17, 2013 7:14 PM

    When i omit the line OutputStream out = new FileOutputStream(saveFile);
    and write only
    ImageIO.write((RenderedImage) bufferedImage, outExtension,saveFile);
    //out.flush();
    then saving the image even in "png" also fails.
    The following is the error code:
    Note : FileMenuController is my file where the saveImage() is wrtten.
    javax.imageio.IIOException: I/O error writing PNG file!
    finished
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1168)
         at javax.imageio.ImageWriter.write(ImageWriter.java:615)
         at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)
         at javax.imageio.ImageIO.write(ImageIO.java:1536)
         at *newciptk.controls.menu.file.FileMenuController$1$1.run(FileMenuController.java:205)*
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.IOException: Operation not supported
         at java.io.RandomAccessFile.writeBytes(Native Method)
         at java.io.RandomAccessFile.write(RandomAccessFile.java:499)
         at javax.imageio.stream.FileImageOutputStream.write(FileImageOutputStream.java:124)
         at javax.imageio.stream.ImageOutputStreamImpl.writeInt(ImageOutputStreamImpl.java:91)
         at com.sun.imageio.plugins.png.ChunkStream.finish(PNGImageWriter.java:136)
         at com.sun.imageio.plugins.png.PNGImageWriter.write_IHDR(PNGImageWriter.java:401)
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1135)
         ... 9 more
    javax.imageio.IIOException: I/O error writing PNG file!
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1168)
         at javax.imageio.ImageWriter.write(ImageWriter.java:615)
         at javax.imageio.ImageIO.doWrite(ImageIO.java:1612)
         at javax.imageio.ImageIO.write(ImageIO.java:1536)
         at newciptk.controls.menu.file.FileMenuController$1$1.run(FileMenuController.java:205)
         at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:173)
         at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
         at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
         at com.sun.glass.ui.gtk.GtkApplication$3$1.run(GtkApplication.java:82)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.io.IOException: Operation not supported
         at java.io.RandomAccessFile.writeBytes(Native Method)
         at java.io.RandomAccessFile.write(RandomAccessFile.java:499)
         at javax.imageio.stream.FileImageOutputStream.write(FileImageOutputStream.java:124)
         at javax.imageio.stream.ImageOutputStreamImpl.writeInt(ImageOutputStreamImpl.java:91)
         at com.sun.imageio.plugins.png.ChunkStream.finish(PNGImageWriter.java:136)
         at com.sun.imageio.plugins.png.PNGImageWriter.write_IHDR(PNGImageWriter.java:401)
         at com.sun.imageio.plugins.png.PNGImageWriter.write(PNGImageWriter.java:1135)
         ... 9 more

  • Excise invoice is not saving and not showing datas

    in erxcise invoice i ve made settings as per the sap best practices then also the excise invoice is not saved and not generated also
    please help me to solve the problem
    the error is coming like this
    Error in allocating Excise invoice number Interval not found Number object J_1IEXCLOC
    Message no. 8I336
    i ve already maintainthe number range for this object in tool in tax in goods moment
    please give some better advice for the excise invoice setting.

    Sub Transaction type determines the subcontracting attributes and determines the accounts for the posting while doing a sub contracting transaction.
    Sub transaction type is also used for determining the accounts while
    doing excise removals.
    Within CIN the account determination is based on the transaction type.
    So normally you can have a single set of accounts for Excise
    utilization. In case you need alternate account determination for
    handling various scenarios you can define sub transaction types. The
    sub transaction types and corresponding account assignments needs to be
    maintained in CIN customization
    To make customization of Sub Transaction type, goto
    <b>SPRO --> Logistics General --> Tax on Goods Movements --> India --> Account Determination and check whether you have assigned second and third one, viz. "Specify Excise Accounts per Excise Transaction and Specify GL Accounts per Excise Transaction".</b>
    Check
    <b>Taxes on goods mvnt--indiaaccnt determination---specify excise accnts for excise transaction...maintain the sub transction type , ip or 01,
    against the appropriate ETT</b>
    Message was edited by:
            sam masker

  • In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    In an eMail message, when I attempt to save two photos by clicking the 'Save 2 Images' link, not the 'Save Image' link, the images are not saved. (I use I I apologize for the late notice, butOS7 on IPhone5). Is this feature broken?

    Please don't post the same question multiple times!

  • Non admin user - changes not saved (Safari settings, system prefs, etc.)

    iMac, 2 users, one is administrator and other is standard user. Recently, in the non-admin user account, it has become impossible to make any changes. For example, adding an application to the the Dock, after logging out and back in next time, the application is not in the Dock any more. Also, making changes to the prefs in Safari, changes are not saved.
    I noticed this after installing FireFox v4. I installed it as admin whilst in the non-admin users account. However, I don't believe that the installation of FF has anything to do with the problem, it just highlighted it. I've checked the permissions for the various directories that hold prefs info such as user/libraries/application prefs/etc. etc. and also Safari prefs. Nothing I can see that has changed in system prefs.
    Any ideas on what has caused the problem (kids are known to fiddle from within the non-admin account) and any ideas on how to fix it?
    Thanks

    Hi PPRuNe,
    You could try making the standard user an Admin too. To do this, make sure you are logged in to the standard user, go to System Preferences > Accounts > Standard user (you may have to unlock the padlock) > Allow user to administer this computer
    This will allow changes to be made without being prompted for a password all the time.
    However, if you had Parental Controls on, they probably won't work on an admin account because as an admin you have complete control over a computer, so the computer thinks there is no point in having the controls turned on. And if the kids are known to "fiddle," just think carefully!
    Hope this helps you.
    Chris.

Maybe you are looking for