This Space has blogs on various topics in the field of SAP. These blogs point out solutions to various technical and functional issues that consultants face during implementation or support of SAP Projects. Readers/followers are welcome to contribute to this space by emailing your content at bohra.mohammadi@gmail.com. You will be rewarded according to the topic/number of words/complexity of the topic/issue which are you addressing in your blog.
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...
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...
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
Choose UME LDAP in the configuration tool as shown below
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=
Group Path CN=Users,DC=
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...
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...
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...
Subscribe to:
Posts (Atom)


















