Você está na página 1de 20

Duet Enterprise 2.

0
SAP Upgrade Guide

Version 1.0
November 2012

..

Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example
companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any
real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Complying with all applicable
copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into
a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the
express written permission of Microsoft Corporation or SAP AG.
Microsoft or SAP may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document.
Except as expressly provided in any written license agreement from Microsoft or SAP, the furnishing of this document does not give you any license to these
patents, trademarks, copyrights, or other intellectual property.
2012 Microsoft Corporation. All rights reserved.
2012 SAP AG. All rights reserved.
Microsoft, .NET, Exchange Server, MSDN, Office, Outlook, Word, Excel, InfoPath, SQL Server, Visual Studio, Windows, Windows Installer, and Windows Server
are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
SAP, R/3, SAP, SAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks
or registered trademarks of SAP AG in Germany and in several other countries all over the world.
All other trademarks are property of their respective owners mentioned herein may be the trademarks of their respective owners

Table of Contents
Chapter 1:
Introduction .................................................................................................... 1
Prerequisites ...................................................................................................................... 1
Chapter 2:

Pre-Upgrade Procedures ............................................................................... 2

Invalidating Existing Logical Ports for Reporting Scenario ......................................... 2


Stopping Background Jobs for Workflow Scenario ...................................................... 2
Chapter 3:
Upgrading SharePoint 14 to SharePoint 15 ............................................... 4
Post Upgrade Procedures................................................................................................. 4
Enabling Authentication ............................................................................................. 4
Importing STS Certificate ................................................................................... 4
Activating Logical Ports for Reporting Scenario ..................................................... 5
Delivering Unsent Reports ........................................................................................ 5
Starting Background Jobs for Workflow Scenario.................................................. 5
Chapter 4:

Upgrading to SAP NetWeaver Gateway 2.0 SP05 ..................................... 7

Pre-Upgrade Procedure .................................................................................................... 7


Post Upgrade Configurations........................................................................................... 7
Implement the SAP NetWeaver Gateway Notes .................................................... 7
Activate SAP NetWeaver Gateway ........................................................................... 7
Chapter 5:

Upgrading to Duet Enterprise 2.0................................................................ 8

Chapter 6:

Post Duet Enterprise Upgrade Procedures ................................................. 9

Checking the Cryptolib Version ...................................................................................... 9


Enabling Authentication ................................................................................................... 9
Running Post Upgrade Reports ....................................................................................... 9
Maintaining Client Details for Duet Enterprise Services.............................................11
Importing BDC Models ....................................................................................................11
Upgrading the Workflow Scenario .................................................................................12
Activate Task Provider ........................................................................................12
Activate Workflow Services ...............................................................................12
Create BadI Implementations to fetch List of Users for Roles .....................14
Running Scheduled Reports (Jobs) .........................................................................14
Procedure to Restart a Job ................................................................................15
Procedure to Schedule Running of Reports .....................................................15
Upgrading the Reporting Scenario ................................................................................17
Activating Existing Logical Ports for Reporting Scenario ...............................17
Delivering Unsent Reports .................................................................................17

Introduction

Chapter 1:

Introduction

Duet Enterprise empowers and enables employees in your organization to access SAP
business processes and enterprise information through Microsoft SharePoint.
Duet Enterprise 2.0 is an add-on to Duet Enterprise 1.0 SP 02 or feature pack 1 for Duet
Enterprise 1.0. This guide provides information about the Duet Enterprise components from
SAP, which you need to deploy to use Duet Enterprise 2.0. For information regarding the
Duet Enterprise components from Microsoft, refer to the Microsoft Deploy and Configure
Duet Enterprise 2.0 guide at http://go.microsoft.com/fwlink/?LinkId=252057.
We recommend that you use this guide together with the Duet Enterprise SAP Installation
Guide. You can find this guide in SAP Service Marketplace at: service.sap.com/instguides
Duet Enterprise
Duet Enterprise 2.0.
SAP Business Suite Applications
With Duet Enterprise 2.0, we support the upgrade of the following scenarios:
Workflow
Reporting
Role Sync
Use this guide if you want to upgrade to Duet Enterprise 2.0 and have not installed any of
the Duet Enterprise 2.0 software component versions in your landscape.

Prerequisites
You have feature pack 1 for Duet Enterprise for 1.0 installed in your landscape with
the following components:
o

feature pack 1 for Duet Enterprise for 1.0 (with IW_TNG 200)

SAP NetWeaver Gateway 2.0 SP02 (with IW_CNT 200, IW_FND 250)

SharePoint Server 2010

SAP NetWeaver 7.02 SPS08 or higher

You have taken a back up of the data on your landscape.


Ensure you implement the SAP Note 1713464 and 1705537 on the all SAP backend
systems.

SAP Upgrade Guide

Pre-Upgrade Procedures

Chapter 2: Pre-Upgrade
Procedures
Before you start the upgrade, you must stop items from being received by the SAP system.

Invalidating Existing Logical Ports for


Reporting Scenario
Before you start the upgrade, you need to invalidate the logical ports created for reporting
scenarios, which connect the SAP backend to SAP NetWeaver Gateway system.
For invalidating the logical port, you need to provide an invalid target host number in the
RFC destinations.
1. On the SAP systems where reporting is configured, open transaction LPCONFIG.
The Display/Create Logical Port page appears.
2. In the Proxy Class field, enter /OSP/CO_REP_ADAPTER_WSVI_DOCUM.
3. Select the Default Port checkbox.
4. In the Logical Port field, choose F4 and select a Logical Port.
5. Click Display.
6. In the General Settings section, select the Call Parameters tab.
7. In the HTTP Destination field, double-click the RFC destination previously created.
The RFC Destination <name> page appears.
8. On the Technical Settings tab, change the existing Target Host to an invalid value, say
ABC.
Note: Before you provide an invalid value for the Target Host, ensure you have noted
the correct value of the target host. This correct value should be provided during post
upgrade steps.
9. Click

Save.

Stopping Background Jobs for Workflow


Scenario
Before you start the upgrade, you should stop the jobs in the SAP systems which run the
following 2 reports for workflow:
S_OSP_WF_ITEM_SELECTION
RSWNSEL
You can stop the running of reports using your administrator user.
To stop the background jobs, proceed as follows:
1. On to the SAP system, open transaction SM37.
The Simple Job Selection page appears.

SAP Upgrade Guide

Pre-Upgrade Procedures

2. In the ABAP program name field, enter RSWNSEL.


3. Click Execute.
The Job Overview page appears.
4. Select the checkbox against the required job.
5. Go to Job

Released -> Scheduled.

The Status of the job now changes to Scheduled.


6. Repeat steps 1-5 for the S_OSP_WF_ITEM_SELECTION report.
Note: Though the job is scheduled, it will not run.

SAP Upgrade Guide

Upgrading SharePoint 14 to SharePoint 15

Chapter 3: Upgrading SharePoint


14 to SharePoint 15
Ensure your SharePoint 14 is upgraded to SharePoint 15. For more information, refer to
Microsoft SharePoint upgrade path.
Note: This upgrade is performed by SharePoint administrator. This step can be performed
independent of the SAP NetWeaver Gateway upgrade.

Post Upgrade Procedures


After you upgrade from SharePoint 14 to SharePoint 15, ensure reporting and workflow
scenarios work in your landscape. Before you test the scenarios, ensure you perform the
following activities:
1. Enabling Authentication
2. Activating Logical Ports for Reporting Scenario
3. Delivering Unsent Reports
4. Starting Background Jobs for Workflow Scenario
5. Test that the workflow and reporting scenarios are working in your landscape.

Enabling Authentication
Note: Perform this activity only if you upgrade from MOSS14 to MOSS15 from one host to
another host (side-by side upgrade).
Prereq:
Before you start this activity, ensure that the SharePoint administrator has provided the
SharePoint 15 SSO certificate.
In order to enable authentication between of Duet Enterprise (SAP) and SharePoint 15, you
need to perform the following tasks:
Import the SharePoint root certificate into the SSL Server Standard PSEs certificate list
and export SAP NetWeaver Gateways SSL server certificate into the certificate store at
SharePoint. For more information, refer to SAP NetWeaver Gateway Authentication.
Import the SSL server certificate of SharePoint into the SSL client SSL (Standard) PSE
For more information, refer to SAP NetWeaver Gateway to Connectivity Provider
Authentication.
Import the STS certificate

Importing STS Certificate


1. On the SAP NetWeaver Gateway system, open transaction saml2.
2. In the web browser, provide your username and password to logon to the SAML2
configuration page.
3. On the Trusted Providers tab page, choose Security Token Services from the drop down.

SAP Upgrade Guide

Upgrading SharePoint 14 to SharePoint 15

The table below is populated with data based on the above selection.
4. Select SharePoint.
5. Select the Signature and Encryption tab page.
6. Choose Browse to upload the required STS certificate.
7. Choose Save.

Activating Logical Ports for Reporting


Scenario
Activate the logical ports for reporting scenarios, which you have invalidated before the
SharePoint upgrade.
For activating the logical port, you need to provide an the valid target host number in the
RFC destinations, which you had noted down before the upgrade..
1. On the SAP systems where reporting is configured, open transaction LPCONFIG.
The Display/Create Logical Port page appears.
2. In the Proxy Class field, enter /OSP/CO_REP_ADAPTER_WSVI_DOCUM.
3. Select the Default Port checkbox.
4. In the Logical Port field, choose F4 and select a Logical Port.
5. Click Display.
6. In the General Settings section, select the Call Parameters tab.
7. In the HTTP Destination field, double-click the RFC destination previously created.
The RFC Destination <name> page appears.
8. On the Technical Settings tab, change the existing Target Host to an valid value, which
you had noted down previously.
9. Click

Save.

Delivering Unsent Reports


After the upgrade, in order to deliver the reports that are in the SAP backend queue, you
need to run the following procedure:
1. On the SAP backend system, open transaction se38.
2. In the Program field, enter the /OSP/REPORT_UNSENT.
3. Click Execute.

Starting Background Jobs for Workflow


Scenario
Start the jobs in the SAP systems which run the following 2 reports for workflow:
S_OSP_WF_ITEM_SELECTION
RSWNSEL
You can start the running of reports using your administrator user.
To start the background jobs, proceed as follows:

SAP Upgrade Guide

Upgrading SharePoint 14 to SharePoint 15

1. On to the SAP system, open transaction SM37.


The Simple Job Selection page appears.
2. In the ABAP program name field, enter RSWNSEL.
3. Click Execute.
The Job Overview page appears.
4. Select the checkbox against the required job.
5. Choose Release.
The Start Time screen appears.
6. Select Immediate

Periodic values.

7. In the Period Values screen, choose Other Period.


8. Enter 15 Minute(s).
9. Choose Save to continue.
Status of the job now changes to Ready.

SAP Upgrade Guide

Upgrading to SAP NetWeaver Gateway 2.0 SP05

Chapter 4: Upgrading to SAP


NetWeaver Gateway 2.0 SP05
Before you upgrade the Duet Enterprise components, you should upgrade your existing SCL
or SAP NetWeaver Gateway components to SAP NetWeaver Gateway 2.0 SP05. For
information on how to upgrade, refer to SAP NetWeaver Gateway 2.0 guide
http://help.sap.com/saphelp_gateway20sp05/helpdata/en/c3/424a2657aa4cf58df949578a5
6ba80/content.htm.

Pre-Upgrade Procedure
Ensure you perform the following tasks:
Invalidating Existing Logical Ports for Reporting Scenario
Stopping Background Jobs for Workflow Scenario

Post Upgrade Configurations


Once you upgrade to SAP NetWeaver Gateway 2.0 SP05, perform the following tasks:

Implement the SAP NetWeaver Gateway


Notes
Ensure you implement all the notes required for SAP NetWeaver Gateway SP5 mentioned in
the release information note 1560585.

Activate SAP NetWeaver Gateway


When you complete the upgrade, you must activate the SAP NetWeaver Gateway system to
activate all the services. For more information on how to activate the SAP NetWeaver
Gateway services, refer to Activating SAP NetWeaver Gateway.

SAP Upgrade Guide

Upgrading to Duet Enterprise 2.0

Chapter 5: Upgrading to Duet


Enterprise 2.0
This section describes the steps required to upgrade your existing landscape to Duet
Enterprise 2.0.
You upgrade to the Duet Enterprise 2.0 components using the SAP Add-On Installation Tool
(SAINT), which lets you import the Duet Enterprise installation packages from your DVD or
SAP Marketplace into your SAP system landscape. For more information about the SAINT,
see Add-On Installation Tool, on the SAP Help Portal.
The installation packages have a compressed format, so first you unpack them into your
local file system. Later, you import them using the installation tool. For detailed information
about unpacking the installation packages, see Loading Installation Packages from the
Application Server, on the SAP Help Portal.
For information on how to install Duet Enterprise 2.0, refer to the SAP Note 1637043.
Note: Ensure you first upgrade the SAP bits followed by the SharePoint bits.

SAP Upgrade Guide

Post Duet Enterprise Upgrade Procedures

Chapter 6: Post Duet Enterprise


Upgrade Procedures
After the upgrade is complete, you must configure some settings and also enable all the
functionality you disabled during the upgrade procedure.

Checking the Cryptolib Version


Make sure the SAP Cryptolib is on the right level (You need SSFLIB Version 1.555.32 or
higher)
To check the Cryptolib level:
1. On the SAP NetWeaver Gateway system, open transaction STRUST.
The Trust Manager page appears.
2. From the Menu bar, select Environment > Display SSF Version.
An information message appears. The SSFLIB version is displayed on the first line of
the message.
Note: If the Cryptolib version does not meet the requirement mentioned above, contact
your administrator to get the latest version.

Enabling Authentication
Note: Before you start this activity, ensure that the SharePoint administrator has provided
the SharePoint 15 SSO certificate.
In order to enable authentication between of Duet Enterprise (SAP) and SharePoint 15, you
need to perform the following tasks:
1. Import the SharePoint root certificate into the SSL Server Standard PSEs certificate list
and export SAP NetWeaver Gateways SSL server certificate into the certificate store at
SharePoint. For more information, refer to SAP NetWeaver Gateway Authentication.
2. Import the SSL server certificate of SharePoint into the SSL client SSL (Standard) PSE
For more information, refer to SAP NetWeaver Gateway to Connectivity Provider
Authentication.
Note: This step is required only if a new SSL certificate is generated from SharePoint
Server 15.

Running Post Upgrade Reports


You need to run the following post upgrade reports after the Duet Enterprise 2.0 upgrade:
/IWSES/RP_DE20_POST_UPGRADE: Create RFC destinations for workflow and
reporting scenarios based on the logical ports in Duet Enterprise 1.0
/IWSES/RP_DE20_WF_UPGRADE: Migrate all workflow subscriptions from Duet
Enterprise 1.0 to 2.0
To run the /IWSES/RP_DE20_POST_UPGRADE report, proceed as follows:

SAP Upgrade Guide

Post Duet Enterprise Upgrade Procedures

Prerequisite
Ensure that the SharePoint administrator has provided the publisher account details
(username and password) for each web application configured.
Ensure that the site administrator who creates workflow subscriptions from
SharePoint has the role templates /IWBEP/RT_SUB_USR and
/IWWRK/RT_WF_SUB_USR assigned in the SAP backend system.
Note: Perform this activity on the production client of the SAP NetWeaver Gateway system.
Procedure:
1. On the SAP NetWeaver Gateway system, open transaction se38.
2. In the Program field, enter the /IWSES/RP_DE20_POST_UPGRADE.
3. Click Execute.
To run /IWSES/RP_DE20_WF_UPGRADE report, proceed as follows:
Prerequisite
Ensure you have a workflow business user to run this report.
The business user has the following authorization objects on the SAP NetWeaver
Gateway system:
Authorization
Object

Authorization
Field

Value

S_TCODE

TCD

SE38, SE80

S_DEVELOP

ACTVT

03, 16

DEVCLASS

/IWSES/UPGRADE

OBJNAME

/IWSES/RP_DE20_WF_UPGRADE

OBJTYPE

PROG

P_GROUP

SRV_NAME

AB61AF63F60B42BD1262A076C947D2

SRV_TYPE

HT

S_SERVICE

The business user has the role templates /IWBEP/RT_SUB_USR and


/IWWRK/RT_WF_SUB_USR assigned in all the backend systems on which workflow is
configured along with the authorization objects mentioned below.
Authorization
Object

Authorization
Field

Value

S_SERVICE

SRV_NAME

921E192FC645BD0C8AA85DCDD52A69

SRV_TYPE

HT

ACTVT

RFC_CLIENT

RFC_EQUSER

RFC_INFO

S_RFCACL

SAP Upgrade Guide

10

Post Duet Enterprise Upgrade Procedures

RFC_SYSID

RFC_TCODE

RFC_USER

Note: Perform this activity on the production client of the SAP NetWeaver Gateway system.
Procedure:
1. On the SAP NetWeaver Gateway system, open transaction se38.
2. In the Program field, enter the /IWSES/RP_DE20_WF_UPGRADE.
3. Click Execute.

Maintaining Client Details for Duet


Enterprise Services
Note: Perform this activity on the production client of the SAP NetWeaver Gateway system.
1.

On the SAP NetWeaver Gateway system, go to transaction SICF.

2.

In the Hierarchy Type field, enter SERVICE.

3.

In the Service Path field, enter /sap/opu/sdata/iwses/reporting.

4.

Click the

5.

Double click on the service.

6.

On the Logon Data tab, choose Edit.

7.

In the Client field, provide the client details.

8.

Save your settings.

9.

Repeat the above steps for the following Duet Enterprise Service Paths:

Execute icon.

/sap/opu/sdata/iwses/roleservice
/sap/opu/odata/iwwrk/duet_workflow_core
/sap/opu/odata/iwbep/subscriptionmanagement

Importing BDC Models


Use the URLs provided below while deploying the BDC models and services:
Information
needed

Example

LSI URL for


Workflow

https://<host>:<port>/sap/opu/odata/IWWRK/DUET_WORKFLOW
_CORE;mo;c=SHAREPOINT_DE/

LSI URL for


Reporting

https://<host>:<port>/sap/opu/sdata/iwses/Reporting

LSI URL for


RoleSync

https://<host>:<port>/sap/opu/sdata/iwses/Roleservice

LSI URL for


Subscription

https://<host>:<port>/sap/opu/odata/IWBEP/SUBSCRIPTIONMAN
AGEMENT;mo;v=2;c=SHAREPOINT_DE/

SAP Upgrade Guide

11

Post Duet Enterprise Upgrade Procedures

The URLs can be HTTP if the logon procedure is STANDARD or HTTPS if its SSL based in
the SICF transaction for all services.

Upgrading the Workflow Scenario


To enable workflow, perform the following steps:
Configure the SAP (backend) systems to connect to SAP NetWeaver Gateway system.
For more information, refer to Connection Settings on the Backend System.
Run scheduled reports to synchronize the tasks between SAP and SharePoint systems.
For more information, refer to Running Scheduled Reports (Jobs).
IW_BEP component is installed on all the SAP backend systems on which workflow are
configured.

Activate Task Provider


You perform this activity on the SAP Business Suite system to ensure that the Duet
Enterprise workflow services surface in SharePoint for push scenarios.
Prerequisite:
To activate the task provider, proceed as follows:
1. Log on to the SAP Business Suite system.
2. Select transaction SPRO.
3. Choose SAP Reference IMG.
4. Select SAP Customizing Implementation Guide
Enablement
Content
Workflow Settings.

SAP NetWeaver

Gateway Service

5. Select Task Provider Customizing.


6. Choose New Entries.
7. In the Providers table, enter the Provider ID as BWF_D.
8. Select the Active checkbox against the provider ID.
9. Choose Save.
Note: If you have multiple SAP backend systems in your landscape, ensure that you
activate the task provider in all the backend systems.

Activate Workflow Services


Once you activate the task provider on the backend system, you then activate the workflow
and subscription services on the SAP NetWeaver Gateway system.
Prerequisites
Make a note of the various system aliases maintained for your existing workflow service. To
do that, proceed as follows:
1. In the SAP NetWeaver Gateway system go to transaction SPRO, open the SAP
Reference IMG and navigate to SAP NetWeaver
Gateway Former Development
Generic Channel
Administration
General Settings
Manage GSDO Groups .
2. Click on the Activity icon.
3. In the Manage GSDO Groups table, select the required active GSDO group. For
example, either IW_WF or SPI_WORKFLOW GSDO group.

SAP Upgrade Guide

12

Post Duet Enterprise Upgrade Procedures

4. Double-click on Assign SAP System Aliases.


5. Make a note of the system aliases maintained in the Assign SAP System Aliases
table.
To activate the services, proceed as follows:
1. In the SAP NetWeaver Gateway system go to transaction SPRO, open the SAP
Reference IMG and navigate to SAP NetWeaver
Gateway
OData Channel
Development with IW_BEP
Registration
Activate and Maintain Services .
2. Click on the Activity icon.
The service catalog appears with a list of services in the current system.
3. Choose

(Add Service) to find your service from the backend system.

4. Enter the System Alias of your backend system and choose Enter.
5. Enter the Technical Service Name as /IWWRK/DUET_WORKFLOW_CORE, to activate the
workflow service.
The list of services in your backend system appears. Click on the Technical Service
Name to see details of the service.
6. Enter a package name and choose Add Service.
A message displays: Service /IWWRK/DUET_WORKFLOW_CORE successfully
created.
7. Return to the service catalog with F3.
Your service is part of the list now.
8. Click on the Technical Service Name to see detailed information.
9. If your service is not yet active (green traffic light) choose Activate ICF Node.
10. If you want to add multiple system aliases to the /IWWRK/DUET_WORKFLOW_CORE
service, choose

(Create System Alias Assignment).

11. Choose New Entries.


12. Browse and select the DUET_WORKFLOW_CORE Service Doc. Identifier. For
example, if you are saving the service in a local object, the service doc. Identifier will
be ZDUET_WORKFLOW_CORE_0001.
13. Choose the Default checkbox if you want this system alias as the default value.
Note: Atleast one system alias should be marked as default.
14. In the SAP System Alias column, enter the required system alias.
15. Choose Save.
16. To add more system aliases, repeat steps 11-14.
17. To activate the subscription service, select the following entry:
Technical Service Name :/IWFND/SUBSCRIPTIONMANAGEMENT
Version: 2
18. To add multiple system aliases to /IWFND/SUBSCRIPTIONMANAGEMENT service, choose
(Create System Alias Assignment).
19. Choose New Entries.

SAP Upgrade Guide

13

Post Duet Enterprise Upgrade Procedures

20. Browse and select the /IWFND/SUBSCRIPTIONMANAGEMENT_002 Service Doc.


Identifier.
21. In the SAP System Alias column, enter the required system alias.
22. Choose the Default checkbox if you want this system alias as the default value.
Note: Only one system alias should be marked as default.
23. Choose Save.
24. To add more system aliases, repeat steps 19-23.
Note: Provide the same system aliases for both /IWWRK/DUET_WORKFLOW_CORE and
/IWFND/SUBSCRIPTIONMANAGEMENT service.

Create BadI Implementations to fetch List of


Users for Roles
1. Log on to the SAP backend system.
2. Select transaction SPRO.
3. Choose SAP Reference IMG.
4. Select SAP Customizing Implementation Guide
SAP NetWeaver
Gateway Service
Enablement
Content
General Settings
Create BAdI Implementation to Fetch
List of Users for Roles.
5. Click execute.
6. In the BAdI Implementations screen, click Create.
7. Choose Continue.
8. In the Create Enhancement Implementation screen, provide a value for the
Enhancement Implementation, for example ZDE_EH_FETCH_USERS_FOR_ROLES.
9. Provide a short text, for example Fetch list of users for roles for Duet
Enterprise 2.0.
10. Choose Continue.
11. In the Create Object Directory Entry, select a package and choose Save.
12. On the Enhancement Implementation Screen, enter the following:
a. BAdI Implementation: Provide a name for the BAdI implementation, for
example, ZDE_BADI_FETCH_USER_FOR_ROLES.
b. Implementation Class: /IWBEP/CL_MGW_PUSH_ROL_MAP_RMT
c. BAdI Definition: /IWBEP/BD_MGW_PUSH_ROL_MAP_PRV
13. Choose Continue.
14. Save and activate the BAdI.

Running Scheduled Reports (Jobs)


To synchronize the tasks between the SAP system and SharePoint, the following 2 reports
must be scheduled in the SAP system:
RSWNSEL
/IWWRK/R_WF_ITEM_SELECTION_GW

SAP Upgrade Guide

14

Post Duet Enterprise Upgrade Procedures

The login user who schedules the reports should be a valid ADS user. Schedule the reports
as per the following sequence:
1. Before the upgrade, you would have stopped the job which runs the NetWeaver report
RSWNSEL. To restart this job, refer to the section Procedure to Restart a Job.
2. Schedule the workflow item selection report /IWWRK/R_WF_ITEM_SELECTION_GW (or
run the report when required). This report should run after the successful execution of
the NetWeaver report RSWNSEL. This report processes the workflow items retrieved by
the report RSWNSEL and sends the approver mails and tasks. We recommend that you
run this report at a frequency of fifteen minutes. Refer to the section Procedure to
Schedule Running of Reports to run the reports.

Procedure to Restart a Job


After you upgrade to Duet Enterprise 2.0, you should restart the job which runs the
RSWNSEL report for workflow.
You can start the running of reports using your administrator user.
To start the background jobs, proceed as follows:
1. On to the SAP system, open transaction SM37.
The Simple Job Selection page appears.
2. In the ABAP program name field, enter RSWNSEL.
3. Click Execute.
The Job Overview page appears.
4. Select the checkbox against the required job
5. Choose Release.
The Start Time screen appears.
6. Select Immediate

Periodic values.

7. In the Period Values screen, choose Other Period.


8. Enter 15 Minute(s).
9. Choose Save to continue.
Status of the job now changes to Ready.

Procedure to Schedule Running of Reports


You can schedule the running of reports using your administrator user.
To schedule running of various reports, you will need to know the following parameters:
Program field Name of the report you want to run
Variant field Name of the variant you want to create
Meaning field Description of the variant you want to create
Note: Make sure that the user ID with which you schedule running of reports exists in the
Active Directory Service.
Scheduling running of reports involves the following two activities:
Creating variants
Scheduling background job for the variant

SAP Upgrade Guide

15

Post Duet Enterprise Upgrade Procedures

To Create Variants:
1. On the SAP system, open transaction SE38.
The ABAP Editor: Initial Screen page appears.
2. In the Program field, enter the name of a report.
3. Select the Variants radio button.
4. Choose Display.
The ABAP: Variants Initial Screen appears.
5. In the Variant field, enter the name of the variant. For example, REP_VAR1.
6. Choose Create.
The Maintain Variant: Report page appears.
7. Select the OData Channel Push radio button.
8. Choose Attributes.
The Variant Attributes page appears.
9. In the Description field, enter the variants description.
10. Choose Save.
The Maintain Variant: Report page appears.
11. Choose Save to save the value of the variants.
To schedule background jobs:
1. On to the SAP system, open transaction SM36.
The Define Background Job page appears.
2. Click Job Wizard to create a new job.
3. In the wizards opening page, click Continue.
4. In the Job Name field enter a name and click Continue.
5. Select the ABAP program step radio button and click Continue.
6. In the ABAP Program Name field enter the report name
/IWWRK/R_WF_ITEM_SELECTION_GW.
7. In the Variant field, choose the variant that you created above, for example REP_VAR1.
8. Click Continue.
9. Leave the Add additional steps (optional) checkbox empty, and click Continue.
10. Select the Immediately radio button and click Continue.
11. In the Periodic jobs section, select the Period checkbox and click Continue.
12. Select None of the above and click Other periods.
13. In the Minute(s) field, enter 15.
14. Click Create.
15. Click Continue.
16. Click Complete.

SAP Upgrade Guide

16

Post Duet Enterprise Upgrade Procedures

Upgrading the Reporting Scenario


Activating Existing Logical Ports for Reporting
Scenario
After the upgrade, you need to activate the logical ports created for reporting scenarios, so
that they can connect the SAP backend to SAP NetWeaver Gateway system.
For activating the logical port, you need to provide the correct target host value in the RFC
destinations.
1. On the SAP systems where reporting is configured, open transaction LPCONFIG.
The Display/Create Logical Port page appears.
2. In the Proxy Class field, enter /OSP/CO_REP_ADAPTER_WSVI_DOCUM.
3. Select the Default Port checkbox.
4. In the Logical Port field, choose F4 and select a Logical Port.
5. Click Display.
6. In the General Settings section, select the Call Parameters tab.
7. In the HTTP Destination field, double-click the RFC destination previously created.
The RFC Destination <name> page appears.
8. On the Technical Settings tab, change the existing Target Host to the correct value.
9. Click

Save.

Delivering Unsent Reports


After the upgrade, in order to deliver the reports that are in the SAP backend queue, you
need to run the following procedure:
1. On the SAP backend system, open transaction se38.
2. In the Program field, enter the /OSP/REPORT_UNSENT.
3. Click Execute.

SAP Upgrade Guide

17

Você também pode gostar