Professional Documents
Culture Documents
Applies to:
SAP NetWeaver Enterprise Portal 7.0 EHP 1 (SPS 6)
SAP Business Server Pages (BSP)
Summary
This document pursues two objectives, on the one hand it provides the reader with a kind of cookbook for
publishing BSP applications for smartphone devices with usage of SAP NetWeaver Enterprise Portal
infrastructure and on the other hand it demonstrates the importance of being familiar with portal architecture,
security concepts, session handling and corporate infrastructure.
Author Bio
Florian G. Furtmüller studied Business Informatics at the Johannes Kepler University of Linz.
He earned his diploma degree in 2007 and subsequently, started his work as SAP NetWeaver
Enterprise Portal Consultant at IDS Scheer Austria GmbH. He has more than three years of
experience in SAP NetWeaver Enterprise Portal and NetWeaver Components. He is currently
working for IDS Scheer Austria GmbH as Senior Consultant.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 1
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Table of Contents
How to integrate SAP Business Server Page applications into SAP NetWeaver Enterprise Portal for
BlackBerry devices ............................................................................................................................................. 3
Preconditions .................................................................................................................................................. 3
Approach - Steps at SAP NetWeaver Enterprise Portal ................................................................................. 4
Create portal role and application iView ....................................................................................................................... 4
Assign role to user or group ......................................................................................................................................... 5
Create Framework Page (just copy and rename default framework page) .................................................................. 5
Create Portal Desktop (just copy and rename default portal desktop) ......................................................................... 6
Apply Portal Desktop at Master Rule Collection........................................................................................................... 6
Adapt web.xml file ........................................................................................................................................................ 6
Testing ......................................................................................................................................................................... 7
Showcase ........................................................................................................................................................ 8
Related Content .................................................................................................................................................. 9
Disclaimer and Liability Notice .......................................................................................................................... 10
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 2
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
How to integrate SAP Business Server Page applications into SAP NetWeaver
Enterprise Portal for BlackBerry devices
This document pursues two objectives, on the one hand it provides the reader with a kind of cookbook for
publishing BSP applications for smartphone devices with usage of SAP NetWeaver Enterprise Portal
infrastructure and on the other hand it demonstrates the importance of being familiar with portal architecture,
security concepts, session handling and corporate infrastructure. This paper deals with the foundations for
the administrating SAP NetWeaver Enterprise Portal, this can be seen as precondition and requirement for
the reader.
BlackBerry devices represent the standard for smart phones in business. They are known for their ability to
send & receive e-mail and access data anywhere, wherever they can connect to a mobile network of various
mobile phone providers. Thus brings more flexibility and more independence to the end-user and accelerates
carrying out daily business tasks which will inevitably lead to increased productivity. As of the reasons above
and the wide acceptance of BlackBerry devices, BlackBerry was chosen as appropriate smartphone for this
showcase.
This opens various opportunities for a company which has equipped its employees with BlackBerry devices
the more if the company has corresponding SAP software installed e.g. SAP NetWeaver Portal and SAP
Business Suite which makes it relatively easy to achieve several quick-wins in various company divisions. In
contrary to launching an interdivisional project, searching for outsourcing partners, procurement of internal
resources, coordination according to availability of external resources etc.
The enclosed example demonstrates the simplicity how to integrate a custom developed BSP service in the
SAP NetWeaver Portal and provide it in a way that BlackBerry is able to process and display the service for
the end-user.
Preconditions
Environment: Blackberry Bold 8900, the value in „Browser Configuration‟ of „Browser Identification‟ must be
set to „Internet Explorer‟ [see figure below]
Application: Provide SAP Business Server Pages (BSP) application at some SAP Business Suite back-end
(e.g. CRM, APO, BI, ERP, SRM…). The developed application should be kept as simple as possible in this
case the functionality for viewing data comes to the fore. Due to the constraint regarding the input unit of
smartphones data input should be implemented with e.g. form fields. [BspT10]
Note: The application has to be implemented according to BlackBerry screen size (480 x 320 Bold / 480×360 Curve).
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 3
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Note: Details for role, iView creation as well as for user assignments can be found here [BspA10].
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 4
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Note: Details for role, iView creation as well as for user assignments can be found here [AsUG10].
Create Framework Page (just copy and rename default framework page)
Navigate to Content Administration - Portal Content -> Portal Users -> Standard Portal Users
Remove all iViews, Pages, except „Desktop Innerpage‟. Open „Desktop Innerpage‟, search for Content Area
(ID: com.sap.portal.contentarea), select and press „Delta Link Tracer‟.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 5
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Select „Content Area‟ and press „Locate in Portal Catalog‟. Navigate back to main page of „Modified Mobile
Framework Page‟, also remove „Desktop Innerpage‟. Now, right click on original „Content Area‟ iView object,
select „Add iView to Page‟ and choose „Delta Link‟. Press „Save‟, the created Framework Page should look
like the „Modified Mobile Framework Page‟. [CFra10]
Create Portal Desktop (just copy and rename default portal desktop)
System Administration - Portal Display -> Desktops & Display Rules -> Portal Users -> Standard Portal
Users
Right click on „Modified Mobile Framework Page‟, choose „Add Framework Page to Portal Desktop‟, now
select the added „Framework Page‟ and press „Set Default‟ and „Save‟. [CDsk10]
Note: Details for customizing Portal Master Rule Collection can be found at [Smrc10].
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 6
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Whenever you enter the portal with the URL http(s)://<host>/irj/portal/mobile, the portal operates in nested
mode and changes its internal JavaScript references.
Testing
There are two ways to test this service, first if you are in the lucky position to have a BlackBerry device, you
can use this as test device, it only has to be ensured that the necessary settings which are described in
chapter Preconditions have been made. If there is no BlackBerry device available, the respective emulation
software from the BlackBerry website can be downloaded. [Blac10]
Before testing the application at local platform, it is necessary to start the BlackBerry MDS (Mobile Data
Service) Simulator and ensure that it is running. To verify that, go to Programs > Research In Motion >
BlackBerry Email and MDS Services Simulators > MDS. As a next step start the BlackBerry Smartphone
Simulator and in the BlackBerry Smartphone Simulator, open the BlackBerry Browser.
Note: The value in „Browser Configuration‟ of „Browser Identification‟ must be set to „Internet Explorer‟.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 7
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Then open the menu, navigate with „Go To‟ to e.g. http://www.sap.com, if the SAP home page appears, the
BlackBerry Mobile Data Service simulator is operating correctly.
Regarding leaving the integrated application service web page of the BSP application, the logout mechanism
has to be implemented at the back-end application itself, this is essential because Portal DSM (Distributed
Session Manager) will not work within BackBerry framework. Due to memory utilization and security
vulnerability it is highly recommended to implement a manual logout mechanism which invalidates the
sessions at the back-end. [Sdsm10]
Note: Logout has to be implemented within the BSP application, DSM will not work in BlackBerry environment!
This can be realized for example by displaying a small logout button in the top right corner of the BSP
application [as depicted above].
Showcase
A possible showcase could be to provide employees a mobile solution, which neither requires a specific
device, a particular operating system or a local installation. The developed mobile solution can be seen as an
extension to existing standard service functions, which should represent these functions as close to the
original as possible.
Due to the small screen size in mobile devices, the design of the application should be elaborated very
carefully. This requires special attention during the implementation of the individual screens and navigation
structure.
As a result, such mobile solutions are particularly suitable for field staff that needs to view, create or
manipulate data sets at customer‟s site even without laptop. This will provide end-users the ability to retrieve
data online and real-time. However, as an example, data which were processed by the mobile service can be
directly viewed online by other users after saving - this typically depends on the implementation of the
corresponding application.
The obtained device independence offers more convenience the outcome of this enables the maximum on
possible flexibility for end-users.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 8
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
Related Content
The list below shows some references to SDN documents and web pages.
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 9
How to Provide SAP Business Server Page Applications through SAP NetWeaver Enterprise Portal for Smartphones
SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com | UAC - uac.sap.com
© 2010 SAP AG 10