Quantcast
Channel: SCN : Document List - SAP GUI
Viewing all 253 articles
Browse latest View live

SAP Screen Personas 2.0 - How to embed IF conditions in scripts

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

In our article SAP Screen Personas - How to fetch data from another screen, we have shown how you can use Personas to navigate to another screen, copy important data from this screen and finally navigate back to update fields of the current screen. All this without re-rendering, so that it feels to the end-user as if they are remaining on the original screen.

 

In our SU01D demo scenario this works nicely as long you enter an existing username. However, if the username doesn’t exist, the script execution is interrupted with an error message and the current screen, in this case an error popup, is shown.

 

You might agree that this is not the most beautiful solution. Fortunately, Personas offers IF conditions that you can use in scripts. This handles such situations in a way that contributes to the overall usability enhancements you are building.

To see how all this works, please have a look at the video. It starts with the "Quick View" flavor shown in the How To mentioned at the beginning of the document and enhances it to support handling of popup messages.

 

 

Step-by-step:

  1. Show how the existing flavor works with a known user and an unknown user
  2. Switch to edit-mode
  3. Double click the Script Button
    1. Select the Copy Value action
    2. Copy the id of the control
    3. Add a new action
    4. Convert the new action into an IF condition
      1. Select "is not empty"
      2. Enter the copied control id
    5. (Important) Move the action below the "Refresh Screen" and "above the first "Copy Value" action
    6. Convert all actions below the IF into conditional action
  4. Save & Exit
  5. Test with a known user and an unknown user
  6. Bring the transaction to the state when the error popup is shown
  7. Switch into edit-mode
  8. Copy the id of the label containing the error (and remember the id of the button that needs to be clicked)
  9. Cancel editing
  10. Close the popup
  11. Switch to edit-mode
    1. Add a new label to show the error message
    2. Double click the Script Button
    3. Add a new action
    4. Convert the new action into an IF condition
      1. Select "is not empty"
      2. Enter the copied control id of the error message
    5. Add an additional actions to
      1. Copy the error message
      2. Push the button
      3. Paste the value into the label that has been added before
    6. Make all actions condition actions for the last IF
  12. Save & Exit
  13. Show how the new flavor works with a known user and an unknown user

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.


SAP Screen Personas 2.0 - How to execute a transaction and display the result

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

After the webinar "Streamline the Order-To-Cash process with SAP Screen Personas", we received a question about how to execute a complete transaction and just show the final status to the end-user. In the webinar we have used our flavor of the "Create Sales Order" transaction VA01 to create a simple sales order on one screen. To do so, we have added some additional input fields on the first screen of VA01 and then ran a script that executed the 2nd screen without showing it but displayed the status message from the 2nd screen on the 1st screen.

 

For this how to, we used a simpler scenario: Creating a notification without leaving the SAP Easy Access screen (SMEN). The actions used to achieve this can of course be reused with any other transaction or scenario.

 

 

 

Step-by-step:

 

  1. start script recording
  2. navigate to the "Create Notification" transaction IW21
  3. enter demo data
    1. Notification type "M1"
    2. Press Enter
    3. Description: "Just a demo"
    4. Push the save button
  4. (trick) click on the status bar so that a click action is added to the script which we can modify later
  5. navigate back to the SAP Easy Access Menu screen (SMEN)
  6. stop recording and temporarily store the script
  7. create a copy of Basic View
  8. do some basic editing
    1. remove the tree and the splitter container
    2. add a group box
  9. add a label that is used to show the status
  10. create a script button and upload the script that you have recorded
  11. convert the click action into copy value actions (assign a meaningful name e.g. status)
  12. add a paste value action at the end of the script and map it to the previously added label
  13. (important) add a refresh screen action right before the copy value action (this is needed because copy value is executed on client-side and refresh screen returns the current state of the screen from the server)
  14. close the dialog
  15. save and exit
  16. test!

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas 2.0 - How to access the selected row in a grid

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

This how to describes with an example the solution discussed at SAP Personas - dynamic selection of line from report. This example scenario requires some advanced SAP Screen Personas features like the execution of JavaScript snippets (more information at SAP Screen Personas 2.0 - How to go beyond the existing script actions), executing scripts and showing data on a different screen (more information at SAP Screen Personas 2.0 - How to execute a transaction and display the result) and finally the linking of a script button to an enter-key press event.

 

As an example, the transaction VA05N (List Sales Orders) has been chosen. On the first screen the user enters a search criteria and executes the search. The second screen shows a grid with all sales orders that meet the search criteria. Using Personas, we have extended the first screen with an additional display field which is to be automatically filled with the net value (column 18) of a sales order by a script that is executed on the 2nd screen. The script execution is started after the user selected a row in the grid an and the user pressed enter. The demo video shows, how to modify the screens and then two runs showing that the script works.

 

 

Step-by-step:

  1. Extend the first screen of VA05N
    1. Create some space for the new controls
    2. Add additional group box, label and text field
    3. Copy the id of the text field (temporarily paste into a text file)
    4. Save & Exit
  2. Execute the search with a sample search criteria (order number 0 to 5000)
  3. Switch into edit-mode
  4. Copy the id of the grid
  5. Add a script button
    1. Add a Copy Table action, as id use the previously copied grid id, as content define the variable name table
    2. Add a Calculate in JavaScript action that extracts the net value (column 18) from the currently selected row
      1. args.value = args.table[18][parseInt(args.row) + 1];
    3. Add a Push action for the button that brings the user back to the first screen
    4. Add a Paste Value action that pastes the content of the parameter value into the additionally created text field
  6. Bind the script button to the event of pressing enter while the grid is focused
    1. Open the Properties Editor
    2. Select the script button
    3. Copy its id (left click on the id)
    4. Select the grid
    5. Scroll until you see the property PushOnEnter
    6. Paste as value the id of the script button
  7. Save & Exit
  8. Test the script

 

Important: the parameter args.row is only available in the script when it is triggered by the press-enter event on a table or grid. If the script is executed by pressing the button, args.row is not defined, therefore,it is recommended to hide the button, so that it cannot be clicked.

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas – Getting Started

$
0
0

SAP Screen Personas allows companies to improve user productivity by personalizing their SAP ERP screens. You can simplify screens by removing fields you don't use, converting free text entry to pull-down menus, and automating recurring keystrokes.

 

By providing the right information to the right users in the right context, they can get more done in less time with greater accuracy. With more intuitive SAP screens, organizations can enhance user satisfaction, minimize training time, and spend less money on screen modifications. SAP Screen Personas is one of several ways to improve SAP usability.

 

Product page

SCN SAP GUI page

Overview Presentation

Customer success webcast

How to join the monthly SAP Screen Personas Practitioner Forum (for customers only)

SAP Screen Personas getting started checklist

 

How to validate your installation

How to configure the system

Upgrading ERP – impact on Personas by Steve Rumsby

Run Simple with SAP Screen Personas

Myth vs. Truth series by Peter Spielvogel

Personas for Oil and Gas

Personas return on investment

SAP Screen Personas product roadmap

Personas in action at University of Warwick by Steve Rumsby

 

SAPPHIRE NOW 2014

SAP Screen Personas now included with underlying SAP licenses

How customer feedback shaped the future of SAP Screen Personas– SAPPHIRE NOW session summary

SAP Screen Personas SAPPHIRE NOW highlights and more myths busted

SAP Screen Personas at SapphireNOW by Steve Rumsby

 

Customer Videos

Freescale session from SAPPHIRE NOW 2014 on their SAP Screen Personas implementation

Unilever on how new screens improve user satisfaction with SAP.

SAP Screen Personas 3.0

New (2014.08.15) SAP Screen Personas 3.0

SAP Screen Personas 3.0 Product announcement

How to apply for SAP Screen Personas 3.0 ramp-up

SAP Screen Personas 3.0 FAQ - coming soon

Link to SAP Screen Personas 3.0 parent note

Details on SAP Screen Personas 3.0 ramp-up (your application must be approved before you can download the product)

 

SAP Screen Personas 3.0 Demo Videos

Coming soon

 

SAP Screen Personas 3.0 Training Content

Coming soon

 

SAP Screen Personas 3.0 Technical Documentation

ITS Sizing Guide

NEW (2014.08.29) - SAP Screen Personas 2.0 to Personas 3.0 Flavor Migration Demo

NEW (2014.09.04) - Troubleshooting tips and tricks (link to SAP Note 2063343)


SAP Screen Personas 2.0

SAP Screen Personas 2.0 Demo Videos

Introduction to Personas (6 minutes)

Writing a simple script (2 minutes)

 

Webcast on SAP Screen Personas business value (47 minutes)

 

SAP Screen Personas 2.0 Training Content (with embedded videos by developers and customers)

SAP Screen Personas 2.0 Basics

How to get started

How to merge tabs

Scripting with SAP Screen Personas 2.0

Scripting overview

How to embed IF conditions in scripts

How to fetch data from another screen

How to execute a transaction and display the result

Integration

How to use SAP Screen Personas 2.0 with NetWeaver Business Client

How to render flavors in Netweaver Business Client (NWBC)

Advanced Topics on SAP Screen Personas 2.0

How to go beyond the existing script actions

How to access the selected row in a grid

Calling RFCs from a script

Simplifying a multi-screen transaction with Personas

 

 

SAP Screen Personas 2.0 Technical Documentation

Latest SAP Notes for SAP Screen Personas 2.0 (see bottom of post for list of Notes)

Users Guide

Performance Optimization Guide

Architecture Overview (how the components interact)

ITS Sizing Guide

Configuration Guide Supplement

NEW (2014.08.29) Design Handbook

SAPGUI Installation Server Part 3 - Patching

$
0
0

This is the third of a six-part series progressing from initial download, through installation, to configuration of scripted packages for a fine level of workstation control via an SAPGUI Installation Server.  Later in the series I will show how to maintain central control of the SAP Logon configuration, and I will make some recommendations that may help ease the administrator's burden.

 

As parts of this process are likely already familiar to many of you, I have broken it up into stages.  Please feel free to jump to the sections most relevant for you.  If you are setting up an Installation Server for the first time, however, I recommend you go back to SAPGUI Installation Server Part 1 - Getting Started and move sequentially through the steps.

 

In Parts 1 and 2 we downloaded all our required files and installed our Installation Server to a network shared location.  Now it's time to bring our Installation Server up-to-date with the latest patches.

 

  1. Getting Started
    1. Includes download of all required files
  2. Initial Installation
  3. Patching (this document)
  4. Package Creation
    1. Includes initial installation of the administrator's SAPGUI
  5. Scripting
  6. LSH and Distribution

 

Patch Installation Server

 

If you are continuing on from the previous step (SAPGUI Installation Server Part 2 - Initial Installation), then the Installation Server Administration Tool will be automatically launched for you when you click Close on the Installation and Update Tool.  If you are returning to this step at a later time, you can launch the tool manually on your workstation by navigating to your server share:

  • \\server\sapgui
    • Setup

 

From there, execute the program:

  • NwSapSetupAdmin.exe

 

You will get to know this program very well.  It is important to execute it from the location in your Installation Server share, not from the installation files you previously extracted to your local hard drive.

 

 

When you first launch it, you will notice in the title bar that it names the Installation Server that you are working in, so you can confirm that you are in the right place.  You will initially see a list of SAP frontend components that are available on your Installation Server.  Above that are several tool buttons.  Click Patch Server.

 

The Patch Installation Wizard will open.

 

 

Click Next and then click Browse.  A browse window will open.  Navigate to the location where you stored the two patches you downloaded earlier (as part of SAPGUI Installation Server Part 1 - Getting Started), and select the SAPSETUP patch.

 

 

Click Open.


 

Click Next.  The tool will then validate the patch.

 

 

If this is an established Installation Server already being used by end users, then you should not proceed during business hours or at a time when users may be installing or updating their SAPGUIs.  If this is the initial configuration of the Installation Server, however, then you are so far the only user.  Click Next.

 

The tool will close NwSapSetupAdmin and apply the patch.  When it's finished, you will see a success message.

 

 

Leave the checkbox checked and click Close.  The Installation Server Administration Tool will reopen.  You aren't done patching, however, as so far you have only patched the infrastructure of the server, and not any of the products.  As before, click on Patch Server, then Next.  This time, browse to the GUI Core patch you downloaded earlier.

 

 

This time, the patch will take longer to apply.

 

 

When the patch is complete, you are once again returned to the Installation Server Administration Tool.  Your Installation Server and the core SAPGUI product are now up-to-date, but in order to make it easier on your end users and yourself, you will now want to create a Package.  That is the subject of the next installment in this series.

 

<--->

 

Continue on to SAPGUI Installation Server Part 4 - Package Creation.

SAPGUI Installation Server Part 4 - Package Creation

$
0
0

This is the fourth of a six-part series covering initial download, server installation, configuration of scripted packages for a fine level of workstation control, and distribution to clients.  We will also cover how to maintain central control of the SAP Logon configuration, and we'll explore some options that may help ease the administrator's burden.

 

As parts of this process are likely already familiar to many of you, I have broken it up into stages.  Please feel free to jump to the sections most relevant for you.  If you are setting up an Installation Server for the first time, however, I recommend you start with SAPGUI Installation Server Part 1 - Getting Started and move sequentially through the steps.

 

In Parts 1 through 3 we downloaded all our required files, installed our Installation Server, and brought it up-to-date with the latest patches.  Now we'll setup our first Package that predefines the components to actually be installed on end user workstations, and we'll set up the first SAPGUI, the administrator's own.

 

  1. Getting Started
    1. Includes download of all required files
  2. Initial Installation
  3. Patching
  4. Package Creation (this document)
    1. Includes initial installation of the administrator's SAPGUI
  5. Scripting
  6. LSH and Distribution

 

Package Creation

 

 

Create Package

 

If you are continuing on from the previous step (SAPGUI Installation Server Part 3 - Patching), you are already in the Installation Server Administration Tool.  If not, and you are returning at a later date, from your workstation execute:

 

  • \\server\sapgui\Setup\NwSapSetupAdmin.exe

 

The purpose of the Package is to bundle the appropriate SAP Frontend components required for your installation into a single choice, making it easy for users to select (or for you to push).  You can have multiple Packages on your Installation Server, and users can install multiple Packages on their workstations, if that is appropriate for them.  Packages can share components.  Packages can also have pre- and post-install scripts associated with them that allow you to control other aspects of the SAPGUI workstation environment, such as which SAP Logon connections will appear for the user to choose.

 

In this example, we want to distribute a basic set of commonly used SAP Frontend components, so we will call the package Basic.  In the Installation Server Administration Tool (NwSapSetupAdmin), switch to the Packages tab, and click the button New Package.

 

 

The Package Creation Wizard starts.

 

 

Click Next.  On the next screen, choose the components you require.  In this example, we are choosing:

  • SAP GUI
  • SAP Logon
  • GUI XT
  • SAP Automatic Workstation Update
  • SNC Client Encryption

 

 

 

You might choose alternative components, but at a minimum you should choose SAP GUI and either SAP Logon or SAP Logon Pad (the difference is that SAP Logon allows users to create and edit connection entries, whereas SAP Logon Pad does not -- it is read-only.  In our example, we will distribute a predefined set of connection entries that will not be changeable for the user, but we will allow them to create their own additional entries as well, so we are not choosing the read-only SAP Logon Pad).

 

When you have made your selections, click Next.  On the next screen, enter the name for your Package.

 

 

Click Next.  On the next screen, you must give the value to be used in command-line switches for this Package.  By default, it will be the same as your Package name, minus any spaces, and it is usually best to leave it that way.

 

 

Click Next, and the Package will be quickly created.

 

 

Click Close and you will be returned to the Installation Server Administration Tool main page.  Under the Packages tab you will now see your Package listed, and if you expand it you will see the hierarchy of components.  To the right, under the Package Configuration tab (not 'Configure Packages' as mistakenly referenced in the wizard), you'll see some general information about the Package, including that it's currently at Version 0.  This is where you will add scripting to the Package later, but first you need another tool on your workstation:  your own SAPGUI.

 

 

Install Administrator SAPGUI

 

Besides defining which components will be installed on client workstations, another benefit of using Packages to distribute SAPGUI is including predefined SAP Logon Connection entries so that users will not need to know how to configure connections to your servers on their own.  Before you can set up those predefined connections, however, you need a tool to define your own connections as a template.  It is possible to manually edit INI and XML files to do this, but it's much easier to use SAP Logon itself as the configuration editor.  That means you now need to install SAPGUI on your own workstation, and you might as well use the Package you just created to do it.

 

Close NwSapSetupAdmin, and from the same folder (\\server\sapgui\Setup) execute:

 

  • NwSapSetup.exe

 

The SAP Front End Installer opens.

 

 

Click Next.  The list of available individual components on your Installation Server appears.

 

 

Click the link for Predefined packages.  Now your Package will appear instead, and if you expand it you can verify the components included.

 

 

The checkbox for your Package will not be checked by default, so you must click to select it (ensure the checkmark appears in the box).  When you are ready, click Next.

 

 

The install will take a few minutes.  Look for the success message when complete.

 

 

You now have a working SAPGUI on your computer with the components you defined in your Package.  However, your SAP Logon Connections folder is still empty at this point.  You could manually add the connections, but don't do that just yet.  Instead, you are going to start SAP Logon with a special command-line switch that will allow you to create and save connections in a remote configuration file instead of your local file.  This, and writing scripts to configure other clients to use that central configuration file, will be the subject of the next part in the series.

 

<--->

 

Continue on to SAPGUI Installation Server Part 5 - Scripting.

SAPGUI Installation Server Part 5 - Scripting

$
0
0

This is the fifth of a six-part series bringing us from initial download and installation through to scripted packages and distribution to clients.  In this part we'll cover how Package Event Scripts can help maintain central control of the SAP Logon configuration as well as explore some SAPGUI customizing.

 

As parts of this process are likely already familiar to many of you, I have broken it up into stages.  Please feel free to jump to the sections most relevant for you.  If you are setting up an Installation Server for the first time, however, I recommend you start with SAPGUI Installation Server Part 1 - Getting Started and move sequentially through the steps.

 

  1. Getting Started
    1. Includes download of all required files
  2. Initial Installation
  3. Patching
  4. Package Creation
    1. Includes initial installation of the administrator's SAPGUI
  5. Scripting (this document)
  6. LSH and Distribution

 

Scripting

 

 

If you are continuing on from the previous step (SAPGUI Installation Server Part 4 - Package Creation), then you have created a Package called Basic with several SAPGUI components in it, and you have installed SAPGUI on your own workstation using the Basic Package.  You don't yet have any entries in SAP Logon, however.  Now it's time to create those entries in a central configuration file that you can share with your users.

 

Create Shared Configuration Files

 

The connection data for SAPGUI is stored in a file called saplogon.ini, and additional data about how connections are organized and displayed in SAP Logon is stored in SapLogonTree.xml.  Depending on options you set within SAPGUI or SAP Logon, there may be other configuration files as well, but these two are the ones of primary concern.  By default, when SAPGUI 7.30 (or 7.20) is installed on a Windows 7 system, these two files will be created in:

 

  • C:\Users\<username>\AppData\Roaming\SAP\Common

 

On Windows XP (from which hopefully by now all of you have migrated away, right?) the path would have been:

 

  • C:\Documents and Settings\<username>\Application Data\SAP\Common

 

Older SAPGUIs used a different storage mechanism, and so if you upgrade from one of these to 7.30, saplogon.ini may still be found in the old locations (or may be copied from the old location to the new location).  SAPGUI 7.10 stored saplogon.ini in the program's installation folder (C:\Program Files\SAP\FrontEnd\SAPGUI (on 32-bit; for 64-bit machines substitute Program Files (x86) for Program Files), while SAPGUI 6.40 and earlier stored it in C:\Windows.

 

In many organizations, the administrator would create a default saplogon.ini and use scripting to push it to the client workstation in the appropriate folder during the SAPGUI installation.  This worked well for new installs, but it didn't help much with upgrades, or for distributing changes when the server landscape underwent a change.  Then the administrator would be required to use new scripts to push out new copies of the file, which would overwrite any customization the end user may have made.  Furthermore, the end user might change the file inadvertently, modifying or deleting an entry unintentionally, invariably resulting in a call to the Help Desk.  In this case, the administrator might have to resort to walking the user through editing their own settings to get things working again.

 

SAPGUI 7.30 offers a better way.  It is now possible to store saplogon.ini and SapLogonTree.xml in a shared location on a server and configure SAP Logon on the workstation to use these shared files instead of the local ones.  This means that all users are always using one version of the truth as defined by you, the system administrator.  If you need to distribute a landscape change, you only need to edit one set of files in one location, and all users will immediately see the change without having to do anything on their workstations.

 

We'll discuss how to configure SAP Logon to use the shared files in a moment, but first we need to set up the server location and create the two configuration files to put there, and the first part of that is to configure our own SAPGUI, just installed on our workstation.

 

Edit Services File (optional)

 

If you use Logon Groups for message server-based load balancing or for directing different user groups to different application servers (configured via transaction code SMLG), then there are one or more additional entries which you will need to make to the services file which are not made by NwSapSetup during the base SAPGUI install.  Later you will use your Package Event Scripts to push this change to your users, but first you must make the change manually to your own workstation.

 

If you don't use Logon Groups, you can skip this step.

 

On your workstation, navigate to:

 

  • C:\Windows\System32\drivers\etc

 

There you will find a text file called services.  You can examine it with Notepad, but in order to edit it in Windows 7 you must first open Notepad with Administrator privileges.  This is because services is a protected operating system file, and making a mistake with it could negatively impact Windows (as well as SAPGUI) operation.  Windows XP does not have this restriction, so you may simply open the file with Notepad and edit away.

 

In Windows 7, click Start... All Programs... Accessories and then right-click Notepad.  In the context menu choose Run as administrator and confirm Yes at the prompt.  In Notepad, choose File... Open and navigate to the services file you located earlier.

 

Be careful not to change any of the lines in the file.  Scroll to the end, where you will see numerous lines added by the SAPGUI install.  At the end of the list, add a new line something like the following:

 

sapmsSID     36nr/tcp

 

In this example, SID represents the System ID of your load-balanced system and nr represents the System Number.  So, if your System ID is PRD and System Number is 00, the line will be

 

sapmsPRD     3600/tcp

 

For the blank space between 'sapmsSID' and '36nr/tcp' you can use either a TAB or hit the SPACEBAR a few times; it doesn't matter.  Be sure to hit ENTER at the end of the line, so that the last line of the file is a blank line.

 

So, when you're done, the last few lines of your services file may look something like:

 

sapgw98     3398/tcp

sapgw99     3399/tcp

sapmsPRD     3600/tcp

 

Save the file.

 

Create CustomerFiles Folder

 

Now you need to create a folder on your server that your users will have read-only access to.  I recommend putting this folder under the root of your Installation Server share, as your users already have this access there.  Furthermore, I recommend calling the folder CustomerFiles (exactly like that) for the very specific reason that later, if and when you make a self-extracting single-file-installer, such a folder will be automatically included in the single-file-installer.  If you call the folder something else, such as ConfigFiles (as some of the documentation shows in examples), it will not work with single-file-installers.

 

So, navigate to your Installation Server at \\server\sapgui, and create CustomerFiles there.  When you are done, the contents of your sapgui share will look something like this:

 

 

Start SAP Logon with Command-Line Switch

 

The next step is to start SAP Logon in such a manner that it will create a new set of configuration files in the CustomerFiles folder.  You will want to have an easy way of doing this whenever you need to make changes to the published SAP Logon configuration, so I recommend making a small batch program and saving it on your Desktop.

 

Right-click on your Desktop and choose New... Text Document.  Rename the new document to saplogon_ini_file.cmd and confirm the prompt for changing the file extension.  Right-click on saplogon_ini_file.cmd and choose Edit.  Put the following lines into your new batch program:

 

C:

cd \Program Files (x86)\SAP\FrontEnd\SAPgui

saplogon.exe /ini_file=\\server\sapgui\CustomerFiles\saplogon.ini

 

If you are working on a 32-bit machine, change Program Files (x86) to Program Files.  Remember to substitute your server's hostname for server.

 

Save your changes and close the editor.  Now you have an easily-accessible and quick way of starting SAP Logon in such a way that you will be able to edit the configuration.  Let's do that now.  Double-click your batch file to execute it and start SAP Logon.

 

Create Connection Subfolders and Entries

 

Although it is optional to do so, if you have numerous SAP systems, or systems of different types or purposes that can be logically grouped, then you may want to make the organization easier for your users by creating an hierarchical folder structure for the connections.  However, you can also just create a flat structure of all relevant systems without any subfolders.

 

In SAP Logon, highlight the Connections folder.  Right-click it and choose Add new subfolder.

 

 

Give the new subfolder an appropriate name and click OK.

 

 

Single Application Server

 

To add a direct connection to a specific application server, or a system without any load balancing, select your new subfolder and click on the New icon.

 

 

The Create New System Entry window will open.  Click Next.

 

 

On the next screen, set Connection Type to Custom Application Server, type in an appropriate system name to be displayed to users in the Description field, and fill in the relevant connection information for Application Server, Instance Number, and System ID.  If a SAProuter sits between your users and the server, fill in the information needed for that; otherwise, leave SAProuter String blank.

 

 

Optionally, you may check the box for Use this page as the first page for subsequent entry creations to skip the first screen next time.  I recommend using fully-qualified domain names for the Application Server, but depending upon your local network configuration it will usually work just as well with an unqualified hostname.  Click Finish.

 

Load-Balanced Group

 

You are now back in the SAP Logon window.  If you additionally (or instead) need to set up a load-balanced system connection, click on New again just as before to launch the Create New System Entry dialog.  On the System Connection Parameters page, this time you will make a different selection for Connection Type, and as a result you will have some different fields to fill in.

 

For Connection Type select Group/Server Selection.  Enter an appropriate Description, type in the System ID, and give the fully-qualified domain name (or simple hostname) for the Message Server of your load-balanced system group.  Click the drop-down arrow for Group/Server and you should see a list of the defined logon groups as well as the individual application servers that make up the system.  Choose the group you intend to use (previously created in SMLG).

 

 

You should now see the systems and/or groups you defined in SAP Logon.

 

 

Close SAP Logon to save your changes to the configuration files.

 

Sample Configuration Files

 

You should now see two files created in your CustomerFiles folder on the server:

  • saplogon.ini
  • SapLogonTree.xml

 

There is nothing more you need to do directly with these files, but if you open them you will see, among other things, entries similar to the following:

 

saplogon.ini

 

[Server]

Item1=public

Item2=qas-server.domain.org

 

[Description]

Item1=Production

Item2=Quality Assurance

 

[Address]

Item1=xx.xx.xx.xx

Item2=

 

[MSSysName]

Item1=PRD

Item2=QAS

 

[MSSrvName]

Item1=prd-msgsvr.domain.org

Item2=

 

[MSSrvPort]

Item1=sapmsPRD

Item2=

 

Notice that last group for MSSrvPort, and how the Item entry for your load-balanced group uses the TCP port name that incorporates the System ID.  This port name is then referenced to the entry you manually created in your services file to find the actual TCP port number (in this example, and in most systems, it would be 3600).

 

SapLogonTree.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- SAPGUI for Windows 7300 4 29 5 2014 10:1:27 Pacific Standard Time -->

<SAPTREE version="7300.3.8.1085">

     <Files>

          <File name="saplogon.ini" type="Connections"/>

          <File name="sapshortcut.ini" type="Shortcuts"/>

     </Files>

     <Nodes>

          <Favorites name="Favorites" uuid="..." expanded="1"> </Favorites>

          <Shortcuts name="Shortcuts" uuid="..." expanded="1"> </Shortcuts>

          <Connections name="Connections" uuid="..." expanded="1">

               <Node name="ERP" uuid="..." expanded="0" memo="">

                    <Item name="Quality Assurance" type="connection" uuid="..."/>

                    <Item name="Production" type="connection" uuid="..."/>

               </Node>

          </Connections>

     </Nodes>

</SAPTREE>

 

From this you can see how the XML file defines the folder structure you see in SAP Logon.

 

How to Use Server Configuration Files

 

Now that you have configuration files to share, how do you configure your users' SAPGUIs to use them?  One way is via SAP Logon Options, which is accessed by clicking the icon in the upper left corner of SAP Logon, then choosing Options in the drop-down box.

 

 

On the screen that opens, drill down to SAP Logon Options... Server Configuration Files and then in the field XML Configuration File on Server type in the path to your XML file:  \\server\sapgui\CustomerFiles\SapLogonTree.xml.

 

 

However, you don't want to run around to every user's workstation and configure that option, so there's a better way.  This parameter, like most of the others that can be set via SAP Logon Options or SAP GUI Options, is maintained in a registry setting, and registry settings can be configured by Package Event Scripts.

 

Create Package Event Scripts

 

Open up the Installation Server Administration Tool (NwSapSetupAdmin):

 

  • \\server\sapgui\Setup\NwSapSetupAdmin.exe

 

Switch to the Packages tab, select your Package, and switch to the Package Configuration tab.  Toward the bottom of the screen you will see a series of tabs labeled On Installation Start, On Installation End, On Uninstallation Start, On Uninstallation End, On Update Start, and On Update End.  There is also a small link to the right just above them for Expand Editor.  Click that to make it a little easier to work in the script editors.

 

 

As the tab names imply, here you can enter scripts that will execute during the install (or uninstall or patch update).  Upgrades execute the 'install' scripts, whereas patch updates execute the 'update' scripts.  For now, we will focus on Installation.  You can have two scripts, one that will execute nearer to the beginning of the installation, and one that executes at the end as a wrap-up.  Depending on the functions you intend to execute, one or the other may be more appropriate.

 

Package Event Scripts are essentially VBscript and follow VBscript conventions.  Some additional shell options have been preset by the install program, which unfortunately are not well documented, but you can get an idea of the possibilities from the SAP Setup Guide located at the root of your Installation Server share, in chapter 3.6.2, or by clicking the link for Insert Script Sample and examining (and adapting) the code snippets found there.  The samples include functions for adding custom logging to the setup log file, checking files and registry keys for existence, manipulating files and registry keys, and so forth.  Much of the scripts you will see below are adapted from these script samples.

 

On Installation Start

 

First we'll look at some code to execute at the beginning of your installation.  The purpose of this piece of code is to duplicate the manual work you did earlier on your own workstation, editing the services file to put the logon group TCP port entry into it.  Again, if you don't use logon load balancing or logon groups, then you don't need this script at all.  This is adapted straight from the script examples.

 

The script begins by writing to the setup log file.  Every time we write to the log we prefix the line with "Event:  " as a way of making our custom log entries searchable.  We let anyone reading the log know that this is where the "On Installation Start" script is running.  We include some comments in the script to let future sysadmins know what's going on, then write a log entry to say exactly what we're doing.  We resolve the %WinSysDir% environment variable and add the rest of the path to the services file and put that into the strFile variable.  Here, the sapsetup program provides some useful text file parsing utilities, and we make use of those.  We look in the services file to see if a line with our desired entry of "sapmsPRD" exists already.  If it does, just to be safe, we replace the line entirely, just in case it exists with an incorrect TCP port number.  If it doesn't exist, we add the line.  That whole part is encapsulated in an If... Then structure as a way of capturing any error in finding the services file.

 

-------------------

 

NwEngine.Context.Log.Write "Event:  On Installation Start"

 

'Check whether a line containing the string "sapmsPRD" exists.

'If so, replace that line with

'"sapmsPRD 3600/tcp"

'otherwise simply append the new line to the end of the services file.

 

NwEngine.Context.Log.Write "Event:  Appending or replacing lines in the services file"

 

strFile = NwEngine.Variables.ResolveString( "%WinSysDir%\drivers\etc\services" )

 

Set objTextFile = CreateObject("NwSapSetupATLCommon.TextFileParser")

 

If objTextFile.Parse( strFile ) Then

     NwEngine.Context.Log.Write "Event:  Modify the file " & Chr(34) & strFile & Chr(34)

     If objTextFile.DoesStringExist( "sapmsPRD" ) Then

          objTextFile.ReplaceLineEx "sapmsPRD", "sapmsPRD 3600/tcp"

     Else

          objTextFile.AppendLine "sapmsPRD 3600/tcp"

     End If

     objTextFile.Save( strFile )

Else

     NwEngine.Context.Log.WriteWarning "Event:  Could not open the file " & Chr(34) & strFile & Chr(34)

End If

 

-------------------

 

That's it.  That's the entire script.  You can add more if you wish, but this script will execute as it stands.

 

On Installation End

 

Now we get to the meatier part of our scripts.  After the installation is essentially complete, we want to configure the user's SAP Logon to use our shared server configuration files created earlier.

 

This script first checks to see whether this option has already been set in the registry hive HKEY_CURRENT_USER, as that setting will take precedence if it exists.  We don't want that, we want all users of the workstation to use the same shared files, so we want to set the key in HKEY_LOCAL_MACHINE and make sure it isn't set in HKEY_CURRENT_USER.  So, the first step is to check if it's there, and if found, delete it.

 

Note that in Package Event Scripts, as in VBscript, you can abbreviate the registry hives to HKCU and HKLM.

 

Next we need to know whether we are running in a 32-bit or 64-bit version of Windows, as that influences the correct path to the registry key in HKLM (but not in HKCU).  Because SAPGUI is 32-bit software, if it is installed in 64-bit Windows, it will be registered, along with all other 32-bit software, in HKLM\Software\Wow6432Node.  If we are in 32-bit Windows, it will be directly under HKLM\Software.  We check WMI (Windows Management Instrumentation) to determine the AddressWidth with a pair of functions that return a TRUE or FALSE result.  Based upon the result, we set a variable for our registry path appropriately.  This particular method of determining the OS address width is based upon some ideas developed by DavidRR at StackOverflow (User DavidRR - Stack Overflow).

 

Having set our registry path appropriately, we set the registry value HKLM\Software<\Wow6432Node>\SAP\SAPLogon\Options\ConfigFileOnServer to point to \\server\sapgui\CustomerFiles\SapLogonTree.xml, and we're done!  If we want to set other registry values, we would do so here, but this was our primary objective, so let's take a look at the code.

 

-------------------

 

NwEngine.Context.Log.Write "Event:  On Installation End"

 

'Redirect SAPLogon to server configuration file but allow local custom entries

If NwEngine.Shell.RegValueExist("HKCU\Software\SAP\SAPLogon\Options\ConfigFileOnServer") Then

     NwEngine.Context.Log.Write "Event:  Deleting Previous HKCU ConfigFile Value"

     NwEngine.Shell.DeleteRegValue("HKCU\Software\SAP\SAPLogon\Options\ConfigFileOnServer")

End If

 

Function Is32BitOS()

     Const Path = "winmgmts:root\cimv2:Win32_Processor='cpu0'"

     Is32BitOS = (GetObject(Path).AddressWidth = 32)

End Function

 

Function Is64BitOS()

     Const Path = "winmgmts:root\cimv2:Win32_Processor='cpu0'"

     Is64BitOS = (GetObject(Path).AddressWidth = 64)

End Function

 

If Is64BitOS Then

     NwEngine.Context.Log.Write "Event:  64-bit OS detected"

     strRegPath = "HKLM\Software\Wow6432Node\SAP\"

ElseIf Is32BitOS Then

     NwEngine.Context.Log.Write "Event:  32-bit OS detected"

     strRegPath = "HKLM\Software\SAP\"

End If

 

strRegConfigValue = strRegPath + "SAPLogon\Options\ConfigFileOnServer"

strXmlFile = NwEngine.Variables.ResolveString("%SapSrcDir%\CustomerFiles\SapLogonTree.xml")

NwEngine.Context.Log.Write "Event:  Pointing SAPLogon to Server Configuration Files"

NwEngine.Shell.SetRegValue strRegConfigValue, "REG_EXPAND_SZ", strXmlFile

 

-------------------

 

If you have multiple Installation Servers, each with its own different CustomerFiles folder and different saplogon.ini settings, the user will be pointed at the saplogon.ini within the Installation Server being used, even without changing a line of code in the script.  That's where the %SapSrcDir% environment variable comes into play.

 

Optional Registry Settings for Interface Layout

 

Now that you have a method for setting registry values during the installation, there are many other settings which you might choose to preconfigure.  For instance, you might choose to resize the SAP Logon window and reposition the column widths to make it a bit more user-friendly out of the box.  You might choose to maximize the SAPGUI window the first time it's opened.  You might want the Transaction Code entry box to be open by default, and the system information in the status bar to show.  For users who frequently have sessions open to multiple systems, it can be useful for the Windows Taskbar to display some system information when the mouse hovers over it.  So, here are some registry settings, and the Package Event Script code to set them, that I find useful for an initial SAPGUI install.  Note that while I would put the script above for the config file location into both On Install and On Update scripts, the following is something I would only put into On Install.  Once SAPGUI is installed, users are likely to customize it to their own liking, so you don't want to overwrite their customizations with your defaults every time you push out a patch.

 

-------------------

 

'Configuring window size and SAPLogon option initial defaults

NwEngine.Context.Log.Write "Event:  Setting Registry Values for SAPLogon Options"

 

strRegSapFrontPath     = "HKCU\Software\SAP\SAPGUI Front\SAP Frontend Server\"

strRegSapLogonPath     = "HKCU\Software\SAP\SAPLogon\Settings\"

strRegTaskbarTitle    = strRegSapFrontPath + "Administration\ShowAdditionalTitleInfo"

strRegCmdLine        = strRegSapFrontPath + "Customize\ShowCmdLine"

strRegStatusBar        = strRegSapFrontPath + "Customize\Statusbar.Layout"

strRegShowKeys        = strRegSapFrontPath + "Customize\Dropdown.ShowKey"

strRegSortKeys        = strRegSapFrontPath + "Customize\Dropdown.SortKey"

strRegGuiWindow        = strRegSapFrontPath + "Window\Maximize"

strRegSplitPos        = strRegSapLogonPath + "SplitterPosition"

strRegBottom        = strRegSapLogonPath + "Connections\Bottom"

strRegCol1        = strRegSapLogonPath + "Connections\ColumnWidth1"

strRegCol2        = strRegSapLogonPath + "Connections\ColumnWidth2"

strRegCol3        = strRegSapLogonPath + "Connections\ColumnWidth3"

strRegCol4        = strRegSapLogonPath + "Connections\ColumnWidth4"

strRegCol5        = strRegSapLogonPath + "Connections\ColumnWidth5"

strRegCol6        = strRegSapLogonPath + "Connections\ColumnWidth6"

strRegCol7        = strRegSapLogonPath + "Connections\ColumnWidth7"

strRegLeft        = strRegSapLogonPath + "Connections\Left"

strRegRight        = strRegSapLogonPath + "Connections\Right"

strRegTop        = strRegSapLogonPath + "Connections\Top"

strRegNode        = strRegSapLogonPath + "LastSelectedNodeKey"

 

'SAP Logon Options, Interaction Design, Visualization 2, Show system name in taskbar button

NwEngine.Shell.SetRegValue strRegTaskbarTitle, "REG_DWORD", 1

 

'Open Transaction Code Entry Field

NwEngine.Shell.SetRegValue strRegCmdLine, "REG_DWORD", 1

 

'Display Information in Status Bar

NwEngine.Shell.SetRegValue strRegStatusBar, "REG_DWORD", 1

 

'Interaction Design, Visualization 1, Show keys within dropdown lists

NwEngine.Shell.SetRegValue strRegShowKeys, "REG_DWORD", 1

 

'...Sort by keys within dropdown lists for most efficient keyboard input

NwEngine.Shell.SetRegValue strRegSortKeys, "REG_DWORD", 1

 

'Maximize SAPGUI window

NwEngine.Shell.SetRegValue strRegGuiWindow, "REG_DWORD", 1

 

'Set SAPLogon window and column options

NwEngine.Shell.SetRegValue strRegSplitPos, "REG_SZ", "19"

NwEngine.Shell.SetRegValue strRegBottom, "REG_SZ", "523"

NwEngine.Shell.SetRegValue strRegCol1, "REG_SZ", "195"

NwEngine.Shell.SetRegValue strRegCol2, "REG_SZ", "25"

NwEngine.Shell.SetRegValue strRegCol3, "REG_SZ", "37"

NwEngine.Shell.SetRegValue strRegCol4, "REG_SZ", "206"

NwEngine.Shell.SetRegValue strRegCol5, "REG_SZ", "26"

NwEngine.Shell.SetRegValue strRegCol6, "REG_SZ", "164"

NwEngine.Shell.SetRegValue strRegCol7, "REG_SZ", "25"

NwEngine.Shell.SetRegValue strRegLeft, "REG_SZ", "169"

NwEngine.Shell.SetRegValue strRegRight, "REG_SZ", "1059"

NwEngine.Shell.SetRegValue strRegTop, "REG_SZ", "213"

NwEngine.Shell.SetRegValue strRegNode, "REG_SZ", "de4aeca7-6c46-49f8-bf55-ba5ae43537ca"

 

-------------------

 

A note about that last line with the UUID ("de4ae..." etc).  This line sets the cursor focus when SAP Logon is opened into the "ERP" folder we created earlier.  You will need to open your SapLogonTree.xml file and look up the correct UUID for the node you want to have as the initial focus and use that in the place of the example I gave here.

 

Package Event Script Wrapup

 

Once you have entered your scripts, you just need to click on the Save button.

 

 

The Package Version will increment by 1 when you do this.  Note that any clients (such as your own workstation) installed using this Package will now auto-update if the Package includes SAP Automatic Workstation Update (which our example does), either the next time the AWUS service starts, or within the defined interval for checking for updates (24 hours by default).  However, such clients will only run the On Update scripts, not the On Install scripts.

 

Your Package, including scripts, is now fully defined.  All that remains is to optionally configure Local Security Handling and then distribute the installation to clients.

 

<--->

 

Continue on to SAPGUI Installation Server Part 6 - LSH and Distribution.

SAPGUI Installation Server Part 6 - LSH and Distribution

$
0
0

This is it, the wrap-up of our six-part series about setting up an SAPGUI Installation Server for centralized control of clients.  The last step is to configure Local Security Handling and then to distribute SAPGUI to end user workstations.

 

The six parts of the series are:

  1. Getting Started
    1. Includes download of all required files
  2. Initial Installation
  3. Patching
  4. Package Creation
    1. Includes initial installation of the administrator's SAPGUI
  5. Scripting
  6. LSH and Distribution (this document)

 

LSH and Distribution

 

 

Configure Local Security Handling

 

LSH Background

 

Local Security Handling (LSH) is an optional but recommended feature that enables end users to install SAPGUI from an Installation Server using a predefined Package even if they do not have local Administrator privileges on their workstation (meaning, they cannot normally install software for themselves).  Depending upon the security policies of your organization, users may or may not have such privileges.  LSH isn't intended to circumvent policy, but to enable a controlled distribution in a manner prescribed by the administrator.

 

Without going into deep technical detail, LSH works by setting up a service on the Installation Server, called the Distribution Service (DS), that runs in the context of a domain user account that is a member of the local Administrators group on every domain workstation (the DS User).  A member of Domain Admins would work for this, but it isn't necessary for the account to be a Domain Admin, only that it be a local Administrator on the Installation Server and on every workstation.  There are a number of ways to achieve this using Active Directory Group Policy and/or Logon Scripts, and it is common to do so with "workstation administrator" or "PC technician" groups.  The exact steps for setting this up are outside the scope of this document and fall into the responsibility of the network or Active Directory administrator.  Due to having administrator privileges to the workstation, the DS is able to remotely push certain activities, which we'll discuss momentarily.

 

When the end user calls the NwSapSetup program to start the installation, one of the first actions of the program is to check whether the user has local Administrator privileges.  If the user does, NwSapSetup proceeds normally.  If the user does not, NwSapSetup triggers the DS to make a call to the workstation and then exits.  Now the DS, running as a service on the server, takes over and makes a remote call to the workstation.  The DS checks to see whether another service account, the IS User (Installation Service User), is a member of the local Administrators group, and if not, tries to make the IS User such a member.  Note that often the DS User and IS User will be the same service user account, but they do not have to be.

 

With the IS User's credentials established, the DS installs a service remotely onto the workstation, the Installation Service or IS, and then triggers the IS to start in the context of the IS User.  At this point the DS is done with its part.

 

Now the IS, running as the IS User on the workstation, once again calls NwSapSetup, but this time in the context of the IS User.  Because the IS User is a local administrator, the setup program is able to proceed with the SAPGUI installation.  When the installation is complete, there is one final extra step, which is to stop the IS and uninstall it, so it isn't left behind.  In the event of an update or upgrade, the same process of install IS, run NwSapSetup, then uninstall IS will be repeated.

 

If you do not have access to an AD global group besides Domain Admins that is in the local Administrators group on all your workstations, then you can use separate DS and IS users to manage pushing the IS service for SAPGUI installation.  In this case, the DS User will need to be a member of Domain Admins, but the IS User will not.  The IS User can be a simple Domain User account.  The DS will establish the IS User as a local Administrator temporarily before remotely installing the IS service.

 

In most cases, however, creation of the appropriate AD group is easy enough or already exists, and in this circumstance the DS User only needs to be in this lesser group.  If this is the case, it is simpler to use the same user account for both DS and IS User, and that is what we will do here.

 

Install LSH on Server

 

If you are not still in the Installation Server Administration Tool from the last step, start the tool by calling:

 

  • \\server\sapgui\Setup\NwSapSetupAdmin.exe

 

In the tool, click on Services... Configure Local Security Handling.

 

 

The Local Security Handling (LSH) Wizard starts.

 

 

Click on Next, and on the next screen, enter the logon credentials for your DS User.  Be sure to enter the username in the format domain\user.  In this example, we are using a service account called sys$sap_maint, but the username can be whatever fits your organization's naming convention for service accounts.

 

 

When you click Verify, the tool verifies that the passwords as typed match each other; it does not yet verify that the password is correct or that the user has the required credentials.  That will happen at the end.

 

 

Now the tool asks for the logon credentials of the IS User.  This may be a different user from the DS User, but in our example we will use the same user account for both.

 

 

Again, clicking Verify will confirm you entered the same password in both fields, and then on the next screen, clicking Next will actually start the configuration of the DS on the server, which is very quick.  If all goes well, you will shortly see a success message.

 

 

At this point, you are done.  If the LSH configuration was not successful, by far the most common reason is not entering a correct password for the DS/IS User.  Check that you have the correct password, and that the DS User is configured as a local Administrator on the Installation Server.

 

Clicking Close returns you to the NwSapSetupAdmin tool.  Look at the status bar at the bottom of the window, where you will see an indicator of the Distribution Service State, Active or Inactive.

 

 

You might still see the service as inactive here, even after successful configuration.  In that case, close NwSapSetupAdmin and then restart it, and this will refresh the service status.

 

Troubleshoot LSH

 

Most issues with LSH can be resolved by repeating the configuration steps from above and ensuring that you are using the correct password.  However, if this doesn't work, Note 1162270 contains detailed troubleshooting steps and hints.

 

Patching with LSH

 

Before applying patches to your Installation Server, especially SAPSetup patches, it is best practice to shut down LSH.  From within NwSapSetupAdmin, click on Services... Stop Distribution Service (if this option is greyed out, either LSH is not currently running, or you may need to refresh its status by restarting NwSapSetupAdmin).

 

 

Proceed with patching as described in SAPGUI Installation Server Part 3 - Patching, then reconfigure LSH again as described in this document.

 

If you do not stop LSH before applying the patch, the patch will still be successful, but you will need to reboot your server afterwards.

 

Note that it is also possible to stop and start LSH from the server console, via Computer Management or the Services applet, by stopping or starting SAP Front-End LSH Service.

 

Distribute SAPGUI

 

Your Installation Server is now fully functional and ready for users.  Users have several options for how to install, but my recommendation is the 'NoDialog' option.  This option, when used with a Package, is fully automated, requiring no interaction from the user (other than perhaps a User Account Control prompt from their workstation's operating system), but still displaying progress bars so they know what is going on.  Another option is 'Silent', which is also fully automated, but displays nothing to the user.  With 'Silent' users may not even be aware that an installation is occurring.

 

The command line to install the 'Basic' Package with 'NoDialog' is:

 

  • \\server\sapgui\Setup\NwSapSetup.exe /package="Basic" /nodlg

 

If you prefer to use 'Silent,' substitute /silent for /nodlg.  Substitute your server's actual hostname for server, and the share name chosen for your Installation Server for sapgui.


Users can initiate the installation themselves by executing the command line as shown, or you can add this command to a logon script.  It is also possible to push installations via Microsoft System Center Configuration Manager (SCCM, previously known as Systems Management Server, or SMS), and NwSapSetupAdmin contains an option to create Package Definition Files to be used with SCCM.  The use of SCCM is beyond the scope of this document, however.

 

Subsequent executions of the same command-line will detect the presence of SAPGUI on the workstation and the presence of the defined Package.  The installer will compare the version of the Package and the versions of the SAPGUI components with those in the same Package on the server, and if they are the same or higher, the installer will exit.  If the version found is lower, the installer will execute in 'update' mode and update the SAPGUI components to the versions found on the server.  This is one way you can easily distribute patches to your users.

 

/Once

 

If you do use logon scripts, you may wish to add another command-line switch, /once, to keep subsequent executions of the installer very fast for those who have already installed.  While the installer will exit fairly quickly if it finds nothing in need of updating, it still displays a splash screen (unless you use /silent) and takes a moment before exiting.  The /once switch causes NwSapSetup to first check for a defined registry value.  If it's found, NwSapSetup exits immediately without checking versions and without displaying any splash screen, so it is very fast.  If the registry value doesn't exist, or it doesn't match the value defined in the switch, then the installer proceeds.

 

To use /once effectively, you need to define a standard for the values used.  I recommend something along the line of:

 

  • <GUI Release>.<Compilation>.<Patch>.<Hotfix>.<Package Version>

 

So, in our example where we are distributing SAPGUI 7.30 Compilation 3 with Patch 8 Hotfix 1, and not having made subsequent changes to our Package such that it is in version 1, the switch value would be:

 

  • 730.3.8.1.1

 

To use this in the installer, the command line would be:

 

  • \\server\sapgui\Setup\NwSapSetup.exe /package="Basic" /nodlg /once="730.3.8.1.1"

 

Next time we update the Package, we would also update the 'Once' value in the logon script to match, thus causing the installer to check versions and, in most cases, apply the updates.

 

Note that in the event the SAPGUI is uninstalled, the 'Once' registry key is not removed, so unless it has changed in the logon script, the installer will detect the value and not proceed with the installation.  Thus, if the intent is to reinstall (perhaps to fix a problem), it will be necessary to manually execute the installer without the /Once switch.

 

Other Topics

 

You have now fully configured an Installation Server and pushed SAPGUI to your users.  This is all that is required for a functional installation.  However, there are other more advanced topics which may be the subjects of future documents going into more detail:

 

  • Automatic Workstation Update Service (AWUS)
    • This is a mechanism for automatically keeping your workstations in sync with the server.  If you followed the example used as a Package in this document series, you have already distributed and enabled this feature for your users, such that their workstations will check for new versions of GUI components or Package versions on the server at each boot-up or every 24 hours.
  • Single File Installer
    • NwSapSetupAdmin enables compressing all components of a Package, including scripts and custom configuration files, into a self-extracting installer which can then be distributed for use on machines that are only intermittently connected, such as users' home PCs that occasionally connect via VPN, or workstations connected over a slow WAN.  For this, you will want a different strategy for centralized configuration files than the one outlined in this document series.

 

I hope you have found this document series helpful.


SAP Screen Personas Getting Started Checklist

$
0
0

Before starting a screen simplification project, we recommend that you have the right people, process, and technology in place to support a SAP Screen Personas initiative.

 

Discuss the following issues with your team, ideally comprised of both business users and IT, before committing to starting an SAP usability project.

 

People

  • Have you identified the following roles, all of which are important for a successful SAP Screen Personas project?
    • Executive sponsor
    • Business process expert
    • People familiar with SAP transactions that will be modified
    • Person with design skills, preferably with software user experience skills
    • Person with skills in using SAP Screen Personas (training can be part of the project)
    • Basis person to install and configure Personas add-on, update kernel as needed, address security issues
  • Can you ensure that the personnel responsible for these areas will be readily available to assist during the project?

 

Process

  • What metrics will you track before and after to measure the success of the project?
  • List the intended application areas and the potential use cases you would like to target during the Personas project.
  • Which SAP transaction codes are associated with these use cases?
  • Do you intend to execute a proof of concept effort before starting with an implementation project? If yes, which specific use cases (transactions) do you have in mind for it and what is the planned time frame?
  • What is the approximate number of users targeted for your implementation?
  • Have you registered for the SAP Screen Personas Practitioner Forum to learn best practices from other customers and avoid common pitfalls?

 

Technology (IT Environment)

  • Do your SAP systems meet the minimum requirements for using SAP Screen Personas?
  • Do you have the necessary know-how in-house to properly install, configure and administer the SAP Screen Personas add-on?
  • Do you need help from SAP with SAP Screen Personas installation, configuration, or ITS sizing?
  • Can you provide remote connection to SAP if we need to verify backend prerequisites (via OSS)?
  • Do you have a well-defined security structure in your current environment, where existing SAP user roles correctly define the distinct user groups for which Personas customization will be used?
  • Are you currently using the WebGUI to access ECC transactions? If yes, are there any performance concerns?

 

Design

  • Do you already have an established theme concept, available branding elements, colors and other resources available to be used in Personas custom views?
  • Have you already performed user experience research with your business users?

 

Time line

  • Will the software be installed so it is ready for the start of the development phase of the project?
  • Will you be able to make end users available for user research, design iterations, validation and testing?
  • If productive deployment is planned, what is the project start and go-live date?
  • Have you considered participating in the SAP Screen Personas 3.0 ramp-up program?

ANN: SAP GUI for Java 7.30 rev 9 available

$
0
0

Hi all,

 

SAP GUI for Java 7.30 rev 9 is now available on Service MarketPlace.

For the direct link and user requirements please refer to here.

 

Enhancements and New Features

  • Support for New OS Versions:
    • Ubuntu 14.04
  • Data Provider:
    • Incorrectly encoded file urls are now handled even more fault-tolerant.
  • Security:
    • File permissions generated by file choosers are now stored in the scope of the current session and transaction. This makes file choosers and subsequent file access work also in case it has been invoked by third party components like saving a PDF file from the Print preview.
  • Installation:
    • Windows only: The installer now also sets the version info of the SAP GUI for Java entry in the "Programs and Features" control panel.


Bugfixes

  • Grid Control:
    • Various issues related to spanned cells have been solved.
    • A problem setting the focus has been addressed.
  • Tree Control:
    • In list tree, the column part has not been displayed in case its width has not been set.
  • TextEdit Control:
    • When the animated focus was deactivated, the cursor location has not been visible when being on the very left.
  • Html Control:
    • Displaying html content from file URLs could result in AccessControlExceptions.
  • Stability:
    • A memory leak related to reading audio files has been fixed.
  • Performance:
    • A performance issue causing a significant slow down when showing the infinite progress indicator at the same time like frequently updated progress messages in the status bar has been solved.


Java 8

At this point, support for Java 8 is not officially announced yet. However some testing has been done on Java 8 and results are promising.

In case issues are found running on Java 8, even when they do not happen on Java 7, please do not hesitate to report them.

 

Best regards

Rolf-Martin

How to Install SAPGUI 7.20 rev 5 on Mac OS X 10.9.4 Mavericks

$
0
0

Requirements:


  • SAPGUI for Java 7.20 rev.5 installer.
  • Java for OS X 2014-001 installer.
  • Pre-installed Mac OS X Mavericks 10.9.4.

 

Steps:


  • Uninstall currently installed Java version from mac OS X Mavericks
  • Restart mac and follow given instructions
  • Open ‘system preferences’ > ‘user & groups’ > create ‘new account’
  • Logon to the new user.
  • Download the mentioned version of “Java for OS X 2014-001”
  • Close all running applications/browser
  • Install downloaded “Java for OS X 2014-001”
  • Install SAP GUI (SAPGUI for Java 7.20 rev 5)

 

(As per Apple support page, “Java for OS X 2014-001” includes installation improvements, and supersedes all previous versions of  Java for OS X. This package installs the same version of Java 6 included in Java for OS X 2013-005) - refer below screen-shot


 

2. Setup program SAPGUI.png

3. Screen Shot 2014-08-08 at 4.44.43 PM.png

Restart your mac

  • Logon to the 'new user'
  • Launch the ‘SAPGUI 7.20rev5.app’.


Enjoy SAPGUI 7.20 on Mac OSX Mavericks...

running window.png4. SAPGUI 7.20 rev 5 Launced.png


Screen Shot 2014-08-08 at 5.06.09 PM.png

Hope it will be helpful.


Thank you !

How to Install SAP GUI for Java 7.30 on Mac OS X 10.9.4 Mavericks.

$
0
0

This guide is written with an intention to help those who are trying to Install SAP GUI 7.30 in Mac OS X 10.9 Mavericks platform and ended up with installing Windows OS in Mac machines due to limited information availability related to Mac & Java configuration.



Requirements:


 

 

Steps:

 

  1. Uninstall the currently installed Java version from mac OS X Mavericks
  2. Restart mac and follow given instructions
  3. Open ‘system preferences’ > ‘user & groups’ > create ‘new account’
  4. Logon to the new user.
  5. Download the mentioned version of “Java for OS X 10.9 OR above
  6. Close all running applications/browser
  7. Install downloaded Java 7
  8. Install SAP GUI (SAPGUI for Java 7.30)
  9. Restart your mac
  10. Logon to the ‘new user’
  11. Launch the ‘SAPGUI 7.30app’

 

Screen Shot 2014-08-14 at 8.21.07 AM.png


Screen Shot 2014-08-13 at 10.47.59 AM.png


 


 

Thank you !


Screen Shot 2014-08-14 at 8.41.42 AM.png


Zaheer.





















Trademarks:

JAVA® is a registered trademarks of Sun Microsystems.

SAP® is the registered trademark of SAP SE in Germany and in several other countries.

Mac and OS X are trademarks of Apple Inc., registered in the U.S. and other countries.

Disclaimer:

All content provided on this post is for informational purposes only. The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information. These terms and conditions of use are subject to change at anytime and without notice.



Standalone SAPConsole 7.30 - Application Pool crashed

$
0
0

Problem: Service Unavailable, HTTP Error 503

Reason: IIS Application Pool stopped

 

This issue appears after 5  SAP login request and depends from Application  Pool "Rapid-Fail Protection".
The "Maximum Failures" is 5 (default) . If the "Rapid-Fail Protection" is disabled, no HTTP Error 503 appears.

But this don't averts the crashes at a new SAP Login.
The Application Event Log contains a crash record  for each SAP Login. For each crash are dump files written.

IIS starts after a abnormal program end a new Worker Process for the SAP Session.  

Is this behavior okay or can we avoid the crashes ?


Notes:

SAPConsole 7.30 , 64Bit installed on a VM with Windows 2008 R2.

The login request runs with command line parameters for a automatic login.

The SAPConsole is using a "No Managed"  Application Pool and  is tested with Pipline Mode Classic and Integrated.

 

Application Event Log
Fault bucket , type 0
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: w3wp.exe
P2: 7.5.7601.17514
P3: 4ce7afa2
P4: isapi_sapcnsl.dll
P5: 7300.1.1.1
P6: 51b927d8
P7: c0000005
P8: 00000000000057e5
P9:
P10:

Navigating the System – SAP Logon, Easy Access etc.

$
0
0

Logging on to the System

 

SAP GUI enables the user to enter or display data, in short lets you to interact with the system.

 

SAP GUI is basically a standard access to almost every SAP solution.Certain SAP systems are accessible by specially configured front end programs. For example; SAP BW (Business Information Warehouse) has Business explorer as a specific front end.

 

These are following types of SAP GUI :-

 

·         SAP GUI for Windows environment.

·         SAP GUI for Java environment.

·         SAP GUI for HTML.

The SAP GUI program connects the computer with a particular SAP system. SAP provides an additional program for logging on to an SAP system: SAP Logon.

 

1.JPG

 

After starting the SAP Logon, list of SAP system will get displayed. From that list, you can select the system you want to log on to. So, from where does this list get generated? This list gets originated from a file on the front end: saplogon.ini. The logon load distribution of the resources that is made available by the selected system, is enabled by the SAP Logon program, when you try to logon.

 

2.JPG

 

Now when you have started the logon process, there will be a logon screen which gets displayed, there are relevant entries that are required to be filled, like:

 

  • Your user and password of the selected system.
  • Option of specifying a particular client.
  • Logon language.

 

The client is usually filled appropriately.

 

 

Let’s discuss them in detail as follows:-

 

User

 

User data is stored in the system according to the relevant client. For example; One can logon to the client 100 in the system, but cannot have a user for client 200. This stored user data in the client is also termed as “user master record”.

 

Password

 

Your system administrator will provide you with an initial password that you can use when you first time logon to the system. During your first logon, you must enter this password and then subsequently you can use it further for logon to the system. In case you want to change your initial password, then you can make use of the new password button provided. You can change the password up to once a day.

 

Client

 

As per the standard logic, the client is referred to as the company in an SAP system. That mean like there are several clients in an SAP system, so these can be termed as several companies, which can be represented at the same time. The client plays a vital role in a SAP system, in terms of table provided in SAP system, each table has a key field, the client has an equivalent as a key field in the tables of the database used in the SAP system. After you logon to the client, you are permitted to access the data of that particular client only.

 

Language

 

There is a language box available on the logon screen; you can select one of the languages that the system supports. Installed SAP system can support many languages, which always include at least English and one other selected language.

 

One can logon to the SAP system more than once with a user. However with each additional logon and any further multiple logons, there is an information message that appears:-

 

  • Terminate this logon.
  • Continue with this logon without ending any other logons to the system. This will be logged in the system.
  • Continue with this logon and end any other logons on the system.

 

Please note that one can work in several sessions with one logon. Your system administrator can specify how many sessions are possible using the system parameters.

 

 

Screen Layout

 

Displayed below is the screen layout. The left hand side has a tree hierarchy of the menus available in the SAP system and the right hand side displays a logo. This logo is made available by your system administrator and cannot be set by an individual user.

 

3.JPG

 

Please note that the screen is defined in the system and is transported to the desktop or laptop at every logon. The data is compressed when transferred, however the initial logo should be no larger than 20 KB.

 

If you choose System àUser Profile àOwn Data and then select the page Defaults. Then you will see as below:-

 

4.JPG

 

An SAP screen contains screen elements such as:-

 

Command Field: Applications can be selected directly by entering transaction code in the command field. The command filed can be displayed or hidden.

 

Menu Bar: The upper line of each screen is called as menu bar in the SAP system. The menu displayed depends on the application currently in use.

 

Standard Toolbar: The buttons on the standard toolbar are available on every SAP screen layout. The buttons that cannot be used are grayed out. If you take the cursor on the buttons, the quick info appears with the name or meaning of the respective button.

 

Title Bar: The title bar names the function that is currently displayed.

 

Application Toolbar: Here you can see the buttons that can be used in the current applications.

 

Checkboxes: Checkboxes allow you to select several options from a group of fields.

 

Radio Button: You can select only one option at a time.

 

Tab/Tab Page: Tabs combine multiple entry screens of an application on one screen.

 

Status Bar: The status bar shows information about the current system status for example, warnings and errors.

 

Log Off

 

One can log off from any screen of the SAP system. You have various options for doing so, such as:

 

  • From the menu bar, choose System àLog Off.
  • If you have only opened one session choose from the system toolbar or from the top right of the menu list.

 

 

SAP Menu, User Menu, Favorites

 

After logging on to the SAP system, you can use the overview tree structure on the left hand side of the screen for selecting functions. This structure is divided into Favorites and SAP Menu, or Favorites and Role – Based ser Menu.

 

5.JPG

User Menu and Favorites

 

The user menu represents the working environment of a user and contains a limited selection of task specific functions. It can consist of transactions, reports, and Internet addresses. In context of the roles for user group, the system administrator creates the user menu. When the user is assigned to a role, he/she can work with their respective user menu and the authorization linked to it in the SAP system. Depending on the system settings, you can switch between a role based user menu and an SAP menu.

 

Favorite’s area is located next to the SAP menu or the user menu. The end user can change the favorites list as per his requirement, although the favorites list is empty to start with. The data in the favorites list is then visible only for this user. In addition to the transactions, links to the internet addresses and the data from their front end computers can be stored.

 

System and Help Menus

 

Both the System and Help menus a

re available on every screen of an SAP system in the same layout.

 

6.JPG

 

7.JPG

 

Many different system functions can be accessed using the System menu like, you can end your session by choosing System à Log off. By choosing System à Status you can receive the information about the relevant transaction code, receive information about your system and the function that is currently being executed.

 

From the Help menu, you have access to the online documentation. You can also display the release infos and configure the standard settings of your F4 help.

 

 

SAP Easy Access Settings

 

In order to make settings for SAP Easy Access, choose Extras à Settings. A dialog box will appear in which you can determine whether:

 

  • The favorite list appears before or after the menu.
  • A menu is displayed at all in addition to the favorites.
  • The transaction codes of the menu entries in the navigation area appear.
  • The start logo is visible on the right hand side of the screen.

 

 

8.JPG

 

 

Customizing the Local Layout

 

9.JPG

This allows you to use:-

 

  • Set Color in the System.
  • To select a different color scheme for your GUI.
  • Use a new design.
  • To define new color scheme.

 

Via Customizing of Local Layout à Options, you can, among other things, do the following:

 

  • You can determine the speed with which the information should be displayed and also which message (success message, warning message, and error message) are to be displayed on the Options tab page.
  • You can influence the behavior of the cursor on the Cursor tab page.
  • You can manage the input history on the Local data tab page.

SAP GUI Family

$
0
0

Universal Clients for Accessing SAP Systems

SAP GUI is SAP's universal client for accessing SAP functionality in SAP applications such as - SAP ERP, SAP Business Suite (SAP CRM, SAP SCM and SAP PLM), SAP Business Intelligence and so on. SAP GUI functions like a browser. It gets information from the SAP server like what, where, when and how, to display contents in its window. All members of the SAP GUI family have unique attributes that make them especially suited for different user environments. SAP GUI comes in the following three different flavors:

SAP GUI for Windows
SAP GUI for Windows is an implementation especially designed for the Windows operating system, providing a Windows-like user experience and integration with other applications, based on OLE interfaces or ActiveX controls.


SAP GUI for the Java Environment

SAP GUI for the Java environment is a unified SAP frontend for multiple platforms. It is based on a platform-independent architecture and Java implementation. As a major benefit, it provides access to SAP applications that are based on Control-Enabling and therefore used to be reserved for Windows users in the past. Please, note that SAP GUI for Java is also available on Windows.


SAP GUI for HTML

SAP GUI for HTML automatically maps the screen elements in SAP transactions to HTML using HTML Business functions available within the SAP Internet Transaction Server. A web browser is sufficient to access almost all transactions. Please note: Since SAP GUI for HTML is an application running on the ITS, you find corresponding information on the ITS page.
You can find detailed information on the different SAP GUI types under the following links:

 

 

News

The following list contains the latest news on the SAP GUI family members.
    Date            Description
October, 2014As of October 8, SAP GUI for Windows 7.40 is available for download on SAP Service Marketplace. You find information on the new features and the maintenance strategy in this blog.
August, 2014

Shipment Schedule for SAP GUI for Windows 7.40:
SAP GUI for Windows 7.40 will be shipped on 8th of October 2014 and will become the default SAP GUI version as of this day.
Please, start planning the upgrade process from earlier SAP GUI versions to the new release.
For more information, please, check SAP note 147519 and related notes.

July,

2014

SAP GUI for Java 7.30 rev 9 is available for download on SAP Service Marketplace (see also Downloads section below).

May,

2014

SAP GUI for Java 7.30 rev 8 is available for download on SAP Service Marketplace (see also Downloads section below).
April,
2014
End of support for Windows XP: On 8th of April Microsoft terminated support for Windows XP. Therefore, as of this day, SAP GUI is no longer supported on Windows XP. We recommend to upgrade your operating system in case you are currently using Windows XP.

December,

2013

SAP GUI for Windows 7.30 C3 is available for download on SAP Service Marketplace (see also Downloads section below).

NWBC is now part of the standard package.

April,

2013

SAP GUI for Windows 7.20 is now out of support. Please upgrade to SAP GUI for Windows 7.30 as soon as possible. A successor to SAP GUI for Windows 7.30 is expected for Q3/2014.
January, 2013

SAP GUI for Java 7.20 rev 11 is available for download on SAP Service Marketplace (see also Downloads section below).

For new features and enhancements, refer to the release notes.

Please, plan to upgrade to SAP GUI for Java 7.30, because support for SAP GUI for Java 7.20 ends by end of January 2013.

June, 2012

SAP GUI for Windows 7.30 is now available for download on SAP Service Marketplace.

Please note: End of support for SAP GUI for Windows 7.20 will be 9th of April 2013.

April, 2011SAP GUI for Windows 7.10 is now out of support. Please, upgrade to release 7.20 as soon as possible.
January, 2011SAP GUI for Windows 6.20 is now out of support. Please, upgrade to release 7.20 as soon as possible (release 7.10 will be out of support as of 12th of April 2011).
You find an overview of new features in the release information section below.

 

 

Installation

SAP GUI for Windows

This documentation describes how to install and distribute the SAP front-end software on Windows with the SAP Setup front-end deployment and software management solution. The benefits of using SAP Setup are that you can insert new SAP front-end components on to an existing installation server and deploy multiple components. In addition, SAP Setup offers new diagnostic and check tools for better support. The key processes are wizard-driven and you have new and powerful command-line parameters. Also, it is possible to trigger an unattended automatic workstation update.

This document provides an overview and further information about the frontend installation and distribution tool SAP Setup.

SAP GUI for Java

SAP GUI for Java 7. 30 Download and Installation Information
This archive contains among others the SAP GUI for Java installation information.

SAP GUI for HTML/ITS

SAP@Web Installation Guide (ITS 6.20)
SAP GUI for HTML is running on the ITS, therefore the ITS installation information is relevant in this case. Since the ITS is integrated in SAP NW as of Release 2004, you do not need to install SAP GUI for HTML/ITS separately on systems as of this release. It comes with  the package. For the non-integrated, standalone ITS, you find installation information in the SAP@Web Installation Guide for ITS 6.20 which describes how to install the standalone SAP Internet Transaction Server (ITS 6.20) and related tools on released Windows and Linux platforms.

 

 

Platform Support and Maintenance Strategy

You find information on the supported platforms in the Support Matrix for SAP GUI for Windows, the Support Matrix for SAP GUI for Java or in  SAP GUI section of the Product Availability Matrix (PAM).

 

 

Literature

General Information
Frontend Network Requirements (SMP Login required!)
Distributed landscapes today lead to the fact that an increasing number of users connect to a central system from dispersed sites with varying degrees of available bandwidth. As a consequence, user access is through local area network (LAN) and wide area network WAN (dial-up, frame relay, Internet, etc.). This paper contains a description of SAP's frontend characteristics from both a LAN and a WAN perspective.
Please note that this paper does not discuss server-to-server traffic or printing.
SAP GUI Technical Infrastructure
The purpose of this guide is to give you an understanding of the different SAP GUI types, their specific properties and how they communicate with the SAP system. Also, it explains the performance requirements of the infrastructure and describes trouble-shooting options.

SAP GUI for Windows

SAP GUI for Windows 7.30 Help Guide (English Version)

SAP GUI for Windows 7.30 Help Guide (German Version)

This documentation describes the SAP GUI functions.

This guide describes the SAP GUI security module which has been implemented to protect the user's local environment against undesired actions that a potentially corrupt SAP system could trigger on his or her PC.
SAP GUI for Windows 7.30 Administration Guide
This documentation describes how to configure and administer SAP GUI for Windows.

SAP GUI for Java

SAP GUI for Java 7.30 Documentation (downloadable version)

This zip-file contains the downloadable version of the SAP GUI for Java 7.30 documentation in HTML.

How To Extend SAP GUI for Java with Your Own Java Bean 
This documentation is intended for Customers/Partners who want to write their own custom controls which work in the SAP GUI for Java. The purpose of this document is to show how a JavaBean can be connected to SAP using „SAP GUI for the Java Environment".
SAP GUI for Java Configuration Generator Scripts
This link leads you to a set of scripts that serve as an example of how to convert an existing set of configuration files for SAP GUI for Windows for the use with SAP GUI for Java. The scripts should work for standard cases. Please note that these scripts are provided as they are without any support or warranty. Thus, make sure to read the readme.html file contained in the zip archive.

 

 

Presentations

Update on the SAP GUI Family
This presentation explains the different types of SAP GUI (for Windows, for Java, for HTML) and when to use them.


Downloads

For download and maintenance information, click on one of the following links (SMP Login is required. In case of download problems, check SAP note 1037574):

Component      Installations  PatchesImportant Notes
SAP GUI for Java7.307.301758540
SAP GUI for Windows7.307.30147519, 66971
SAP GUI for HTML/ITSITS 6.20 (standalone)ITS 6.20 (standalone)197746
SAP Screen Reader ExtensionsDownload *---------------

 

* Note: You need the SAP GUI Screenreader Extensions on your client PC to use the accessibility mode in SAP GUI for Windows (with Screenreaders).


Notification on SAP GUI news

In order to get a notification by email when official information about SAP GUI (like the shipment of a new version) is available, activate the "Receive email notifications" feature of the corresponding thread:


Related Topics

SAP GUI Scripting  SAP GUI Scripting offers an automation interface to SAP GUI that can be used for macro recording and playback, development of test tools and application integration.

SAPConsole
As part of SAP's ongoing effort to build on SAP systems core business logic and offer it for non-standard display environments, SAPConsole has been developed to support different types of output devices. SAP Console supports character-cell terminals, including radio frequency (RF) devices, as well as web-equipped devices.
GuiXT 
GuiXT allows you to simplify transactions without having to modify them. You can hide screen elements that you do not need, or add elements such as checkboxes, pushbuttons, graphics, and documentation.

With SAP Personas, SAP customers are able to purchase a new solution to personalize their SAP GUI screens. SAP Screen Personas provides a simple, drag and drop approach to modify many common SAP screens to make them more usable as well as more visually appealing. IT departments and authorized end-users will be able to modify screens using their own unique knowledge of which information they need on the screen to optimize usability and productivity.


Release Information

You find information on the expected release dates for SAP GUI patches/revisions in the following notes (SMP login required!):You find information on the function scope of a release in the following release notes:


SAP Screen Personas 2.0 - How to render flavors in Netweaver Business Client (NWBC)

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

SAP Screen Personas only requires Silverlight 5 and a supported browser on a client computer. No installation of the SAP GUI or of the Netweaver Business Client (NWBC) is required. However, if you are already using NWBC and you would like to use Personas in the canvas area of NWBC then you can do this using the short link feature.

 

To show how it works we create a short demo video showing how you can create a so called short link that points to Personas that automatically connects to a specified system, transaction and flavor. This link or to be precise the link id is then used to create a menu entry in role using the transaction PFCG.

 

 

Step-by-step:

  1. Start with the index page in NWBC 4.0 of a prepared role
    1. Existing menu contains links to PFCG, the Personas admin transaction and an entry opening Personas in fullscreen mode with editing enabled
  2. Jump into PFCG to show how the Personas link is configured in a role that is assigned to the demo user
    1. BSP application
    2. Start page: nwbc.html (Personas runs in fullscreen mode and frameless)
    3. Parameter: frameless = false (adds the edit/flavor bar to fullscreen mode for editing)
  3. Jump into the tab with Personas open
    1. Open transaction SU01
    2. Show how the flavor "NWBC Quick View" works
  4. Switch back to the index page and open the Personas admin transaction
  5. Create a short link
    1. Open General Action -> Shortlink Maintenance
    2. Enter short link details
      1. Transaction code: SU01
      2. System: B9F (the system used for this demo)
      3. Flavor: NWBC Quick View
    3. Click on "Get Shortlink"
      1. The generated link could be used to open Personas for the given transaction, flavor and system in any browser
    4. Copy the value of the link parameter in the short link
  6. Switch back to PFCG and add a new entry
    1. Add a folder named "User Maintenance"
    2. Add a "BSP Application"
      1. Use same values as shown in the other Personas menu entry
      2. Add parameter "link" with the value that has been copied from the short link
    3. Save the role
  7. Switch back to the index page
    1. Refresh the page by pressing the CTRL button and opening Help -> Extended Supportability -> Clean-up -> Reload Navigation tree from server
    2. Click on the new entry called User Management -> Quick View
  8. Test the loaded Quick View flavor

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas 2.0 - How to merge tabs

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

Since we first announced SAP Screen Personas last year, we have had many inquiries from customers, partners, and colleagues. We compiled a list of frequently asked questions. Now, as our early customers are starting to deploy the solution, we are getting more sophisticated inquiries such as how to merge tabs.

 

Several people asked if you can merge tabs using SAP Screen Personas and the answer is "Yes!". As an example, we have recorded a short video showing how to merge tabs on the 2nd screen of SU01D. Some sample fields are picked and added to the main canvas and the tab container itself gets removed.

 

 

Step-by-step:

  1. create a copy of Basic View
  2. double click the tab container
  3. flag it as cachable  select the tabs that are to be cached
  4. close the dialog by clicking Ok
  5. save and exit to force Personas to cache the tabs
  6. go back into edit-mode
  7. go to each tab and drag the interesting content out of the tab container
  8. hide the container
  9. re-arrange the content

 

If you want to learn how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas 2.0 - How to go beyond the existing script actions

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

In our webinar Streamline the Order-To-Cash process with SAP Screen Personas, we executed a script on the SAP Easy Access transaction (SMEN) that skipped the first screen of the Create Delivery transaction VL01N using the order number entered on SMEN and a selection date that was calculated using the current date and the selection of a dropdown list.

Capture.PNG

To copy values on one screen and use them on another screen, we used the Copy Value and Paste Value actions as explained in SAP Screen Personas - How to fetch data from another screen. However, to use a value like the date in ten days, some advanced calculation is needed. In such cases, SAP Screen Personas allows you to add JavaScript snippets to a script that has read and write access to the same variables that are accessible via Copy/Paste Value actions.

 

In this example, the value "days" has been copied from the dropdown list, then the following JavaScript snippet has been executed and finally, the value date (created within JavaScript) has been pasted.

 

var d = new Date(); d.setDate(d.getDate() + parseInt(args.days));

args.date = (d.getMonth() + 1) + "/" + d.getDate() + "/" + d.getFullYear();

 

This example showed how to use the JavaScript action for date modifications. During our co-innovation projects, we have also seen that JavaScript was used for basic string operations e.g. concatenating strings to enforce data entry convention.

 

Please have a look at the following video, showing how to use the "Calculate in JavaScript" action.

 

We suggest to use the "Calculate in JavaScript" action for calculations or manipulations beyond the available actions. Variables created using the "Copy Value" action are accessible using the args. - 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. While JavaScript can provide great power and flexibility for manipulating dates and strings, we recommend against using it to embed any business logic. If you want to add functionality beyond the basic SAP transactions, you can do so using WebRFCs.

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas 2.0 - How to fetch data from another screen

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

After we published the article SAP Screen Personas 2.0 - How to merge tabs last week, we have been asked if it is also possible with SAP Screen Personas to merge different screens, transactions or other applications. The answers is "it depends". No, it is not possible with SAP Screen Personas to merge different screens using drag-and-drop like merging tabs but there are other possibilities to create screens with content merged together from different screens or even different transactions. To achieve this, you will need to use the scripting or macro feature.

 

In a nutshell, Personas allows you to record a sequence of user actions and assign those steps to the click of a (script) button. This script can then be enhanced and modified as needed. To illustrate this feature, we have recorded a video that shows how to fetch data from the 2nd screen of SU01D and displaying it on the 1st screen.

 

 

 

Step-by-step:

 

  1. start recording
  2. navigate to the screen containing the content that you are interested in
  3. (trick) double click on the fields so that a double click action is added to the script which we can mdify later
  4. navigate back to the start screen on which you want to show the data
  5. stop recording
  6. create a copy of Basic View
  7. create custom text fields for the content you need to show
  8. (optional) add some labels
  9. create a script button and upload the script that you have recorded
  10. remove unnecessary actions like 'Focus'
  11. convert double click actions into copy value actions (assign a meaningful name for each value)
  12. add paste value actions at the end of the script and map them to your custom text fields
  13. (important) add a refresh screen action right before the copy value actions (this is needed because copy value is executed on client-side and refresh screen returns the current state of the screen from the server)
  14. close the dialog
  15. save and exit
  16. Test

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

SAP Screen Personas 2.0 - How to embed IF conditions in scripts

$
0
0

Note: This article is about SAP Screen Personas 2.0. If you are looking for more information about SAP Screen Personas 3.0, please go to the SAP Screen Personas 3.0 Portal.

 

In our article SAP Screen Personas - How to fetch data from another screen, we have shown how you can use Personas to navigate to another screen, copy important data from this screen and finally navigate back to update fields of the current screen. All this without re-rendering, so that it feels to the end-user as if they are remaining on the original screen.

 

In our SU01D demo scenario this works nicely as long you enter an existing username. However, if the username doesn’t exist, the script execution is interrupted with an error message and the current screen, in this case an error popup, is shown.

 

You might agree that this is not the most beautiful solution. Fortunately, Personas offers IF conditions that you can use in scripts. This handles such situations in a way that contributes to the overall usability enhancements you are building.

To see how all this works, please have a look at the video. It starts with the "Quick View" flavor shown in the How To mentioned at the beginning of the document and enhances it to support handling of popup messages.

 

 

Step-by-step:

  1. Show how the existing flavor works with a known user and an unknown user
  2. Switch to edit-mode
  3. Double click the Script Button
    1. Select the Copy Value action
    2. Copy the id of the control
    3. Add a new action
    4. Convert the new action into an IF condition
      1. Select "is not empty"
      2. Enter the copied control id
    5. (Important) Move the action below the "Refresh Screen" and "above the first "Copy Value" action
    6. Convert all actions below the IF into conditional action
  4. Save & Exit
  5. Test with a known user and an unknown user
  6. Bring the transaction to the state when the error popup is shown
  7. Switch into edit-mode
  8. Copy the id of the label containing the error (and remember the id of the button that needs to be clicked)
  9. Cancel editing
  10. Close the popup
  11. Switch to edit-mode
    1. Add a new label to show the error message
    2. Double click the Script Button
    3. Add a new action
    4. Convert the new action into an IF condition
      1. Select "is not empty"
      2. Enter the copied control id of the error message
    5. Add an additional actions to
      1. Copy the error message
      2. Push the button
      3. Paste the value into the label that has been added before
    6. Make all actions condition actions for the last IF
  12. Save & Exit
  13. Show how the new flavor works with a known user and an unknown user

 

As usual, if you want to learn more or discuss anything related to how to make your SAP GUI screens more functional using SAP Screen Personas, please start a discussion in the SAP GUI space on SCN.

Viewing all 253 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>