Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Copyright
Copyright 2013 SAP AG. All rights reserved.
SAP Library document classification: PUBLIC
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. National product specifications may vary.
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.
SAP 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 other countries.
Please see http://www.sap.com/corporate-en/legal/copyright/index.epx#trademark for
additional trademark information and notices.
Meaning
Caution
Example
Note
Recommendation
Syntax
Additional icons are used in SAP Library documentation to help you identify different types of information
at a glance. For more information, see Help on Help General Information Classes and Information Classes for
Business Information Warehouse on the first page of any version of SAP Library.
Typographic Conventions
Type Style
Description
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.
Example text
Emphasized words or phrases in body text, graphic titles, and table titles.
EXAMPLE TEXT
Technical names of system objects. These include report names, program names,
transaction codes, table names, and key concepts of a programming language when
they are surrounded by body text, for example, SELECT and INCLUDE.
Example text
Output on the screen. This includes 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
Exact user entry. 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
Contents
1.
1.1.1
Prerequisites ................................................................................................................................ 7
1.1.2
Features ....................................................................................................................................... 7
1.1.3
Constraints ................................................................................................................................... 7
1.2
1.3
Glossary ........................................................................................................................................... 8
1.4
1.4.1
1.4.2
1.4.3
1.4.4
1.4.1
Flavors .................................................................................................................................................... 13
3.1
3.2
3.3
3.4
3.5
3.6
3.7
3.8
Examples........................................................................................................................................ 38
Scripting .................................................................................................................................................. 42
5.1.4
5.2
5.2.1
5.3
5.3.1
5.3.2
5.4
5.4.1
5.4.2
5.4.3
5.5
Translation...................................................................................................................................... 81
5.5.1
5.5.2
Appendix ................................................................................................................................................. 88
8.1
8.2
8.3
8.4
8.5
8.6
8.7
8.8
8.8.1
Table of Figures
Figure 1: SAP GUI versus SAP Screen Personas ............................................................................................. 14
Figure 2: Processing Steps.............................................................................................................................. 16
Figure 3: Scripting Example............................................................................................................................ 42
Figure 4: Personas HTML ............................................................................................................................... 85
Figure 5: Edit Options..................................................................................................................................... 86
Figure 6: Personas HTML how to create a flavor ........................................................................................... 87
Figure 7: Create a Flavor ................................................................................................................................ 88
Figure 8: Save necessary GUI Elements ......................................................................................................... 89
Figure 9: Hide Screen Elements ..................................................................................................................... 91
Figure 10:Hide/unhide Hidden Elements....................................................................................................... 92
Figure 11: Add Background Picture ............................................................................................................... 93
Figure 12: Move Backward ............................................................................................................................ 93
Figure 13: Add an Image ................................................................................................................................ 94
Figure 14: Select Image and Set Properties ................................................................................................... 94
Figure 15: Design Button Appearances.......................................................................................................... 95
Figure 16: New Sales Order Intial Screen....................................................................................................... 96
Figure 17: Share Created Flavor..................................................................................................................... 97
Figure 18:Set Flavor as Default ...................................................................................................................... 98
Figure 19: Backend Administration Transaction ......................................................................................... 99
Figure 20:Backend Administration Screen ................................................................................................ 100
Figure 21: Backend Search Flavor for Transport ....................................................................................... 101
Figure 22: Backend Transport Flavor ........................................................................................................ 101
Figure 23: Example of how to pass a parameter ......................................................................................... 106
Figure 24: How to find Screen Field Name .................................................................................................. 107
Figure 25:Function Code .............................................................................................................................. 107
Prerequisites
Install the latest version of Silverlight version 5.0 UI technology (browser plug-in) from
Microsoft in the client machines to render rich internet content.
Please see Master Guide (https://websmp106.sap-ag.de/instguides) for a full list of prerequisites.
1.1.2
1.1.3 Constraints
This component supports solutions using SAP GUI screens and no other screens.
Consultants
Partners
Customers
1.3
Glossary
Term
SAP application
Business
Scenario
Component
Flavor
User
Admin User
Definition
An SAP software solution that serves a specific business area, for example,ERP,
CRM, PLM, SRM, SCM
From a microeconomic perspective, a business scenario is a cycle that consists of
several interconnected logical processes in time. Typically, a business scenario
includes several company departments and involves other business partners.
From a technical point of view, a business scenario needs at least one SAP
application (SAP ERP, SAP SCM, or others) for each cycle and possibly other
third-party systems.
A business scenario is a unit that can be implemented separately and reflects the
customers prospective course of business.
The smallest individual unit considered within the Solution Development
Lifecycle.
Components are separately produced, delivered, installed and maintained.
Flavor in SAP Screen Personas identifies a specific personalization for a particular
SAPtransaction. So a Personas Flavor is always linked to a specific SAP transaction
(example VA01). On the other hand, one particular SAP transaction can have
infinite number of flavors.
Business user who uses any SAP transaction with Personas personalization.
A user who does and supports configuration and other system activities to
support business users.
http://service.sap.com/instguides
Focused Business Solutions
SAP Screen Personas
SAP Screen Personas 2.0
http://help.sap.com/personas
http://service.sap.com/
http://service.sap.com/quicksizer
http://service.sap.com/platforms
To access the Platform Availability Matrix directly, enter
http://service.sap.com/pam
Network security
High Availability
Performance
Information about Support Package Stacks,
latest software versions and patch level
requirements
Information about Unicode technology
http://service.sap.com/securityguide
http://scn.sap.com/docs/DOC-7848
http://service.sap.com/performance
http://service.sap.com/sp-stacks
http://scn.sap.com/community/internationalizationand-unicode
1.4.1
Further Useful Links
The following table lists further useful links on SAP Service Marketplace:
Content
Information about creating error messages
SAP Notes search
SAP Software Distribution Center (software
download and ordering of software)
SAP Online Knowledge Products (OKPs) rolespecific Learning Maps
1.4.2
Related Master Guides
This Master Guide is based on Master Guides for cross-industry applications. You can find more
information about the relevant applications in the following documents:
Title
Master Guide - SAP ERP 6.0
SAP NetWeaver
1.4.3
Location
http://service.sap.com/instguides
SAP Business Suite Applications
SAP ERP
SAP ERP 6.0
Planning
http://service.sap.com/instguides
SAP NetWeaver
SAP NetWeaver 7.4
Planning
SAP Note
Number
1776739
Title
Description
1.4.4
1848339
1885334
1869640
The following documentation will allow you to obtain the most value from your investment in
SAP Screen Personas.
Name
Purpose
Location
Configuration
Document
2.0_SP2
https://websmp106.sap
-ag.de/instguides
Users Guide
http://scn.sap.com/doc
s/DOC-54574
Under: Technical
Documentation
SAP Screen
Personas
Optimization
Guide
http://scn.sap.com/doc
s/DOC-54574
Under: Technical
Master Guide
2.0_SP02
https://websmp106.sap
-ag.de/instguides
Audience
SAP basis
team
SAP Screen
Personas
administrators
, enterprise
application
team
Enterprise
application
team, key
users, screen
designers,
business
analysts
Enterprise
application
team, key
Documentation
SAP Screen
Personas
Configuration
Addendum
1.4.1
http://scn.sap.com/doc
s/DOC-54574
Under: Technical
Documentation
users, screen
designers,
application
developers
Enterprise
application
team, key
users, screen
designers,
application
developers
Useful Links
Name
Purpose
Location
SAP Personas
Application
Help
SAP Screen
Persons
Getting Started
on SCN
Myth vs. Truth
Documentation
http://help.sap.com/saphelp_personas200_silverli
ght/helpdata/en/33/30f15101d9445ee10000000
a423f68/frameset.htm
http://scn.sap.com/docs/DOC-54574
http://www.sap.com/bin/sapcom/en_us/downl
oadasset.2014-04-apr-29-17.sap-screenpersonas-myths-versus-truth-about-usabilityand-the-user-experience-pdf.bypassReg.html
http://experience.sap.com/fioriguidelines/#FioriDesign
User Roles
This application can be accessed by the following users:
Business Users (or Transaction Users)
This user can view, add, create, edit, share, or remove flavors in the SAP Screen Personas screen.
However, this user needs appropriate permissions from the Admin user to perform these actions.
For more information, see Flavors
Flavors
Definition
Flavor in SAP Screen Personas identifies a specific personalization for a particular SAP transaction in
a specific system.
Use
A Flavor is always linked to a specific SAP transaction (for example VA01). On the other hand, one
particular SAP transaction can have more than one flavor. You can select any of the available flavors
to personalize a specific SAP transaction. By default, the basic flavor is available to all the users.
You can access the flavors through one of the following options:
Flavors are created centrally and are made available to you by the admin user
With required authorization, you can create, edit, share, or remove flavors
Use of this object depends on the authorization given to you. If you are not authorized, then the
Manage Flavor icon will not be displayed and you will not be able to create, edit, share, or remove
flavors. You can only view the flavor and add it to your profile.
Structure
Flavor Gallery
All the available flavors defined for different transactions are listed in the Flavor Gallery. You can
choose any flavor and add it to your profile. All flavors in your profile are shown in the flavor bar. All
flavors that are shared with you are listed in the flavor gallery.
Manage Flavor
The
icon for Manage Flavors gives you different options to work with the flavors. When you login
to the SAP Screen Personas application, by default, you are taken to the Basic View. Here, you can
find the
icon on the right pane of the screen. When you click this icon, the different options to
work with flavors like Set as default, Share with others, Remove from Profile, Create a copy, and Edit
are displayed.
Improve business user productivity by providing only the essential screen elements and data
to complete business transactions faster and more accurately through fewer data entry fields
Increase user satisfaction by automating repetitive tasks and simplifying complex screens
through pre-filled fields and pull-down menus
Reduce the cost of personalization by eliminating the need for ABAP programmers or
scripting experts
Creating Flavors
Setting as Default
Sharing with others
Removing from Profile
Editing a Flavor
Editable Functions
3.
Select a system.
The login screen for the selected system appears.
4.
Click the
in the right pane to open the Manage Flavors menu and choose Create a copy.
8.
Result
The new flavor is saved as a new tab in the Flavor Bar. You can even see the new flavor listed in the
Flavor Gallery. You can switch between the basic view and the new flavor.
3.3
Setting as Default
This option enables you to set a flavor as the default flavor for a particular transaction.
Procedure
1. Click the tab of the flavor in the Flavor Bar that you want to set as default.
2.
Click the
icon and choose the Set as Default option from the Manage Flavor menu.
Result
The flavor is set as default for this transaction.
3.4
Sharing Flavors
Flavors can be shared with different users.
You can share flavors either with an individual user or with a group of users. Note that the users
should be a member of a particular group in order to access the flavors shared within the group.
This helps you to avoid duplicate efforts in creating flavors.
Prerequisites
You can share flavors only if you have the required authorization. The SAP Screen Personas
Administrator of your organization will give you the necessary authorization.
Procedure
...
1. Select a flavor from the Flavor Bar that is not Basic View.
2.
Click the
Choose the Share with others option from the Manage Flavors menu.
The window to share this flavor for this transaction appears. The name of the flavor appears by default
in the Name field of this window.
4.
5. Select the required users with whom you would like to share the flavor, from the list of Users.
You can even search for users using the Lookup in the Users field.
6. If you want to share the flavor with a group of users, choose the required groups. You can
even search for a particular group by using the
Result
The selected flavor is shared with the selected users or group of users. All the users can now see
this flavor listed in the Flavor Gallery of their respective profiles.
3.5
This action requires authorization from the Admin user. You will be able to remove a flavor from a
profile only if you have the appropriate authorization.
If you are using a shared flavor, it cannot be removed from your profile.
Procedure
...
1. Select a flavor from the Flavor Bar that is not Basic View.
2.
Click the
4.
Choose Ok.
The Delete Flavor window appears asking if you want to delete this flavor permanently.
5.
Result
This flavor is removed from your profile and is removed from the Flavor Gallery.
...
3.6
Editing a Flavor
Use
You can edit a flavor only if you are the owner of the flavor and have the edit rights.
Procedure
1. Select a flavor from the Flavor Bar that is not Basic View.
2.
Click the
4.
Make the necessary modifications like hiding or unhiding a button, changing the location of the field,
adding a launch button and so on. For more information, see Editable Functions.
5.
Result
The flavor is modified and saved. The transaction appears according to the modified flavor.
3.7
Editable Functions
This mode allows you to edit a flavor. The tool bar in the editable screen gives you different tools to
modify the flavor according to your needs.
Using this option you will be able to further personalize a flavor or modify a flavor according to the
changing needs of your organization.
This option can be used only if you are the owner of the flavor and you are authorized to edit a flavor. Especially in
the case of shared flavors, you are restricted from editing a flavor as it might be accessed by many other users of
your group.
Prerequisites
You can edit a flavor only if you are the owner of the flavor or have the permission to edit flavors.
Result
The flavor is modified and saved. The transaction appears according to the modified flavor.
The different tools available to edit a flavor are given in the following table:
Editing Tools
Icons
Tool
Function
Bring Forward
Move Backward
Decrease Fontsize
Increase Fontsize
Delete tooltip
Deletes a tooltip
Convert control
Dropdown List
Radio Buttons
Launch button
Script button
Group Box
Label
Text Box
Check Box
Image
Additional Tools
Icons
Tool
Function
Show/Hide Properties
Activities
You start editing a flavor by selecting the required flavor tab from the Flavor Bar.
The system checks if you are authorized to edit the flavor. Once your authorization is confirmed,
the flavor is displayed in the edit mode.
Given below is the table giving keyboard shortcuts for SAP Screen Personas tools:
User Action
Shortcut Keys
Ctrl+Alt+N , Ctrl+Alt+7
Ctrl+Alt+L
Ctrl+Alt+N , Ctrl+Alt+4
Ctrl+Alt+N , Ctrl+Alt+9
Add an image
Ctrl+Alt+N , Ctrl+Alt+8
Add a label
Ctrl+Alt+N , Ctrl+Alt+5
Ctrl+Alt+N , Ctrl+Alt+2
Ctrl+Alt+N , Ctrl+Alt+3
Ctrl+Alt+N , Ctrl+Alt+1
Ctrl+Alt+N , Ctrl+Alt+6
Ctrl+Alt+T , Ctrl+Alt+B
Ctrl+Alt+T , Ctrl+Alt+C
Ctrl+Alt+T , Ctrl+Alt+R
Decrease Fontsize
Ctrl+(-)
Increase Fontsize
Ctrl+(+)
Delete
Ctrl+Alt+G
Ctrl+Alt+H
Ctrl+Alt+M
Ctrl+Alt+O
Ctrl+Alt+C
Ctrl+Y
Ctrl+Alt+J
Insert
Ctrl+Down
Move rule up
Ctrl+Up
Remove rule
Delete
Win+S
Win+Shift+S
Show/Hide Properties
Ctrl+Alt+P
Ctrl+Z
Ctrl+Alt+U
Ctrl+Alt+S
Insert
Delete
Ctrl+Down
Ctrl+Up
Move Backward
Ctrl+PageDown
Bring Forward
Ctrl+PageUp
Given below is the list of properties available for each control and their descriptions:
Property
Editable
Description
Common
Index
No
TreeIndex
No
ZIndex
Yes
TabIndex
Yes
ToolTip
Yes
IsFrontEndOnly
No
IsEnabled
Yes
IsAvailable
No
IsFocused
No
Is control focused
Visibility
Yes
Yes
Basic Control
Top
Yes
Width
Yes
Height
Yes
MinWidth
Yes
MinHeight
Yes
X1
Yes
X2
Yes
Y1
Yes
Y2
Yes
Title
Yes
TitleToolTip
Yes
TitleIconId
Yes
TitleIconToolTip
Yes
RowIndex
No
ColumnIndex
No
ColumnId
No
RowCount
No
Number of rows
ColumnCount
No
Number of columns
Coordinates
Title
Grid
FixedColumnCount
Yes
FixedRowCount
Yes
Number of fixed rows (TableView, GridView rows that cannot be scrolled vertically and are
always visible)
RowSelectionType
No
ColumnSelectionType
No
CellSelectionType
No
IsBoxSelectionMode
No
HasTitleBar
Yes
HasColumnHeader
Yes
HasRowHeader
Yes
ShowHorzLines
Yes
ShowVertLines
Yes
ResizableColumns
No
ResizableRows
No
IsCsvExportAllowed
Yes
IsCachingAllowed
Yes
IsCachingEnabled
No
IsCachable
Yes
Miscellaneous
OrderNumber
Yes
Text
Yes
TextToolTip
Yes
IsReadOnly
Yes
Is control editable
AlignmentRight
Yes
MaxLength
No
IsOutputField
No
IconRight
Yes
IconId
Yes
OnIconId
Yes
IconToolTip
Yes
ProportionalFont
Yes
FontFamily
Yes
FontSize
Yes
FontWeight
Yes
FontStyle
Yes
TextDecoration
Yes
TextAlignment
Yes
IsFlushing
No
IsSelected
Yes
IsSelectable
No
ValueSet
No
ValueSetDelta
No
RadioGroupId
No
Url
No
Stretch
Yes
IsHighlighted
Yes
IsChecked
Yes
IsClickable
No
IsCurrent
Yes
IsHotspot
No
Deleted
No
IsConfigurable
No
IsContextMenuAvailable
No
IsFixedSize
No
Value
No
RowSpan
No
ColumnSpan
No
Id
No
Id of the control
FieldId
No
IsMinimized
Yes
Name
No
NwbcSidePanelID
Yes
BackImage
Yes
BackImageXAlignment
Yes
Formatting
BackImageYAlignment
Yes
BackImageStretch
Yes
BackColor
Yes
ForeColor
Yes
BorderColor
Yes
ConditionalRules
Yes
Yes
Tree
TreeElementStyleInfo
{
Inherited = 0,
Default = 1,
Intensified = 2,
Inactive = 3,
IntensifiedCritical = 4,
EmphasizedNegative = 5,
EmphasizedPositive = 6,
Emphasized = 7,
ColumnHeading = 8,
ColumnKey = 9,
SAP Screen Personas Users Guide
7/2014
ColumnGroup = 10,
}"
No
VertScrollPosition
No
VertScrollSize
No
VertScrollExtent
No
HorzScrollPosition
No
HorzScrollSize
No
HorzScrollExtent
No
ScreenProgram
No
ScreenNumber
No
VKey
No
Accelerator
No
IsNumeric
Yes
IsRecommended
Yes
IsRequired
Yes
No
TreeElementAlignment
Scroll
Screen
Main Menu
Validation
Tabstrip
TabRows
Font
IsBold
Yes
IsUnderlined
Yes
IsItalic
Yes
HorizontalAlignment
Yes
VerticalAlignment
Yes
IsLookupSupported
No
IsLocalHistoryEnabled
Yes
Alignments
MaxNumberOfHistoryEntries Yes
ToggleButton
IsUncheckSupported
No
No
No
Toolbars
HasStaticMenu
TextEditor
WordWrapModeInfo
WordWrapPosition
Yes
ScrollPos
No
Modified
No
SelectionStartLine
No
SelectionStartColumn
No
SelectionEndLine
No
SelectionEndColumn
No
ToolbarVisible
No
StatusBarVisible
No
StatusBarText
No
Has3DBorder
Yes
Headers
No
IsImageVisible
No
Is image is visible
AltText
Yes
BeginYear
No
EndYear
No
Today
No
Today's date
FirstVisibleDate
No
LastVisibleDate
No
HtmlControl
ImageControl
Calendar
FirstSelectedDate
No
LastSelectedDate
No
WeekFirstSelectableDay
No
WeekLastSelectableDay
No
FocusedDate
No
Focused date
ShowDatePicker
No
DatePickerDateFormat
No
DatePickerDate
No
DatePickerFocusField
No
ShowWeekNr
No
Date
No
FieldType
No
MaxHitsField
No
ValueSizeLimit
No
HighValue
Yes
LowValue
Yes
Sign
Yes
Operator
Yes
Yes
Yes
Search Control
ComboBox
ShowKeys
Scripting
UserActions
Referenced controls
ControlReferences
Yes
PushOnEnter
Yes
PushOnClick
Yes
3.8 Examples
Example 1: Hiding Existing Fields
In the edit mode of a flavor you own, select any of the controls and select the Hide selected control
tool in the tool bar.
1. In the edit mode of a flavor you own, select any of the controls to which you want to add a tool tip and
choose Add or update tool tip.
The Add / Update Tooltip screen appears.
2.
1.
In the edit mode of a flavor you own, choose Control Box > Launch Button.
The Define Launch button properties window appears.
2.
Enter the title as VA03 Transaction and transaction code as VA03 and click Ok.
3.
4.
5.
Enter a valid webpage name in the Title field, for example, Bing.com.
6.
Select Webpage from the next dropdown and enter the valid URL for the webpage in the next field. For
example, http://www.bing.com?q={1}+{3}
7.
8.
9.
10.
Click Ok.
The launch button is generated.
11.
12.
Enter Menu Status as Title, select Menu Option and System/Status menu item from the list.
13.
Click Ok.
The launch button is generated.
14.
1.
In the edit mode of a flavor you own, select a control that supports color change like buttons and text
boxes.
2.
3.
4.
In the edit mode of a flavor you own, select the User Area control.
2.
3.
4.
5.
You can select an already stored media file from the drop-down field or choose the Upload button to
select another image.
6.
Choose Ok.
7.
In the edit mode of a flavor you own, select the option to Add a sticky note.
2.
3.
4.
5.
Choose the option Collapsed if you want the note to appear collapsed on the screen.
6.
Choose Ok.
In the edit mode of a flavor you own, select the transaction field.
The Convert Control tool is enabled.
2.
Select the Radio Buttons or Dropdown List option from the drop-down list.
3.
Add the required value in the Control Conversion window and choose Ok.
The new text field appears with radio buttons or a drop-down list as per your selection.
In the edit mode of a flavor you own, select the required control.
2.
Use the horizontal, vertical, or the corner handlers of the selected control and drag it to resize the
control.
You can restore the default text value of a control by clicking the orange arrow in the top-right
corner.
2.
3.
Select the
The recording mode is enabled and a red border appears around the screen.
4.
5.
6.
Click the
in the right pane to open the Manage Flavors menu and choose Create a copy.
8.
In the edit mode of a flavor you own, choose a Script button from the Control Box tool.
The Define Script Button properties window appears.
9.
You can even specify a script in the Script window by clicking the
script for the action.
10. Choose Ok.
In the edit mode of a flavor you own, add a textbox and a button. Refer to the steps
given in Example 3.
Select the textbox and click the (Link) icon from the tool bar.
The Link textbox to button popup appears and the value of the textbox appears in the textbox field.
Click the arrow icon in the Button field and select the button you have added to the flavor.
The value of the button is populated in the Button field of the Link textbox to button pop-up.
Click the Link button.
The textbox is now linked to the button.
In the edit mode of a flavor you own, add a Launch or Script button.
In the Define Launch button properties popup, assign a hot key for the button.
Click the OK button to save the changes.
In the edit mode of a flavor you own, add a Launch or Script button.
In the Define Launch button properties popup, click the Add Icon button. The Define
button properties popup appears displaying the Icon Gallery.
Select an icon and the technical name of the icon will be populated in the Icon field.
Alternatively, you can even upload an icon from other folders and assign it to the button.
Give a name and suitable description for this icon
Click the OK button to save the changes. The button will now display the changed icon.
For a more detailed example of how to create a flavor for example VA01 see Appendix
Scripting
Scripting is a powerful tool that allows you to do various actions like skipping screens, pre-fill
transaction, execute WEBRFC and Javascripts.
1: In the first entry box you will enter the Properties ID of the object you will be manipulating in the
script
Value
Enter Value
Set Current Date
Description
Use Enter Value to assign a specific value to a field on the screen.
Fill the selected text field with the current date. To define the format, fill the value
field with format string. Ex: MM/DD/YY etc.
Push
This duplicates the push action of a button. For example if in a script you are prefilling
fields going to the next screen brining something back, you want the script to push
the enter button go to screen #2 get value and push the back action. So you would
use this to simulate a push.
Focus
Use this action to move the focus around the screen deliberately this can be useful
to ensure that a specific field or button is selected after the execution of a script.
Check
Use this action to mark a check-box as checked or a radio button as selected. Use uncheck to de-select a checked check-box. To deselect a radio button you will need to
check a corresponding counterpart.
Uncheck
Use this action to remove the check indicator from a check-box. Please note that
SAP Screen Personas Users Guide
7/2014
Copy Value
Paste Value
Copy Table
Refresh Screen
Press Enter
Press F Key
Click
Double Click
Right Click
Refresh
Html/Viewer
Launch Website
Comment
Select
Close Window
Set Selection
Add to selection
Clear selection
Scroll
Horizontally
Scroll Vertically
Change date
Add Condition
Remove
Conditions
Calculate in
javaScript
Call WebRFC
Update NWBC
Side Panel
header corresponds to row 0). Please note that when scrolling a table the rows
remain static while the data is moved between the rows.
Clear selection ensured that no entry in a table or grid is selected. Any existing
selection will be removed. To add selections use Set Selection or Add Selection.
Using Scroll Horizontally you can define the scroll position in a table. The action
parameter refers to the column to scroll to.
Using Scroll Vertically you can define the scroll position in a table. The action
parameter refers to the absolute row to scroll to.
Use this action to change the date of a calendar to any value even if it is currently not
displayed. This action requires the parameter date which must be formatted
yyyymmdd e.g. 19820530 for May 30th, 1982.
Use this action to add a new search condition to a search request. This action is only
available for the SearchHelp Control (F4 Help).
Use this action to clear all search conditions that are currently set. This action is only
available for the SearchHelp control (F4 Help).
Use this action for calculation or manipulation beyond the available actions. Variables
created using the Copy Value action are accessible using the args.<variablename>new variables can also be created following the same pattern. Example
args.new=args.old+1; create or overwrite the existing variable args.new with a value
calculated by adding 1 to the content of the variable args.old.
Use this action to pass values as url parameters to a url and parse a json response and
pass its values into a set of corresponding variables which can be pasted into fields or
manipulated using the Calculate in JavaScript action. Additional information on the
expected format or how to use a web RFC are available at SCN Community.
SAP Screen Personas sends the "key/value" pair of any textbox present in the screen
to NWBC Side Panel by raising an EPCM event.
5 Administration Transaction
The administration transaction is /PERSOS/ADMIN_UI. This transaction is used by the SAP Screen Personas
Administrator (admin user) to manage the configuration and other system activities, in order to support the
business users.
Following are the functions of an admin user:
More Information
General Actions
Flavor Maintenance
Media File Maintenance
ShortLink Maintenance
Transport Objects
Group Management
Group Maintenance
Mass Group Maintenance
User Management
User Maintenance
Mass User Maintenance
Translation
Prepare for Translation
Delete Unused Translation
For information on System Landscape Maintenance, please refer to the IMG documents in the system.
Prerequisites
The admin user must have SAP Screen Personas Administrator Transaction rights in order to perform
these functions.
5.1.1
Flavor Maintenance
As an admin user, you can manage different flavors assigned to the SAP Screen Personas systems.
Process
You can:
Assign/remove groups to which the flavors have been assigned
Assign/remove users to whom the flavors have been assigned
Assign/remove systems to which the flavors have been assigned
Copy flavors to reuse
Share Flavors with groups
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Choose the Flavor Maintenance button in the left panel.
Select the required flavor from the list of created flavors.
Choose Change to view the flavor in edit mode.
Choose Assign Group.
The Group ID screen appears.
Enter the Group ID, Description, or Created By information and click (Ok).
A list of groups appears.
Select the required group to which you want to assign this flavor and click (Ok).
This group is assigned with the selected flavor and all the users of this group will now
be able to use this flavor.
14 Choose Save.
To delete a Group:
Select the required group from F4 Help or type a valid group name and choose Remove
Group. This will remove the group from the Groups section of the Flavor Maintenance screen.
The users of this group will no longer be able to use this flavor.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Flavor Maintenance button in the left panel.
Select the required Flavor from the list of created Flavors.
Click Change to view the Flavor in edit mode.
Click Assign User.
The User Search Help screen appears.
Enter User name or the First and Last name of the user and click (Ok).
A list of available users appears.
Select the required Users and choose (Ok).
The selected users are added to this Users section. All these users will now be able to use the
selected Flavor.
14 Choose Save
To remove a User:
Select the required users from the Users section in the Flavor Maintenance screen and choose Remove
User. The removed users will no longer be able to use this flavor.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Flavor Maintenance button in the left panel.
Select the required flavor from the list of available flavors
Click Change to view the flavor in edit mode.
Click Assign System.
The System Config data screen appears.
Enter the System ID, Client, or the title of the required Personas system and click (Ok).
A list of available SAP Screen Personas systems appears.
Select the required system and click (Ok).
The selected system is added to the Systems section. All the users using this system will now be
able to use this flavor.
14 Click Save.
To remove a System:
Select the required system from the Systems section in the Flavor Maintenance screen and click Remove
System. The users using this system will no longer be able to use this flavor.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand the General Actions section on the left pane.
Choose the Flavor Maintenance option.
Select the required flavor from the list of available flavors using the F4 help.
Click the (Share Flavor with group) icon.
Result
This flavor will now be available in the Flavor Gallery of all the users of a particular Group. The users can
pick this flavor from the Flavor Gallery and add it to their profile.
5.1.2
As an admin user, you can manage different media files that can be utilized by the business
users of the SAP Screen Personas systems.
Prerequisites
The admin user must have created the required images and stored them in the required location.
Process
You can:
Create a new media file
Change the media file
Generate a media URL
Make media file global
Delete a media file
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Media File Maintenance button in the left panel.
The Media File Maintenance screen appears.
Enter a name for the media file and click (Create).
Select the required image file from the location where the image is stored and click Open.
Upon selecting the image, the media URL is populated. The system uses this URL to display the image.
The same URL is used internally by the system when the business user selects the image in the frontend of the Personas system.
10 Choose the Global option to make this a common image for all the users.
11 Click Save.
Enter the name of the media file in the Media field and click the (Display) icon. The details of the media
file are displayed.
Click Delete.
The selected media file will be removed and will no longer be accessible to any of the users.
5.1.3
Shortlink Maintenance
As an admin user, you can manage the ShortLink that is provided to the business users in
order to access the required flavors directly.
Process
You can:
Create Shortlinks
Delete Shortlinks
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the ShortLink Maintenance button in the left panel.
The ShortLink Maintenance screen appears.
Enter the transaction code, system, and flavor in their respective fields.
Click Get Short Link.
The link is generated. This link can be used by the admin user or the business user to directly access the flavor
screen.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the ShortLink Maintenance button in the left panel.
The ShortLink Maintenance screen appears. You can see that all the Shortlinks are listed in the Delete
Shortlinks table.
Select the ShortLink you want to delete and click the Remove ShortLink button.
5.1.4
Transport Objects
As an admin user, you can manage the Groups, Flavors, and Media Files to be transported from one
Personas system to another. This will help you to avoid recreating the same group in another Personas
system.
Prerequisites
The admin user must have Personas Administrator Transaction rights in order to perform these functions.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Transport Objects button in the left panel.
The Transport Personas screen appears.
Click Add Group and in the Group ID window, enter the title of a group and execute it.
The group is added to the Groups section in the Transport Objects screen.
Select the group and click Transport Group.
In the Enter Transport Request window, provide an existing request number or create a new request by
choosing Create Request.
11 Enter a suitable description for this request.
12 Click the Transport button.
The group is transported to the required system along with the users and flavors attached to this group.
1
2
3
4
5
6
7
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Transport Objects option in the left panel.
The Transport Personas screen appears.
Click Add Flavor and in the Flavor ID and Description window, enter the name and transaction code of
the required flavor and choose (Ok).
8 The flavor is added to the Flavors section in the Transport Objects screen.
9 Select the flavor and click Transport Flavor.
10 In the Enter Transport Request window, provide an existing request number or create a new request by
choosing Create Request.
11 Enter a suitable description for this request.
12 Click the Transport button.
The flavor is transported to the required system.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Transport Objects option in the left panel.
The Transport Personas screen appears.
Click Add Media File in the Media Files section.
In the Media File and Description window, enter the name and transaction code of the required media
file and choose (Ok)
The media file is added to the Media File section in the Transport Objects screen.
Select the Media File and click the Transport button.
In the Enter Transport Request window, provide an existing request number or create a new request by
choosing Create Request.
Enter a suitable description for this request.
Click the (Ok) button.
The media file is transported to the required system and is ready to use for the Personas user.
5.2.1
User Maintenance
As an admin user, you can manage the business users assigned to different Personas systems.
Process
You can:
Select users and assign them to appropriate groups
View user details
Manage groups
Manage systems
7
8
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the User Maintenance button in the left panel.
The User Maintenance screen appears.
Enter the user name, group name, or role name and click User Details.
The details of the user are populated in the Users section of the User Maintenance screen.
Select the required user in the Users section and click Manage Groups.
The Group Maintenance for User screen appears with a list of existing groups displayed in the Group
Membership.
Select the required group from the list or add a new group by click Add Group.
The Group ID window appears where you can provide the title of the group and execute. The required
group is displayed under the Group Membership section.
Select the group and click (Ok).
The user is now assigned to a group.
Click Save.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the User Maintenance button in the left panel.
The User Maintenance screen appears.
Enter the user name, group name, or role name and click User Details.
The details of the user are populated in the Users section of the User Maintenance screen.
Select the required user in the Users section and click Manage Systems.
The System Maintenance for User window appears with a list of available systems displayed in the
System Access section.
Select the required system and click (Ok).
The system is now assigned to this user.
As an admin user, you can assign SAP Screen Persona systems and roles to a group of users in the Mass
User Maintenance Screen.
Process
You can:
Assign systems to groups of users
Assign roles to the users
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the System Config IDs of the users using the F4 help option.
Click the Execute button to start assigning the roles and systems to the users.
Alternatively, you can even click the Execute in Background button. While the execution proceeds in the
background, you can continue with other tasks. Once the process is complete, the users can view the
assigned systems on their System
Selection screen when they login to their SAP Screen Persona system.
Prerequisites
The admin user must have SAP Screen Personas Administrator Transaction rights in order to perform these
functions.
5.3.1
Group Maintenance
As an admin user, you can manage groups of business users for this application.
Process
You can:
Create, change, or delete a group
Assign permissions for different users based on their role and business needs
Add/remove a user from a group
Assign specific flavors to a group of users
Remove flavors assigned to a group
Copy group to reuse
5.3.1.1
Creating Groups
Procedure
1
2
3
4
5
6
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left
panel.
Choose the Group Maintenance button in the left panel.
Enter the title of the new group in the Group field and choose the (Create Group) icon.
The Create Group screen appears.
Enter a suitable description and choose the appropriate Personas system.
Choose Create.
The new group is created and the details can be viewed by entering the group name
in the Group field and choosing the (Display) icon.
Choose Save.
To delete a Group
Select the required group from F4 Help or type a valid group name and choose Delete. This will delete the
group.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
3
4
5
6
7
5.3.1.3
Procedure
1
2
3
4
5
6
7
8
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Click the Group Maintenance button in the left panel.
Select the required group from the list of created groups.
Click Change to view the group in edit mode.
Choose Assign User.
The User Search Help screen appears.
Enter a user name or the first and last name of the user and click (ok).
A list of available users appears.
Select the required users and click (ok).
The selected users are added to this group. All these users will now be able to use any of the flavors
assigned to this group.
Click Save.
5.3.1.4
Copying Groups
Procedure
1
2
3
4
5
6
7
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_uiin the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Choose the Group Maintenance button in the left panel.
Select the required group from the list of created groups.
Click Copy.
The Copy Group screen appears.
Enter a suitable title and description and choose Create.
A new copy of the group along with the flavors and users is created.
Click Save.
5.3.2
As an admin user you can create groups based on PFCG (Profile Generated) roles.
Process
You can:
Create mass groups of users with using PFCG roles
Delete mass groups
Import roles from excel
Procedure
1
2
3
4
5
6
7
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand the Group Management button in the left panel.
Select the Create Groups from PFCG Roles.
The Mass Group Creation screen appears.
Click the Add PFCG Roles icon.
Select the required PFCG Roles and copy them.
Click Create/Update button.
The selected PFCG Roles are added to the profile and all the users who have been assigned these roles are
grouped together based on the parameters - system, client, and roles.
Prerequisites
The admin user must have SAP Screen Personas Administrator Transaction rights in order to perform
these functions.
5.4.1
As an admin user you can change the control specific profile settings from this screen.
Process
This feature allows you to change the settings of a group of controls in a particular Persona
system. You can:
Change settings based on User Profile or Group Profile
Change the properties of all the controls or selected controls
Copy the settings of one user profile or group profile to a target profile
Delete settings of all the controls or selected controls of a particular profile
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Control Specific Profile Settings option.
Choose User or Group profile of which you want to change the control settings and press Enter.
Select the required user/group using the F4 option and click the Display button. All the controls of
the selected user or group will be populated in the Control Property Details table.
7
8
9
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field. The admin screen is displayed with
all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Control Specific Profile Settings option.
Choose User or Group profile of which you want to change the control settings and press Enter.
Select the required user/group using the F4 option and click the Edit button.
All the controls of the selected user or group will be populated in the Control Property Details
table.
Select the required control and click the Set Properties button.
The properties of the selected control are populated in the table below Set Properties button.
Assign the required values for the properties in the Property Value column.
Click Save to save the modifications.
The user or the group of users will now be able to see the controls according to the changed
properties.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Control Specific Profile Settings option.
Choose User or Group radio button and press Enter.
Select the required profile.
Click the Copy button.
A popup appears on your screen asking for the target User or Group profile.
Enter the target user or group profile.
Click Copy to copy the properties of all the controls of the one user or group to the
target user or group of users.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Control Specific Profile Settings option.
Choose User or Group profile of which you want to delete the control settings and press Enter.
Select the required user/group using the F4 option and click the Delete button.
The changed properties of all the controls of the selected user or group will be deleted.
5.4.2
The admin user can change the type specific profile settings from this screen. This feature
allows the admin to change the type settings of all the controls in a particular Persona system.
Process
This feature allows you to change the type settings of a group of controls in a particular
Persona system. You can:
Change type settings of all the controls or selected controls by selecting a User
Profile or Group Profile
Copy the type settings of the controls of one user profile or group profile to a target
user or group profile
Delete type settings of all the controls or selected controls of a particular profile
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Type Specific Profile Settings option.
Choose User or Group profile of which you want to change the control settings and press Enter.
Select the required user/group using the F4 option and click the Display button.
All the type settings of the controls of a selected user or group will be populated in the Control
Property Details table.
7
8
9
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Type Specific Profile Settings option.
Choose User or Group profile of which you want to change the control settings and press Enter.
Select the required user/group using the F4 option and click the Edit button.
All the type settings of the controls of a selected user or group will be populated in the Control
Property Details table.
Select the required control and click the Set Properties button.
The properties of the selected control are populated in the table below Set Properties button.
Assign the required values for the properties in the Property Value column.
Click Save to save the modifications.
The user or the group of users will now be able to see the controls according to the changed
properties.
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
2 Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
3 Expand Profile Wide Settings in the left panel.
4 Select Type Specific Profile Settings option.
5 Choose the Group radio button and press Enter.
6 Select the required profile.
7 Choose the User radio button and press Enter.
8 Select the required profiles.
9 Click the Copy button.
A popup appears on your screen asking for the target User or Group profile.
10 Enter the target user or group profile.
11 Click Copy to copy the properties of all the controls of one user or group to the target user or group
of users.
1
2
3
4
5
6
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select Type Specific Profile Settings option.
Choose User or Group profile of which you want to delete the control settings and press Enter.
Select the required user/group using the F4 option and click the Delete button.
The changed properties of all the controls of the selected user or group will be deleted.
5.4.3
The admin user can change the text of all the controls or specific controls in a Personas system from this
screen.
Process
Change all or selected texts appearing on the screen of the Personas system
Replace all or selected texts with customized texts
Procedure
1
2
3
4
5
6
7
8
9
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Profile Wide Settings in the left panel.
Select the Global Text Replacement option under Profile Wide Settings.
The Global Text Replacement screen appears.
Select the User radio button and click Enter.
Using the F4 help, select the required user profile of which you want to change the texts.
In the Original Text column place the text you want to replace.
In the Replacement Text column place the new text.
Click the Save button in the tool bar. The original text will be replaced by the
replacement text in the Personas system of the selected user or group profile.
5.5 Translation
As an admin user, you can trigger the translation process of the texts in a Personas system.
You can:
Prepare for Translation
Cleanup Redundant Translation
Prerequisites
The admin user must have Personas Administrator Transaction rights in order to perform these functions.
5.5.1
Procedure
1
2
3
4
5
6
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction/persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Translation in the left panel.
Select the Prepare for Translation option under Translation.
Click the Add Flavor button and select the required flavor.
The selected flavors are listed in the Prepare for Translation table.
Click the Create OTR Objects button to trigger the Translation process.
Once the process is triggered, the objects are sent to the respective Translation systems. After the
completion of the translation, the objects will be sent back to the systems and the texts on the
selected flavors will appear in the translated language.
5.5.2
Procedure
1
2
3
4
5
6
Log into an SAP system providing a valid user name and password.
The SAP Easy Access screen is displayed.
Enter the transaction /persos/admin_ui in the Transaction field.
The admin screen is displayed with all the administrative activities listed in the left panel.
Expand Translation in the left panel.
Select the Cleanup Redundant Translation option under Translation.
Select the Text and the Alias.
Click the Cleanup button.
The selected texts will be restored back to its original language.
Corbu theme:
index.html?theme=Corbu
Frameless:
index.html?frameless=true (no header, footer, etc..)
Width and height:
index.html?width=640&height=480 (opens personas with the given size in pixel)
Specific backend language e.g German:
index.html?sap-language=DE
System: index.html?sytem=<systemconfigid>
Transaction index.html?sytem=<systemconfigid>&~transaction=<tcode> (only in
combination with system)
Flavor index.html?sytem=<systemconfigid>&flavor=<flavorid> (only in combination
with system)
Shortlink e.g. va03 on B9F with specific flavor:
nwbc.html?link=<linkid> (starts Personas with a specific system and flavor. Link needs to
be created by an administrator.)
Logging: allows to get more information of what happens behind the themes e.g. debug
index.html?log=debug
After you opened the Edit mode of the transaction SMEN (SAP Easy Access) switch between the flavors that are
already available.
The following can be performed with SAP Screen Personas HTML version:
Default flavor
Set as public
Rename
Duplicate
Delete
Share with Users
Change Theme Options
Appendix
Enter the following to open the Create Sales Order transaction for creating your own flavor:
Transaction Code
2.
VA01
Choose the Flavor Menu icon in the upper right corner of the screen.
4.
In the Dialog box Create a private copy enter the following information:
Field Name
Entry Value
Name
5.
Choose OK.
6.
Choose Save.
Select the GUI elements that you want to Include or Exclude in the Flavor
You can select those GUI elements that are not necessary for the business process for which you are creating a
flavor. You can exclude these elements by hiding them. These GUI elements can include
Individual fields
Individual buttons
Additionally you select those elements that you wish to include in the flavor, for example buttons from the
menu- or application bar. Otherwise these individual elements would be hidden when the larger element group
to which they belong, for example menu bar, is hidden.
You have to move all GUI elements you need for further processing to a save screen region. This is important, if
the GUI element is a part of a bigger GUI unity, which should be hidden in a later step. You have to process the
following steps when you are in edit mode for the flavor.
If you are not in edit mode for the flavor, choose Flavor Menu Edit.
1.
Choose an element from the menu- or application bar which should not be hidden, for example Exit button.
2.
Place the element somewhere on the main apron of the screen using drag-and drop.
At this stage it is not important to place these selected elements precisely in their final intended
position. It is important to have them selected and available for later positioning.
Repeat steps 1 and 2 for all elements that have been selected to be available in the flavor. This applies to
the following elements:
Element Name
Exit button
Menu bar
Cancel button
Menu bar
Back button
Menu bar
Enter button
Menu bar
Screen
Screen
You hide unnecessary GUI elements as well as marking selected fields for exclusion from being hidden with
the following steps when you are in edit mode for the flavor.
If you are not in edit mode for the flavor, choose Flavor Menu Edit
.
4.
5.
Choose the Hide selected controls option to hide the current selected element. The element and any
content that is included in it disappear.
If you select a box to be hidden, all of the fields within the box will also be hidden. If you wish
to include an individual field from the box in the flavor you need to specifically select it for
inclusion as described in step 1 above.
Repeat step 3 and 4 for all elements that will be hidden in the flavor. This applies to the following
elements:
Element Name
Menu bar
Application bar
Organizational data
If required, you can make hidden elements visible or hide elements by clicking the Control
visibility of hidden objects buttons on the upper right hand side (see Figure 10).
Choose Save.
For your flavor, for example SAP Create SO, you have selected elements for exclusion and inclusion in
the flavor. Currently you have not configured the final positioning of these fields or the appearance of
the flavor. It is possible to enter values into an input field and use this value as predefined default when
saving the flavor.
Now you can configure the flavor for the End User Consumption
This configuration includes for example:
Adding a box
4. Move the picture to the back, to bring the other elements (buttons, fields, labels) to the front.
5. To add a button panel choose Open Control Box and select Image
Now you have a flavor that is available for the business users.
It is possible to set a flavor as default. In this case the flavor will be directly executed when the user
enters the screen. To set a flavor as a default, choose Manage Flavor and then choose Set as
default.
To undo this step, select the Basic View and set it as default.
If a flavor is not set as default, the business user can execute it if they are assigned
to it, but they must explicitly choose the flavor from the ribbon above the menu bar
when they execute the transaction.
2. Enter the transaction /n/persos/admin_ui in the Transaction field or from User Menu.
The admin screen is displayed with all the administrative activities listed in the left panel.
3. Choose the Transport Objects option in section General Action of the left panel.
The Transport Personas screen appears.
9. In the Enter Transport Request window, provide an existing request number or create a new
request by choosing Create Request.
10. Enter a suitable description for this request.
11. Choose the Transport button.
http://scn.sap.com/docs/DOC-39435
http://scn.sap.com/docs/DOC-35492
http://scn.sap.com/docs/DOC-35565
http://scn.sap.com/docs/DOC-39179
http://scn.sap.com/docs/DOC-40457
http://scn.sap.com/docs/DOC-40891
http://scn.sap.com/docs/DOC-35479
http://scn.sap.com/docs/DOC-40940
http://scn.sap.com/docs/DOC-40457
www.sap.com/aboutsap/events/search/overview/index.epx?EventID=9384
www.sap.com/community/showdetail.epx?ItemID=24413
www.sap.com/community/showdetail.epx?ItemID=24436
www.sap.com/community/showdetail.epx?ItemID=24419
www.sap.com/community/showdetail.epx?ItemID=24423
www.sap.com/community/showdetail.epx?ItemID=24425
http://scn.sap.com/community/sap-screen-personas
http://scn.sap.com/community/gui/blog/2013/07/10/personas-scripting - More scripting
information
http://scn.sap.com/community/gui/blog/2013/07/30/calling-rfcs-from-a-personas-script Calling RFC
http://wiki.sdn.sap.com/wiki/display/Img/SAPScreenPersonas - SDN Link for Personas
8.7 Tips/Tricks
The following list of examples of some of the things that users have done in Personas. This list is not
exhaustive list.
Launching SAP Screen Personas Flavor with parameters from CRM7
1. Determine base URL and mode
For a plain NetWeaver On-Premise system the base URL is usually <Protocol>://<FQDN of
server>:<port>/sap/bc/bsp/persos/mainapp/<index.html|nwbc.html|index_access.html>.
i.e. https://lds.wdf.sap.corp:44311/sap/bc/bsp/persos/mainapp/index.html.
This refers to the base URL as <baseURL>. If you want to add parameters to the base URL,
remember that the base URL and the first parameter must be separated by a ? and further
parameters from each other by a &, like <baseURL>?<first Param>&<second Param>&<third
Param>.
2. Determine system, transaction and flavor
There are different ways to specify the system, transaction and flavor to be called:
<baseURL>?~transaction=<tcode>
The transaction <code> is called with the user's default flavor. This works only when the
user has exactly one system assigned!
<baseURL>?system=<systemconfigid>&~transaction=<tcode>
The transaction <tcode> is called in the system identified by ID <systemconfigid> with the
user's default flavor. The system ID can be taken from field SYSCONID of table
/PERSOS/SYSCON.
<baseURL>?system=<systemconfigid>&flavor=<flavorid>
The flavor identified by ID <flavorid> is called in the specified system. The flavor ID can be
taken from field FLAVORID of table /PERSOS/FLAVOR.
<baseURL>?link=<linkid>
The link identified by ID <linkid> (specifying a flavor and a system) is called. The link ID can
be created using the transaction /PERSOS/ADMIN_UI.
When you just want to call a specific transaction and/or flavor without passing any
parameters you are done now.
Say you want to pass the user's ID ("I810477") as a parameter and have the user displayed
("Skip first screen").
Set the cursor to the field you want to supply with the parameter and hit F1, then press the
hammer and wrench button for Technical Details:
The name of the dynpro field can be specified as a parameter in the URL, i.e.
<baseURL>?~transaction=SU01D&SUID_ST_BNAME-BNAME=<UserID>.
To trigger a press of the glasses button to display the user data you need the OK-Code of
the button. In the SAPGui (it will not work in Screen Personas or WebGui!) press the button
with the mouse and simultaneously hit the F1 key. Then release the mouse button and a
popup will come up:
The function code must be supplied as value for the URL parameter ~okcode, so the URL
will look like <baseURL>?~transaction=SU01D&SUID_ST_BNAMEBNAME=<UserID>&~okcode=SHOW.
Or, as a "real" URL:
https://ldcizns.wdf.sap.corp:44311/sap/bc/bsp/persos/mainapp/index.html?~transaction=S
U01D&SUID_ST_BNAME-BNAME=BCUSER&~okcode=SHOW
WebRFC simply calling an RFC from javascript
http://scn.sap.com/community/netweaver-as/blog/2012/08/07/webrfc--simply-calling-anrfc-from-javascript
ii.
CopyTable
ID: control id of the table
Content: variable name e.g. table
Calculate in JavaScript
ID: ses[0] (id is ignored)
Content: The JavaScript code e.g. see below a snippet that sums the
content of the 6th column (starting counting with 0)
iii. Paste Value
ID: control id of the field that should show the sum
Content: variable name that has been defined in your JavaScript snippet
e.g. sum
args.sum = 0;
for (var i=1; i<args.table[5].length; i++) {
if (!isNaN(args.table[5][i])){
args.sum += parseInt(args.table[5][i]);
}
}
**Dynpro screen only the visible rows of a table are known on the client-side,
therefore, only their visible values are used. If you want to calculate something
based on a full table, you need to cache it first.
Create a button that does the action you want it to (launch transaction, run script,
etc.). You probably want to make this button invisible eventually, because the user
will be clicking your image instead.
Now select the image and open its Properties. Scroll to the bottom and
paste the ID of the button in the PushOnClick field.
Save and close. Now clicking the image will carry out the action associated
with the button.
How to integrate SAP Screen Personas flavor into the SAP Portal
http://scn.sap.com/community/gui/blog/2014/03/19/integrating-sap-screenpersonas-into-sap-portal
8.8 Troubleshooting
8.8.1
It is not very uncommon to see end user error saying Control not found. This is usually thrown
from Personas component due to failure in script.
If the script was recorded for predefined set of user actions. The recorded script works very well
as long as the sequence of user actions remains same. Whenever there is a change in the
sequence, the scripts are not ready to handle the change and throw this kind of error.
Just to give an example, scripts created for one order type might fail at times when try with
different order due to difference in user actions (example could be pop ups) for both of them. To
overcome this problem, it is recommended to keep in mind as many scenarios as possible and
adjust your scripts not to fail in unforeseen conditions. You may have to use conditional scripting
and also right conditions to achieve that. If all the scenarios are not possible to visualize at the
time of scripting, it is recommend to cover them at least in testing so that no surprises for end
user.