Quantcast
Channel: SCN : Discussion List - SAP Enterprise Portal : Administration and Development
Viewing all 2686 articles
Browse latest View live

How to extract a list of iview/role relationships

$
0
0

Hi

 

I need to extract a list of iview-to-role relationships from the SAP Portal.

 

Something like you can get from the User Admin tab, where you can get the role-to-group mapping ... I need to repeat that exercise at an iview level. This will allow me to keep our documentation up to date, which shows which reports the different users are able to view.

 

I can do this manually, but I risk missing something, and as things change, I will have to manually keep the document up to date. I'd prefer to be able to extract a list of the portal and have some nice Excel functionality that puts that data into a decent output format.

 

Any ideas on how I can get at this information?

 

Regards,

Andrew


Netweaver 7.03 - Windows Server 2008 R2 - SAPINSTGUI java.net.ConnectionException: connection refused

$
0
0

I am new to netweaver.  I download and installed netweaver 7.03 on a standalone windows server 2008 r2 and it was installed successfully.

 

the next step I tried to do was to execute sapguiinst.exe.  it brings up the dialog box "Connection to the Server" and then gives the following error message:

 

Error while connecting to communication partner - see preceding messages.

Could not connect to host localhost on port 21212.

java.net.ConnectException: Connection refused: connect

java.net.ConnectException: Connection refused: connect

 

host is localhost and port is 21212. I have tried ip address, hostname, 21000 for the port, and through netstat verified that neither 21212 or 21200 are being used.

 

virtual memory on the VM is 10 GB.  there were no problems during the install of netweaver 7.03.

Difference Of MIRO & MIGO

$
0
0

   Hello Experts,

 

Please let me know whether I am right or wrong ...

 

when we sale to third party then we do MIRO ...

and...

 

when we need to purchase something we have to do both MIRO and MIGO ....

 

Am i right Experts ???

 

if yes , then please justify

 

 

Thanks

Antra

WebService for access roles of Portal

$
0
0

Dear Gurus,

 

I really need your help. I've ben struggling my brain in order to develop a webservice which can show the content of one or several roles. Till now I could get a role list, but when trying to get attributes of role's content I'm geting class cast exception

 

I've tried many options, but always ended with a class cast exception

 

All your suggestions will be very appreciatted. Thanks in advance

 

 

 

My base are this posts:

Query pcd roles through api

Exposing the Enterprise Java Bean as a Web Service - Developing Java EE 5 Applications - SAP Library

Browse portal content and object properties - Code Gallery - SCN Wiki

 

This is my code:

 

public List<PortalObject> getContentsFromRole(String roleName)

{

    this.portalObjArray = new ArrayList<PortalObject>();

    Hashtable roleList = getRoleListByName(roleName);

    Enumeration keyEnum = roleList.keys();

    try

    {

        InitialContext ctx = null;

        try

        {

            IUser principalObj = null;

            try

            {

                // getting the SAP user.

                IUserFactory userfact = UMFactory.getUserFactory();

                principalObj = userfact.getUserByLogonID("e_aaceval");

            }

            catch (UMException umex)

            {

                portalObjArray.add(new PortalObject("getContentsFromRole() UMException:" + umex.getMessage()));

            }

 

 

            Hashtable env = new Hashtable();

            env.put(Context.INITIAL_CONTEXT_FACTORY, IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);

            if (principalObj != null)

            {

                env.put(Context.SECURITY_PRINCIPAL, principalObj);

            }

            env.put(Constants.REQUESTED_ASPECT, IPcdAttribute.PERSISTENCY_ASPECT);

            ctx = new InitialContext(env);

        }

        catch (NamingException nex)

        {

            //TODO

        }

 

 

        while (keyEnum.hasMoreElements())

        {

            String roleKey = (String) keyEnum.nextElement();

            String val = (String) roleList.get(roleKey);

 

 

            PortalObject po = new PortalObject();

            po.setId(roleKey);

            po.setName(val);

 

 

            portalObjArray.add(po); // role data

 

 

            IPcdContext rootRole = (IPcdContext) ctx.lookup(roleKey);

            Object titleObj = rootRole.getAttributes("").get("com.sap.portal.pcm.Title");

            portalObjArray.add(new PortalObject("getContentsFromRole() titleObj:" + titleObj.toString()));

            if (titleObj instanceof IPcdAttribute)

            {

                IPcdAttribute titleAtt = (IPcdAttribute) titleObj;

                String title = titleAtt.get().toString();

                portalObjArray.add(new PortalObject("getContentsFromRole() title:" + title));

            }

        }

    }

    catch (Exception ex)

    {

        //TODO

    }

    return portalObjArray;

}

 

 

And this is the error:

 

Cannot cast class com.sapportals.portal.pcd.gl.PcdGlContext to interface com.sapportals.portal.pcd.gl.IPcdContext

PCD API : NoClassDefFoundError : com/sapportals/portal/pcd/pcm/roles/PortalWorkset

$
0
0

Hello,

 

I am using PCD API inside Abstract Portal Component to get properties of Portal Role, Workset, Page & iView programmatically.

I could successfully read attributes for page & iView. But for role & workset, I am facing below runtime error: -

 

DC builds & deploys fine but in runtime there is this exception: -

 

     Cannot process an HTTP request to servlet [prt] in [irj] web application.
      [EXCEPTION]
      java.lang.NoClassDefFoundError: com/sapportals/portal/pcd/pcm/roles/PortalWorkset

 

 

I have added below JARs to my Portal DC (via external lib DC compilation pp of course): -

    

     com.sap.portal.pcd.roleservice_core.jar

     com.sap.portal.pcmbuilderservice_api.jar

 

And below is in my portalapp.xml: -


     <property name="SharingReference" value="urlgenerator,com.sap.portal.htmlb,com.sap.portal.pcd.glservice,com.sap.portal.pcmbuilderservice"/>

 

Could you please let me know how do get this working?

 

Thanks & Regards,

Amey

Hiding Vertical Scrollbar in WD ABAP IVIEW

$
0
0

Dear All,

 

I have a WD Application with 2 transparent containers one is fixed and the other is scrollable.

 

I have created the WD ABAP IVIEW and when I open this application it is giving 2 scrollbars and I need to hide the scrollbar of the iview.

 

I have tried making the height type as full page but it is not working.

 

Please advise .

 

Regards,

Mustafa

create KM comand?

$
0
0

Is there any information or a tutorial on how to create a command in KM? Such as, whether to use abstractCommand or AbstractUICommand? Do I need to create a custom bundle file? Any help would be greatly appreciated.

How to change the Logon Screen Messages in Portal 7.4?

$
0
0

I need to change the Standard Error message on "logonPage.jsp" file to custom one?

But in SAP portal 7.4 I could not fine the Properties file for Messages.

 

Error Message "User Authentication Failed", this need to Change Custom one.

 

Find attached screen shot.

 

Please provide  your inputs to resolve this requirement.


Name Not Found Exception

$
0
0

Hi

 

In my EAR dc( of java dc) I have added a xml file LoginModuleConfiguration.xml under METAINF folder.

 

The content of LoginModuleConfiguration.xml is

login_config.JPG

 

 

Now, when I am trying to deploy the EAR , I am getting the following error.

 

Caused by: com.sap.engine.frame.core.configuration.NameNotFoundException: Configuration [login-module] not found in [apps/mgi.de/np~system~idmapping~logonmoduleear]

at com.sap.engine.core.configuration.impl.ConfigurationDataCacheAllImpl.getSubConfiguration(ConfigurationDataCacheAllImpl.java:102)

 

Any insight will be appreciated.

 

Thanks and Regards,

Aman Jain

logon page customization version 7.3

$
0
0

Dear Experts,

 

Please let me know is it possible to enable the security questions in logon page without self registration or without Manage My profile?

 

Our customer requirement is need to provide one customized security question as mandatory question for all and there should not be self registration or Manage My profile.

 

please let us know how to achieve it and where the security question and answer will save in data base?

 

we have gone through many links in SCN but could not get the flow and required information.

 

Please help.

 

Regards

SM

Automatic Refresh of Completed Workitems not working in UWL

$
0
0

Dear All,

 

I have done the configuration based on the below link to enable the automatic refresh of completed workitems in UWL.

 

It is not working and the when the user takes the actions and the workitems are getting completed but unless the user clicks on the refresh icon

the workitem is not going from the list.

 

We are ECC 6.0 EHP6 and portal 7.3.

 

Internet Explorer 11.

 

Do we need to create a RFC destination on the R/3 side?

 

Please advise.

 

Regards,

Mustafa

SAP portal trsansaction iview not open in portal content area

$
0
0

Hi all,

 

I'm in a portal upgrade process from version 7.0 to version 7.4.

 

We have the old portal and in another machine the new portal, we have transported all content from old to new portal.

 

The problem is with a transaction iview, we have a iview which call a transaction (no standard Z) the transaction open a table  and you can select one row for display more information about this registerin another screen.

 

The problem is with this last screen with IE11 not open, but with others browser( Chrome, Firefox) it i s open correctly.

 

In our search we have found that if we change the property iview "Launch in new window" with -->Display in separate headerless portal window( standard mode) the screen is display correctly.

 

But the current configuracion of this property is "display in content area" , all iviews are display in content area and we want to display the content in the content area as it is now.

 

 

Please can you help me with this problem?

 

 

Thanks and best reagards

 

Mónica

https web site URL iVIew is not displaying in the portal content area.

$
0
0

Hi Expert,

 

I have created "URL iView" of this site https://www.google.co.in/ and set to the display in the portal "content area",The google site failed to the load or buttons within the sap portal  is not displaying in the portal content area.

I have to call https web site URL iVIew in sap portal content area.Can anyone help me for this achieving this requirement.

 

Thanks and Regards,

SAM

Seperate Portal URL for SAML login

$
0
0

Hi ,

 

We have on-premise portal NW 7.4 which is connected to Microsoft Activer directory for authentication.

We have a scenario where in we want to establish SSO between SAP cloud identity(IDP) and Enterprise Portal(SP) for few users.

The SSO works fine but as in Service provider default application i have mentioned /irj/portal and in ticket policy configuration i have mentioned SAML2LoginModule as Sufficient  even for users who do not want to login through SAML IDP it it gives the option to select IDP.

 

My question is :

 

1.How can i create 2 separate URL's for portal one for users with basic LDAP authentication and other when it gets authenticated visa cloud identity through SAML.

2.What should i mention in the policy configuration so that when i trigger SAML related URL the SAML2LoginModule authentication triggers.

 

Regards

Radhika

com.sap.dictionary.runtime.DdException: Type com.sap.ess.in.claims.newmodel.types.Pin_Refnr does not exist

$
0
0

any one help me on this issue.when i click on ess  iview it display following error message

ERROR:-

 

com.sap.dictionary.runtime.DdException: Type com.sap.ess.in.claims.newmodel.types.Pin_Refnr does not exist


Get list of configured supported languages

$
0
0

Hi all,

 

 

we are using a SAP Netweaver Portal 7.4.

We have configured the list of supported languages in UME to only allow "en,de,fr". For standard identity management application when changing the user language this works fine and only those three languages are displayed.

But now we need to create a custom personalization component (AbstractPortalComponent) and want to retrieve the shortened list of available languages.

 

Unfortunately following coding will not return the custom configured list but the complete list configured by SAP:

 

ILocaleListService localeService = (ILocaleListService) PortalRuntime.getRuntimeResources().getService(ILocaleListService.KEY);

List<Locale> allLocales = (List<Locale>) localeService.getListOfLocalesOrderedByDisplayName(userLocale);

List<Locale> customLocales = (List<Locale>) localeService.getListOfCustomizedLocalesOrderedByDisplayName(userLocale);

List<Locale> persLocales = (List<Locale>) localeService.getListOfPersLocalesOrderedByDisplayName(userLocale);

List<Locale> sourceLocales = (List<Locale>) localeService.getListOfSourceLocalesOrderedByDisplayName(userLocale);

List<Locale> targetLocales = (List<Locale>) localeService.getListOfTargetLocalesOrderedByDisplayName(userLocale);

 

 

So, how can we retrieve the list of the customized list of locales?

 

regards

René

Different URL's for different login groups (SAML 2.0)

$
0
0

Hi,

 

We configured SAML 2.0 in SAP NetWeaver Portal 7.31 SP03 for Single Sign-on.

 

  1. Once user enter "https://...../irj/portal", the SAML will login the user into the portal automatically with out login page, this is for all end users.
  2. We also configured the URL "https://...../nwa" to display login page for Portal Administrators who uses "Administrator" User to login into the system.

 

We have a different user group, executive assistants, who want to login manually, and they cannot use "https://..../nwa" since it's administrator desktop. We created a different URL Alias "https://...../irj/portal/eas", but SAML is kicking when ever it finds "irj/portal" in the URL and logging in automatically.

 

Is there anyway to configure a different URL in portal so that SAML won't kicks in and displays the login page? Please advise.

 

Thanks

Vijay

Getting error While accessing Reimbursement iview in ESS

$
0
0

Hi Experts,

 

We are getting below error while accessing Reimbursement iview in ESS.


com.sap.dictionary.runtime.DdException: Type com.sap.ess.in.claims.newmodel.types.Pin_Refnr does not exist


Kindly find the attached error screen snap.


Please advice to resolve this. Your response will be appreciated.


Full Error in logs:


Full Message Text

Exception occured during processing of Web Dynpro application sap.com/ess~in~claims/ClaimAdvanceRequest_IN. The causing exception is nested.
[EXCEPTION]
com.sap.tc.webdynpro.services.exceptions.TypeNotFoundException: type com.sap.ess.in.claims.newmodel.types.Pin_Refnr could not be loaded: com.sap.dictionary.runtime.DdException: Type com.sap.ess.in.claims.newmodel.types.Pin_Refnr does not exist
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:268)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getDataType(DataTypeBroker.java:231)
at com.sap.tc.webdynpro.progmodel.context.DataAttributeInfo.init(DataAttributeInfo.java:318)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.initUnmappedAttributes(NodeInfo.java:687)
at com.sap.tc.webdynpro.progmodel.context.DataNodeInfo.doInit(DataNodeInfo.java:238)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:671)
at com.sap.tc.webdynpro.progmodel.context.NodeInfo.init(NodeInfo.java:674)
at com.sap.tc.webdynpro.progmodel.context.Context.init(Context.java:40)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:199)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:940)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.createComponent(ClientComponent.java:177)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponentInternal(ComponentUsage.java:149)
at com.sap.tc.webdynpro.progmodel.components.ComponentUsage.createComponent(ComponentUsage.java:141)
at com.sap.pcuigp.xssfpm.wd.FPMComponent$ComponentUsageManager.createVACComponentUsage(FPMComponent.java:747)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doProcessEvent(FPMComponent.java:563)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.doEventLoop(FPMComponent.java:438)
at com.sap.pcuigp.xssfpm.wd.FPMComponent.wdDoInit(FPMComponent.java:196)
at com.sap.pcuigp.xssfpm.wd.wdp.InternalFPMComponent.wdDoInit(InternalFPMComponent.java:110)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingPortal(ClientSession.java:761)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:696)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.clientserver.session.core.ApplicationHandle.doProcessing(ApplicationHandle.java:73)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.sendDataAndProcessActionInternal(AbstractApplicationProxy.java:869)
at com.sap.tc.webdynpro.portal.pb.impl.AbstractApplicationProxy.create(AbstractApplicationProxy.java:229)
at com.sap.portal.pb.PageBuilder.updateApplications(PageBuilder.java:1344)
at com.sap.portal.pb.PageBuilder.createPage(PageBuilder.java:356)
at com.sap.portal.pb.PageBuilder.init(PageBuilder.java:549)
at com.sap.portal.pb.PageBuilder.wdDoInit(PageBuilder.java:193)
at com.sap.portal.pb.wdp.InternalPageBuilder.wdDoInit(InternalPageBuilder.java:150)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:430)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:782)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:302)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:741)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:694)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:253)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:53)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1064)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Caused by: com.sap.dictionary.runtime.DdException: Type com.sap.ess.in.claims.newmodel.types.Pin_Refnr does not exist
at com.sap.dictionary.types.mdi.util.ProviderUtil.createAbapTypeXmlMap(ProviderUtil.java:413)
at com.sap.dictionary.runtime.mdi.DataProvider.createSimpleTypeFromAbapType(DataProvider.java:587)
at com.sap.dictionary.runtime.mdi.DataProvider.getDataType(DataProvider.java:287)
at com.sap.dictionary.runtime.DdDictionary.getDataType(DdDictionary.java:94)
at com.sap.dictionary.runtime.DdBroker.getDataType(DdBroker.java:169)
at com.sap.dictionary.runtime.DdBroker.getSimpleType(DdBroker.java:175)
at com.sap.tc.webdynpro.services.datatypes.core.DataTypeBroker.getSimpleType(DataTypeBroker.java:260)
... 66 more

 

 

 

 

 

Regrads,

 

Vamshi Krishna

unable to change the Splash Screen

Difference NW 7.3 and NW 7.4

$
0
0

Hi Experts,

 

 

Can any one tell me about new features of NW 7.4 and exact main difference between  NW 7.3 and NW 7.4.

 

 

 

Regards,

 

Srinivas

Viewing all 2686 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>