How To Customize the SAP User Interface Using Theme Editor

Similar documents
How to Use Function Keys in Mobile Applications for Handhelds

How To Set up NWDI for Creating Handheld Applications in SAP NetWeaver Mobile 7.1

SAP NetWeaver How-To Guide

How To... Reuse Business Objects and Override Operations of a Business Object

How To... Promote Reports and Input Schedules Through Your System Landscape

How To Recover Login Module Stack when login to NWA or Visual Administrator is impossible

How To... Configure Integrated Configurations in the Advanced Adapter Engine

Simplified Configuration of Single System Update in Maintenance Optimizer

How To... Master Data Governance for Material: BADI USMD_SSW_SYSTEM_METHOD_CALLER to create successor change request

How To...Use a Debugging Script to Easily Create a Test Environment for a SQL-Script Planning Function in PAK

How To Generate XSD Schemas from Existing MDM Repositories

How To... Master Data Governance for Material: BADI USMD_SSW_PARA_RESULT_HANDLER to merge result of parallel workflow tasks

How-To... Add Sensitive Content into an Area

SAP NetWeaver How-To Guide

How To...Configure Integration of CUP with SPM

How to Upgr a d e We b Dynpro Them e s from SP S 9 to SP S 1 0

How To... Master Data Governance for Material: File Down- and Upload

SAP NetWeaver How-To Guide How to use Process Execution Manager Using SAP Test Data Migration Server

Setting Up an Environment for Testing Applications in a Federated Portal Network

How To Integrate the TinyMCE JavaScript Content Editor in Web Page Composer

How To...Custom BADI for rounding off values in SAP BUSINESSOBJECTS Planning and Consolidation, version for SAP NetWeaver.

Visual Composer - Task Management Application

MDM Syndicator Create Flat Syndication File

How To... Configure Drill Through Functionality

Integrating a Web Service in a Composite Application. SAP Composite Application Framework

SAP Composite Application Framework. Creating a Content Package Object

How To... Use the BPC_NW Mass User Management Tool

SAP NetWeaver How-To Guide. SAP NetWeaver Gateway Virtualization Guide

SAP - How-To Guide MDG Custom Object Data Replication How to Configure Data Replication for MDG Custom Objects (Flex Option)

How to Translate a Visual Composer Model Part I

configure an anonymous access to KM

Install TREX for CAF Version 1.00 March 2006

How-to Guide SAP NetWeaver 04. Web Dynpro Themes. Version Applicable Releases: SAP NetWeaver 7.0

Consuming Web Dynpro components in Visual Composer.

SAP GRC Access Control: Configuring compliant user provisioning (formerly Virsa Access Enforcer) into CUA Systems

Process Control 2.5 Implementation Checklist

Do Exception Broadcasting

How To Configure the Websocket Integration with SAP PCo in SAP MII Self Service Composition Environment Tool

Web Page Composer anonymous user access

A Step-By-Step Guide on File to File Scenario Using Xslt Mapping

What s New / Release Notes SAP Strategy Management 10.1

How to View Dashboards in the Self Service Composition Environment with Additional Metadata

How To Extend User Details

Data Validation in Visual Composer for SAP NetWeaver Composition Environment

Access Control 5.3 Implementation Considerations for Superuser Privilege Management ID-Based Firefighting versus Role-Based Firefighting Applies to:

How to Create a New SAPUI5 Development Component

How To Develop a Simple Web Service Application Using SAP NetWeaver Developer Studio & SAP XI 3.0

Cache Settings in Web Page Composer

Integrate a Forum into a Collaboration Room

How to Set Up and Use the SAP OEE Custom UI Feature

SAP Composite Application Framework. Creating an External Service type Callable Object in Guided Procedures

SAP How-To Guide. Master Data Governance for Material. How To... Adjust MDG Homepage. Applicable Releases: EhP6, MDG 6.1

Configure SSO in an SAP NetWeaver 2004s Dual Stack

How to do Breakdown Validation in SAP BPC 7.0 for the SAP NetWeaver Platform

link SAP BPC Excel from an enterprise portal Version th of March 2009

WDA - Custom themes for Web Dynpro ABAP applications without SAP Enterprise Portal integration

Visual Composer for NetWeaver CE: Getting Started with a Typical Workflow

Enterprise Portal Logon Page Branding

Visual Composer Build Process

How to Browse an Enterprise Services Registry in Visual Composer

Quick Reference Guide SAP GRC Access Control Compliant User Provisioning (formerly Virsa Access Enforcer): HR Triggers

How To Enable Business Workflow for SAP NetWeaver Gateway 2.0

Create Partitions in SSAS of BPC Version 1.00 Feb 2009

How to Set Up and Use the SAP OEE Custom KPI Andons Feature

How To Configure IDoc Adapters

SAP Composite Application Framework. Creating a Callable Object in Group: Miscellaneous

Authentication of a WS Client Using a SAP Logon Ticket

Building a Composite Business Process from Scratch with SAP NetWeaver BPM Guide 2

Configure TREX 6.1 for Efficient Indexing. Document Version 1.00 January Applicable Releases: SAP NetWeaver 04

Using Business Graphics

Transport in GP. How-to Guide Beginning with SAP NetWeaver 2004s SPS06. Version 2.00 January 2006

SDN Contribution HOW TO CONFIGURE XMII BUILD 63 AND IIS 6.0 FOR HTTPS

Building a Tax Calculation Application

Use Business Objects Planning and Consolidation (version for the Microsoft platform) BPF services in Xcelsius

Introducing SAP Enterprise Services Explorer for Microsoft.NET

How to Install SAP Netweaver 2004s ABAP Edition on Your Local PC

SOA Security Scenarios: WebAS Java, Message Level Security with no Transport Guarantee

Accessing ABAP Functions in Web Dynpro Java

Extract Archived data from R3

Create Monitor Entries from a Transformation routine

Setup an NWDI Track for Composition Environment Developments

How to receive and convert PDF-documents with SAP XI

How To Troubleshoot SSL with BPC Version 1.01 May 2009

How to... Build a Planning Function that Deletes Comments in BW

How To Use Surveys with Mobile Sales for handheld Version 1.00 January 2007

Configure UD Connect on the J2EE Server for JDBC Access to External Databases

How to Fast-Switch Integration Scenarios between SAP PI Runtimes Part II: Web Dispatcher

Work with Variables in SAP NetWeaver Visual Composer Version 1.00 May 2006

View Time Security for crystalreports.com

Web Dynpro Java for Newbies: a Quick Guide to Develop Your First Application

Creating Your First Web Dynpro Application

Preview of Web Services Reliable Messaging in SAP NetWeaver Process Integration 7.1

Installation Guide Business Explorer

How To Set Up and Use the SAP ME Work Instructions Feature

Web Dynpro for ABAP: Tutorial 4 - Display Bookings of Selected Flight

Value Help in Web Dynpro ABAP - Tutorial.

How To... Transport Forum Content Between SAP NetWeaver Systems

How To Create Publications with SAP NetWeaver MDM Using MDM Publisher- Advanced Topics

SAP NetWeaver 04. Unification Terminology

SAP MII: Leveraging the Data Buffering Feature for Connection Error Handling.

Transcription:

SAP NetWeaver How-To Guide How To Customize the SAP User Interface Using Theme Editor Applicable Releases: SAP NetWeaver 7.0 and 7.11 Version 1.0 June 2010

Copyright 2010 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, OS/2, Parallel Sysplex, MVS/ESA, AIX, S/390, AS/400, OS/390, OS/400, iseries, pseries, xseries, zseries, z/os, AFP, Intelligent Miner, WebSphere, Netfinity, Tivoli, Informix, i5/os, POWER, POWER5, OpenPower and PowerPC are trademarks or registered trademarks of IBM Corporation. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mysap, mysap.com, xapps, xapp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty. These materials are provided as is without a warranty of any kind, either express or implied, including but not limited to, the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. SAP shall not be liable for damages of any kind including without limitation direct, special, indirect, or consequential damages that may result from the use of these materials. SAP does not warrant the accuracy or completeness of the information, text, graphics, links or other items contained within these materials. SAP has no control over the information that you may access through the use of hot links contained in these materials and does not endorse your use of third party web pages nor provide any warranty whatsoever relating to third party web pages. SAP NetWeaver How-to Guides are intended to simplify the product implementation. While specific product features and procedures typically are explained in a practical business context, it is not implied that those features and procedures are the only approach in solving a specific business problem using SAP NetWeaver. Should you wish to receive additional information, clarification or support, please refer to SAP Consulting. Any software coding and/or code lines / strings ( Code ) included in this documentation are only examples and are not intended to be used in a productive system environment. The Code is only intended better explain and visualize the syntax and phrasing rules of certain coding. SAP does not warrant the correctness and completeness of the Code given herein, and SAP shall not be liable for errors or damages caused by the usage of the Code, except if such damages were caused by SAP intentionally or grossly negligent. Disclaimer Some components of this product are based on Java. Any code change in these components may cause unpredictable and severe malfunctions and is therefore expressively prohibited, as is any decompilation of these components. Any Java Source Code delivered with this product is only to be used by SAP s Support Services and may not be modified or altered in any way.

Document History Document Version Description 1.00 First official release of the Theme Editor guide

Typographic Conventions Type Style Description Icons Icon Description Example Text Example text Words or characters quoted from the screen. These include field names, screen titles, pushbuttons labels, menu names, menu paths, and menu options. Cross-references to other documentation Emphasized words or phrases in body text, graphic titles, and table titles Caution Note or Important Example Recommendation or Tip Example text File and directory names and their paths, messages, names of variables and parameters, source text, and names of installation, upgrade and database tools. Example text User entry texts. These are words or characters that you enter in the system exactly as they appear in the documentation. <Example text> Variable user entry. Angle brackets indicate that you replace these words and characters with appropriate entries to make entries in the system. EXAMPLE TEXT Keys on the keyboard, for example, F2 or ENTER.

Table of Contents 1. Business Scenario...1 2. Background Information...1 3. Prerequisites...1 4. Getting Started...2 4.1 Installing Theme Editor...2 4.2 Working with Theme Editor...2 4.2.1 Importing SAP Themes...2 4.2.2 Creating Custom Themes...5 4.2.3 Editing Custom Themes...6 4.2.4 Switching Theme Explorer Views...8 4.2.5 Exporting Custom Themes...9 5. Appendix... 10

1. Business Scenario Branding applications has become more and more important for end users and is seen as one of the critical use case requirements that must be satisfied by UI Infrastructure. End users might not only like the option available to change the company logo, but also like to adapt the look and feel of user interfaces to reflect their own corporate branding. 2. Background Information You can host SAP applications as a stand-alone application or within an SAP NetWeaver Portal. SAP NetWeaver Portal provides a Web-based tooling environment to facilitate creation of custom themes. SAP also ships several predefined themes which can be used as is or extended to meet your needs. However, branding Web Dynpro applications (both ABAP and Java) hosted outside SAP NetWeaver Portal has limited offerings within the current solution. Theme Editor is an Eclipse-based, feature-rich, lightweight tool. This tool aims to provide a unified tooling environment for defining and maintaining custom themes for SAP applications. This tool is intended to be used on top of SAP NetWeaver Developer studio or on standard Eclipse and supports branding for various technology flavors such as: Web Dynpro ABAP/Java SAP NetWeaver Portal offerings 3. Prerequisites You have: A working knowledge of Eclipse Installed Eclipse SDK 3.5 or higher Installed Java 5.0 or higher SDN downloads for Theme Editor are as follows: EclipseThemeEditorVersion2_ReleaseIndependentPlugin.zip The Eclipse-based tooling Eclipse_Theme_Editor_version2_Project_File.zip A sample themes project containing all standard SAP Theme templates Caution The sample themes are intended to be used only for evaluation purpose of the tool. They are not guarenteed to work in the productive environment and there shall be no support provided to resolve any such identified issues. Nevertheless, any issue identified with the Theme Editor shall be supported; raise an OSS ticket on the component BC-DWB-THM- DT. One of the following operating systems: Windows XP or Windows Vista Internet Explorer 6.0 or higher June 2010 1

With this the Them How To Customize the SAP User Interface Using Theme Editor 4. Getting Started This section provides installation details and step-by-step tasks to create a custom theme. 4.1 Installing Theme Editor To install Theme Editor, proceed as follows: 1. Start Eclipse. 2. Navigate to Help > Install New Software... 3. In the wizard window, click Add... 4. Click Archive...and navigate to the location where the EclipseThemeEditorVersion2_ReleaseIndependentPlugin.zip file is downloaded. 5. Provide a Name for the site, for example,<themeeditor> and click OK. 6. Select the listed features. 7. Unselect the options listed below in the wizard: a. Contact all update sites during install to find required software. b. Show only the latest versions of available software. 8. Click Next. Accept the license agreement and click Finish. 9. Restart the IDE to complete the installation. The Theme Editor is installed succesfully. This can be validated by opening the Themes Perspective: Navigate to Window > Open Perspective > Other...> SAP Themes. 4.2 Working with Theme Editor This section will help you to get started with Theme Editor. This section provides a step-by-step approach to design a custom theme. The custom theme thus designed can be deployed on SAP NetWeaver Portal or Web Dynpro ABAP repository. It is then possible to apply the custom theme to the applications hosted in the above environments. 4.2.1 Importing SAP Themes SAP Themes form the base for defining custom themes. It is a prerequisite to import SAP Themes into Theme Editor to define custom themes. The SAP Themes project is available as a zip file along with Theme Editor in the SDN Software Download Catalog. You can import a project only once to the given workspace. Procedure 1. Open the SAP Themes Perspective ( Window > Open Perspective > Other...> SAP Themes). 2. Choose File > Import. 3. In the Import wizard, choose SAP Themes > Import Themes. 4. Choose Next. June 2010 2

Figure 1: Import Theme Wizard 5. Enter a name for the project. For example,<customthemes>. 6. Define the source. Browse to the downloaded Eclipse_Theme_Editor_version2_Project_File.zip on the file system.the SAP Themes are extracted from the zip file and listed under Projects, with all the themes selected by default. Note Clear or select an SAP Theme to remove or include it in the Theme Explorer view. 7. Define a target. Browse to a location on the file system to save the theme content. June 2010 3

Figure 2: Imported SAP Themes 8. Click Finish. The SAP Themes are imported into the workspace within the project, CustomThemes. Figure 3: SAP Themes June 2010 4

4.2.2 Creating Custom Themes You can create a new custom theme by extending one of the SAP Themes. Procedure 1. Choose Themes > New Theme and click on Next. 2. Enter a name for the new theme, for example, <MyCustomTheme>. Note A theme name cannot include spaces or special characters. 3. Select a base theme. It can be one of the SAP Themes or any custom themes already created. 4. Click Finish. The custom theme is created and listed in Theme Explorer. Figure 4: Custom Theme June 2010 5

4.2.3 Editing Custom Themes The different Views within the SAP Themes Perspective helps to change the properties of the UI Elements. Figure 5: Theme Editor Perspective Theme Explorer The Theme Explorer View appears in the left pane. It provides a view of the Themes (both SAP and Custom) and associated UI Elements. June 2010 6

SAP Themes are pre-defined, read-only templates offered by SAP. However, it is possible to extend the SAP Themes to create custom themes. SAP Themes serve as a basis for creating custom themes and includes styling information for a collection of UI Elements. The UI Elements within a theme are classifed as: Complex Elements Global Styles Content Area Patterns Screen Areas Simple Elements Control Preview The Control Preview provides a preview of a UI Element. It allows to view and change different properties of a UI Element. It is also possible to preview a UI element in an external browser using the Launch External Preview action on the toolbar. The default external browser can be configured in the Preferences page (Window > Preferences) by navigating to General > Web Browser. Properties The Properties View is displayed at the bottom of the Perspective by default. It displays all the properties of the UI Element that is configurable. The configurable properties of every UI Element are classified in one of the below categories: Text Layout Fill Border It is possible to change the value of one or more properties. For example, open the Button UI Element defined under Simple Elements in MyCustomTheme, in the Control Preview. To change the font text color of a standard button follow the steps below: 1. Select the Default button under the Standard category in the preview. The configurable properties for the selected UI Element state is displayed in the Properties View. 2. Select the Fill category in the Properties View. 3. Click Standard Font Color.All the states that get affected with this property are highlighted by a red outline in the Control Preview. 4. Choose a color from the color picker. Note The font color of the affected states in the Preview can also be changed by moving the mouse pointer over the color picker. Alternatively, the new color value can also be typed in the field. 5. Save the changes. June 2010 7

Figure 6: Fill Properties Figure 7: Theme Preview Similary it is possible to change one or more properties for a given UI Element. 4.2.4 Switching Theme Explorer Views The content of the Theme Explorer can be grouped under any of the following categories: Arrange By Themes: This view lists themes as root elements in Theme Explorer. Arrange By Theme Project Types: This view lists themes under its respective projects. This is the default view in Theme Editor. Procedure 1. Open the SAP Themes Perspective. The Arrange By Theme Project Types appears by default. 2. On the Theme Explorer pane, choose View Menu. 3. Select a view. June 2010 8

Figure 8: Theme Explorer View 4.2.5 Exporting Custom Themes After you have designed the custom theme, you need to apply the theme to the required SAP application. This task allows you to export custom themes so that you can apply them to the required SAP applications hosted in SAP NetWeaver Portal or Web Dynpro ABAP applications, and so on. Procedure 1. Select a custom theme. 2. From the context menu: a. Choose Generate to create stylesheets for the custom theme using theme metadata. b. Choose Export to Portal, to create a zip file containing custom themes that can be exported to an SAP NetWeaver Portal. Or Choose Export to Web Dynpro to create a zip file containing custom themes that can be exported to Web Dynpro. 3. Save the custom theme as a zip file. June 2010 9

5. Appendix The below options are applicable on every custom theme that is displayed in the Theme Explorer. Refresh: Refreshes the content of the Theme Explorer. Export to Portal: Creates a zip file containing custom theme artifacts, which can be later exported to an SAP NetWeaver Portal. The Export to Portal option is enabled only for custom themes and not for SAP Themes. Export to Web Dynpro: Creates a zip file containing the custom themes artifacts, which can be later exported to R/3 Web Dynpro ABAP system. The Export to Web Dynpro option is enabled only for custom themes and not for SAP Themes. Generate: Generates stylesheets for all the UI Elements defined in the theme. It is mandatory to trigger this generation before exporting to SAP NetWeaver Portal or R/3 Web Dynpro ABAP system. Reload: Loads the theme metadata and then generates the style sheets for the UI Elements. Figure 9: Theme Explorer Context Menu June 2010 10

www.sdn.sap.com/irj/sdn/howtoguides