Not authorized  in the Enterprise Portal

Hi,
I have a problem setting up the portal. When browsing to the User Administration tab I get: "You are not authorized to access this application; contact your system administrator". I'm logged on as J2EE_ADMIN. Should I log on as another user? Is there a role I should add to J2EE_ADMIN?
Regards,
Daniel

Hi
1) It seems u dont have access to super_admin Role
2) You need to get assign super_admin Role to u r user ID
to do so u need one administrator ID which has super_admin Role assigned to it
Incase if u have forgotten the administrator password u can create one administrator User by use of following Link
But to perform this activity u  will need server access
This JSP code creates a new portal user called XXXXXXX with a password of admin99 with the role of a super admin. This is useful in case your regular super admin user is locked out.
Place this code in the root directory of the portal (\irj\servlet_jsp\irj\root) and run it via the browser, like http://<server>:<port>/irj/createPortalUser.jsp.
Remember to remove the file after you have successfully run it to prevent inappropriate use!
<%# page import = "com.sap.security.api.*" %>
<%# page import = "com.sap.security.api.persistence.*" %>
<%# page import = "java.util.*" %>
<%# page import = "com.sap.security.core.imp.*" %>
<%# page import = "com.sap.security.core.persistence.*" %>
<%# page import = "com.sap.security.core.persistence.imp.*" %>
<%!
     private String replaceLineFeed(String original)
          StringBuffer result = new StringBuffer();
          int length= original.length();
          char c;
          for (int i=0;i<length; i++)
               c = original.charAt(i);
               switch (c)
                    case '\t':
                         result.append("        ");
                    break;
                    case '\n':
                         result.append("<br>\n");
                    break;
                    default:
                         result.append(c);
          return result.toString();
     private String getHTMLStackTrace(Exception ex) throws Exception
          ByteArrayOutputStream baos = new ByteArrayOutputStream();
          PrintWriter pw = new PrintWriter(baos,false);
          ex.printStackTrace(pw);
          pw.flush();
          String result = baos.toString();
          return this.replaceLineFeed(result);
%>
<%
     try
               try
                    IUser u = UMFactory.getUserFactory().getUserByUniqueName("XXXXXXX");
                    UMFactory.getUserFactory().deleteUser(u.getUniqueID());
               catch (UMException umex)
               IUserMaint user = UMFactory.getUserFactory().newUser("newAdmin");
               user.setFirstName("NewAdmin");
               user.setLastName("NewAdmin");
               user.setEmail("NewAdmin#sap.com");
               user.save();
               user.commit();
               IUserAccount uacc = UMFactory.getUserAccountFactory().newUserAccount("XXXXXXX", user.getUniqueID());
               uacc.setPassword("admin99");
               uacc.setPasswordChangeRequired(false);
               uacc.save();
               uacc.commit();
               try
               IRole role = UMFactory.getRoleFactory().getRoleByUniqueName("pcd:portal_content/administrator/super_admin/super_admin_role");
               IRole mRole = UMFactory.getRoleFactory().getMutableRole(role.getUniqueID());
               mRole.addUserMember(user.getUniqueID());
               mRole.commit();
               catch (UMException umex)
                    %>WARNING: Portal role "pcd:portal_content/administrator/super_admin/super_admin_role" is not accessible.<br><%=umex.getMessage()%><br><br><%
               try
               IRole role = UMFactory.getRoleFactory().getRoleByUniqueName("Administrator");
               IRole mRole = UMFactory.getRoleFactory().getMutableRole(role.getUniqueID());
               mRole.addUserMember(user.getUniqueID());
               mRole.commit();
               catch (UMException umex)
                    %>WARNING: WAS role "Administrator" is not accessible.<br><%=umex.getMessage()%><br><br><%
               response.getWriter().write("<br><br>User newAdmin with superadmin privileges added!!!<br><br>");
               response.getWriter().flush();
     catch (Exception ex)
          %><%=this.getHTMLStackTrace(ex)%><br><%
%>
Thanks & Regards
Award Point If Helpful
Edited by: PK on Apr 1, 2008 8:30 AM

Similar Messages

  • BW/BI WAD Templates are not appearing in the Enterprise Portal.

    Hi Experts
    We have executed BW/BI WAD Templates in the portal but they are not getting displayed where as if we execute BEx Queries its running successfully.Could anybody help us in solving the issue.
    Regards,
    Piyush S

    Hi,
    Are you getting Blank Page while executing the web Template ???
    Then the problem might caused by some outdated iView portal content.
    Deploy Supportdesk tool as per note 937697 and see if RED signals are there, if you find any then make sure you clear those
    RED signals by using remidies provided in the solution part on the same support desk tool.
    Make sure the Supportdesk tool signals are GREEN.
    Regards,
    Mani

  • Why can I not connect to the Enterprise Portal?

    I downloaded & installed  the free trial version of the Web AS 6.40 on my laptop. I developed some test portal application and want to deploy this on the WEB AS server. The message I get is each time :
    Unable to connect to the Portal. Operation failed. Connection refused:connect. Please make sure the server localhost:8080 is running.
    Settings J2EE Engine
    "SAP J2EE Engine is installed on local host" checked
    system:J2E
    J2EE instance:0
    SCS instance: 1
    Settings Portal server:
    alias: leen
    host: localhost
    Port: 8080
    Login: administrator
    Description: test
    I started the SAP system with Start->Programs->SAP Management Console, right clicking the system node J2E and selecting start. Does this start also the EP??
    What do I wrong?

    Leendert,
    have you manually switched the port to 8080? By default, the j2ee engine's web server listens on port 50000 (or 50000+ system no*100  if system no != 00). The error "connection refused: connect" tells me, that there is currently no service listening on port 8080.
    On windows you can check the currently listening ports by entering netstat -a on the command line. Does 8080 show up there after having started the J2ee engine?
    Regards,
    Dominik

  • BW Workbook as an iView in the Enterprise Portal

    I keeping getting a dialog box asking to select the appropriate program to open the workbook. When I select .xls it opens, and it shows the parameters I entered and not the workbook. The customer is on NW04 Stack 11.
    I followed ever step on help.sap.com site as listed below.
    BW workbooks are MS Excel workbooks with one or more embedded BW queries. You are able to display these workbooks in the Enterprise Portal as iViews.
    Features
    Workbooks are displayed in a separate MS Excel window. Opening workbooks within the Web browser window is not possible for technical reasons.
    BW workbooks require the BEx Analyzer, which requires a local installation of the SAP GUI for Windows with the BW front end.
    SAP recommends that you use BEx Web applications in the Enterprise Portal that run completely in the Web browser.
    You can use the function Export as Excel 2000 File from the BW Web application context menu as an alternative to using a local installation of the BW front end if you require Excel functions. See Context Menu Functions  and Exporting as a CSV File/Excel 2000 File.
    An iView with a workbook can be generated using the Portal Content Studio or Role Upload. For more information, see Generating Content from SAP BW for the Enterprise Portal.
    The iViews are of type SAP Transaction iView and have the code link com.sap.portal.appintegrator.sap.Transaction.
    The most important properties are System, Transaction (TCODE) and ApplicationParameter.
    ·The System property contains the alias on the BW system (see Creating BW Systems in the  Portal).
    ·The transaction code for every workbook is RRMXP.
    ·The value WBID= is in the ApplicationParameter property.
    You can determine the workbook ID with the BEx Analyzer:
    a. Open the desired workbook.
    b. In the BEx toolbar, choose ® OLAP Functions for Active Cells ® Properties. The Information tab page contains the Workbook ID (Server).
    Note that with BW workbooks as an iView, the AutoStart property contains the value True (process first screen) and the GuiType property contains the value WinGui.
    Anyone have a solution for this to work?
    Thanks,
    -Eli

    Dear Rasmesh,
    Please try to do this suggestion:
    3. How can I use SAP Application Integrator to access SAP transactions?
    There are two different ways to use the SAP Application Integrator transaction iView. In both cases please use a URL like 'irj://com.sap.portal.appintegrator.sap.Transaction' followed by your custom parameters like '?System=DEV&TCode=SE38&GuiType=WinGui &WinGui_Type=Shortcut&OkCode=SHOP'.
    The parameters are:
    System [mandatory]
    TCode [mandatory]
    GuiType (=WinGui / WebGui / JavaGui) [mandatory]
    WinGui_Type (=Shortcut ..if you want to launch the GUI in a new window)
    OkCode (The OkCode that you would like to be executed after the transcation is called by SAP GUI.)
    ApplicationParameter (Pass these values to your screen fields which needs to be be separated by
    AutoStart (true / false)
    UseSPO1 (true / false)
    For a complete list of parameters please consult http://help.sap.com.
    Taken of:
    http://www.sweetlets.com/my_favorites_faq.html
    I hope this highline can help you,
    Luis

  • Webinar: Change Management and Transport in the Enterprise Portal

    <b>SAP NetWeaver Know-How Network Webinar: 
    Change Management and Transport in the Enterprise Portal
    Wednesday 21 July 2004
    11 a.m. EDT</b>
    On Wednesday 21 July, Scott Jones hosts the webinar titled <b>Change Management and Transport in the Enterprise Portal</b> as part of the ongoing SAP NetWeaver Know-How Network Webinar Series.
    Here’s how Scott describes his webinar presentation:
    “Change Management offers special challenges to administrators working in Enterprise Portal 6.0 SP2 environments.  This talk provides recommendations and tools, and defines best practices and methods for the effective transport of Enterprise Portal content, with special attention to content dependencies, tracking, and troubleshooting.   We'll also look forward to Change Management enhancements coming with Netweaver 04.”
    SDN invites you to post your questions to the presenter prior to the webinar and continue the online discussion afterward.
    <b>How to Participate</b>
    (Please go to the SDN Events page to see the article and download the PDF presentation)
    Dial-in Information:
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Within the U.S., call: +1.888.428.4473
    Outside the U.S., call: +1.651.291.0618
    Password: NetWeaver04
    WebEx Information:
    Topic: SAP NetWeaver Know-How Network
    Date: Wednesday 21 July 2004
    Time: 11 a.m. EDT
    Meeting Number: 742391500
    Meeting Password: netweaver04 (lowercase)
    WebEx Link: sap.webex.com
    Replay Information:
    A recorded replay of this call will be available for approximately three months after the webinar. Access this recording by dialing the appropriate number and using the replay access code TBD.
    Toll-free: +1.800.475.6701
    International: +1.320.365.3844
    <b>About the SAP NetWeaver Know-How Webinar Series</b>
    The SAP NetWeaver Know-How Webinar Series is driven by the SAP NetWeaver Regional Implementation Group (RIG), part of the SAP Development organization. The mission of the SAP NetWeaver RIG is to enable customers, employees, and partners to successfully implement the SAP NetWeaver solution. This SAP RIG has expertise in BI, EP, XI, and WebAS. They contribute their implementation expertise to the SDN implementation forums as well as to the SAP NetWeaver Know-How Webinar Series.
    <b>Disclaimer</b>
    SDN is not responsible for any changes to the webinar schedule. The webinar schedule may be changed or cancelled without prior notice.

    Hello,
    In the intresting document I read that for the deployement the version number mentionned in the MANIFEST.MF is very important in a clustered evironment.
    SAPnote 727180 - Version of PAR File in Manifest File
    denies this.
    Can you clear this out?
    Kind Regards
    Koen Van Loocke

  • Branding bar in  the Enterprise Portal

    Hi,
    All the requirements is  to build of the header bar (branding bar) in  the Enterprise Portal.
    Currently when I click in left nav  , the SAP EP Links open up in new window.
    These pages do not have any Company  Branding header on the top.
    I am required to put Branding header  on these EP Pages and call them on to MOSS UI.
    Plz refer the solution to me.
    Thanks,

    Dear Sanjay ,
    Please clarify the below points so that we can understand exactly what issue you are facing .
    1. " requirements is to build of the header bar (branding bar)"  --- Are you referring to the portal  MastHead ?
    (typically mastheadincludes -- welcome "name of user who logs in " , Branding Image - horizontal image bar, help , log off n personalize button"
    2. "when I click in left nav , the SAP EP Links open up in new window. "
    In the left Navigation what are you clicking , what exactly is opening in a new window .
    Kind Regards,
    Ronica

  • How to bind an IIS to the enterprise portal installed on a linux machine

    Dear all,
    I am very new to the topic of Enterprise Portal.
    Our intention is, to develop .NET IViews and deploy them in the Enterprise Portal.
    The Enterprise Portal Server is set up on a linux machine.
    The Guy who did install the Portal Server, has no idea how to "integrate" the Microsoft IIS to the Portal.
    After deploying my .net Component, i tried to view this component in the portal (by right clicking the mouse on the Component in in the .NET Solutions Explorer).
    This gives me the following error:
    Portal Runtime Error
    An exception occured while processing a request for:
    iView:N/A
    Component Name: N/A
    Could not find portal application com.sap.portal.dotnet.framework.
    Exception id: 02:06.......
    See the details for the exception ID in the log file
    I think that this has something in common with integrating the IIS on the Linux Machine, and maybe additionaly installing the pdk.net on the IIS webserver machine which should be used.
    Thank you for your help.
    Regards

    Hi,
    Welcome to the world of Enterprise portal
    Seems to me like you are trying to use the PDK for .NET. If so - Please read the overview section in the documentation to get a general idea of how it works (for example - IIS is not used at all!).
    See the Visual Studio integrated help or click this https://media.sdn.sap.com/html/submitted_docs/dotnet/index.htm
    there go to "Getting Started" and mostly "Overview".
    Anyway, It seems like the problem is that you didn't deploy the 2 required SDA's to the portal. You should also take a look at the "installation and configuration" guide. Download it here: https://www.sdn.sap.com/sdn/developerareas/dotnet.sdn?contenttype=url&content=/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/pdk for .net administrator guides.zip
    Good luck,
    Ofer

  • Use HCM processes and Forms without using the Enterprise Portal

    is it possible to leverage existing HR Admin Services (HCM processes and Forms) functionality without using the Enterprise Portal?
    1) Create an Adobe form and Interface using SFP
    2) Set up ISR and Form Scenario
    3) Set up Forms configuration to use existing Backend and generic Services
    4) Set up workflow to updated Backend using Services
    is it possible to do the above steps and not use the Portal? If Yes, how do we present the forms to the Manager, and provide different buttons that appears on the Portal by default?
    Any ideas will be greatly appreciated.
    Thanks,
    Saurabh

    Hi Saurabh,
    your assumptions and findings (items can not be started from the backend workflow inbox etc.) are correct: These processes can not be started without the Portal and it is not intended to do this.
    The above mentioned backend report are only forseen for implementation and testing purposes and not for productive use.
    In addition to the fact, that you already can't execute the work items a lot of other features of the framework (Process Browser etc.) are only available through the Portal.
    Best Regards
    Michael Bonrat - Solution Manager HCM Processes and Forms
    Info about HCM Processes and Forms:
    www.service.sap.com/erp: 
    - SAP ERP Human Capital Management -> Workforce Process Management -> HCM Processes and Forms

  • Upgradng the enterprise portal from non HA to HA

    Dear Experts,
    We have Enterprise portal 7.01 on windows 2003 with db2 9.1. and 1 dialog instance. presently it is not in HA. We want to change this to HA using MSCS.
    Can any body share some knowledge on this. How to change the existing system.
    thanks alot

    Hi,
    I must want to correct this question as
    " Migrating the enterprise portal from non HA to HA".
    The only option i can see is reinstallation or i mean to say system copy to new HA system.
    Yoy have to plan your connectivity issues in case you are going to change hostname,IP etc.
    Steps:
    1) Install Fresh HA EP system
    2) Take export from source EP system and DB backup
    3) Perform system copy steps on new system
    4) In case host name is changed , inform the respective interfac eowners.
    Hope this will help you to plan better.
    Regards,
    Gagan Deep Kaushal

  • Unable to do usermapping for the group in the Enterprise portal

    Hi All,
    I am unable to do usermapping for the group in the Enterprise portal.
    The system connection is maintained, with the user management as UIDPW and user,admin.
    User mapping is possible with my user but not for a <b>group</b>.
    Please suggest.
    Thanks
    Thulasi

    Hi
    According to my knowledge I dont think it is possible to do usermapping for the group.
    Please go through the link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/af/f71940d4558f5ce10000000a155106/content.htm.
    Regards
    Victoria

  • If the Enterprise Portal have a default page for creating a blog?

    Hello!
       I want to know if the Enterprise Portal have a default page for creating something like a blog, with personal information, comments...
       can I using the tool XML Form Builder or something else?
       Thank
       lexian

    Hi Lexian,
    I don't believe the Portal currently has any tool that can be used conveniently to create blog type content.
    You are right, you could potentially use the XML Forms Builder to create a form which might just about do what you want it to, but this would be very fiddley and is not really designed for this purpose.
    If you can wait, you should use the WebPage Composer that is due to released in the Portal from April.
    Here at SDN we are currently looking into using it to display our blogs and I must say research is looking good so far.
    Regards,
    Marc

  • Hello everyone, I have a problem when I sync my apple device. I plug it in and a message comes up saying, this device could not be synced because this computer is not authorized for the purchased items on this phone. I already tried to authorize again.

    Hello everyone, I have a problem when I sync my apple device. I plug it in and a message comes up saying, this device could not be synced because this computer is not authorized for the purchased items on this phone. I already tried to authorize again, after deautherizing it. HELP ME PLEASE

    Hi applerinneedforhelp,
    Thanks for visiting Apple Support Communities.
    If iTunes is asking you to authorize the computer, and you've already done so, the troubleshooting steps in this article can help:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Regards,
    Jeremy

  • Windows Applications in the Enterprise Portal

    Hi all,
    we have EP 6.0 SP10 based on NW04 installed.
    Is there any possibility to integrate Windows Apllications
    (Windows 'exe' files) in the Enterprise Portal.
    Best regards

    With LaunchInIE you use JavaScript to launch the actual applications. What we do is write a Java iView that contains links (we use icons) to programs installed locally on each machine. When the user clicks a link (icon) we run the JavaScript that opens the locally installed 'exe' file.
    If you have a look at the WhirlyWiryWeb link posted earlier you can see how to use LaunchInIE.
    The downside to this is that the .dll has to be installed on each machine and the registry (for each machine) has to be maintained.
    You can just write a java iView that has links to locally installed exe's (file://C:/myfolder/myexe.exe) if you like but that will result in a security warning each time. LaunchInIE stops the security warning.

  • Create the user master records using the Enterprise Portal

    Hello gurus!!
    I'm configuring SRM 7.0 with EP.
    I'm configuring the organizational structure, and steps guide (pdf and Solution Manager ) are:
    1. Go to transaction SU01 and create an ABAP User. (SRMADMIN)
    2. Assign this user the administrator role /SAPSRM/ADMINISTRATOR
    3. As the administrator, creater the organizational plan
    4. Create the remaining organizational unit
    5. Using the Enterprise Portal application, Business Parter:Employee, create the user master records for the departmental managers.
    How I must create the user in Enterprise Portal? What user I have to use to log on in the Enterprise Portal application? Has the user to be integrated in the organzational structure??
    Thanks in advance!!!!
    Best regards.
    Maria.

    Hi,
    You can create users in WebDynpro application. You can also create users in USERS_GEN transaction.
    Regards,
    Masa

  • Among the Netweaver XI and the Enterprise Portal.

    Hi,
    I am new to the Netweaver Technology and would like to know the following.
    1. Which among the both i.e. Netweaver XI and the Enterprise Portal is better in terms of fetching the job and making a bettre career in it.?
    2. Also which one is more in Demnad within and outside India ?
    Any other Information on these topics would definitely help.
    Regards,
    Deepak.

    Hi Deepak,
    I agree with Subbarao. If u have gud command on ABAP then go for XI.And if u r technically sound in JAVA then go for EP which comprises of Knowledge Management and collaboration, portal and webdynpro.Both have gud value in the market right now.
    For learning material in EP plz go through the below mentioned threads:
    Re:basic material for development of portal application in NWDS
    Beginner to Portal
    Regards
    Priya
    plz reward point if this helps

Maybe you are looking for

  • Invoice data repeating Address after page break

    Hello forum mebers, i have a problem to create a rtf template which prints invoice data with more than one address. The original data has more than one invoice to print all papers within one output. It is for repeat printing. I want to mark several i

  • Output message not generated for Purchase order

    We maintain MN04 message condition record for  2 key combination for output type NEU: 1. Purchasing Output determination : Document type  -> NB, medium 1 print out 2. Purchasing Output determination : Document type/Pur Org/Vendor -> NB, 1000, vendor

  • Turning off AutoSplit (Import Options 3.4.5 / ML)

    hi all. i seem to be finding DATED projects that split my imports up into weekly (or more frequent) projects and i am finding this /uber/ confusing since my PhotoStream projects are monthly dated. everything else is named something and it is very con

  • CS 4 questions (3 questions)

    Hi, 1. I cannot find the area to enable the file close button.  Right now I have to go into the file menu and hit close manually, very time consuming.  My CS4 area is set as "essentails" the default setting 2.  I have the canon 5D Mark II.  The files

  • ITunes Match subscription

    I purchased an iTunes card and I used The code in it to increase My money in The App Store. Now I have enough money to buy iTunes Match with The remaining money. Can I do it?