1 2 3 35 Previous Next

SAP Enterprise Portal

521 Posts

Introduction

 

By default, within the Enterprise Portal it is not possible to define a custom width for the left side Navigation Panel/DTN area of the Portal Framework Page. In this blog post, I will show you a workaround where you can set the Nav Panel to equal a specific custom width:

leftnavPanelOpen_2.png

Important information before you begin: You must have activated LESS theming mode (SAP KBA: 1997947) and use the Ajax Framework Page.

 

Creating your new theme


  1. Open the UI Theme Designer (Content Administration -> Portal Display -> UI Theme Designer) and open your theme of choice
  2. From the Theme menu choose Save As and choose a new name for your custom theme
  3. Click on the Expert Mode icon under the UI Theme Designer
  4. Filter by the property leftnavPanelOpen
  5. Adjust the value of this parameter based on your requirements (width should be specified in pixels/px)
  6. Refresh your theme display in the UI Theme Designer to observe the changes

For further details please reference the below screenshot:

leftnavPanelOpen_1.png


Testing your new theme


You can test your new theme quickly by logging out of your Portal, and calling the theme directly via the Portal URL:

http://<host>:<port>/irj/portal?theme=your_theme_id


You can locate your Theme ID either under the Portal Catalog or from within the UI Theme Designer itself:

theme-id.png

Backdrop:

 

You are utilizing a setup that involves the Universal Worklist and end-users working alongside various workitems.  In the Universal Worklist (UWL) a number of workitems are displayed within the Inbox but do not change immediately after an action is performed.


For example "New/In Progress" along with "Completed" workitems remain in the UWL Inbox despite a manual refresh or action change.


Capture1.PNG

Status Types:


  1. "New": The task is displayed in the task list of all potential owners. No potential owner has opened the task yet. When the actual owner of a task has put it back, the status of the task is also New and visible to all other potential owners.
  2. "In Progress": The task is claimed by one of the potential owners who has opened the task execution UI. When a task is opened, it is automatically claimed by the user and he or she becomes an actual owner. Thus, the task disappears from the task lists of all other potential owners.
  3. "Completed": The task is displayed in the Completed Tasks view. No other actions can be performed on the task. The Completed status focuses on the task life cycle completion, so that the task business goal is reached.


 

uwlbehaviour.PNG

 

Why is the change not immediate?

 

When you open and run the UWL Service it takes a total of 5 minutes for all the tasks to be loaded up and represented back to the end user in graphical format as this is standard behavior.

 

UWL Functional Breakdown


The UWL works using two Pull operations. Firstly tasks are pulled from the backend into the UWL cache and they are then pulled a second time from the cache into the UWL User Interface. Due to this architecture there is an inherent delay in the automatic refreshes of the UWL. There is no way, in the current architecture that the UWL can refresh instantaneously. This is upon inital load as the cache must be built first upon logon so there will always be a delay. Real time refresh in the latest versions, is only when you complete a task. The Universal Worklist Task Filters follow the standard underlying functionality of the UWL refresh mechanism.

 

Improving the Refresh Interval & Filter Return Display

 

Let us remember that if you utilize the UWL within an environment that contains hundreds of work-items and end users there will be a lot of background activity each and every time the UWL is loaded. Reviewing the UWL core parameters and striking a balance among them is one of the best methods to create an optimal setup. The standard behaviour of the UWL remains that you will need to wait for 5 minutes for these changes to be updated regarding the workitems.

So as we discussed in the first theme based troubleshooting blog posting http://scn.sap.com/people/troy.cronin2/blog/2016/02/06/ep-themes-issues--breaking-the-issue-down-high-level-analysis there are several ways to help simplify a theme based issue.

 

In this blog posting we'll move forward a little in analysis terms and outline some common issue scenarios and resolution approaches that can be applied.

 

3 Principles To Follow - If you encounter an issue


  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

 

If you've followed the three principles above you already have a better understanding of your issue and can delve quickly into further analysis to get a solution.

 

ppt_img.gif

 

 

 

Common Issues

 

  • Custom Theme not applied
  • Application iViews & Pages appear blank i.e. they do not inherit the designated Portal Theme
  • Yellow boxes in Header Area
  • Theme Transport & Import's not functioning accordingly
  • Issues with Theme Export
  • Unable to change Font colors and display
  • Mix-up of themes and issues applying/assigning themes.

 

So as you can see there's several common issues in association to Portal Themes. What in truth seems like a simple topic offers its own distinctive avenue of complexity.

 

Patch Level Releases & SP's


If you encounter any issues similar to those posted above the first recommendation would be to review the SAP Service Marketplace to determine whether your issue is "known".


If the issue has been previously reported its quite likely a implementable fix is currently available via a Patch or Support Package.


  • https://support.sap.com/swdc
  • Important: make use of the dependency tool provided to ensure there are no system discrepancies if you implement a Patch/SP.

 

Browser Compatibility

 

If you source the theme issue to one particular web browser platform you need to make sure its utilization is supported via the PAM.

 

  • On the PAM navigate to "Technical Release Information" & "Web Browser Platforms" (Is that browser supported?)
  • https://support.sap.com/pam

 

Font Issues

 

Ok from a general perspective there are a few important points to highlight regarding any font changes with the Enterprise Portal. The font does not have to be installed to the portal, but to the users' desktops. Entering the value in the  tool e.g. Theme Editor will simply cause the font to be referenced in the portal stylesheets; the browser is the component which actually locates the font and  the page accordingly.

 

In the Theme Editor, you can go to Global Style Components > Text and choose to either 'Select a Value' or 'Enter a Value of your Choice'. Entering a valid font name in the second option updates the available entries in the dropdown, and adjusts the theme preview accordingly.

 

Note that there is no question here of installing a font to the portal; updating the theme editor merely updates the stylesheet references, so the font in question would need to be available on each client PC.

 

 

The Infamous Yellow Box

 

Are you seeing a yellow box appearing in the Masthead or DTN area or somewhere else on the Portal UI?

 

  • There is a known issue pertaining to JPG type images being ignored and thus they create empty yellow spaces (check the Patch fixes for this firstly).

 

Secondly there is the purely customization based root source of such an issue. I would suspect that you are using your branding image in the designbar instead of the masthead  or branding image containers.


You are then resizing the design bar much larger than in the standard themes supplied by SAP. The design bar is meant to be a narrow border on the extreme left hand side of the masthead.

 

However to resolve this issue is quite straight forward (and you can leave your settings as they are).

 

If you call:

 

 

You will see two drop * For the 1st one Browser, leave this as 'default'. Then the second one, locate parPrtlMastHeadNotchBgColor

 

For your theme, then set the desired colour.

 

This will set the background colour for where the yellow bars are showing and the idea is to change the background colour to white.

 

After updating the value, be sure to, click first 'Set Value' and then 'Save and Generate' to actually generate the new css files.

 

You can follow the link below for a reference on to the colours to set. http://www.w3schools.com/html/html_colors.asp

 

 

 

spraypaint.jpg

 

 

 

Assigning Themes, Theme Transports & Exports & Subsequent Imports - You have an issue


You have a custom theme created in one EP Version e.g. 7.4 SP02 and imported to SAP Portal 7.4 SP09. Now after the upgrade the theme was customized successfully e.g. using the UI Theme Designer and transported via the Transport package but the Export option in "Transport Themes" is

missing.

 

Custom themes should be saved automatically and visible within WRR and changes made within the WRR are persistent.

 

If your custom theme is based upon Corbu/GoldenReflection/BlueCrystal here you are dealing with a support issue (these are product version dependent).

 

The reason a visual display would revert back to a SAP Default/Standard theme is the omission of the parameter "Handover Portal Stylesheet".

 

The stylesheet iview parameter this is not used to specify what "sap-cssurl" to hand over to the backend, but rather to specify the type of stylesheet to use (e.g. 'ur').

 

Its not possible to disable handover of the portal stylesheet and at the same time specify a stylesheet URL in the portal.

 

You can force use of a specific stylesheet on the webdynpro side, using sap.useWebDynproStyleSheet=true and setting the sap.theme.default property to the desired theme.

 

With the Portal stylesheet the display type is obtained from the backend. In terms of the content area and navigation areas two seperate themes cannot be utilized at the same time.

 

Stylesheets

 

With portal integration the system first checks that the portal has transferred a specification for the style sheet. If the WDFORCEEXTERNALSTYLESHEET application parameter is * the specified portal style sheet is used. If, on the other hand, the WDFORCEEXTERNALSTYLESHEET application parameter is not * the versions of the style sheets are compared.

 

If the version of the portal style sheet is newer or the same as the style sheet in the SAP system, the portal style sheet is used. All four digits of the version number of each style sheet are compared.

 

For example, the version is 7.0.0.0 or 7.1.3.0. If the version of the portal style sheet does not match the style sheet in the SAP system, that is, the portal style sheet is older, then the style sheet specified in the WDTHEMEROOT application parameter is used. If no style sheet is specified here, the default style sheet is used.

 

- Setting Style Sheets: http://help.sap.com/saphelp_nw73ehp1/helpdata/en/03/1ed736f5ca44aa8dbbcbcf1406342c/content.htm

 

If you have an issue not covered in the bullet points above feel free to DM me directly or Post below and I will help out wherever possible.

 

Happy Theming

The impressively beautiful themes we create and utilize on the Enterprise Portal are not merely empty shell's but rather complex containers involving coded elements, components and segments.

 

In some instances a change occurrence such as a Portal upgrade or System Migration can cause a theme setup and display to become problematic.

 

 

theme1.PNG

 

On many occasions a change in browser utilization can often result in rendering issues also.

 

Examples of such issues include the following:

 

  • Partial rendering
  • Disappearance of elements
  • Non-delectable icons and navigation points
  • Cut screens

 

In true essence the elements which go into making a theme can become problematic due to their conjunctive complexity when grouped together.

 

Standard Theme Types

 

  • SAP_Tradeshow
  • SAP_HighContrastBlack
  • SAP_BlueCrystal
  • SAP_GoldReflection
  • SAP_Chrome
  • SAP_Streamline

 

If you encounter theme based issues 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 "theme" itself needs troubleshooting as opposed to the environment in which it functions.

 

The second recommendation would be to ensure that the themes are being held and holstered correctly and not facing any deployment issues.

 

You check the deployment by navigating to :

 

  • \usr\sap\<sid>\<instance-id>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment,\pcd ,\tempand \pcdContent

 

If you find any files with .err extension there, kindly remove the .errextension.

 

Then restart the J2EE engine.

 

Should the issue still not be resolved and there does not exist any.err files,kindly locate following * files in the deployment directory and remove the * extension and restart the J2EE engine.

 

com.sap.portal.design.dataprovider.par.bak
com.sap.portal.design.portaldesigndata.par.bak
com.sap.portal.design.themepartregistration.par.bak
com.sap.portal.design.urdesigndata.par.bak

 

Note: Please make sure that you do not delete the entire file,you onlyneed to remove the .err or * extension.


In cases like these the main points of analysis and investigation are to delete the standard SAP themes and then perform a restart. During the restart they will be automatically regenerated.

 

For this please ensure to do the following:

 

Make sure you have your custom themes backed up.


  1. Delete the SAP-supplied themes using the PCD Inspector.
  2. Very important - only the central instance should be up and running during the deletion of the themes
  3. Please also make sure only SAP themes and not your own custom ones are deleted as custom themes will not be regenerated.
  4. Now stop the portal.
  5. Go to the file system and delete the theme from the file system for each server node, if they have not already been deleted by the portal.

 

The paths where the themes can be found are:

 

  • \usr\sap\<SID>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB INF\portal\portalapps\com.sap.portal.design.por t aldesigndata\themes\portal&
  • \usr\sap\<SID>\j2ee\cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\portal\portalapps\com.sap.portal.design.urde signdata\themes\portal

 

Restart the portal. Only the central instance should be started at this stage.

 

  • Check to see if the SAP standard themes are now working as required?

 

If not another stage of troubleshooting is required (which I will cover in another blog posting).

 

Simply following high level investigation analysis steps such as those outlined above can help you determine many key points such as:

 

  • Are you dealing with an actual theme issue or a browser issue?
  • If you are dealing with a theme issue is it confined to a custom theme/standard theme or all themes?

 

If you analyze theme issues from an overview scope you can fine-tune your investigation from the offset and help eliminate countless possibilities thus making it easier to find and attain a quick, quality resolution.

In this fourth blog posting on the topic of themes and their management and creation we are going to cover the creation of a theme via the UI Theme Designer. Previously in my third part we discussed the other mechanism and older approach through utilization of the Theme Editor which if you missed it can be reviewed in my central blog series below:

 

EP: Theming - Creating A Theme (Theme Editor) - Part 3

http://scn.sap.com/people/troy.cronin2/blog/2016/02/03/ep-theming--creating-a-theme-theme-editor--part-3

 

The UI Theme Desinger - New


In terms of theming the UI Theme Designer is the newly released and newly available platform for both editing and generation. In terms of functional enhancements with the UI Theme Designer they key terms here are:


  • CSS
  • LESS
  • SAP UI5
  • SAP NW AS ABAP
  • SAP NW Portal
  • Usability
  • Flexibility

 

paintbrush-symbol_318-9145.jpg

 

Flexibility - Browser Based

 

The UI Theme Designer is the complete package in terms of being singular tool for theming and branding across many of SAP UI's

 

The UI Theme Desinger - Using It

As we highlighted previously to use this tool it firstly needs to be activated via the NWA.


Transport Theme

Before we go ahead and start creating some themes you should export current themes (via Theme Editor) save them locally and then subsequently turn on the UI Theme Designer.


Import Themes (From Older Theme Editor)

  1. Login to the Portal
  2. Navigate to > System Adminsitration > Transport > Transport Themes
  3. Specify the path to your theme of interest (.e.g my theme) remmeber these should be in the theme core folder or one of the sub folders.
  4. Copy the path and compressed file.
  5. Import

 

Ready?


  • You should now have the file ready to use within the UI Theme Designer

 

Select, Preview & Customize

 

When you customize supported portal themes using the UI Theme Designer, you can preview changes you make to framework pages.


  1. Launch the UI Theme Designer > Content Administration > Portal Display > Portal Themes > UI Theme Designer
  2. Locate the them of interest and select > Edit
  3. Open the Preview Controls
  4. Select one of the supported Frameworks

Now so far in Part one we covered the basics behind the Portal Themes such as the permissions involved and the elements of interest while Part 2 gave us extra insight into the two primary mechanisms behind theme creation (1) Theme Editor (2) UI Theme Designer.

 

If you missed Part 1 & 2 you can review them at your convenience via the links below:

 

EP: Theming A Simple Overview Part 1

http://scn.sap.com/people/troy.cronin2/blog/2016/02/02/ep-theming-a-simple-overview-part-1

 

EP: Theming - Theme Editor VS UI Theme Designer Part 2

http://scn.sap.com/people/troy.cronin2/blog/2016/02/03/ep-theming--theme-editor-vs-ui-theme-designer-part-2

 

Now in this third part we are going to cover the fundamental process behind creating a custom theme and the steps involved throughout.

 

I figure I will break this blog posting into two separate parts with each offering an overview on the differences in creating a theme between (1) Theme Editor & (2) UI Theme Designer.

 

Important!


As with any Portal protocol that involves editing/creation, careful planning and diligence is required. After all we do not want to create themes which contribute negatively in terms of aesthetic appeal to the overall look and feel of the Enterprise Portal.


Theme Editor - Planning


So you have taken the decision to go and create a custom theme using the Theme Editor. Through utilization of the Theme Editor you are able to create multiple themes for all Portal Users. Each theme you create (custom theme) is based upon a SAP Standard Theme template with which you tailor the visual elements to meet your own organizational business requirements. For example you might want to change the color coding, background images or general balance of display. If your company logo incorporates traits of the rainbow you might want to have a specific colour coding across the Portal display which is indeed feasible. Now finally as here we are talking about planning you will need to ensure firstly that you have the correct authorizations to go ahead and create a theme (Content Admin) and assigning it to a desktop (Super Admin).

 

The Beginning

 

Now after some brainstorming and discussions with your colleagues regarding the theme you've generated (in your mind) the potential schema that the theme is going to follow (let us stick with the example of the rainbow).

 

Capture.PNG

 

In order to work towards achieving the desired setup the first thing you must do is select and start tailoring one of the SAP Standard Themes which is then saved as a custom theme (new name). The SAP Standard Themes themselves are non-editable (essentially they are hard-coded). The main point of interest to you (as theme creator) is the properties of the SAP Standard Themes as these properties and parameters are going to serve as the core baseline upon which your custom theme is created.

 

Planning Complete! - Open the Theme Editor

 

  1. Login to the Enterprise Portal > Content Administration > Portal Display > Portal Themes > Theme Editor.
  2. View the Themes > Select the Dropdown Menu > (Choose any Standard Theme You Want).
  3. Open the Elements Dropdown
  4. View the Element Properties and select the ones to which you want to make changes.

 

Elements - Overview

 

  • All - As the name suggests if you select this in the drop-down you've made a decision to edit all elements in the theme.
  • Ajax Framework Page (AFP) - Elements in association to the "Navigation" areas of the framework page itself
  • Classic Framework Page (CFP) - Elements in association to the "Navigation" areas of the framework page itself
  • Application: Elements pertaining to the display of application within the Portal's content Area.

 

ppt_img.gif

 

Preview & Elements

 

You have the option to view SAP Standard Themes alongside the elements you have selected. This will essentially create a mock-up display of the process to come before you continue towards creating the rainbow based display .

 

Open

 

  • Choose "Open" to open the Theme editor.
  • If you view the left of the screen you can select one of the user-face theming elements.
  • The parameters which essentially go into making up this UI will be shown here.
  • If you go through the parameters you can Preview each.
  • Now you can go about customizing as you please.

 

Save

 

  • Select "Save As" to save the template .e.g RainbowCustomTheme
  • Fill in the necessary i.e. Theme Name & Theme ID. Remember to save the theme in the theme folder or one of its subfolders!!!
  • Once saved you should now be able to view and select the theme in the Theme Editor within the option "My Themes".

 

 

Part 4 Coming Soon - Theming - Creating A Theme (UI Theme Designer)


As we discussed in part one http://scn.sap.com/community/enterprise-portal/blog/2016/02/02/ep-theming-a-simple-overview-part-1 of my theme dedicated blog series we have covered the basic concepts surrounding Portal Themes, their management in terms of storage and also the permission setup in association to them.

 

In this second posting in the series we will cover the fundamentals between the tool core tools (past/present) which are used in theme generation and editing.

 

  • Theme Editor
  • UI Theme Designer

 

spraypaint.jpg

 

 

Theme Editor


Perhaps the more familiar of the two tools for users of older previous NW + Enterprise Portal Versions. The theme editor was the first tool creation mechanism introduced alongside the Enterprise Portal and provided users with the functional platform required to customize and edit themes to achieve a desired "look & feel".

 

The Theme Editor was first created in 2002 and was based upon the classical older UI.

 

With the Theme Editor each and every theme you create and label as a "customized" theme is based directly off a SAP Standard Theme. Such an approach allows you as a theme creator to change the core elements of a theme to meet your needs e.g. font, images and background and colors.

 

Working with the theme editor requires the relevant permissions and authorizations discussed in Part 1. To create or edit a theme you require a Content Admin role and to assign a theme to a desktop display you require an Admin role.

 

UI Theme Designer (Moving Forward)

 

In terms of theming the UI Theme Designer is the newly released and newly available platform for both editing and generation. In terms of functional enhancements with the UI Theme Designer they key terms here are:


  • CSS
  • LESS
  • SAP UI5
  • SAP NW AS ABAP
  • SAP NW Portal
  • Usability
  • Flexibility

 

Theme Editor VS UI Theme Designer

 

With the UI Theme Designer custom themes are saved within the newer format of WRR while the Theme Editor involved the storage of themes within the Portal Design Data.

 

You can overview this cross comparison yourself by simply viewing the changed URL between the two:

 

  • com.sap.portal.theming.webdav.listener.portal.ptl-sld

 

Activation of UI Theme Designer


  • To utilize the UI Theme Designer it must firstly be activated via Netweaver Administrator (NWA).
  • NWA > START > STOP > GO > WAIT > JAVA > LAF > Portal Service Configuration ("determine theme") > LESS > SAVE > Restart.

 

Moving from the Theme Editor to the UI Theme Designer

 

  • The change or switch if you like to the UI Theme Designer becomes apparent in NW 7.31 SP16 as the structure changed.
  • In NW 7.30 SP10 and NW 7.31 SP9 you can avail of the new theme designer
  • As of NW 7.31 SP16 the default theme tool is UI Theme Designer (although you can revert back to the theme editor if desired).
  • SAP NW 7.50 will only support the UI Theme Designer

 

Part 3 coming soon!

Perhaps one of the most elementary and fundamental aspects of the Enterprise Portal is that of the Themes in association to it. From a high level perspective such a topic seems basic, challenging and generally simply but it is often the case that a small sense of confusion arises when dealing with Portal Themes.

 

Such confusion could surround any action whether its creating a theme, deleting a theme, transporting a theme or copying a theme. With this next series of blog postings I intend to cover all bases from the plain and simple to the "nitty gritty" components of theming to ensure the creation and management of a theme can be an easy process.

 

Backdrop

 

With the Enterprise Portal as a System User you are capable of changing the theme setup i.e. the look & feel of the Enterprise Portal. Essentially in simplistic terms by Portal Theme we are talking about the visual and grammatical appearance of the Portal Desktop (EP GUI). As with most visual interfaces a theme depicts all core elements conjoined within a display and this particular case we are talking about font, color, contrast and interface components.

 

 

 

2016blog1.PNG

Themes - Where are they stored?


Upon logging into the Portal as a authorized user you should be able to view all the themes in the setup via the following navigation path

 

  • Portal Content > Themes > Theming Folder > Folder Catalog

 

Important Point On Storing Themes

 

  • When you are dealing with themes it is highly recommended and encouraged to ensure themes are stored, holstered and kept in their dedicated location i.e. the theming folder or a folder in association to this (sub-folder). If you plan on perform a theme transport, copy, or Product Migration and wish to utilize themes it's always better to know exactly where they are stored.

 

Portal Catalog - Theme Folder


 

As mentioned earlier themes need to be kept where they belong in the appropriate repository. Themes are unique in the sense that they have a continually dedicated repository within the Portal Catalog and this is not the same for other Portal Objects.This repository and the theme sub-folder cannot be moved

 

Theme Types


From a high level perspective as you might have guessed there are two common labels for themes.

 

  1. A SAP Standard Portal Theme
  2. A Company Custom Theme (based upon a Portal Theme or generated from scratch in terms of element makeup .e.g. CSS).

 

Standard Theme Types

 

  • SAP_Tradeshow
  • SAP_HighContrastBlack
  • SAP_BlueCrystal
  • SAP_GoldReflection
  • SAP_Chrome
  • SAP_Streamline

 

Custom Themes - Why?

The whole purpose behind the creation of a custom theme is simply down to preference. A business requirement may be based upon adding a personal look and feel to your Portal. If you are an organization specially in a certain Product it would almost certainly be of interest to base your theme on the fundamental services and products you provide to consumer bases.

 

Creation of Custom Themes


Depending on your Netweaver Product Version you can utilize two different mechanism tools for creation and editing of Portal themes which include:

 

  • Theme Editor (older versions).
  • UI Theme Designer (new version - requires activation via SAP NWA (Netweaver Administrator).

 

Creating Your Own Theme - Permissions


If you wish to go about creating your own Portal Theme or editing existing themes the first thing that you will need to check is that you have the relevant permissions and authorizations to do so. To edit a theme you require like the same permissions you would need to edit an object or any essential property and this is known as a Content Admin Role.

 

If you want to subsequently assign this theme to the landscape and desktops as a business requirement you would then require a System Administrator Role or alternatively a Super Administrator Role.

 

Permissions Continued

 

Let us remember that a theme is the graphical representation of the content contained on the Enterprise Portal which is displayed back to your end users. Evidently making a decision to change such a representation requires the appropriate level of consideration and thus permissions. With the Enterprise Portal you assign permissions for the themes themselves and then for the folders through which the themes are stored.

 

Accessing Permissions

 

Theme Permissions are stored in the following navigation path:

 

  • System Administration > Permissions > Portal Catalog Folder (this is the theming repository mentioned earlier).
  • To view and overview the permissions select and open the context menu of the theme in the "Theme" folder > open > permissions.

 

In my next blog posting "Theme Editor VS UI Theme Designer" I will cover the two core "tool labels" for the creation/editing of themes and highlight the important factors of each whilst drawing a comparison.

While administering your Enterprise Portal, it can be time consuming to locate content when only the PCD content Location is known. Additionally, in cases where content may share the same or similar title, it can be time consuming to locate the correct object.

 

Take for example the PCD Content location for the ESS Role made up of the Object IDs:

pcd:portal_content/com.sap.pct.erp.ess.bp_folder/com.sap.pct.erp.ess.roles/

com.sap.pct.erp.ess.employee_self_service

 

For us to Navigate to this particular Role via Content Administration, the location Titles are quite a bit different to the Object ID:

Portal Content -> Content provided by SAP -> Employee Self-Service -> Roles -> Employee Self-Service


While it is possible to hover over an object (or single click on NW 7.0x systems) to check the location, starting from Netweaver 7.3X releases, there is a feature which allows the user to customize the display of Content both inside the Portal Catalog and also within Roles. In this blog I will show you how to activate these features, step by step.

 

pcd1.png

 

Activating the Object ID to display under the Portal Catalog (pictured above)


  1. Invoke the NetWeaver Administrator tool: http://<host>:<port>/nwa
  2. Navigate to the following location: Configuration -> Infrastructure -> Application Modules
  3. Search for the following Module sap.com/tc~pp~adm~tls~browse in the Module List area
  4. Choose the WebDynpro Properties tab
  5. Select 'Components/com.sap.portal.adminstudio.browse.Browse/ViewMode' under the Web Dynpro Properties
  6. Set the view_mode property to equal any one of the below options:
    1. title - Displays the name of the object
    2. id - Displays the object ID
    3. id_title - Displays the object in the following format: objectID (object name)
    4. title_id - Displays the object in the following format: object name (objectID)
  7. Save your changes and log off/log back on to your Portal to observe the changes

 

You can reference the below screenshot to observe the exact location of this property:

pcd2.png

 

Furthermore an enhancement was introduced in later SP levels which allow customization of the Object Title inside of a role, as illustrated below (SAP Note: 1760405):

pcd3.png

To enable this enhancement follow the steps as above, however for Step 3 choose the Module sap.com/tc~pp~adm~wu~role_editor instead.

 

For further information you can reference the SAP Help documentation here:

http://help.sap.com/saphelp_nw73/helpdata/en/ac/dfe666d55944819bd7b1e40be64c87/content.htm?frameset=/en/48/f87a59a58d105ee10000000a42189d/frameset.htm

Background: You are utilizing the Universal Worklist and presently have configured a substitution rule which is no longer valid e.g. the assignee is no longer with the company. Despite you're best efforts you seem not to be able to delete or remove the substitution rule.

 

Errors: With such an occurrence exceptions can be quite generic and may sometimes grammatically appears as "Cannot Connect to Provider " or "Problems Reported (Repairable).

 

substitution.PNG

 

 

 

Creating Substitution Rules (Landscape Effect)

  • When substitution is invoked on the Manage Substitution UI, it happens for all connectors. So if you have 7 systems set up in the Universal Worklist Administration there will be 7 calls to each respective system to try to invoke a substitution. If there is any issue whatsoever, with the id, password, * etc, substitution will not work and will not be set up.

 

Problems Reported (Repairable)

  • If you see a link appearing as "Problems Reported (Repairable)" in the rule activation column. Then in this case there is no mapped user to the backend user.
  • In many cases the reason the "delete" action for substitution is not working properly is because of "problems reported". This means that there is an issue with the connection.

SUBstitution1.PNG

 

Trying to Delete a Substitution Rule

  • If you are maintaining substitution from the UWL, the rules should *only* be deleted from the UWL. It is not support to mix substitution maintenance between the UWL and the backend.

 

How to Approach the Removal of a Substitution.

  • The general method to delete a substitution revolves around checking the entries in Database table KMC_WF_SUBSTITUTE in Portal DB and then subsequently deleting any entries against the user.
  • So a method of manual deletion must be done for every system that the UWL (Universal Worklist) is connecting to.


Removal Steps

  • Go to System Administration->System Configuration->Universal Worklist & Workflow->Universal Worklist - Administration and for all the R/3 systems that are registered there go and delete the records for substitutions in all the HRUS_D2 tables connected to the deleted users and the user * is experiencing the problem - as substituting and as substituted users.
  • Delete all the records in the java engine's database table: KMC_WF_SUBSTITUTE, that are connected to the deleted users and the user * is experiencing the problem.
  • Clear the cache for all system from the Universal Worklist - Administration.
  • Restart the engine
  • If the problem is no longer reproducible, recreate the substitution rules for the user is experiencing the problems using UWL's Manage Substitution Rules.
  • Please ensure that the connection to the backend system is working ok, as this is one of the prerequisites to substitution.

 

Remember!

  • Substitutions are kept in all systems
  • Always try to disable rather than delete an inactive user who's maintained in a substitution setup as deletion can cause inconsistencies.

 

Good Reference Points:

  • SAP KBA: 1577579 - Facts and limitations about substitution in the UWL

 

 

[2016-Blog1]

After applying this document Table Sorter - Java class used for table sorting (Web Dynpro Java) - Web Dynpro Java - SCN Wiki

to create web dynpro table sorter I tried to sort result node with custom comparator map, here is code for comparator map creation (fig.1):

 

1.JPG

fig.1 Comparator map creation

After this I created table sorter object (fig. 2)

 

2.JPG

fig.2 Table sorter object instantiation


And finally in onSort table event handler I invoked table sorter sort method (fig. 3)3.JPG

fig.3 Table sorter object sort method invocation


But my custom comparator compare method was not invoked, so after some investigation I found this bug in getComparator method of TableSorter reference implementaion:

So in getComparator method we some strange activity

We check internal global map comparatorForColumn in TableSorter class firstly by IWDTableColumn key (and check is passed because TableSorter

constructor fill map with this type of key) and after that we are trying to get value by column.getId() - wich is String.

So because IWDTableColumn doesnt implement hashcode methode in such way that it will return hascode of column.getId() String,  comparator reference on this line is null

so further code act like we didn't provide any custom comparators.

 

Any comments is welcome, don't know how to report about this bug to reference implementation author.

Tuvia Kahana

Theming Support Blog

Posted by Tuvia Kahana Dec 31, 2015

Hello


My name is Tuvia Kahana, and I am part of the Portal development support group.

In this blog we aim is to make your life easier, and to share with you important information about theming (EP-PIN-TOL component) new features and common fixes.


You are also, more than welcome to share your tips and concerns.


Hopefully you will find answers to your concerns here, and it will spare you the need of creating incidents.

 

Let’s start:


Some interesting notes that we released lately:


- When your custom theme does not appear in all your server nodes, or the theme sometimes applied and sometimes not, you can implement the below note:

2197656 - Custom themes does not exist in all server nodes

If you do not have the above note relevant SP, follow the workaround instructions in  the below KBA

 

 

2195099 -  Portal theme is inconsistent after upgrade

 

- When a theme that you created does not apply on your application(in your content area) as expected, and instead you see the backend’s theme, you need to apply the below note:

1446099   Application (Web Dynpro or ITS) is not displayed in customer theme

 

In addition ,you can see below interesting short movies related to theming:


How to set a parameter that is not exposed in the Theme Editor:

https://www.youtube.com/watch?v=xLkKzBdSHgQ&feature=youtu.be

It is also explained in the following note :1752515 - Updating Customer Theme Parameters Not Exposed in the Theme Editor.


How to create an RTL supported theme in the Portal:

https://www.youtube.com/watch?v=6axlHhGyolU&feature=youtu.be


Changing Portal theming from legacy structure to LESS structure:

https://www.youtube.com/watch?v=6KXh0RaFCDA&feature=youtu.be

You can create a new role by uploading it from a back-end ABAP system.

You use the New Role from Back End wizard to search for the role in the selected back-end system,

and then upload the role with its contents directly into the Portal Catalog, in the folder from which you initiated the upload.

Prerequisites for Role Upload

Motivation

Setting up SAP Enterprise Portal (EP) as an access point to Fiori Launchpad (FLP) allows combining capabilities such as EP roles, content management and integration capabilities with the new FLP UX world, and significantly simplifies the integration efforts on the client side.In this blog we will describe, on high level, the corresponding integration architecture.


FLP on EP simple landscape

FLP on EP can run using only portal resources and providing FLP look and feel with full FLP functionality using Portal Fiori Framework Page (FFP).

FFP components include a bootstrap html document, functional Fiori and UI5 resources and content.

The landscape for this scenario looks like this:

 

 

 

SimpleLandscape_.png



FLP on EP with remote content consumption from ABAP FES

An Enterprise Portal integrated with SAP Fiori scenario will require a more sophisticated landscape, where the client will get the resources from EP, Fiori Front-end Server (FES) and Gateway, with a single web url.

For FES, Gateway and Portal systems the ‘System’ objects should be configured in Web Dispatcher profile.

 

Distributing requests via SAP Web Dispatcher

To enable this scenario a reverse proxy concept must be implemented in the landscape. It is done with SAP Web Dispatcher.

Additionally, FLP requires SSL configuration throughout the entire landscape.

The content requests are distributed on the Web Dispatcher using redirection rules per ‘System’ object. These rules together define the landscape.

RemoteLandscape_.png


The configuration looks like an “non-portal” FLP landscape with an exception of a Portal added as the last rule.

So, Portal/FES integration configuration will have as minimum:

  • FES system
  • Portal system.

If other systems are included in the landscape (e.g. HANA system), they should be represented in the configuration as well.

 

Required steps:

  1. Configure FLP landscape, following the configuration guidelines Configuring SAP Web Dispatcher for FLP on ABAP.
  2. In the profile file add a configuration line for the Portal:

wdisp/system_# = SID=<EP SID>, MSHOST=<EP MSHOST>, MSPORT=<EP MSPORT>, SRCSRV=*:<WDISP PORT>, SRCURL=/irj;/

(See also: Configuring SAP Web Dispatcher for FLP on Portal )

Please note:

    • This line should be the last one in the configuration list
    • It should contain the redirection ‘/’, meaning that all un-matching requests will be redirected to the Portal.

 

Things to consider

  • SAP Fiori Launchpad  and Enterprise Portal integration supports various configurations, such as landscape components sharing (for example, for Dev & QA landscapes). For this you can configure different virtual hosts/ports on the same reverse proxy.

Please note:

    • There should not be any hard-coded network attributes
    • The request’s “host” header should not change along the flow in reverse proxy configuration.

 


More Info

SAP Help library links:

 

SCN Blogs:

 

Related Notes:


If you use Remote Role Assignment (RRA) in a federated portal network (FPN), and have encountered some performance or availability issues on the consumer portal whenever the producer portal is down, the following information is relevant for you.

 

When using Federated Portal Network in the SAP Enterprise Portal, one of the considerations that need to be addressed is the availability of the producer portal.

 

The following is a quote from SAP Note 880482 – “FPN: Federated Portal Network Central Note”:

Performance regression on FPN consumer portal when producer portal is not available:

An SAP NetWeaver [enterprise portal] consumer can become unresponsive when any of its registered producer portals are either unavailable or not responsive. When planning to shut down or restart a portal that functions as a producer for any other consumer portal, you must first block the connection to the producer portal from its respective consumer portals using the FPN administration UIs.

 

It is expected that the producer portal is up and running at all times, because unexpected downtime or lack of proper planning from the FPN perspective can damage the consumer portal functionality.

 

To overcome these issues, there are several options, described below.



Planned Producer Portal downtime

 

In case of a planned downtime of the producer portal, it is recommended to block access to the producer in advance. It can be done easily using the UI under System Administration -> Federated Portal.

 

For SAP Enterprise Portal 7.3 and above, under “Manage My FPN Connections”, you can prevent/allow access to connections (as consumer or as producer):

1.jpg

 

In addition, for newly-created FPN connections, you can control access to and from your system via the “Connection Options” tab under the Control Panel.

2.jpg

You can read more about it in the following documentation:

 

Enabling/Disabling Remote Access in FPN Connections - Implementing a Federated Portal Network - SAP Library

 

If you haven’t upgraded yet to 7.3 or above and still using the legacy SAP Enterprise Portal 7.0 versions, you can control the access to the Producer portals under “View My Producers”:

3.jpg

 

Take into consideration the following facts:

  • When a producer blocks access from a consumer, the block is applied only after the dedicated cache on the consumer is cleaned.
  • When a consumer blocks access to a producer, the block is applied to the current users only after a new browser session is opened by them on the consumer portal.

 

It is highly recommended to upgrade to a newer version, such as 7.4 / 7.5.
Refer to Everything you wanted to know about SAP NetWeaver Portal Upgrade

 


Unplanned Producer Portal downtime

 

For cases where the producer portal is not available unexpectedly, new configurations have been added in enterprise Portal 7.3 and above. These configurations were added in order to slightly improve the performance of the consumer portal when the producer portal is down.
If your consumer portal is one of those versions, then this option is relevant for you.

 

To check for the relevant SPs where it was added, refer to SAP Note 1718291 – “Consumer Portal availability when producer Portal is down”.

 

With this new configuration, you can control the timeout interval of SOAP calls to the producer portal. Once such a timeout occurs, the mechanism blocks that producer portal. You can also configure the length of time this producer will be blocked.

 

In addition, there are two approaches in case such a call gets a timeout after the defined interval – blocking for all users, and blocking only the users who encounter the issue.

 

Following is the information quoted from the note:

First, decrease the timeout value for the remote call (The default is 3 minutes):
Go to NWA on the consumer portal:
Configuration -> Infrastructure -> Application Modules.
Look for 'com.sap.portal.ivs.global.bridge' and in the 'web module details' select 'SenderBridge'.
Set the 'SOAPCallTimeout' parameter for a desired time. The recommended value is 30 seconds. The value for this parameter is in milliseconds so for 30 seconds you should put 30000.
Save the changes and restart the service/application in order to apply the changes.

4.jpg
Secondly, in the 'web module details' select 'SecuritySessionManager'.
This service has a parameter which determines the behavior of the consumer in this case.
There are 2 approaches for solutions from which you can choose:

Approach 1 - blocking for all users:
If you would like to prevent every user from suffering the long login time process, due to a producer down time, you should configure the 'blockAllUsersOnError' parameter to 'all'.
In this case, whenever the first user encounters a timeout event for the remote call, all other users who will log in in the future will not trigger a remote call and the login process will be normal.
The administrator can unblock the problematic producer portal by navigating to the Federated Portal Iview, -> System Administration -> select the connection with this producer portal -> connection -> allow access to remote content.
In addition, the parameter 'BlockingInterval' of the 'SecuritySessionManager' service, determines for how long this producer will be blocked.
*** This configuration is recommended when there is a problem with the producer portal and it is crashing and not running. [It should be set before the crash ]

Approach 2 - blocking only user who encounters the issue:
Set the 'blockAllUsersOnError' parameter to 'user' and save.
This configuration will prevent the current user's session from triggering a remote call to the producer that caused the timeout and it will remain blocked until the user logs out of the consumer portal and logs in again.
5.jpg
After you set the parameters, click on 'More Actions' -> View Corresponding to Application.
Stop and Start both services 'SecuritySessionManager' and 'SenderBridge' on all instances.

 


Overcoming consumer unavailability

 

In a case where the consumer portal is not available at all, it might be that all threads are taken by the SOAP calls. The available steps:

  1. If possible, start the producer Portal, in order to prevent from such cases in the future.
  2. Disconnect one instance from the Web Dispatcher / Load Balancer, so that end users will not be able to reach it. This operation will ensure that no new problematic threads are generated.
  3. Restart the instance in order to release all threads, and make the portal of this instance available again.
  4. Log in to that instance with an administrator that has no remote roles assigned, and configure the relevant properties from SAP note 1718291. In addition, if the producer is still not available, block the producer portal, as described under Planned Producer Portal downtime section.
  5. Restart the instance and connect it back to the Web Dispatcher / Load Balancer.
  6. Restart the rest of the instances to release all other threads.

Actions

Filter Blog

By author:
By date:
By tag: