IViews listed in Java via Roles

Hi,
Is there a way to get all the iViews connected to a role when using the Security API from Java.
For the moment I can list all the roles connected to a specific group.
But i can't get any further than the role itself.
Is there by any chance a way the collect them?
kr,
Arnaud Willems

Hi
Is there anything I can do manually to rectify this ?... I tried installing again in a different system but Im facing the same error..?
does that mean the problem is with the setup ?
Regards
Sweety

Similar Messages

  • How to call IAC Iview from WebDynpro java code

    Hi Team,
    I am tring to call IAC Iview from WebDynpro Java code. we are passing value but blank page  displayed and there is no error show on error log.
    Below is Java Code which i am calling.
      public void wdDoInit()
          try {
                String strURL = "portal_content/TestSRM/iView/TestSRM";                           //WDProtocolAdapter.getProtocolAdapter().getRequestParameter("application");
                 String random = WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("random_code");     
                 //wdContext.currentContextElement().setRandomNumber(random);
    //below we are call URL           
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/TestSRM/iView/TestSRM?VAL="+random,WDPortalNavigationMode.SHOW_INPLACE,(String)null, (String)null,
                       WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String)null,(String)null, " ");
            } catch (Exception e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
    I am passing value from URL.
    http://<host Name>:<port>/webdynpro/resources/local/staruser/StarUser?random_code=111111111
    when we call above URL we getting blank screen.
    Regards
    Pankaj Kamble

    Hi Vinod,
    read this document (from pages 7 ).
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b5380089-0c01-0010-22ae-bd9fa40ddc62</a>
    In addition lok at these links: (Navigation Between Web Dynpro Applications in the Portal)
    <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm">http://help.sap.com/saphelp_erp2005/helpdata/en/ae/36d93f130f9115e10000000a155106/frameset.htm</a>
    <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm">http://help.sap.com/saphelp_erp2004/helpdata/en/b5/424f9c88970f48ba918ad68af9a656/frameset.htm</a>
    It may be helpful for you.
    Best regards,
    Gianluca Barile

  • Jav Developer role = Web Dynpro Content Explorer

    Hi,
    When i navigate to Java Developer role => Web Dynpro Content Explorer(Detailed Navigation) in portal I am getting following error. I am getting the same error in ESS and MSS pages also...
    <b>
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : N/A
    Component Name : N/A
    com/sapportals/portal/pb/utils/RedirectData.
    Exception id: 10:45_30/01/06_0023_2755950
    See the details for the exception ID in the log file
    </b>
    When i look at log files ... I am getting the stack trace.
    <b>
    << item 0 : >>#1.5#0002553A11CD00520000002D000A316000040B9554A2BD58#1138635904826#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#SMANCHAL#1017##nadcp949_LPD_2755950#SMANCHAL#107dd96091a711da84b30002553a11cd#SAPEngine_Application_Thread[impl:3]_0##0#0#Error#1#/System/Server#Java###Exception ID:10:45_30/01/06_0023_2755950
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: PortalRuntimeException
    at com.sapportals.portal.prt.core.PortalRequestManager.handleRequestException(PortalRequestManager.java:921)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:803)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))
    Caused by: java.lang.NoClassDefFoundError: com/sapportals/portal/pb/utils/RedirectData
    at com.sapportals.portal.appintegrator.layer.HTTPRenderLayer.getPageRedirectObject(HTTPRenderLayer.java:282)
    at com.sapportals.portal.appintegrator.layer.HTTPRenderLayer.processLayer(HTTPRenderLayer.java:101)
    at com.sapportals.portal.appintegrator.LayerProcessor.processActionPass(LayerProcessor.java:173)
    at com.sapportals.portal.appintegrator.AbstractIntegratorComponent.doOnPOMReady(AbstractIntegratorComponent.java:71)
    at com.sapportals.portal.prt.component.AbstractPortalComponent.handleEvent(AbstractPortalComponent.java(Compiled Code))
    at com.sapportals.portal.prt.pom.ComponentNode.handleEvent(ComponentNode.java(Compiled Code))
    at com.sapportals.portal.prt.pom.PortalNode.fireEventOnNode(PortalNode.java(Compiled Code))
    at com.sapportals.portal.prt.pom.PortalNode.processEventQueue(PortalNode.java(Compiled Code))
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:652)
    ... 23 more
    </b>
    Can you please help me with this...

    Hi Gary,
    > Now do I put this back in original directory
    Rrrighty.
    > do I need to add back .bak or leave as .par?
    Leave as PAR. If the server starts, all .par files within this directory get deployed and in the case of success, .bak gets added. So .par.bak files are not deployed again on the next startup.
    > do I need to delete original
    > then add my updated version?
    I think you don't need to delete the original, but just do it. If your changed .par file get deployed successfully, it will overwrite the old .par.bak anyhow.
    But make a security copy of the orginal file for the case that you have changed the original PAR in some strange way
    Hope it helps
    Detlev

  • How can i pass string from C++ DLL to Java via JNI?

    Hi everybody. I made a DLL with Borland C++. I must pass a string from this dll to Java via JNI.Namely i define a string variable in C++ DLL and i send this variable's value to Java via JNI.
    I can pass integers but i couldnt Strings. . How can i do this? is there any sample?

    Hi,
    So your function should be private static native String get_text();
    (It's often a good idea to make native methods private since when you change signatures you generally have to change java wrapper methods only).
    I know nothing about C++ strings but I'm pretty sure that you can convert it to char*, so
    do :
    char* szMyString = myString.toChar*();
    Then return from native with JNU_NewStringPlatform(env, szMyString)
    (see my 1st answer for JNU_NewStringPlatform() description).
    --Marc (http://jnative.sf.net)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Known problems or limits regarding accessing BDB with Java via JNI

    Hi,
    we are currently in an evalutation phase and are planning to use BDB (C|JE) as back-end for a queueing system. This system is written in Java. One key requirement is high availability of the data hold in the back-end. We need the guarantee, that no data is lost, e.g. data added after checkpoints. The throughput is expected to be quite high (> 10.000.000 records hold within one single BDB-environment (we would use n parallel BDB-envs inside the service).
    So i'm wondering about using JE or DB... The former doesn't provide a replication system but is a 100%-pure Java implementation, the latter is written in C and accessed via JNI, which adds some overhead and maybe instability issues but comes with an integrated replication system. JE would require us to develop an in-application replication system or to use a DFS for HA or something like that.
    Are there any known issues regarding using DB with Java via JNI? Or any other hints?
    TIA,
    Dirk

    Silly me, I forgot to mention that a null return value means that an exception was thrown so you should get that and print the value (although I suspect it will be "class not found").

  • Can KM Document iView be used through Remote Role in Federated Portal?

    I have a Producer Portal and a Consumer portal using Remote Role Assignment. In the same remote role, the KM Navigation iView is working fine, but the KM Document iView is giving http 400 error (The webpage cannot be found). I understand normally we should put KM on the consumer. But some of our KM document iViews are used in the roles in the BI portal, which is the producer.
    I cannot find SAP document or notes that tells "If KM Document iView is supposed to work through Remote Role". If you could clarify for me, I will know if it's worthwhile to troubleshoot the issue.
    Thanks,
    Fubo Liu

    Hi Fubo,
    There are no restrictions regarding the KM documents iView in the Central Note regarding FPN: [880482|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_ep_pin/~form/handler%7B5f4150503d3030323030363832353030303030303031393732265f4556454e543d444953504c4159265f4e4e554d3d383830343832%7D]
    So this should work fine.
    Best regards,
    Robert

  • Problem with Generic iView Lists in EP6

    Hi,
    We are in the process of migrating our portal from EP5 SP5 to EP6 SR1.  I have a page that has 9 iViews on it, and there are 5 of them that are generic iView lists.  In EP5, everything works great.  Each generic iView list returns the information relating to that iView.  But in EP6, I am running into a problem.
    When I am trying to load the same page, some of the iViews to not work.  So I recreated the query iViews using the SAP delivered "com.sap.pct.hcm.eeprofilegenericiviewlist" template in EP6.  I go back to the page and the same thing happens.  I try refreshing the page, and then more of the iViews work, but now another problem arises.
    Example:  I have an iView that displays the salary data of an employee, and another that displays the Home Address.  I refresh the screen and the Salary Data iView works fine, but the Home Address is now showing the Salary Data information.
    So, I'm at a loss as to what I should do.  I know that there is a lot of configuration for the iViews now under the Property Editor and I think that I might have something that is not set up properly.
    Is there documentation on what needs to be set up for the generic iView list if there are multiple generic iView list iViews on the screen? 
    I guess I should mention too that these iViews are in MSS and all work off of the Team Viewer.  The team viewer iView is based off the EP5 version of the par, not the EP6.  Could that be the problem?
    Hope this makes some sense.
    Thanks and best regards,
    Kevin
    Message was edited by: Kevin Schmidt

    Just thought I'd let people know I have solved the problem. 
    Even though I had created brand new iViews in EP6, they still act like EP5 iViews.  So after researching the help files, I changed the isolation method of all the iViews on the page from Embedded to URL.
    Food for thought!!
    Kevin

  • Java Development Role problems!

    I have tried to add the java development role to a users account. I have added the following roles:
    SAP_JAVA_NWADMIN_CENTRAL
    SAP_JAVA_NWADMIN_LOCAL
    Apparently they are meant to get a new tab but it does not appear. Am I adding the right roles?

    Hi Phil,
    See this link for help
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/75a74046033913e10000000a155106/frameset.htm
    First, You have to create a logger.xml file in the Logger folder of your portal component
    Then get a hold of that logger and write to it:
    ILogger pLogger;
    pLogger = PortalRuntime.getLogger("my_logger");
    pLogger.info("testing");
    Then, you can find this Logger in EP6 under : System Admin > monitoring > portal > Logging Console
    Hope this helps…
    h

  • Grant privileges to subprogram via role: should not work?

    I bought Selftestsoftware for 1z0-147 for 9i and 10g. Selftestsoftware is endorsed by Oracle, should be high quality.
    But its below sample question and answer seem to be wrong: It says that privilege for subprogram can be granted via role. But from Urman 9i book, all roles are disabled inside stored procedures.
    Did Selftestsoftware made a mistake? Or the question did not mention or assume that the subprogram is based on invoker rights not definer right?
    Question:
    All users in the HR_EMP role have UPDATE privileges on the EMPLOYEE table. You create the UPDATE_EMPLOYEE procedure. HR_EMP users should only be able to update the EMPLOYEE table using this procedure.
    Which two statements should you execute? (Choose two.)
    GRANT UPDATE ON employee TO hr_emp;
    GRANT SELECT ON employee to hr_emp;
    REVOKE UPDATE ON employee FROM hr_emp;
    REVOKE UPDATE ON employee FROM public;
    GRANT EXECUTE ON update_employee TO hr_emp;
    Explanation:
    The two statements you should execute are:
    REVOKE UPDATE ON employee FROM hr_emp;
    GRANT EXECUTE ON update_employee TO hr_emp;
    Unless you are the owner of the PL/SQL construct, you must be granted the EXECUTE object privilege to run it or have the EXECUTE ANY PROCEDURE system privilege. By default, a PL/SQL procedure executes under the security domain of its owner. This means that a user can invoke the procedure without privileges on the procedures underlying objects. To allow HR_EMP users to execute the procedure, you must issue the GRANT EXECUTE ON update_employee TO hr_emp; statement. To prevent HR_EMP users from updating the EMPLOYEE table unless they are using the UPDATE_EMPLOYEE procedure, you must issue the REVOKE UPDATE ON employee FROM hr_emp;
    All of the other options are incorrect because they will not meet the specified requirements.
    Edited by: user13270686 on Jun 7, 2010 9:22 PM

    The answer is correct, and the explanation complete.
    Inside stored procedures roles are disabled. This is because privileges are checked at compile time and roles can change between compile time and execute time.
    However, privilege to execute the procedure can be granted to a role. During execution of the procedure the privileges of the procedure's owner apply.
    This is because you want to have encapsulation: when tables and procedures are in the same schema, you won't have any privilege problem, as the owner of a set of tables will always have privilege (you can not revoke them).
    Sybrand Bakker
    Senior Oracle DBA

  • Has anybody created Iview from "Webdynpro Java" component in CE7.1 ?

    Hi All,
           Has anyone created Iview from Webdynpro Java component in CE7.1.
    Because the wizard that appears for creation of Iview has only "Webdynpro ABAP"
    component.There is no option to create iview from "Webdynpro Java" component.
               Althought in portal content--->Template folder i can see there is also
    another template for "SAP Webdynpro iview" which i think is for the Java scenario.
    But issue is, its not coming in the wizard.Can anyone tell me how to make it appear in the wizard ? It will be of great help to me.
    Thanks and Regards
    Ashis

    Hi Ashis,
    your deployed webdynpros are published under "web dynpro applications". just copy the webdynpro from there and paste it into the portal content section.
    http://help.sap.com/saphelp_nwce10/helpdata/en/ce/e0d6f54ae641fc9566501cffaa8c6c/frameset.htm
    Hope that helps you.
    Best wishes, Jens

  • Search in Double link list in java

    Can any body give me the code implementation for searching an element in double link list in java as soon as possible...

    Can any body give me the code implementation for
    searching an element in double link list in java as
    soon as possible...Psuedo code...
    current = head of list
    found = null
    while(current is not null)
       if doesItMatch(current, target)
            break
       current = current->next
    if (current is null)  Out("no match")
    else Out("found it")

  • Apple TV (1G) doesn't appear in devices list when connected via ethernet

    After upgrading to OS X Lion and iTunes 10.4 my Apple TV (1G) doesn't appear in the devices list when connected via ethernet. When I switch to wireless lan the device is shown and the sync process starts but can't copy the new films. The copy operation stops every time and sometines the device disappears from the list.
    Despite of the upgrading of OS X and iTunes all the settings are unchanged.
    Anyone an idea?

    Since my last update, I've gathered more information.  I'm almost certain this is not entirely a 10.7.1 issue, if an issue in 10.7.1 at all.  10.7.1 may have changed something that caused this issue to appear,but where I was having this problem weekly if not daily, I no longer have the problem. I changed routers.  I was using a new D-Link Xtreme N Gigabit RouterDIR-655.  This router was causing me pain with lock ups.  I replaced it with a Cisco Linksys E4200. I have not had a lockup in over 2 months now and not one sync issue with Apple TV nor my new iPhones, which sync wireless to iTunes on my Mac Pro.
    Thinking about how my network is wired leads me to believe the issue was in the router, or maybe a network communication change in 10.7.1 that the DIR-655 was not supporting correctly. My MacPro and a few other hardwired access points in my house go directly to the router.  My AppleTV and Airport Extreme are connected to a Gigabit switch and the Gigabit switch is then connected to the router. I also turn off the wireless capabilities in my routers, as I prefer to let my Airport Extreme handle those duties.  This all means my normal hardwired communication path from my Mac Pro to Apple TV was going through the router, to the switch, to the Airport Extreme and then to my AppleTV.  My Apple TV is connected to the LAN port on the Airport extreme. By going wireless on the MacPro, I was bypassing the router altogether.
    As I started out saying, since I replaced my router, my sync issues have also gone away. If your having Apple TV sync issues, you might want to look at the router as well.  Also, while I can’t remember the exact settings, I had opened up or enabled UPnP and other router settings in the DIR-655 to see if that would resolve the sync issues and it did not.  In the end, I just spent the money and bought a new router and life is good now.

  • Edit iview properties in delta copied role

    Hi all,
    I have created a role with a delta link to an iview. So the role only consist of this iview delta linked for an iview in the pcd.
    After this I have copied the entire role as a delta link to another location in the pcd.
    Then I have changed some attributes on the iview in the new role that is a delta link of the first role.
    When I open the new role I cannot use the "reset node" button for the iview node in the role and the reset button is inactive on some of the properties I just changed (for example description) and on others it is active.
    Can anyone tell me why this is the case or is this a bug?
    Thanks
    Regards Paw

    Hi again,
    Thanks again.
    Just to be sure if the iview, within the delta copied role, is not a delta link is it then a reference to the view of the source role or a copy of it?
    Thanks.
    Regards Paw

  • Where to find out the log file under java developer role

    Hi,
    I have some application created in NWDS. While running it after the PAR deployment and all. some exception is thrown. the exception iD is given.  I was trying to find out wher the log files are located in the portal so that I can analyze the exception.
    I think it is under the java developer role....but under that......I checked the log viewer tool and all.....but exactly where the log files would be located. so that with the exception ID , I can search and find out the log for the particular exception.
    any ideas?
    Thanks in advance.

    Hi Steelman,
    Use the search option in log viewer for this purpose. In the server it would be located in
    <i>usr/sap/sid/jc00/cluster/server0/logs</i>
    Hope this helps.
    Regards
    Bharathwaj

  • How to avoid directory listing in java web applications.

    how to avoid directory listing in java web applications.
    That is on typing the url of the application it should not the directory listing. Welcome tag in web.xml doesnot fully solve the problem, since still the images folder etc is still accessible

    I know of two ways.
    If you're using tomcat and have access to the conf directory.
    Edit your $TOMCAT/conf/web.xml. Find your default servlet properties and change
      <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>true</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>to  <servlet>
        <servlet-name>default</servlet-name>
        <servlet-class>org.apache.catalina.servlets.DefaultServlet</servlet-class>
        <init-param>
          <param-name>debug</param-name>
          <param-value>0</param-value>
        </init-param>
        <init-param>
          <param-name>listings</param-name>
          <param-value>false</param-value>
        </init-param>
        <load-on-startup>1</load-on-startup>
      </servlet>And restart your server. This will affect every directory on the server, and return a 405 directory browsing forbidden error.
    Another way, is to place an index.jsp inside each directory with a simple one line redirect to your applications CONTEXT_PATH.response.sendRedirect("http://yourserver/yourapp/");This will only affect specific directories which contain these index.jsp files.
    Hope this helps

Maybe you are looking for

  • IMessage on MacBook Pro

    Recently I created my own Apple ID, and so I changed my iPhone and Mac to run my Apple ID rather than the old one. Everything is fine on my iPhone but on my Mac my iMessage is still running off the old ID, does anyone know how to switch it to my new

  • How do I recover an audiobook after a harddrive crash?

    I recently purchased an audiobook via itunes on my iMac. The hard drive on that iMac failed completely a short time later and needed to be replaced (which was done at an Apple store). I want to redownload the audiobook I purchased onto the new hard d

  • Reading HTML files in a java

    Hi guys, In a project that I have to submit, I have to read a HTML file's text and then have to check if it contains any word or words, that are present in a List. I already have the list, But how can I read the HTML file and then how can I compare i

  • Excise duty not picking when we enter basic price in contract

    Hi Friends, When we are creating contract, we have to manually enter basic price after entering basic price system is not picking Excise duties. But we are doing carry out new pricing that system is picking excise duty. So i need solution from all SD

  • Oracle WaveSet Attribute Schema

    Hello, I am a newbie to Oracle WaveSet, I have learned about the debug interface for OW 8.1.1 (http://localhost:8080/idm/debug) and can display schema info but I don't know how to modify the IDMSchemaConfiguration? I need to modify the user schema an