Thursday, May 30

Create a KM Document Iview in SAP Entreprise Portal

Create a test folder. Right click on the folder and select new->Iview as shown below

Select Iview from template radio button in below screen
Select KM document iview in the next step of iview creation wizard
Enter Iview properties like name, ID prefix etc…as shown below and click next.
Iview summary will be shown to you. Click finish.
Select open the object for editing radio button to open for editing its properties.
There is a property called “path to document”. Change that to whatever path you want. The path should be available in KM. by default this property will have some value as shown In below figure.
Go to KM. Create a new file which you would like to be displayed in the above created iview. Do as shown below

Enter some data as asked in below page for the creation of the text file in current folder of KM
Click save button on above screen and the Test text document will be created in current KM folder and shown below
To get the path of the document you just created, right click on it and select properties option as shown below
Select the part after docs. In our case it is documents/Test.txt.
Copy documents/Test.txt and put it in the ‘path to document’ property as shown below and click on save button.
Click on the Preview button and the text document you had created in KM will be displayed in preview.

This Iview which displays a KM document can be used anywhere in web applications hosted on portal. For example you have a .Net application where you want to display a document stored in KM, you can create a link on .NET page and link it to the KM document iview created above.
Please feel free to comment on the above post, any improvements suggested will be implemented. Try above with your SAP EP installation and let me know if you face problems while creating KM Document Iview...

Unlocking a locked object in SAP EP

When we open an object from the portal catalogue in edit mode, it is locked by current user. During the same time, if any other user try to put it in edit mode, portal does not allow him to do so. It needs to be unlocked before it can be edited. An unlocked object is shown below. Notice the warning message that is shown below the top level navigation and detailed level navigation area.


To unlock, go to system admin->monitoring->portal->object locking and you will see below screen where all locked objects will be displayed. Select the one which you want to unlock and click on the unlock button.



                   

Tuesday, May 28

Pointing UME of Portal to Active directory or LDAP

To give a background of UME : UME stands for user management engine of sap enterprise portal. It stores the user attributes like groups, roles, user names, user contact details etc.

UME can be configured to take all the above data from various data sources like active directory or LDAP, SAP CRM system, SAP J2EE engine database etc.

In this post we are going to learn the steps required to integrate Active directory or LDAP with the UME of  portal.

before you start configuring the UME to use LDAP, 4 things needs to be in place:
1. During installation of WAS ie web application server, UME was configured to use J2EE engine database as data source.
2. LDAP consists of a hierarchy of users and groups which are supported by the UME of portal.
3. Data source configuration XML file is in place. This file can be obtained from the administrator of LDAP.
4. The administrator of LDAP has created a user using which Portal UME can connect to LDAP. The user created for connection purpose must have read and search permissions. This user is called service user. UserID and password of service user can be obtained from the administrator of LDAP.
If above 4 things are in place, you are all set to go ahead and configure UME of portal to use LDAP as a user data source.

Step1. Start the configuration tool by executing \j2ee\configtool\configtool.bat.















Choose UME LDAP in the configuration tool as shown below

















In the LDAP configuration tool under Data Source Configuration file, choose Browse and browse to the new configuration file dataSourceConfiguration_ads_readonly_db_with_krb5.xml





















Choose upload.

Step2. Enter connection data to LDAP server. Service user provided by LDAP administrator be used in this step.
Start the config tool as explained in step1, go to connection data and enter connection data with below values

LDAP Server Type  MICROSOFT ADS – Predefined

Server Name 

Server Port   

User      Service User*

Password      Password of the Service User*

SSL   Not Selected

UME unique id with unique LDAP attribute    Samaccountname

User Path    CN=Users,DC=,DC=org

Group Path   CN=Users,DC=,DC=org

Then chose test connection to test the connection with LDAP with the data you entered above. Thats it !!! done with LDAP configuration !

Please feel free to add comments to this blog post to improve it...

Monday, May 27

SAP EP Pictograms

Use your own pictograms. What are pictograms? Where are these used? Where are they located within SAP EP.
Pictograms are nothing but small icons which can be used to be displayed beside relevant text on applications within portal. SAP EP content admin tab has all the content that SAP EP needs to render to relevant users when they log in to the portal. These content are stored as content objects in hierarchical manner. Pages have iviews, Roles have Iviews, pages etc...
Each object of the hierarchy can be displayed along with a icon which is stored in pictograms folder under Web resource repository under content admin tab.

From SAP EP 7.3 onwards, each object in the portal content catalogue has a property called pictogram. by changing the pictogram property you can make the new icon appear beside that object whereever that object appears within the portal.
You can even upload your own custom pictograms within the pictogram folder. Also you can change the location of pictogram folder. It is by default as said earlier under the Web resource repository under content admin role. You can change it from nwa.
under the application: com.sap.portal.navigation.mimeservice
find the service: navigation_mime_repository configurations
property: Path to Web Resource Repository folder where pictograms are stored

Please share your experiences with SAP EP pictograms and make this post more educative and productive to others in the SAP EP community...











Saturday, May 25

Custom theme for a Java web dynpro application in SAP EP 7.3

A java web dynpro application when run within portal, takes up portal theme by default. There can be business scenarios where certain web dynpro applications need be given a different theme than the one portal has. How to acheive this ?

Set WDJ application parameter
WDJ application has a standard parameter called theme. Once the application is launched, the value of that parameter can be set to a custom them which is avaialable on the Portal. In addition to this, the URL of WDJ application can be given a parameter called theme which can then be internally set in the WDJ application standard theme parameter.

There can be scenarios where in we need to run a web dynpro application standalone and still would want it to take portal default theme or a custom theme. Please post comments on this post if someone has ideas as to how this can be done...

Friday, May 24

Launch Portal UWL from within an email notification

Various busines scenarios use UWL for the assigning tasks to respective task owners. It basically manages the tasks that individual need to perform as part of a business process. Whenever a particular task is completed, it is forwarded to the next business taks owner in the chain who then performs action on it to drag the business process to completion.

In UWL, we can make settings so that email notifications are send to the owners of the tasks wheneven a new task appears for them. They can then login to portal, navigate to the UWL and action their task. Alternatiively, we can provide a direct link to the UWL in email notifcation which the user can click within the email and directly the UWL page is opened for him.

UWL has various tabs like completed items, pending items etc. Custom tabs also can be created. Is it possible to navigate to a particular tab by default or to frame the question more appropriately, is it possible to provide 3 links in the email notification each pointing to a different tab within the UWL. So if the user wants to see completed tasks, he can directly click on the completed tasks link and the UWL page launches with the completed tab selected by default. Please discuss to shed some light on the matter...

Thursday, May 23

Customize Portal Branding on Masthead using Theme editor

The scenario here is the customer is not using AJAX framwork page and he is on SAP EP 7.3
He wants the branging image to be customized. The problem we faced during customization is that branding image is being overlaid by the welcome text which appears on the top left side of portal masthead. Is there some way that the branding image starts at the welcome text has finished so that the overlapping of branding image and the welcome text does not happen.

Wednesday, May 22

Change the text of Help option that appears in Iview options

It is possible to change the text of help option which is one of the options under IView options. This can be done by changing the text in a property file called headeriView_nls.properties which will be located at dist\PORTAL-INF\private\classes on the server, restart the portal and check if the changes are reflected or not.

In case the changes are not reflected, please comment on the steps to be followed...

Upgrade SP level of SAP Portal

We have portal installed and running sice last 2 years. Version is 7.0 SP 15. We want to upgrade the service pack to a higher version to suite system requirements. The backend to whihc we connect is SAP R/3 system which is undergoing an upgrade. How do we calculate which version of SP should we upgrade the portal to ?
Any information on the topic is most welcome and will be served as help to all others trying to perform upgrade of service pack of SAP EP.

Following some discussion of the internet, I came to know that we'll need to create a maintenance transaction with Maintenance Optimizer in Solution Manager system MOPZ will draw information from SLD and use it to calculate a Support Package Stack to apply to Portal system. MOPZ will also approve all files for download and add them to SAP download basket. In NW 7.0, you can use the Java Support Pack Manager (JSPM) tool to deploy this SP Stack.

But these steps are not pretty clear

How to create a maintancne transaction in with maintanance optimizer in solution manager system?
What is MOPZ?
how to start the Java support pack manager ?





Creating JCo destinations

JCo or Java connectors connect SAP EP to the backend systems from which SAP EP takes data to be displayed to the user. Unless you have JCos in place, you wont be able to connect to the backend systems. To create JCos, SSO configuration is a prerequisite.

There are two methods to create JCo destinations.
  1. Using the SLD web UI and
  2. Using web dynpro content admin tool.
Please post comments on the steps of creation of JCos using the above two methods.
Which method is more suitable and why ?

Options to customize logon page of SAP EP

Logon page of SAP EP can be changed from UME, from NWA wherein you can change the logon application property. How to change logon page's branding image and text from the config tool ?
how to change the Alias of the aplication for customizing login pages (ume.logon.application.ui_resources_alias) property?
Please comment if you are aware of the topic...



Storing video or audio files on KM

It is possible to store video or audio files on the KM component of SAP EP. But is it recemmended to do so ? For example I have a user manual in the form of a video....the size of which is 100 MB. If I upload this video on KM and provide its link on the portal for end user to access and watch it, will it be user friendly in terms of loading and playing ? What other solutions do I have for this requirement ?

As far as I remember, the default maximum file size allowed on KM is 20 MB. Don't whether it is possible to increase.
Any suggestions welcome...