1 2 3 37 Previous Next

SAP Enterprise Portal

543 Posts

Backdrop:

 

When using the SAP Enterprise Portal (EP) within an NW Environment in a large organizational landscape business requirements may require different linguistic and language settings for multiple user bases.

 

 

 

WL-logo.jpg

 

 

 

 

 

 

Portal Languages & How They Are Maintained

 

Now regarding this scenario and the languages used in the Enterprise Portal there are a few important points to highlight. The language that the portal is displayed in depends on the following hierarchy, with the languages at the top of the list taking precedence over those at the bottom.

 

  1. Component (iview) language (defined in the portalapp.xml)
  2. Portal Mandatory language (defined in the prtDefault.properties)
  3. User language (defined in the user#s profile).
  4. Request language (defined by the browser).
  5. Portal Default language (defined in the prtDefault.properties)
  6. System Default language (default locale defined by the OS).

 

So for example, if you have your portal user language (as in point 3) set to German, but the language of the iView that is the logon page (as in point 1) set to English, that logon page will be displayed in English.

 

Wanting the Portal to use only one Language...keeping it simple

 

From a high level perspective let us refer to a sample scenario in which you want to keep configurations simple and use only one pre-defined user language base for all users e.g. English. (This can always be changed down the line if required).

 

  1. Login to the Portal Server.
  2. Navigate to the following path in the SAP installation directory \\usr\sap\SID\JID\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\system\properties
  3. Open the file 'prtDefault.properties'.
  4. Deactivate the default language settings of the portal by adding '#' before the parameters as below.
    • #request.defaultlanguage=en
    • #request.defaultcountry=us
  5. Add the following parameters to the file
    • request.mandatorylanguage=en
    • request.mandatorycountry=us
  6. Save the file and restart the portal


The parameter 'request.mandatorylanguage=en' will override the browser language settings of the end users and will display the contents in 'en' (English) only.

  

 

Defining & Installing Languages

 

The Enterprise Portal can holster and translate multiple strings and elements from the "default" out of the box language into a different language which is defined as "supported" in the locale service.

 

  1. To view the locale you can logon to the SAP NWA (Netweaver Administrator).
  2. http://<host>:<port>nwa
  3. Find and view the Portal Application & Service
    • com.sap.portal.admin.wizardframework
    • locale_list_service
  4. From this point of access you can determine and configuration the language values for all relevant properties.
    • Use NLS supported language abbreviations
    • Enter abbreviations in lower case
    • Use comma (,), semicolon (;), or space as separators.
  5. Any changes made require a restart of the service to come into affect.
  6. Restart the com.sap.portal.admin.wizardframework application.

 

Portal - Which Languages are supported?

 

The number of supported languages is diverse and lengthily and includes English, German, French, Dutch, Polish. You can view the full listing in the official help guidance documentation below:

 

 

I have a language translation issue...what do I need to check?


As with all issue scenarios the first process of troubleshooting follows the concept of simplification


If you encounter a language based issue there are a few avenues of analysis to follow.

 

  • One key point to check and review is whether the issue is confined to one particular web browser platform. If you are able to reproduce the issue across all browsers e.g. IE, Chrome, Mozilla etc then this would signify the "Language Setting" itself needs troubleshooting as opposed to the environment in which it functions.

 

Is the issue for all users?

 

  • Is adequate language translation not occurring for all users or a select few? If the issue is confined to a small user base here we could be dealing with language personalization setups

 

masthead+popup.jpg

 


Some Elements of the Portal - Not Translated

 

In some cases across the Portal Landscape and through applications you might notice some elements and strings not being translated and this may be due to hard-coding. The recommendation here would be to analyze and review potential note fixes to determine if it is a noted issue.

 

Browser Overriding Portal Language.

 

In some instances upon logging into the Enterprise Portal (EP), LDAP Users without an explicitly defined language setting are presented with the incorrect language display for Portal elements. Instead the language returned by the Portal is derived from the Web Browser Platform.


The cause of such an occurrence would be browser caching and the recommendation would be to clear the Portal Caches and retest the behavior once the mandatory language steps (as above) have been followed correctly.


blog4+language.PNG

 

Remember when you are defining the language setting(s) for the Portal there are a wide range of difference factors and properties to consider. When we consider the Portal as a central conduit means of access to a vast collection of information, data and applications language setting discrepancies can come into affect quite easily if the right diligence is not pursued.

 

The first point of language setting and review comes into affect at the point of logging on so this can be used as a cross-reference point:

 

 

If you face an issue with a language feel free to reach out to me:


Active SCN Forum Contributor - Follow Me @ http://scn.sap.com/people/troy.cronin2

As described in this Note the usage of Fiori Framework Page Extensions is possible from SAP NetWeaver Portal 7.4 SPS12 and SAP NetWeaver Portal 7.5 SPS01 on.

 

So the question is how can I use these extensions and how am I able to extend the Fiori Launchpad on the Portal?

My first use case was to integrate a help to each tile that is available on the homepage of the logged in user. For this a help-icon should be added to each tile. What do we need for this?


1. Create a custom plugin which adds a question mark image to each tile


Content of CustomHelpPlugin.js:


(function () {
            /* global sap, jQuery, fioriTrial, eula */
            'use strict';
            jQuery.sap.declare("conet.CustomHelpPlugin");
            jQuery.sap.require("sap.ffp.utils.ExtensionUtils");
            console.warn("FLP Extension loaded...")
            var renderFunction =             function () {
                        $('.sapUshellTile').each(function( index ) {
                                   var newDiv = $("<div style='position: absolute; top: 1rem; right: 1rem; width:20px; height: 20px; z-index: 9999'><img src='/com.sap.portal.resourcerepository/repo/FLP_Extension/qm3.png' style='max-width: 100%'></img></div>");
                                   $( this ).append(newDiv);
                                   
                                   newDiv.click(function (event) {
                                               alert("Display some help for tile " + index + " here!");
                                   });
                                   
                        });
            };
            sap.ui.getCore().getEventBus().subscribe("launchpad","contentRendered",renderFunction);
            sap.ui.getCore().getEventBus().subscribe("launchpad","moveTile",function() {setTimeout(renderFunction, 1000)});
            sap.ui.getCore().getEventBus().subscribe("launchpad","actionModeInactive",function() {setTimeout(renderFunction, 1000)});
}());





2. Upload this File to the Web Repository

 

Navigate to Content Administration -> Web Resource Repository and upload the CustomHelpPlugin.js to the FLP Extension Directory. Additional I have uploaded the image for the question mark inside this folder (referenced by the image tag (/com.sap.portal.resourcerepository/repo/FLP_Extension/qm3.png)).


3. Configure the Framework Page Extension


Navigate to Content Administration -> Portal Display -> Framework Page Configuration and configure the Fiori framework page to use the extension:

Framework_Page_Configuration.png

Custom SAPUI5 Module Plugin Name: CustomHelpPlugin

Custom Plugin URL: /com.sap.portal.resourcerepository/repo/FLP_Extension/CustomHelpPlugin/


4. Run the Fiori Framework Page and check the result

FLP_Result_2.png


So what does the custom plugin do?

 

It defines a new function “renderFunction” which uses jQuery to search for elements of class “sapUshellTile”. This is the base class for every div in which a tile is rendered. For each of these divs a new div is appended which includes a question mark as an image. To these new divs a “click”-function is added which now can be used to display some additional information to each tile. In this example only an alert box is used but it would be easy to integrate an overlay popup which loads a webpage with additional help to an application for example.

 

Afterwards this defined function is subscribed to the corresponding events on the Launchpad. I have used the event “contentRendered” in first place which seemed to be enough because this event is triggered after the Launchpad is rendered. But after rearranging the tiles on the Launchpad or adding a new tile from the catalogue a rerendering of the tiles take place. So I have subscribed to additional events “moveTile” and “actionModeInactive”. There I had to use a timeout function because after the event is triggered another rerendering of the tiles take place so that the displayed image disappears. Using the timeout is just a workaround because I didn’t find an appropriate event for this…

If there are any comments or hints on this, feel free to comment this blog.

Backdrop: You are running an Enterprise Portal (EP) setup involving the utilization of KM and the Document iView. This KM Documents iView displays the content of a document. This can be an HTML file or any other document that can be displayed. By default, this iView is not integrated in a workset. As per your business requirements you have recently upgraded the Enterprise Portal (EP) which subsequently involved switching from the Classic Framework Page (CFP) to the Ajax Framework Page (AFP).

 

Issue Arises

 

Following the change in utilization to the AJAX framework you notice that the URL call to the KM Document iView in a Knowledge Management (KM) setup is no longer working as required, instead it returns a HTTP 500 error.


demoversion.png

Testing the Behavior


  1. Login to the portal from desktop.
  2. http://<host>:<port>/portal
  3. In the portal, navigate to Content Administration -> Collaboration Content.
  4. Select the Collaboration tab followed by the room directory of interest.
  5. Upon left clicking the KM Documents iView e.g. "Project Document Viewer" you encounter the HTTP 500 "the website cannot display the page" error.

 

Versions Affected

 

  • EP Release Independent
  • SAP NetWeaver
  • SAP Composition Environment

 

Analysis (High Level)

 

  1. Record the complete scenario using Httpwatch (free basic version available online)
  2. Locate the call to the relevant URL (.e.g. Project Document Viewer as per the image above).
  3. The URL that is being accessed will return a nested cause exception e.g. HTTP 500.
  4. In many cases the error message in the result of that request is:
    •      <(><<)>p>The requested URL /AFPServlet/NavigationServlet was not found on this server.<(><<)>/p>

 

Why did this occur?

 

Discrepancy in parameter settings within the KM Documents iView e.g. Project Document Viewer "ReDirect Url" through the omission of the /AFPServlet/NavigationServlet property.


Resolving the Issue


  1. Login to the portal from desktop.
  2. http://<host>:<port>/portal
  3. Navigate to -> Content Administration -> Portal Display -> Framework Page Configuration.
  4. Manually select the Ajax Framework Page (AFP).
  5. Copy the invisible page pcd location with the portal URL whuke concatenating the following String "?NavigationTarget=<pcd location>".
  6. Open http watch to check in the trace for the line http://host:port/AFPServlet/NavigationServlet?
  7. Check in the query string for the value of targetNodeId, then subsequently add the "/AFPServlet/NavigationServlet" to the reverse proxy configuration of your server.

Backdrop: You are using the Enterprise Portal & BEx Broadcaster to pre-calculate and distribute queries, query views, Web templates, reports and workbooks. After some noted problem occurrences you are facing an intermittent issue when attempting to broadcast Bex reporting files to KM repository content.

 

Error Encountered: Exception thrown: com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while creating resource in KM.


bex.PNG

 

Testing The Behavior:

 

  • Log into Enterprise Portal and select the predefined target KM Repository and folders.
  • Run the BEx Broadcaster for the reporting files to the target folder in the Enterprise Portal.
  • The broadcasting service returns the error exception "Exception thrown:com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while creating resource in KM".

 

Reason for Exception:

 

  • File format discrepancy

 

Setting the correct formatting type:

 

  • Choose  with the quick info text Export and select Spreadsheet in the selection list. In full-screen mode, choose List > Export > Spreadsheet.
  • If you have a choice of more than one format, the Select Spreadsheet dialog box opens.
  • In the Select Spreadsheet dialog box, select the format in which you want to save the exported data.
  • Confirm the settings.


Review Settings & Additional Pointers

  • In the dialog box that appears, specify the path and name of the file and save the file.
  • For some formats, you also need to specify other settings for the file that is saved.
  • Make the required settings, where applicable.
  • If an installed program is linked to the selected file name extension, this program is started automatically and the generated file is opened.


Download & Restest


  • Download to system > List > Local File.

Backdrop:


When utilizing the Enterprise Portal you encounter a blank white screen within the Detailed Level Navigation. In some instances a change occurrence such as a Portal upgrade or System Migration can cause the setup and display to become problematic.

 

On some occasions when you are using the  Ajax Portal Theme in the Enterprise Portal (EP) the rendering of portal theme itself fails in the Detailed Level Navigation.


TEMPLATE_image006.gif


A "white" blank background gets displayed on Detailed level Navigation, making the text on detailed level navigation unreadable and invisible. The issue occurs alongside the use of the Internet Explorer (IE) Web Browser Platform versions.


Breaking the Issue Down:


  1. Determine firstly if the issue happens in all web browser platforms (Internet Explorer, Google Chrome, Mozilla).
  2. Determine if the issue occurs in both SAP Standard Themes & Custom Themes.
  3. Determine if the issue can be reproduced in all Portal Framework & Theme Combinations.

 

 

 

Capture1111.PNG

 

Common Culprit: Internet Explorer (IE) 8

 

Checking the Behavior:


  1. Login into the portal from desktop
  2. httphttp://hostname.domain.com5000/irj/portalhttp://hostname.domain.com5000/irj/portalhttp://hostname.domain.com5000/irj/portalhttp://hostname.domain.com5000/irj/portal://<host>:<port>/portal
  3. Navigate to and view the display of the Detailed Level Navigation (DLN)
  4. The text content does not get displayed in the DLN correctly
  5. The text font appears invisible in the background and is therefore unreadable

 

Resolving the Issue:

 

pencil.jpg

  1. Find your theme on the file system under: usr\sap <SID>\J00\j2ee\cluster\apps\sap.com\com.sap.portal.design.portaldesigndata\servlet_jsp\com.sap.portal.design.portaldesigndata\root\themes\portal\<your-theme>\AFP\images\layout\Navi11XY.PNG
  2. Open Paint application
  3. Edit the file using Paint and create it as 1x2 pixel image instead of 1x1.

Backdrop: You are attempting to display your corporate news feed to your external facing customers through an external facing portal. The RSS feed setup is based upon a custom portal component containing a par file based iView

 

Retrieving Data:  This retrieves the RSSFeeds URL from the JSP file


Error Exception: It returns a Connection Timed out Error e.g. Connection time out: 00:00_00/00/15_0002_123456789 [EXCEPTION]  java.net.ConnectException: Connection timed out: connect at java.net.PlainSocketImpl.socketConnect(Native Method) www.http.HttpClient.<init>(HttpClient.java:283) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:186) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:173) at java.net.Socket.connect(Socket.java:471).


error look.PNG



Testing the Behavior


  1. Log into Enterprise Portal.
  2. In the portal, navigate to the external portal via System Administration -> System Configuration -> (external e.g. CRM) iView.
  3. When attempting to run the standard out of the box iView defined to call the RSSFeeds URL you encounter http connectivity runtime errors accompanied by a subsequent timeout.
  4. Also in the integrated XML iView associated trace files:
    • (\usr\sap\<SID>\<J2EE_instance_number>\j2ee\cluster\<server#>\log\) you also see highlights of these Connection Timeout errors.

 

 

Why is this issue occurring?

 

 

Timeout issues in such a scenario are ordinarily thrown in association to server connection issues in addition to proxy service discrepancies. These configured services need to be maintained within SAP NetWeaver Administrator.

 

Resolving the Issue for the RSS Setup


  1. Log into Enterprise Portal.
  2. Firstly verify the URL's accessibilityvia the portal/j2ee server by navigating to the feed e.g. "http://www.abcxyz.com:abcxyz/news/abc-xyz/rss".
  3. Ensure the proxy service is configured correctly in the com.sap.portal.ivs.httpservice module.
  4. To specify the proxy server property values, configure the following application service: navigate to System Administration → System Configuration → Service Configuration -> com.sap.portal.ivs.httpservice application.
  5. View the specified proxy server property values to ensure they are configured accordingly alongside firewalls. Important Consideration: Set the Override JVM settings to "true".
  6. Save/close the service -> Close the editor.

 

 

If you require further consultation on how to define a Proxy Server for the Portal:

 

 

 



Backdrop: With knowledge management repository and folder management is a regular administrative task needed to support optimal business processes.

 

Issue: Upon attempting to logon and delete a particular folder in the Knowledge Management (KM) you encounter a deletion error which is thrown and highlighted thus signifying the deletion cannot complete "Delete failed for <folder name>".


foldericon.png

Try to Delete the Folder


  1. Go to Content Administration > KM Content
  2. Open the context menu of a resource
  3. Select the folder of choice
  4. Click on 'Delete'



Analysis & Identifying the Root Source

 

The first point of analysis here is to trace the root source of the exception in order to see the full underlying operations of the system. This can be done through generic log analysis via the Log Viewer or directly through the Default Trace Error Log File.


Pinpoint the Error


  • Reproduce the issue and capture a default trace error log file.
  • Note the UserID used to reproduce the issue and the time-stamp.
  • Obtain the default trace via: the Portal folder: \usr\sap\<SID>\<J2EE_instance_number>\j2ee\cluster\<server#>\log\

 

 

wastebasket.PNG

 

Wastebasket Service - Preventing Folder Deletion

 

  • Upon analyzing the log viewer you will see an error exception noting 'com.sapportals.wcm.command.DeleteResourceToWastebasketCommand' which references the wastebasket service.
  • This exception highlights and issue with the WasteBasket Service itself.
  • Occasionally this exception might also show that the associated folder + document is "locked" by a user even if the folder itself is empty.

 

What is the Wastebasket Service?

 

  • Activated by default in a standard setup.
  • Provides users with a means of fail-safe deletion i.e. users can be moved (deleted) to the wastebasket and restored/recovered from this point of call if required.

 

Probable Cause

 

  • The wastebasket service is not running on the system.
  • If you navigate to the component monitor by choosing System Administration -> Monitoring -> Knowledge Management -> Component Monitor what do you see?
  • If you are presented with an exception highlight such as #com.sapportals.wcm.command.DeleteResourceToWastebasketCommand#sap.com/irj#com.sapportals.wcm.command.DeleteResourceToWastebasketCommand#E005007#10396##n/a##b70095bb5f5911e4a798000002ab5054#SAPEngine_Application_Thread[impl:3]_58##0#0#Error##Plain###RID '/documents/- <Folder Name> is locked by <'User'>#
  • The wastebasket service has failed to startup due to a mis-configuration.

 

Fixing the Wastebasket Service & Enabling Folder Deletion

 

 

  1. Any configuration which is causing the wastebasket service startup fail needs to be removed and subsequently corrected.
  2. After making the required corrections a restart of the system should be performed so the service can start up accordingly.
  3. Once the wastebasket service is running it should then be possible to delete the resource as desired.

How to use "Find and Replace" Enterprise Portal feature for mass property changes of iViews.

After several requests from SAP customers I have recognized that it is not clear for them how to change system alias property values that are used in content with back-end connectivity.

 

A very common case for usage of "Find and Replace" functionality are changes of the "System" property value for all iViews in a specific folder.
The AI (Application Integrator) iViews that are used for connectivity to the R/3, BW, CRM etc., has specific property with system alias value that need to be changed.

 

Usually iViews are added to the content structure (Role, Workset, Page) as delta-links and all iViews have a default "System" property value that need to be changed with specific value after content imported from another Portal or moved to another folder.


Let's start …

Login to the Portal as Content Admin or Super Admin user.

First step is to start search for iViews in the folder with content that needs to be changed.

Right click on folder will show menu:  Search -> Find and Replace

 

1_InFolder.jpg

 

Wizard show first "Define Criteria" step:

1. Select "iView" object type

2. Select "Search for non-unit objects"

3. Choose "Add Row" button

4. Enter as text Property ID "System"

5. Enter current Value to be searched. (screenshot example NWTCLNT000)

0.jpg
6.  Click "Next" button.

 

 

The search result contains all iViews (all types of iView object) with property "System" that has value "NWTCLNT000"

2.jpg

In this example the result contains default objects ( used for content creation) that are located in the same folder as all content so I have decided to remove them from the planned change.
You can see that result contains all types of iView (BSP, IAC, Transaction, WD ABAP, etc...)

 

 

The next step is to provide new value to replace old one:

In the Property input-field enter again "System"

Enter new value

Select method: Overwrite .....

 

3.jpg

 

Click Next and review content prepared for changes:
4.jpg

 

In the screenshot above you are able to see the summary for prepared changes: property id, new value and method, and a table of content that contains old value

 

Click on Finish button and enjoy results

 

5.jpg


This blog is valid for Enterprise Portal 7.3x , 7.4x , 7.5x and higher versions.

Backdrop:  In an Enterprise Portal (EP) setup the utilization of Knowledge Management (KM) BW Bookmarks is quite common. Such bookmarks are stored within a KM Repository (CM repositories are used as the main means for storing documents and folders managed by CM).

 

Bookmark Management: With any means of management collective administration approaches are required to ensure everything is kept up to date and redundant information is removed wherever possible.

 

  • If further information is required on KM & BW Bookmarks I would recommend reviewing the BW Bookmarks Central Note for a comprehensive overview and a look into some of the most commonly encountered issue.

 

 

waste.png

 

Problematic Scenario - Example:

 

There are a multitude of factors behind the motivation of needing to delete Bookmarks. Such factors can range from configuration discrepancies to system upgrades or system changes. Wholesale upgrades sometimes highlight issues with Bookmarks links which can no longer be accessed and this is due to the navigation target following the older system setup. Upgrades can lead to changes within the Portal Content Directory (PCD) or associated roles.

 

Is there a standard functionality that can be designated to users to delete their own bookmarks?

 

  • Mass deletion or management is indeed feasible through Content Administration->Portal Content navigate to Portal Content->Content Provided by SAP->End User - Portal Users.
  • You can see the default framework page here. Open the framework.
  • Select the desktop inner page check box and click OPEN. Now you can see the portal favourities iView. Remove it from the page.
  • The portal favorites iView is part of the desktop inner page of your framework page.

 

Deletion Limitation

 

The report RSWR_BOOKMARK_DELETE can be used for the mass deletion of the Bookmarks.

 

However

 

The user has the option to select the bookmarks to be deleted under four conditions:

 

  1. Delete all the Bookmarks of a particular type(either for the selected templates or all templates),
  2. Delete all the Bookmarks which have not been used since the key date(either for the selected templates or all templates),
  3. Delete the Bookmarks by entering the Bookmark IDs directly,
  4. Delete all the Bookmarks created by an user(s), with option to also filter it further based on the last used date or template name.

 

 

Fom the frontends perspective a keystone function for mass deletion does not exist.


The users can delete their entries in the Favorites or KM Folders, which will remove the link in the Portal.


An ABAP administrator can reorganize bookmarks using report RSWR_BOOKMARK_DELETE


More Information on the Report: https://wiki.scn.sap.com/wiki/display/BI/Report+to+delete+the+Bookmarks

Background: You are utilizing the Enterprise Portal (EP) and after performing a recent system upgrade/migration or change you notice peculiar behavior regarding the application pages & screen presentations.

 

 

Issue Description: Application screens and page being displayed through the Enterprise Portal (EP) inherit the name of the application through the browser screen menu bar as opposed to using the name of the application itself.

 

SAP PORTAL DISPLAY.PNG

 

Browser Title VS Application Name

 

Occurrences such as this may usually come into effect after a system upgrade. When you are accessing the application through Web Dynpro iViews the returned display setting is not matching your requirements / intended display.

 

High Level Analysis

 

A high level process of elimination regarding this scenario revolves around cross-comparison.

 

Two quite simple checks you can perform include:

 

  • Is this issue reproducible in all Portal Theme/Framework combinations?
  • Is this issue occurring for each and every user/in all Web Browser Platform types?

 

uwl page bad.PNG

 

If the issue occurs across all Web Browser Platforms, Frameworks & Theme setups you can remove these from your analysis approach as here we are dealing with a small discrepancy in the configuration setup.


Checking the settings (High Level) Solution


You can use a straightforward method to check and determine which setting the "Page" is following to inherit its namespace through the Portal itself.


  • Go to System Administration --> System Configuration --> Service Configuration - > Portal Runtime --> Central Configuration --> ? You should be able to view and configure a change (if needed) under "Portal.html.head.title"?


Important Points


In relation to this scenario there have been interesting observation's in the past regarding the Window Title inheriting the WD Application Title as opposed to the iView Page.


On some occasions this was down to the iView being configured to "Display in a separate window", as the flow that generates the code that changes the title is not called. If you have the value set as "Display in separate Portal window". This will trigger the code that generates the title change.


Dynamic Application Title Vs iView Property


In this scenario the most common root source is a conflict between inheritance properties.


  • The application being called e.g. UWL in this case holds code to change the dynamic window title - EPCM.getSAPTop().document.title = "my Title"
  • Instead however this code is not followed and the iView property name is used.

 

NW 7.40 Versions Solutions


  • There is a documented fix for this particular issue within NW 7.40.
  • With SP12 Patch Level 14 for SP12 (EPRUNTIME12P_15-20010057.SCA) - Patch for EP RUNTIME 7.40 SP12.


Backdrop:


Out of Memory (OOM) issues are perhaps one of the most common and generically occuring issues encountered whilst operating in a complex business process Portal environment.


OOM & WCM:


In the Enterprise Portal (EP) environment you encounter performance degradation on various server nodes, subsequently the Portal itself becomes inaccessible. You notice an unexpected restart of the Java engine along with checking the directory /usr/sap/<SID>/<InstID>/j2ee/cluster/serverX you notice an OOM.Hprof file has been automatically generated.

 

High-Level Analysis:


Upon analyzing the OOM.Hprof you find several core refereneces. The results show an Out of Memory error exception referencing Web Content Management (WCM) & the KM Cache "com.sapportals.wcm.util.cache.CacheFactory" which is pulling a significant grouping of the heap allocation.

 

KM: Out of Memory & Performance Pointers

 

The primary cause of performance impacts within the KMC is the activation of the AccessStatistic service on the KM repositories.

 

  • You can check if this service is indeed activated in the configuration of the KM repository managers
  • If you make a change in the repository managers i.e. a setting is updated with the removal of the AccessStatistic then a service restart will be required for the change to take effect.

 

 

portalkm.PNG

Reproducing the Issue:

 

  1. Log into the Enterprise Portal.
  2. In the portal, upon performing navigation you begin to notice reduced perfomance accompanied with loss of navigation.
    • Severe performance degradation is followed subsequently by the Java Engine failing with a 666 exit code.
    • The 666 exit code highlights an OutOfMemory (OOM) error.
  3. In the SAP directory search for the OOM.Hprof file via the path /usr/sap/ <SID>/ <InstID>/j2ee/cluster/serverX
  4. Analysis of the OOM file points to the KM Cache "com.sapportals.wcm.util.cache.CacheFactory" as the source of the error.

 

Why?

 

  • The OOM issue due to KM caching and the and the solution is to apply the latest KMC-CM patch available.

 

Lastly from the KM side and in terms of a performance setup and the "slow response times". I've outlined some reference documentation below for your convenience:

 

How to Tune the Performance of Knowledge Management (NW7.0): 

 

Knowledge Management, TREX, and Collaboration How-to Guides for SAP NetWeaver 2004:

Backdrop: When utilizing a setup including the SAP Enterprise Portal the primary means of utilizing the centralized access platform for various applications is a central logon screen.

 

PORTALLOGON.jpg

 

Accessing The Portal

 

To access the Enterprise Portal Logon Screen you utilize a support Web Browser Platform. Here as per your organizations business requirements you will almost certainly be using a proposed and recommended Web Browser which has been deemed as standard by your Portal Administrator through a list of supported browsers.

 

Ensuring the Browser is Supported.

 

From the Portal's perspective in terms of intended utilization it is of vital importance that the Web Browser Platform being used is supported from SAP's perspective. In order to support optimal browser performance you will need to ensure that the current Product Version being utilized (IE, Chrome, Firefox, Safari) supports your NW Version and vice versa. In relation to optimal browser performance here I am making reference to two difference aspects:

 

  • Rendering: how the presentation is presented to the end user in terms of EP components & elements
  • Navigation: functionality setup and essentially "click-ability" and "select-ability"

 

Checking the Browser is Supported.

 

The primary means of checking whether or not your present Web Browser Platform version is supported is through the SAP PAM or Product Availability Matrix. On the PAM we are given insight into which different Product Versions support Web Browser Versions and vice-versa. The PAM will also provide an informative outlined into the limitations (if any) which may exist which a potentially unsupported setup.


 

 

browsers.jpg

 

 


Importance of Supported Browsers (High Level)


Modern computing environments whether in the workplace or in the privacy of our own homes offer end-users a continual and consistent means of access to the internet and subsequent websites and applications. The sole means of accessing the Internet is through Web Browser Platforms and it has been noted recently "internet attackers" are favoring an approach of "attacking" through these Browser Platforms.

 

An unsupported Web Browser Platform can be cross-translated into a potentially insecure Platform thus paving the way for Web Attackers to enter the fold and compromise security, information and data.

 

Although we can refer to the risk of using an supported Browser Platform as a lack of common sense in many cases we inadvertently open ourselves up to potential threats. For example if you are using standardized company software and are participating in a project perhaps you want to make use of a free software to offer an extra degree of detail to your project. This could be anything from grammatical process setups or perhaps a graphical generation software.

 

If you have experiencing with downloading any software program you would have encountered the launch program and .exe files on many occasions. Here we often navigate quickly through the launch tool as we only want to make use of the final product. In doing so we might accidentally install a host of third party tools such as browser plugins, and toolbar setups.

 

In true essence you are never quit sure as to what you are downloading if not from a trusted source. Upon downloading any third party software even for temporary use inadvertently you could be installing spyware and phishing mechanism to which you are "none the wiser".

 

The recommendation is to install only what is supported and seek consultation from Admins regarding any potential queries you may have regarding the intended utilization of programs or tools which may not be available as standard in an organizational setup.

 

Plugins & Add-On's


In direct correlation to what we covered above if third-party mechanism in your browser such as plugins, popup blockers, ad-blockers toolbar rankings etc can all play a role in the underlying functionality when it comes to logging into the Portal. Here the underlying concept of blacklisting and white-listing comes into play and fruition.


Logging On - Credentials


The process of logging onto the Portal ordinarily involves a standard credential input mechanism for authorized users via a password and username declaration. Upon following the URL link through internal shortcuts or browser setups you will be presented with the Enterprise Portal Logon Screen.

 

logonbox.PNG

 

logonsetup.PNG

 

Password Tips (If Applicable)

 

  • Dictionary Words Combination
  • Lowercase & Uppercase
  • Numbers & Symbols
  • If you have further queries upon this the recommendation is to contact your System Administrator

 

Logon Issues

 

  • If you cannot for any reason logon you can utilize the "GetSupport" link on the Portal Logon Screen Homepage.
  • This "GetSupport" option ordinarily requires configuration.
  • Upon clicking the link and entering details about the issue while logging on a System Administrator will be notified.

 

 

Mapping Client Certificate


Welcome to the Q1 edition the SAP Portal news blog 2016. We have many news for you in the following topic areas:

  • Enterprise Portal News
  • HANA Cloud Portal News
  • SAP Fiori and SAP Fiori Launchpad
  • What our Customers Say
  • Events: DSAG Technology Days 2016

 

SAP Enterprise Portal News

 

SAP Portal Features on SAP NetWeaver 7.5 SPS2

SAP Enterprise Portal on SAP NetWeaver 7.5 is continuing with UX renovations according to the SAP Fiori UX paradigm. If you are interested in the latest SAP Enterprise Portal features for administrators or end-users, this blog is the right one for you.  Learn about the new features developed in the latest SAP Enterprise Portal support package stack (SPS2), developed for SAP NetWeaver 7.5:

 

  • End-users can synchronize the SAP Fiori launchpad homepage.
  • Administrators can configure a News iView to run as a news tile that displays article feeds to end-users in the SAP Fiori launchpad (see image below).
  • End-users can set the theme in the SAP Fiori launchpad.

news_tile.png

For details, see also the release notes.

 

Working with the Role Editor in SAP Enterprise Portal

In SAP Enterprise Portal you can create a content structure directly in the Portal Role Editor. When a Portal role is created you can add content from the Portal Content Catalog as a delta link or as a copied object. The content is being added with the original object ID. There is the need for some content administrators to be able to add objects by changing the object ID. This functionality is disabled by default. Read this blog by Portal developer Roman Loshevsky and learn how to enable this functionality in the SAP NetWeaver Administrator.


How to set in batch multiple iView properties using the Find and Replace tool

Read this blog tutorial, which demonstrates under a SAP Netweaver 7.40 system, how to use the "Find & Replace" tool in order to update multiple object properties.


A Journey to SAP Fiori Launchpad on Enterprise Portal

Read about a company that decided to implement SAP Fiori launchpad on Enterprise Portal and why they think it was the best solution for them.

 

Customer Story "Five Groups"

Five Groups Employees are using e-Spirit Web Content Management to easily create SAP Portal content. Read the details in this article.

 

 

SAP HANA Cloud Portal News

 

SAP HANA Cloud Portal: New Major Release Available

We recently announced the availability of the new major release of SAP HANA Cloud Portal. You can expect a completely redesigned and improved version of the product, that brings with it major changes in the product architecture to adapt Fiori technology and concepts. It also provides a tighter integration with SAP Web IDE for advanced developer flows, and includes out-of-the-box templates and business solutions that are delivered with a responsive user experience optimized for mobile devices. For details, see the new updated overview presentation. If you haven't signed up yet for your free trial account, register by following this link.


Watch this movie showing how to use UI theme designer in SAP HANA Cloud Portal:


 

Technical Tips and Tricks for Working with SAP HANA Cloud Portal

Check out the new updated tech tips and tutorials information on SAP Community Network.


Read this blog by Sibylle Brehm describing some important change from the previous version to the new version: the navigation menu can be reached by clicking the menu icon in the upper left corner – which might not be intuitive to all site users. It is possible to replace this kind of navigation with a second bar below the header bar displaying the menu.

 

Winners of the HANA Cloud Portal Developer Challenge 2015 Announced

The HANA Cloud Portal developer challenge 2015 on SAP Community Network ended in November 2015, the winners were identified and announced recently: the challenge gave customers and partners the chance to demonstrate their developer excellence and leverage the capabilities of the trial developer environment  of HANA Cloud Platform and HANA Cloud Portal. Every contributor developed an app, by using the cloud tools provided by SAP.

 

Congratulations to the winner and the finalists:



SAP Fiori and SAP Fiori Launchpad


SAP Fiori 2.0 Impressions

Get some impressions of SAP Fiori 2.0, that won a Red Dot award and that will also be the future UX paradigm for SAP Enterprise Portal on SAP NetWeaver 7.5.

 

 

New SAP Press Book

Implementing SAP Fiori launchpad: this is a new SAP press book by Aviad Rivlin and Tamas Szirtes. Get the details on architectural options for SAP Fiori Launchpad and walk through road maps and scenarios for implementation, discover options for implementing on AS ABAP, SAP Enterprise Portal, and SAP HANA Cloud Platform.


 

What Our Customers Say

 

Watch this movie summarizing some of our customers’ feedback on our cloud solutions SAP HANA Cloud Portal, SAP Fiori Cloud Edition, SAP Web IDE and our on-premise flagship SAP Enterprise Portal:

 

 

Events


Technology Days of German-Speaking SAP User Group

The German-speaking SAP User Group (DSAG) met in Hamburg in February for the Technology Days, which is the place where you can obtain the latest innovations concerning experience and development in the SAP environment. Product Manager Thomas Hensel from the Portal and Cloud experience team showcased the latest news and innovations in the SAP Portal roadmap including SAP Enterprise Portal 7.5, and the new release of SAP HANA Cloud Portal. ZF Friedrichshafen AG presented their Portal-based extranet relaunch based on a user centered design. DSAG members can download all released presentations by following this link.

 


Backdrop:  The topic of security is perhaps one of the most important factors when it comes to business practices for organizations. In the modern world of business operations  organizational establishments will  incorporate strict security standards and procedures as part of their everyday business processes and regulatory practices.


With technology being such a vital part of everyday from both a professional and personal standpoint we ourselves are fully aware of the dangers which can emerge from opening a suspicious email or accidentally providing personal details over the phone.





LOCK.png


Some of the most common security concerns are derived from the following types of Networking Attacks


  • Viruses
  • Spyware
  • Ransomware
  • Malware
  • Eavesdropping
  • Identity faking
  • Application attacks
  • SQL Injections
  • XSRF


The list outlined above in true essence is endless.

 

Enterprise Portal & Security

 

Let us in this section paint a picture in association to a sample employee working in a professional environment for an organization utilizing the Enterprise Portal. As we know the Enterprise Portal (EP) serves as a central baseline platform and singular point of access to services, applications both custom and standards and data information. For means of greater insight let us create a fictional employee named "Joe Bloggs" who is a long standing employee for a multi-national automobile company. Joe who is vastly experienced has a broad range of everyday work tasks that he must see too and uses a wide arrange of different applications and services through the Portal to do so. For example Joe manages a team and must see that all tasks are designated accordingly, he must also keep track of production stock, order placements, leave requests etc.

 

joe.PNG

 

The diagram above is perhaps a little generic and high level but gives you an idea into how the underlying processes of work activities converge and stem off one another. In this example we are dealing with one individual called Joe but if we are taking a multi-national organization as the example baseline Joe might be 1 out of 100,000 different employees.

 

Portal: Security Analysis Avenues & How Secure Are We Now?


If you have incorporated the Enterprise Portal & NW AS JAVA into your setup general practice would deem any information hosted within the Portal itself as strictly confidential and meant only for employees dependent on authorization levels.

 

Prevention in many cases is the best means of protection. The identification of potential "weak-spots" in a Portal setup from a security standpoint gives you the means of patching up security flaws and fortifying the setup. Assuming all security practices and procedures currently being utilized are effective in preventing attacks is not enough as newer means of attacking and hacking are increasingly being created to take advantage even of the smallest of loopholes.

 

To perform security checks from a configuration standpoint you can follow the Enterprise Portal Security Guide outlined below:

 

 

 

Secondly you can view the security zones and perform direct checks on each. The purpose behind this is to ensure that only current users bases (Portal End-Users) can view, access, utilize, interact and retrieve information from Portal Services and Applications. The way to perform these checks is to run the Security Zones Checker.

 

  • Login to the Enterprise Portal
  • http://<host>:<port>/portal
  • In  the Portal Select > System Administration > Support > Portal Security > Security Zones Checker.
  • You can from this point Select "Scan Security Zones".
  • The result list will display used Security Zones & also highlight any unused Security Zones
    • Unused Security Zones are usually sourced to PCD changes.
    • If Unused Security Zones have been highlighted they can if desired be removed.
    • It is not encouraged to do so without adequate consultation and diligent analysis beforehand

 

Simple Networking Security Tips:

 

  • Antivirus Scans & Prevention
  • Trusted Sites
  • Network Audits
  • Software Blacklists
  • Spam Zone Checker
  • URL Blocking

Background:


You are utilizing the Universal Worklist and notice than upon logging into the Enterprise Portal (EP) and loading the UWL (GUI) Interface the Inbox is empty and no work-items are being displayed.From the end-users perspective the empty Inbox means no work-items or work-tasks become visible thus affecting business operations .e.g. approval of sales orders, tracking purposes or travel requests.




UWLInboxEmpty.PNG

High Level Analysis


As with any issue the first investigation steps are in true essence the most vital. From a high level perspective you can easily eliminate probable causes and root sources with a few simple analysis points to follow:


  • Has there been recent UWL Changes or System Upgrades, could this have played a role?
  • Is the issue occurring for all users (if not are we dealing with permissions or authorizations)?
  • Are the Connectors currently maintained in association to the UWL being maintained correctly (check the status column)?

 

Examine the Default Trace


When we are dealing with missing work-items or work tasks the default trace becomes a vital source of reference. When viewing a default trace file you are examining the underlying operations of a system setup. From the perspective of the UWL if there is a small discrepancy in the configuration this will become apparent in the trace itself and return error exception highlights or warnings.


Common Culprits


Depending on what the error exception being returned is most cases of missing work-items can be sourced down to mis-configurations of the smallest proportions. Ordinarily you will see highlights such as the following:


  • Problem occurred while creating JCO for client destination SAP_SRM
  • Problem occurred while creating JCO for client destination SAP_ECC etc
  • User is missing credentials for connecting to alias "ABCXYZ".

 

Remember

 

Here we need to remember the underlying core function mechanism through which the UWL Functions and operates which is that of the UWL Destination Service Configuration. All of the above error exceptions are making direct reference to this configuration setup and indicates a small discrepancy in the settings and parameters being maintained.

 

Solution

 

The core baseline note to follow here (carefully) is that of SAP Note: 1133821 - UWL Destination Service Configuration.

 

By following the documentation above we can ensure that the RFC destination is missing or is not configured properly.

 

After the note is implemented and the WebFlowConnector re-created the cache should be cleared and the backend re-registered.

 

Solution Part 2


Check that after applying Note 1133821 the destination names and the UWL connector names exactly match, even considering case-sensitiveness.


If your portal system alias (=UWL connector name) is for example XYZCLNT100, then the RFC destination name should be exactly XYZCLNT100$WebFlowConnector. Please correct the RFC destination accordingly.


After you have checked/prepared the RFC destination for the future use:


  • Please delete that connector in the UWL config UI (Portal->SystemAdministration->System Configuration->Universal Worklist) with which you would like to use this RFC destination.

 

After that


  • Restart the portal cluster
  • Recreate and Re-Register connector.
  • Now retest.  Are you still seeing the issue?

 

I must stress that this particular documentation note and the steps outlined above need to be followed precisely and carefully to resolve this particular error exception and the surrounding issue.

Actions

Filter Blog

By author:
By date:
By tag: