1 2 3 26 Previous Next

SAP Enterprise Portal

381 Posts

In case you have a portal or JEE application that connects to an SAP backend, knowing if the connection works is important, even more important can be to know WHY it isn`t working. In the following example I was developing a KM application that uses a DMS Repository Manager from SAP connected to a SAP ABAP backend. The code worked when using /documents as the repository, but failed when using the DMSRM entry path.


The log did not help much, as it only showed that the connection failed.


The error message contains some more information, but still isn`t showing why the connection failed.


Caught exception: com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection. 
 at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewConnectionFailedLocalizedException(SAPConnectorException.java:182)
 at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:155)
 at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:401)


This traces the error down to the SAP Connector Framework but isn`t helpful when trying to find out what happened exactly. It fails, but where and why exactly is not visible. The system in the portal landscape is configured for SSO using SAPLOGONTICKET and the SSO works perfectly when the connection test is run or the repository is called in the KM. As the error occurs in the CF part, it would be nice to see log messages from there. Obviously only the error messages are shown. But as I already know that an error is occurring, that log message is of little use.


Therefore, it would be nice to increase the log level of CF to see if maybe debug messages are logged. SAP NetWeaver Java comes with a powerful logging and tracing framework that can be accessed and configured using NWA. Changes are reflected immediately, making it even more easy to work with this tool. The question is now: where are the logs stored?


As can be seen in the log message, the package of the CF classes is com.sapportals.connectors.

There is no easy access to the source code to know which class name is used to write the logs into. Using the log configuration in NWA it is possible to search for classes. Searching for connector reveals the following classes.


As a ABAP system is called, the R3 class is a good hunch. Setting the log level to Debug.


Invoking the method of the Java class again shows now more log messages:


There is one error message showing an actual hint on what is not working. Expanding this entry shows what is happening.


Thread Hash: 128521575. Could not create JCO connection. Exception:Parameter containing a user ID is missing: neither user nor user alias nor external ID nor SSO ticket nor X.509 certificate is specified. Trying to connect with the default language instead.

The connection cannot be established because a parameter user ID is missing. While the ABAP system in the SAP Portal landscape is configured to use SSO and is working, the DMSRM repository manager has a problem in using SSO. It looks that as a faultback user ID logon is tried. Of course this is not working as no user / password mapping is configured for the system.


Changing the system in the portal landscape to make use of user id mapping solves the issue. Now the KM application is able to connect.


As the amount of log messages is drastically increased, the log level should be reset to default after solving the issue.

This blog explains how to configure and create out of the box Broadcast messages using SAP sample UI.


The Broadcast messages (BCM) is a new feature that gives portal administrators the ability to broadcast messages to end users in a defined time frame. It also gives the ability to assign a message to certain groups or roles with priority (high/normal).




You have installed SAP Enterprise Portal (EP) 7.31 SP11 or above.


Broadcast Messaging Configuration




1. Copy Sample_BroadcastMessageIview under Portal Content >> Portal Applications >> com.sap.portal.broadcast.message.framework to Portal Content >> <Any Folder> and paste it as pcd object with the same name or choose different name.

In this blog the name is Broadcast Message


2.Open Ajax Framework Page and add Broadcast Message Framework and Broadcast Message iVewes as delta link to the page. Make sure it is under Masthead Container and Visible.





3. Enable Broadcast Messaging service:

  a. Access SAP NetWeaver Administrator >> Configuration >> Infrastructure >> Application Modules >> search for <com.sap.portal.broadcast.message.service>

  b. In Web Module Details click broadcastmessageservice

  c. In Portal Service Details change BCM is Active property to true




4. Assign the user broadcast messaging role

  a. Access User Administration

  b. Add broadcast_messages_role to the users or groups.




Creating Broadcast Messaging


Access the portal >> Broadcast Messages >> Click New




2. Add Broadcast Message Name >> click Next >> You can choose the message Priority <High, Normal>  Write the Broadcast Message in the Message Box and set the time frame and click Next

3. Assign role or group to display the message for certain users or groups then click Next and then click Finish




Now you can check the message status from the Broadcast Message Overview






When the message is active it will show Next to the user name at the Masthead as shown in the below figure


Welcome to the July and August edition of the SAP Portal News Blog in 2014. This is what I have prepared for you:

  • SAP Fiori LaunchPad and SAP UX news
  • HANA Cloud Platform news
  • Enterprise Portal news
  • Events
  • Blogs from the Community

SAP Fiori LaunchPad and SAP UX News


Portal Framework Page Running in SAP Fiori Design

In the last few months we have been working to align the SAP Portal user experience with the SAP Fiori user experience. With SAP Enterprise Portal 7.4 SP7 it is the first time that we are delivering a new portal framework page following the SAP Fiori design. This is a new role based, personalized, responsive and very intuitive portal framework page, running on the SAP Portal infrastructure and following the Fiori design. Running the SAP Fiori launchpad on the Portal enables you to consume any type of content (Web Dynpro, SAP UI5, SAP Screen Personas, SAP Fiori, etc.), you are not limited to SAP Fiori applications only. Watch also this movie:



Pre-Configured Sample Content to Enable the Fiori Launchpad on SAP Enterprise Portal

Read this blog written for portal content administrators, explaining the administration tasks required for enabling SAP Fiori launchpad on Enterprise Portal. It contains links to pre-configured sample content that you can import into your portal. In only a few steps you can easily run the SAP Fiori launchpad experience within the SAP Enterprise Portal environment.


New Version of SAP User Interface Roadmap Available

The lastest version of the SAP user interface roadmap is available.




SAP HANA Cloud Platform News


New Apps in your SuccessFactors Instance

SAP HANA Cloud Platform, extension package for SuccessFactors enables customers, partners and developers to extend their SuccessFactors solutions and build entirely new HR applications to better fit their business needs. With the latest release, you can easily discover and even try new extension applications available in the SAP HANA Marketplace, within your SuccessFactors instance. For more information see the SuccessFactors release blog.


Who is Who in HANA Cloud Platform

You want to get into contact with HANA Cloud Platform experts? Have a look at this SCN page and get to know the team.


Enterprise Portal


New EP Support Blog

Read this new Enterprise Portal support blog in which people from the EP support team share interesting support cases with you and how they can be solved. You can find the first issue in the blog which is "Portal pages not supported by Chrome".




SAP TechEd && d-code 2014

SAP TechEd && d-code is approaching, you can join us from October 20-24 in Las Vegas, and from November 11-13 in Berlin, the registration is still open. This year you will hear from the SAP Portal team on the SAP portal portfolio and its strategic direction as a user experience platform: the latest innovations, benefits, demos, and showcases from SAP Enterprise Portal 7.4, SAP HANA Cloud Portal and cloud extensions, as well as the new SAP Fiori launchpad experience on top of the SAP portal portfolio. More information about our sessions: see the session catalogue. More detailed information on our SAP TechEd && d-code plans will soon be published as an SCN blog. Stay tuned!


SAP HANA Cloud Portal Partner Tests

Following two very successful partner events held earlier this year, we are announcing the next two partner events focused on SAP HANA Cloud Portal. These complementary 3-day hands-on partner events are aimed at partners who are looking to exploit opportunities in the marketplace by getting direct access to SAP HANA Cloud Portal and its integration with leading SAP cloud solutions such as SuccessFactors extension platform and SAP Cloud for Customer. Read more in this blog in which you also find the information how to register for the event.


SAP Portal ASUG Webinar Series

Register for our new ASUG webinar series on HANA Cloud Portal, SAP Fiori launchpad and SAP Portal innovations to prepare for SAP TechEd && d-code. The next session is about SAP Fiori launchpad on September 17, 11:00 US Eastern Time Zone.


SAUG National Summit 2014

Come to the SAP Australien National Summit 2014 September 8-9 in Sydney. Join the "Run Your Business Better" breakout session number 5D on how to use the SAP Fiori launchpad, held by Simon Kemp, SAP Mentor from Plaut IT.


Blogs From the Community


We recommend to read the following blogs written by members of the SAP Portal and HANA Cloud Portal SCN communities:



Last Not Least

Subscribe here to receive the next edition of the quarterly SAP Portal e-mail newsletter which is planned for October 2014. Each issue contains valuable information about SAP Portal's new portfolio, including SAP HANA Cloud Portal, Cloud for Service, SuccessFactors Extension Platform, Mobile Portal, Fiori Launchpad and more.

On one of my recent SRM projects I had a requirement wherein a specific portal role was to be assigned to a portal user based on an action performed on one of the standard SRM webdynpro screen. The assigned role was also to be removed based on another action. Probably there could be some help available on SDN, but I was unable to find it. So thought of sharing this. Hope it helps some.....


SAP has provided a service wrapper interface /sapsrm/if_spml_srvc_wrapper with methods that help carry out operations on a portal user ID. I have shown below how a user can be assigned a specific portal role, y'all can try other methods available to create a portal user, delete one, delete roles and so on...

To assign a portal role we need to get the unique ID of the role which your portal administrator could provide you.




*RFC Destination of portal in SM59

        lc_rfcdest        TYPE rfcdest VALUE 'PORTAL',    

*Portal user ID              

        lc_portal_user TYPE xubname VALUE 'TEST_USER',         

*Unique ID of the portal role

        lc_portal_role TYPE txt255 VALUE 'ROLE.PCD_ROLE_PERSISTENCE.EIuf/fYAf+G39przMn+8lcKhzII='.



       lo_spml_wrpr   TYPE REF TO /sapsrm/if_spml_srvc_wrapper,

       lt_ep_roles    TYPE /sapsrm/t_ep_roles,

       ls_ep_roles    TYPE /sapsrm/s_ep_roles.


lo_spml_wrpr = /sapsrm/cl_spml_wrpr_factory=>get_spml_wrapper( lc_rfcdest ).


ls_ep_roles-uniqueid = lc_portal_role.

APPEND ls_ep_roles TO lt_ep_roles.






         iv_logon_id = lc_portal_user

         it_roles       = lt_ep_roles   ).


   CATCH /sapsrm/cx_spml_connection.

     "Exception handling here


   CATCH /sapsrm/cx_spml_service.

     "Exception handling here



Best regards

Vipin Varghese

Hello everybody,


I have seen videos from this playlist SAP TechEd - YouTube and I was interested in one of them. So I decided to write a short blog as a critic to it.


My SAP carrier started only one year ago, so I am pretty new in the community. But one day I would like to visit SAP TechEd and some similar conferences. I think it is very important to keep in touch with new technologies, trends and innovations given by SAP. And when can you get more information than during a conference where you can meet the most involved people in the world? Well, since I am from Czech Republic I think my first SAP TechEd visit will be in Berlin. Unfortunately it will be probably not sooner than in couple of years...


Here you can look at video which I mentioned: (I am sorry for not inserting the video directly to the blog, but I did not find how to do it...If you can advice me I will edit it)


SAP Portal @ SAP TechEd 2013 - Aviad Rivlin - YouTube


Do you like it? Or not? Place your opinion in a comments below the article.


Since this is a critic I will start with "cons" part.

Did you see that large building in the beginning of the movie? Do you know it? Despite the fact I have never been in Las Vegas (even anywhere in United States unfortunately...), I know that it is hotel Palazzo in Las Vegas. Well, but the movie seems not to be meant as an invitation to SAP TechEd in Las Vegas. As I understood from the speech, it is meant to invite the people on any SAP TechEd in 2013 (as we can see from the title). Only the detail.



What I didm't like more is speaker don't looking to the camera. And not only that, he is looking to one exact place during the whole speech. It looks like he is reading the text from a board or better monitor (something white and rectangular is reflecting at the speaker's glasses) placed left from the camera (from his point of view). It doesn't seem to be very professional. Does he talking to us or somebody else standing on ours right side? Of course he can read the text, but at least it should look like he is not reading it. By the way the speech was short enough to be able to learn it and speak without reading it.



Well, lets pass to the "pros".

I like the music playing inthe background. I like it very much, it is positive and happy. Also the introduction is very good held and it gaves smooth beginning to the movie. The same for the end for the movie.

I aprecciate shortness of the movie. It is invitation, it is not neccessary to tell so much things. And the most important things were clearly said - who is the person, what is he doing, what can he and his team offer at SAP TechEd and, of course, official invite for everybody who is looking at the movie.


I like this video despite the small details. Be sure to visit Announcement of SAP Portal and HANA Cloud Portal Gamification Movie Challenge.


Best regards

This blog is for portal content administrators who would like to learn about the administration tasks required for enabling SAP Fiori Wave1 apps on Portal with already running SAP Fiori Launchpad experience (FLP on EP).


In only a few steps you can easily run the SAP Fiori Wave 1 apps within the SAP NetWeaver portal environment.

  Portal users can control Fiori Wave 1 apps on FLP on EP in the same way as the rest of applications already configured on FLP.





1)   1)   Using NW 7.31 SP12 or higher SP, NW 7.4 SP7 or higher SP

2)   Enable SAP Fiori Launchpad on Portal, for instance like this:



  3)  Fiori Wave1 apps implemented in customer’s landscape.


Required steps:


1)    (Optional) Create a Fiori1 role and a folder for Fiori1 apps in Portal content and add this role to an existing FLP on EP role.
In the example below:

  • FFP_Demo  is an FLP on EP role
  • Fiori1_apps is a role for Fiori1 apps with a folder below (folder should be marked as visible)


2Define a backend system for Fiori1 apps (Fiori gateway system in case of a separate one)





3)  Create an iView and assign it to a relevant role:


           a) Navigate to Portal Applications -> com.sap.portal.appintegrator.sap -> UI5:


   b)   Copy UI5 template and  "Paste as PCD Object" to any location under Portal Content:


  c)    Add the created iView to the relevant role

  d)   Set the following view properties and save:




Relative Path for SAPUI5 Applicationssap/bc/bsp/sap/ui5_hcm_ts_man/index.html
Mobile App CategoriesFiori1
Object ID of Device Group *)







Launch in New WindowDisplay in separate headerless portal window (standard mode)
SAPUI5 Iconsap-icon://time-entry-request
Hand Over Portal Stylesheet<to uncheck>
NameTime Sheet Entry


*) depending on the device(s) the app will be running on. The value of this property should be one concatenated line.



The result:


Open  FLP on EP and go to Tile Catalog. The Fiori app Time Sheet Entry appears:


  It can be assigned to any of the FLP groups and thus become visible on a user’s home page:



To learn more about  FLP on EP:



Fiori Launchpad on Portal on help.sap.com

Known issue note FLP on EP - SAP Note 2008931

SAP Fiori Integration with SAP Enterprise Portal - SAP Note 2031108

SAP Enterprise Portal 7.4 SP7 SAP Fiori Launchpad on the SAP Portal and more


In this Blog I will try to cover steps based on my experience for configuring Report Launchpad’s from Portal end, delivered with New business packages which uses ABAP launch pads for showing report links (Bex queries, Dashboards etc.) into standard delivered/Custom portal contents for EHSM, SRM, HR Admin,, ESS, MSS, LSO and many more,I  have not gone in details regarding basic technical configurations done in Portal like system object creation and SSO as lot of information is available on SCN for configuration of the same.


While configuring the above business packages on Portal, important aspect is most of the standard reporting contents are delivered through Report Launchpad’s which are configurable in LPD_CUST transaction of backend/ECC ,Most of the Reports utilizes corresponding BI java system for rendering and pulls up the data from the Master BI ABAP system.


Initially I faced lot of issues with running these standard reports from Portal as did not found much information on configuration of those from Portal side like what type of system object is required, does it require BI ABAP system object or BI java system object etc.


Some issues like service not found while running the reports from Portal as reports were supposed to be executed from BI java, but they were getting executed from BI abap as i created the system object of BI abap with the given System Alias in Launchpad but it should have been BI java system object.


I thought putting my experience in this Blog to provide a small help to others who might be facing these issues in configuring the similar type of scenarios.


In this Blog I am only covering Portal Admin related configurations, configurations related with BI ABAP report authorizations, activations, LPD_CUST and ECC authorizations are out of scope for this Blog.


Following are the steps which need to be executed to configure the Report Launchpad’s from Portal end.


1) Prerequisites : In order to run the standard Launchpad reports from Standard or Custom roles from Portal as a prerequisite their BI ABAP configurations should be in place like reports/dashboards should be activated and other BI related configuration should be in place ,User should exist in systems and have proper Authorizations in BI ABAP,ECC and BI java system. Administrator must have knowledge and understanding of ABAP Launchpad concept. For configuring reports to be executed from BI java, system should be present and configured for BI master system.



2) Once prerequisites are fulfilled there is need to identify which type of BI system we have to create in Portal and its system alias name. To identify that first
we have to check in the Report launchpad what type of configuration is done for the standard reports and dashboards.


From Portal role we can identify the Role and instance of the Launchpad being called from the application parameter passed in iView property, once we have the role and instance name of the Launchpad being called, we can go to LPD_CUST and search the Report Launchpad in question. After finding the relevant report Launchpad an analysis is required of its configuration, we can pick up any report or dashboard and check how it’s being configured in the Launchpad, if their specified version is SAP BW 2.x/3.x ,that means they supposed to get rendered from BI abap master system, if in the configuration their version is given like SAP BI Net weaver 7.x that means they supposed to get rendered from BI java system. Once we have identified this we need to create the system object in Portal based on this information, either BI abap system or BI java system or both depending on the requirement. System alias used are also defined in the Launchpad configurations we have to create the system object with these alias only  as given in Launchpad configurations of reports and dashboards in Portal.


3) If reports supposed to be rendered and executed from BI abap system then we have to create a BI abap system object depending on the system landscape either use Load balancer or dedicated application server system template to create the system object and give the system Alias same as configured for the reports in the standard or custom Launchpad’s. User should have proper authorizations to execute the reports in BI abap system also user should exist in ECC system and have relevant authorization for the standard role for the particular module like EHSM,LSO,MSS etc. as these Launchpad’s are shipped in ECCwith the standard EHSM,SRM and HR contents.


4) If reports are supposed to get rendered from BI java system then we have to create system object in Portal for BI java, and provide the same system alias which is given in Launchpad configurations of reports and Dashboards in LPD_CUST transaction,


Initially i was unsure on what type of system object i will be using for creating BI java system in portal as no standard SAP help material i found on SCN on this topic. Did some research on SCN and based on some threads i concluded that i can create a system object of type dedicated server or load balance server and i have to just populate the Web application server properties like WAS host name and Protocol to create a BI java system object in portal, i gave logical name as <SID>CLNT000 in system object properties and populated the BI java server url in WEB as host name and specified the protocol.


Next step was establishing trust between portal and BI java system, after performing it BI java system is ready for executing the Launchpad reports from portal.

Important point to note is User must exist in Portal, Bi java (No additional roles needed on Bi java server) and BI abap server and have proper authorizations in place for this scenario to work properly.


These are the basic steps which need to be taken care of while configuring report Launchpad’s based on ABAP Launchpad from Portal end.I hope this blog will help people like me who are configuring this scenario for the first time.


Happy reading, Comments and suggestions are welcome


Some Reference links:

Portal System Object Properties – Web AS - Portal - SCN Wiki

Working with Launchpads at Design Time - Launchpads - SAP Library


This Blog Describe how to extract the total number of End users & Service users logon counts from each Portal server node using Authentication logs .This information correctly depicts the total number of logon, user has performed unlike the unique login of the user provided in portal activity reports. Analyst /Consultants can merge this information logs with the Backend ECC/HR/SRM/CRM user logs maintained in USR02 tables for further reporting purposes for determining business transactions in more detailed manner.

following are the steps :


1) Go to NWA log viewer of SAP Portal




2) Choose authentication log from view




3) Click everywhere and from advance filter choose date filter and set it for biggining of day time till present time click on apply filter




4) Now download the excel file of logs from log file download content




5) Choose all column and download





6) Save it on the location you like on your machine. Now open excel file and apply filter, Select all login ok and application irj logs and now choose and count the required users




Below example show total number of 120 logons from the selected date on all the nodes of SAP portal for all user types, user type can be selected from user dropdown (Service or end user)




Portal Consultants can merge this information with ECC/ABAP system user logs and device statistics and reports ,they can formulate a Excel template based on their requirement  if they want and feed the data from ABAP system and Portal Authentication logs and generate Graphs out of it.


Main Advantage which I see in this approach is no coding required (Java or ABAP) and all the user logins(End users & Service users) based on the application(irj) can be identified from all server nodes, the approach works well in the Portal scenario where login screen is used by the users for Login to Portal.

I am listing down some use cases where this approach can be used:

-- Getting the last logon date of WAS users or irj Portal users.

-- Generating Portal Usage history reports from this logs using some reporting tool like Excel etc.

-- Can be used for Auditing purpose and to identify security attacks


Its good to take a back up of these logs periodically as depending on portal usage and log size configured ,logs will be overwritten once the log size reaches its maximum value.


Some refrences:





Thanks for reading!

This blog is for portal content administrators who would like to learn about the administration tasks required for enabling SAP Fiori launchpad on Portal (FLP on EP). It contains pre-configured sample content that you can import into your portal. In only a few steps you can easily run the SAP Fiori launchpad experience within the SAP NetWeaver Portal environment.

SAP Fiori launchpad on Portal is available for portal customers as of NW 7.31 SP12 and NW 7.4 SP7. It is highly recommended to update to EP latest patches before running FLP on EP in order to get the most updated version.


With FLP on EP, portal users can control which applications appear in their launchpad on mobile devices and on the desktop. Portal iViews appear as tiles in the launchpad and access to content is based on portal roles, per device. Administrators can configure content to appear by default in the home page for all users and tag content as New and Recommended.

SAP Fiori launchpad on Portal provides the following capabilities:

  • The ability for administrators to configure content for different devices.
  • A dedicated framework page for displaying the SAP Fiori launchpad.
  • Access to the tile catalog containing the content that users can add to their home page.
  • The ability to save personalization per device.

Let`s get started:

1) In versions NW 7.31 SP12, NW 7.31 SP13, NW 7.4 SP7 and NW 7.4 SP8 only, create a URL alias and add it together with the Fiori desktop to the Master Rule Collection:
a) Create a new URL alias using the URL Alias Manager:

URL alias manager.png

     b) Add the alias together with the Fiori Desktop to the Master Rule Collection:
Master Rule Collection.png

2) Define the relevant device types using the Device Group Manager:

Device Group Manager.png

3) Import the OOB_Admin.epa file located in Out of the Box FLP-EP Admin Content, using the Transport Packages import tool.

This transport package contains the following:

      a) Fiori Launchpad Categories iView - Manages categories in the tile catalog. Administrators can create categories to group applications in the tile catalog. The iView is configured with sample categories:

Fiori Launchpad Categories iView.png

     b) A role for assignment to users, containing iViews that are configured to demonstrate the different properties available for FLP on EP, and web resources for the tiles:
         In order for the content to be visible in the home page and tile catalog, set a container in the hierarchy as entry point (role, workset or folder). Make sure that the iView is set to visible.

Role for assignment.png

4) Work with the iViews and different properties to manage the content for FLP on EP. The following properties are available on each iView, allowing you to configure tiles according to your requirements.
Note: The iViews in the sample content has already been configured to highlight the various capabilities of FLP on EP.

  1. Mandatory: Set the device groups on which the application will be displayed using the property "Object ID of Device Group". Separate the device groups with a semicolon (;). If this property is not set with any device group, the tile will not appear at all.

  2. Set the categories in which the application will appear in the tile catalog using the property "Mobile App Categories". Separate the categories IDs with a semicolon (;). If this property is not set with any category ID, the tile will appear under the General default category.

  3. Mark an application as default using the property "Permanent in Launcher" to make it appear in the user's home page the first time that the user logs in. Users can remove default applications from their home page. If this property is set to "False", the application will only appear in the tile catalog.

  4. Set an image on the tile using the property "Image Type".

  5. Promote applications in the tile catalog:
    • Set property "Mark as New Until".
    • Set property "Mark as Recommended Until".

  6. Indicate a native application using the property "Native App". If this property is set to "True", the application will only appear in mobile devices (even if the device type is set to desktop).

Here are some examples of configured properties on the iViews from the Out of the Box FLP-EP Admin Content:

iViews Properties.png

iViews Properties2.png

Without making any changes to the sample content, this is how the user`s home page will look:


This is how the user`s tile catalog will look:


Now you can play around with the Fiori launchpad on Portal. Enjoy the new experience and let us know what you think!

To learn more about FLP on EP:



In this blog post you can find code sample of how to read properties from Portal iViews and how to set iView properties from the portal component the iView is based on.

General list of iView properties in help.sap.com


In this example I have a Portal component called ProfileUsage and I have created an iView called myIView from it.

see more on Creating iViews


1. Reading property:

In the portal component ProfileUsage I would like to display, as output to the user, who last modified this iView.

Opening the iView in the property editor you can see the following:



For getting this in runtime the following code reads the property Id named: "com.sap.portal.pcd.unit.LastChangedBy" that holds this information and prints it to the user:


ProfileUsage.java Code:

public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
      response.write("This iView was last modified at:<br>");
     // retrieve a property from the component profile
     IPortalComponentContext componentContext = request.getComponentContext();
     IPortalComponentProfile profile = componentContext.getProfile();
     String lastChangedString= profile.getProperty("com.sap.portal.pcd.unit.LastChangedBy");

Creating iView from this Code and running the iView, the output will be:


There you have it, user administrator changed it last...



2. Having a custom property and setting property:

Custom properties can be added to portal components and iView through the component's PortalApp.xml file.

Here is a code sample adding a simple property to my application with the value "My property Value".



    <component name="ProfileUsage">
        <property name="ClassName" value="com.sap.portal.examples.ProfileUsage"/>
        <property name="com.sap.portal.mySampleProperty" value="My property Value"/>

See more on custom component properties.


Reading current value in this property and setting in through code:



public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
     response.write("My sample property is:  ");
     // retrieve a property from the component profile
     IPortalComponentContext componentContext = request.getComponentContext();
     IPortalComponentProfile profile = componentContext.getProfile();
     String myProfileProperty = profile.getProperty("com.sap.portal.mySampleProperty");
     //updating the profile property
     profile.setProperty("com.sap.portal.mySampleProperty", "I've just changed this property!");


  • First launching this will print the old property:


  • launching it again ,the code will print the updated value:





About two years ago we have announced the availability of running the SAP Enterprise Portal on mobile devices (also known as: Portal On Device, Mobile Portal or SAP Enterprise Portal mobile edition). Since then, we have significantly enhanced and extended the solution. With the release of the Fiori launchpad on the SAP Portal, we have reached a key milestone for consuming the SAP Portal on mobile devices with:

  • Rich end user experience for desktop and mobile consumption
  • Responsive design running on both desktop and mobile devices
  • Aligned user experience across devices
  • Following the SAP Fiori design
  • Extended PAM support
  • Theme customization with the UI Theme Designer
  • Developed on top of SAPUI5 libraries
  • Integration with SAP Fiori applications (planned)

Important related links



We all(If not, you better read about it) know the concept of Merge ID in Enterprise Portal.

From help.sap.com:

You can merge a node from one freestyle role with a same-level node from another role. Both nodes then appear as one entry in the top-level or detailed navigation, with their respective subnodes appearing in a given sequence beneath the new merged node.

You can merge the following objects:

  • Entry points
  • Root nodes of roles and worksets
  • Folders in roles or worksets.


See more details here.


Sometimes you find yourself struggling with Merged roles and folders, and not sure what you actually see on screen, or where it is located.

There is a (unofficial) support tool in EP that can help you with that , Merge ID Finder.

How to access the Merge ID Finder:




The tool provides a way to:

  • Get nodes according to a specific Merge ID (from assigned user roles)
  • Get all nodes that have a non empty Merge ID (from assigned user roles)
  • Get all nodes with a specific merge ID that are under chosen roles.
  • Get all nodes with non empty merge ID that are under chosen roles.



Usage is quite simple , just paste the requested value in the input field and click the desired action you wish to use.


Example 1:

For getting all nodes with Merge ID ="com.sap.portal.home" under role eu_role fill the following values:


Clicking on getMergedNodesFromSelected button will bring the following result of nodes found under eu_role:


In this example you see there are 3 worksets with this same merge id and we have their exact location.


Example 2:

Viewing all nodes that have non-empty merge Id under the eu_role:

1. Fill in the role you want to inspect and click on getAllNodesFromSelected button:


2. Get all nodes and their respective merge ids:







In this case the customer complained that some of the pages running in his portal fail to execute when using Chrome.

He got this annoying message:



The portal shell (TLN, DTN, etc.) – was rendered well.


What could the issue be?

The first thing I checked was the value of the Supported User Agents property on one of the pages that triggered this message.

The value should be (MSIE, >=5.5, *) (Netscape, *, *) (Mozilla,*,*) (Safari, >=3.1, *) (MSIE, >=5.5, *) (Netscape, *, *) (Mozilla,*,*) (Safari, >=3.1, *) (Chrome,*,*)

If the (Chrome,*,*) part is missing from this list – the page won’t be rendered in Chrome.


Well, the value for that page was OK.

Now this was getting interesting! What could be the issue then?

The next thing I did was to change the framework page. This specific customer has a custom framework page, and I thought that maybe there was something he had added to the pages in this framework page that missed the (Chrome,*,*) value and caused the page failure. If any object within the page is missing this value the entire page will fail!

The issue was reproduced also in the Classic Framework Page. So it wasn’t an issue with the framework page.



At this stage I raised the log level of the userAgent location to “All”. The location of userAgent is com.sap.portal.portal. I did it through the logWatch. You can learn how to use logWatch here.

In the recorded log I found the culprit! – There was a log at debug level for every UI element which specifies the supported userAgents.

One of the elements was the layout, and the layout didn’t have the (Chrome,*,*) value!



So it was the layout. It didn’t have the (Chrome,*,*) value and it caused the failure of the entire page.

You won’t see the layout object in the Portal Catalog, but you can see it if you explore the page in the PCD Inspector.

So I opened the object through the PCD inspector and there I saw that the property of the layout object was indeed missing the (Chome,*,*) value.




In this specific case it wasn’t only a single iView that wasn’t supported by Chrome, but many of the portal iViews. That meant that the root cause was the layout template object.

You can view the layout inheritance hierarchy by selecting it and clicking the “DL” button in the PCD Inspector:




The layout object inherits the property value from the template, so it should be fixed in the template and it will affect all the objects that inherit from it, unless one of the objects overrides the default value of the template.



After the “SupportedUserAgent” was reset for the layout template – the issue was fixed and the pages rendered well in Chrome.

That’s it!


This blog is the first support case that I document.

The entry point to my support blogs will be from here

See you in my next blog…

Maya Amit

My EP Support Blog

Posted by Maya Amit Jul 1, 2014

Who am I?

My name is Maya and I am from the Portal support group.

The main task of our group is to solve bugs in the product – so we’re only supposed to receive messages about actual bugs.

This is not always what happens in reality. Many of the cases that initially seem to be bugs end up being an issue with configuration or incorrect usage.


One of the important activities that we have in our group is to reduce these kinds of messages and save time both for you – the customers – and for us (fewer messages = less work J).


So the purpose of this blog is

  1. Share these issues with you – interesting cases that I encounter in the course of my support work that can be solved either by using a workaround or with correct configuration as well
  2. New bugs which either I or my team colleagues fix.


And how can you help me with this?

  1. By distributing this blog to other portal customers.
  2. By suggesting cases that you think could be interesting for everyone – either cases that you solved on your own or issues that were solved through messages – you can add your suggestions in the comments section of this blog.


The first case that I want to share with you is an issue with portal support for Chrome.

So let’s begin…

some pages in the Portal are not supported in Chrome



I would like to invite you to a series of SAP Portal ASUG webinars that will take us all the way to D-CODE Vegas. These webinars will cover the major and most interesting topics of the SAP Portal Portfolio. By attending these webinars, you will get up-to-date with the latest offering of the SAP Portal, and when attending SAP D-CODE you will be able to discuss the products details with the experts onsite .


TitleAbstract & SpeakersDate & Time
SAP Portal Portfolio Overview and Planned Innovation

Join this session to get an overview on the SAP Portal Portfolio and the planned innovations for cloud and mobile consumption evolving the SAP Enterprise Portal towards a true a user experience platform.


Speakers: Yariv Zur Aviad Rivlin Thomas Hensel


Register today!

July 9th

11:00 US Eastern Time Zone

SAP HANA Cloud Portal Overview, use cases and recommendations

Join this session to learn how you can easily create appealing business sites using SAP HANA Cloud Portal. The session highlights the solution approach, benefits and capabilities as well as recommended implementation scenarios. You will learn how to quickly build sites, integrate content, define brand elements and consume published sites on multiple devices.


Speakers: Yariv Zur Ifat Shwartz Aviad Rivlin


Register today!

August 13th

10:00 US Eastern Time Zone

Boosting your User Experience with SAP Fiori Launchpad

Join this session to learn about SAP Fiori launchpad – the new role bases, personalized, responsive and contextual application entry point running on multiple devices and deployed on multiple platforms.


Speaker: Aviad Rivlin

Register today!

September 17th

11:00 US Eastern Time Zone

Get ready for SAP D-CODE – all you need to know about the SAP Portal  before packing your staff to D-CODE

Join this session just before you pack your stuff and travel to SAP D-CODE. Get a glimpse into what is planned for SAP D-CODE from a Portal and Ux standpoint. Which sessions are planned, which hands-on seminars are scheduled and what shouldn’t you miss onsite.


Speakers: Thomas Hensel Aviad Rivlin


Register today!

October 8th

10:00 US Eastern Time Zone

These webinars are provided by the ASUG Portals Special Interest Group together with the SAP Portal Product Management team.

Sneak preview for the SAP Portal Portfolio:

SAP Portal PortfolioSAP HANA Cloud PortalSAP FIori Launchpad


Filter Blog

By author:
By date:
By tag: