Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
PUBLIC
7#(7&1k&j=Jag#Bx"td@C`%sw_-[!Y
Document History
CAUTION
Before you start the implementation, make sure you have the latest version of SAP Solution
Manager. For more information on the SAP Solution Manager content, see SAP Note 1461039.
Version
Date
Description
1.0
2011-11-08
Initial version
2/66
PUBLIC
2011-11-08
Table of Contents
Chapter 1
Chapter 2
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.3
2.4
2.5
2.6
2.6.1
2.6.2
2.6.3
2.7
2.8
2.8.1
2.8.2
2.9
2.9.1
2.9.2
2.9.3
2.9.4
2.9.5
2.10
2.10.1
2011-11-08
PUBLIC
3/66
Chapter 3
3.1
3.1.1
3.2
3.2.1
3.2.1.1
3.2.1.1.1
3.2.1.1.2
3.2.1.2
3.2.1.2.1
3.2.1.2.2
3.2.1.2.3
3.2.1.2.4
3.2.1.3
3.2.1.4
3.2.1.5
3.2.1.5.1
3.2.1.5.2
3.2.1.6
3.2.1.7
3.2.1.7.1
3.2.1.7.2
3.2.1.7.3
3.2.1.7.4
3.2.1.8
3.2.1.8.1
3.2.1.8.2
3.2.1.8.3
3.2.1.8.4
3.2.1.8.5
3.2.1.8.6
3.2.1.9
3.2.1.9.1
3.2.1.9.2
3.2.1.9.3
3.3
3.4
4/66
PUBLIC
35
35
35
35
36
36
36
37
38
38
39
40
40
40
41
41
41
42
42
42
42
43
43
44
44
44
44
52
43
43
54
54
54
56
57
57
57
2011-11-08
3.4.1
3.4.1.1
3.4.1.2
3.5
3.6
3.6.1
3.7
3.7.1
3.7.1.1
3.7.1.2
2011-11-08
PUBLIC
58
58
58
59
59
60
60
61
61
61
5/66
The configuration documentation for SAP Supplier Relationship Management (SAP SRM) is delivered
with the SAP Solution Manager content. To implement and configure SAP SRM, you must use SAP
Solution Manager, which contains the complete configuration documentation including links to
Customizing, SAP Notes, and SAP ERP documentation.
This guide contains only the SAP SRM configuration documentation and references to other
documentation. It provides you with a quick overview of the required SAP SRM configuration settings.
CAUTION
This guide is a supplement to the SAP Solution Manager content and does not replace it. The
complete configuration content and tool support is only available in SAP Solution Manager.
For more information on the SAP Solution Manager content, see SAP Note 1461039 and the SAP SRM
master guide at http://service.sap.com/instguides under Installation & Upgrade Guides SAP Business
Suite Applications SAP SRM SAP SRM Server 7.01 .
Business Functions
SAP enhancement package 1 for SAP Supplier Relationship Management 7.0 (SAP SRM 7.0) includes
the following business functions:
QK>% SRM, Strategic Sourcing Innovations
QK>% SRM, Catalog Innovations
QK>% SRM, Approval Process
QK>% SRM, Continuous Innovations
QK>% SRM, Implementation Simplification
QK>% SRM, Service Procurement Innovations
QK>% SRM, PI-Independent Enterprise Services
QK>% QlbM3Om=tWv/^L6F,xaI=&
QK>% SRM, Self-Service Procurement
QK>% SRM, Analytics
For more information about these business functions, see SAP Help Portal at http://help.sap.com
SAP Supplier Relationship Management Business Functions and Customizing Switches .
2011-11-08
PUBLIC
7/66
2.1
SAP Notes
2011-11-08
PUBLIC
9/66
2.2
Process
Configure bgRFC as described on SAP Help Portal at http://help.sap.com under SAP NetWeaver
Library SAP NetWeaver by Key Capability Application Platform by Key Capabilities Platform-Wide Services
Connectivity Components of SAP Communication Technology Classical SAP Technologies (ABAP) RFC
Background Communication bgRFC (Background Remote Function Call) bgRFC Configuration .
Configuring the Web Service Runtime
Configure the Web service runtime in client 000 as well as in the production client using report
SRT_ADMIN. For more information, see SAP Help Portal at http://help.sap.com under SAP NetWeaver
Library SAP NetWeaver by Key Capability Application Platform by Key Capabilities ABAP Technology ABAP
Workbench ABAP Workbench Tools Web Services Creating Consumers/Providers for the Enterprise Services Repository
7.1 Managing the Web Service Runtime Configuring the Web Service Runtime .
SOA Manager
Use the SOA Manager (transaction code SOAMANAGER) to administer and configure service providers
and consumer proxies in both the SAP Supplier Relationship Management (SAP SRM) system and the
SAP ERP system. For more information about how to use the SOA Manager, see SAP Help Portal at
http://help.sap.com under SAP NetWeaver Library SAP NetWeaver by Key Capability Application
Platform by Key Capabilities ABAP Technology ABAP Workbench ABAP Workbench Tools Web Services
Working with the SOA Manager .
Proceed as follows:
1. Under Technical Administration Profile Management , you create a profile.
NOTE
2.
Ensure that the names of the profiles and the versions are the same for provider and consumer.
Under Technical Administration System Connections , you create a provider system and assign a profile
to it.
NOTE
To be able to use the input help, you must have configured the Services Registry correctly.
If this is not the case, you can enter the SLD identifier manually. The SLD identifier is made
up as follows:
<Client>.SystemName.<SID>.SystemNumber.<Installation
Number>.SystemHome.<database host name>
Example: 340.SystemName.QV5.SystemNumber.0020270862.SystemHome.uxdbqv5
The WSIL URL is made up as follows:
http://<host name>:<http port>/sap/bc/srt/wsil?sap-client=<client>
Example: http://uxciqv5.wdf.sap.corp:50050/sap/bc/srt/wsil?sap-client=340
10/66
PUBLIC
2011-11-08
2.2
3.
4.
5.
6.
7.
Under Service Administration User Account Management , you enter a service user. Ensure that this
service user has sufficient bgRFC authorization in the SAP SRM system.
Under Service Administration User Account Management Account Assignment , you assign a user
account to the system connection. You do so for all service interfaces and for all service groups.
Choose Service Administration Business Scenario Configuration and proceed as follows:
1. Choose New.
2. In step 1 (General), enter the business scenario name and description.
3. Choose Next.
4. In step 2 (Provider Side), choose Add to enter all relevant inbound services, for example:
PurchaseOrderERPConfirmation_In
PurchaseOrderERPContractReleaseNotification_In
PurchaseRequestERPSourcingRequest_In
PurchasingContractERPConfirmation_In
PurchasingContractSRMReplicationConfirmation_In
RFQRequestSUITERequest_In
SupplierInvoiceSUITEContractReleaseNotification_In
PurchaseOrderERPRequest_In_V1
5. For each of the services, choose Assign Profile to assign the profile created in step 1.
6. Choose Next.
7. In step 3 (Consumer Side), choose Add to enter the service group /SAPSRM/
SERVICEPROC_CLASSIC.
8. Choose Assign Business Application to assign the provider system created in step 2 to the service
group.
You activate the business function Improvements for SOA Reuse Functions (FND_SOA_REUSE_1).
You activate the support for point-to point communication. You do so in Customizing for CrossApplication Components under Processes and Tools for Enterprise Applications Enterprise Services Point-to-Point
Enablement for Asynchronous Enterprise Services Activate Support for Point2Point Communication .
2011-11-08
SRM_WSRM_1
PUBLIC
11/66
2.2
You can use this business function to exchange asynchronous enterprise services between SAP SRM
and SAP ERP by means of the Web Service Reliable Messaging (WSRM) protocol. In this case, an
integration server, for example, SAP NetWeaver Process Integration (SAP NetWeaver PI) is no longer
required and you reduce installation costs.
Prerequisites
Component
SRM_SERVER 701
You have activated the business function Improvements for SOA reuse functions (FND_SOA_REUSE_1) in the SAP
Business Suite Foundation system and defined settings in Customizing under Cross Application
Components Processes and Tools for Enterprise Applications Enterprise Services Point-to-Point Enablement for
Asynchronous Enterprise Services .
Features
1.
2.
3.
4.
12/66
PUBLIC
2011-11-08
2.2
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
Right-click to display the context menu and choose Business Systems Assign Business System . This
opens the wizard.
Choose Continue. The wizard guides you through the required steps.
Select a business system.
You can create communication channels either manually or automatically. You can create them
automatically here. In this case, the systems are applied from the SAP System Landscape Directory
(SLD). Channels must be complete in terms of URLs and authentication information.
Choose Finish, and then choose Close.
On the main screen, choose Tools Transfer Integration Scenario from Integration Repository . This opens
a wizard.
Choose Name using input help Central_Contract_Management (with namespace http://sap.com/xi/
SRM/Basis/Global\IC and component SAP SRM SERVER IC 7.01).
Select Continue. The scenario name is Central_Contract_Management.
Choose Finish and then choose Close. The Business Scenario Configurator opens automatically.
Select Component View.
The Select Component View window opens.
Choose Apply.
Choose Assign Services. The Assign Services to Application Component window opens.
Press F4 to retrieve the available services.
Choose Assign.
Select the related service and choose OK.
Assign a business service to all roles.
Choose Configure Connections.
Select the connections from the Service Assignment tab.
Press F4 in the Communication Channel field.
Select a communication channel. This channel must be of type XI.
NOTE
26.
27.
28.
29.
30.
r7+ If the systems are applied from the SAP Landscape Directory, the Integration Builder
automatically creates the communication channels.
r7+ If the systems are not applied from the SAP Landscape Directory, you create
communication channels manually. To do this, choose an existing service and then
Communication Channel using context menu New. You must assign a communication channel
for each connection.
Choose OK and then choose Apply.
Choose Generate to open the Create Configuration Objects window.
Select Simulation, then Generate, then mark all in the list Scope of Generation.
Choose Start to generate a log. Check the log for errors and save it if required.
In the Close Integration Scenario screen, choose Apply.
2011-11-08
PUBLIC
13/66
2.2
31. In the left pane, select the Scenarios tab; your scenario has been added.
Direction
Asynchronous
call
(consumer)
PurchasingContractSRMReplicationConfirmation_In
Asynchronous
call (provider)
PurchaseOrderSRMPricingSimulateQueryResponse_In
Synchronous
call (provider)
PurchaseOrderERPContractReleaseNotification_In
Asynchronous
call (provider)
PurchasingContractSRMArchivingCheckQueryResponse_Out Synchronous
call
(consumer)
SupplierInvoiceSUITEContractReleaseNotification_In
Asynchronous
call (provider)
Materials Management
PurchasingContractSRMReplicationRequest_In
PurchasingContractSRMReplicationConfirmation_
PurchaseOrderSRMPricingSimulateQueryResponse
PurchaseOrderERPContractReleaseNotification_Ou
PurchasingContractSRMArchivingCheckQueryResp
SupplierInvoiceSUITEContractReleaseNotification_
Procedure
1.
2.
3.
14/66
PUBLIC
2011-11-08
2.3
Each time a user makes a change in the Perform Mass Changes function, a work package is created in
the system. This work package contains the following data:
l: Selected contract(s)
l: Mass change methods and filters
l: Messages that occurred during the simulation step (if carried out)
2011-11-08
PUBLIC
15/66
2.5
Use the transactions SM36 (Scheduling Background Jobs) or SM36WIZ (Job Definition Wizard) to schedule
the report.
EXAMPLE
For example, you want to run a weekly report to archive and delete work packages that are
more than 7 days old.
To do this, create and save a report variant WEEKLY with the action type Archive WP(s)
deactivated. Set the parameter WP Older Than to 7 to keep work packages created during the
previous week. Similarly, you can set WP Older Than to 14 if you want to keep work packages
created in the previous two weeks.
You have worked out a blueprint for the pricing structure you want to use in your purchasing contracts,
for example, how your gross prices and your rebates are to be calculated.
For more information, see SAP Help Portal at http://help.sap.com under SAP Supplier Relationship
Management Functions Global Functions Pricing .
You have completed the configuration steps described in SAP Solution Manager under <project name>
Configuration Structures SAP SRM <release> Basic Settings for SAP SRM Cross-Application Settings Alert
Framework .
In particular, you have performed the following Customizing activities:
16/66
PUBLIC
2011-11-08
2.6
Alert Settings
+Z Define Events
+Z Define Event Schema
Integration
Alert Management is composed of functions from the SAP standard component Alert Management
but offers extended functionality. Alerts are processed and distributed using the Alert Framework. By
default, notifications and alerts are transmitted by e-mail, but it is also possible to view alerts in the
universal worklist (UWL) under the Alerts tab.
More Information
For more information, see the SAP Help Portal under http://help.sap.com SAP NetWeaver <release>
Library SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform by Key Capability
Business Services Business Communication Services Alert Management (BC-SRV-GBT-ALM) .
You have defined transaction types in Customizing for SAP SRM under SRM Server Cross-Application
Basic Settings Define Transaction Types .
Procedure
To create default alert threshold values for a contract, in the Customizing activity Enter Threshold Data
for Contracts, proceed as follows:
1. Choose New Entries.
2. Select a transaction type from the dropdown list, for example, CCTR for a central contract.
3. Enter the alert thresholds (as a percentage) for the release value of a contract for both header and
item level. For example, if you want the system to alert the user when the release value of a contract
at header level has reached 95% of the target value, enter 95 in the Header Val. column.
4. Enter the number of days before which a contract will expire. For example, if you want the system
to alert the user that the contract is due to expire in 100 days, enter 100 in the Exp. Days column.
5. Enter the alert threshold (as a percentage) for the release quantity of a contract. For example, if
you want the system to alert the user when the release quantity of a contract has reached 95% of
the target quantity, enter 95 in the Item Qty column.
2011-11-08
PUBLIC
17/66
2.6
Alert Settings
Result
Once the contract has been created, the report BBP_CONTRACT_CHECK checks the values taken
from the contract (or, if the values are not found in the contract, from this Customizing table) against
the current status of the contract. When a threshold is exceeded, an alert is triggered and the purchaser
is informed via e-mail if, for example:
'iim The validity of the contract has almost expired.
'iim The release quantity is approaching the target quantity.
'iim The release value is approaching the target value (at both header and item level).
You have defined transaction types in Customizing for SAP Supplier Relationship Management (SAP
SRM) under SRM Server Cross-Application Basic Settings Define Transaction Types .
You have processed event schemas, chosen event categories, assigned subcategories of events, and
defined event deadlines in Customizing for SAP SRM under SRM Server Cross-Application Basic Settings
Event and Event Schema for Alert Management .
You have defined the recipient of notifications in Customizing for SAP SRM under SRM Server CrossApplication Basic Settings Event and Event Schema for Alert Management Define Recipient of Notifications .
NOTE
You can define your own events and overwrite existing (delivered) events using the Business AddIn (BAdI) Alerts/Messages and Events in SRM Alert Management (BBP_ALERTING). You can implement
this BAdI in Customizing for SAP SRM under SRM Server Business Add-Ins Alerts/Messages and
Events in SRM Alert Management .
Procedure
18/66
PUBLIC
2011-11-08
2.7
3.
4.
C8F You have installed the TREX Server. For more information, as well as the necessary configuration
activities, see SAP Solution Manager under Basic Configuration Configuration Structures SAP
NetWeaver 7.0 (2004s) Standalone Engines Search and Classification (TREX) .
C8F After installing the TREX Server you have completed the following:
C8F You have set up the TREXPreprocessor.ini file and protected the file against unauthorized
access (since it contains user and password data) by adding the following information after
the [httpclient] section:
#basic authent
user=<user for SRM Server>
2011-11-08
PUBLIC
19/66
2.8
TREXPreprocessor.ini
Procedure
Creating RFC Destination and Defining Back-End
1.
Using transaction SM59, create an RFC destination with TCP/IP connection for the TREX server.
NOTE
2.
Only use one RFC destination for TREX. SAP SRM supports only one TREX Server, although
it is technically possible to specify several RFC destinations for TREX.
In Customizing for SAP Supplier Relationship Management, define a back-end system for the
TREX server by choosing SRM Server Technical Basic Settings Define System Landscape .
Specify a logical system (you can enter any key, such as TREX), an RFC destination (the one you
created in step 1), and assign system type TREX search tool.
For more information, see Defining RFC Destination and Back-End System [external document].
If you are using the Invoice Management System (IMS), you have to run the report
BBP_TREX_INDEX_ADMIN for the business object Invoice.
20/66
PUBLIC
2011-11-08
2.8
The process-controlled workflow framework is the default framework in the SAP SRM system.
7sI Application-controlled workflow framework
These are approval workflows based on SAP Business Workflow in which the application is in
control over the SAP Business Workflow templates. Multiple workflow templates can be used,
using defined start conditions.
The application-controlled workflow framework is the framework that was available in SAP SRM
5.0 and lower. It is only intended to be used if you are upgrading from SAP SRM 5.0 or lower and
you need to continue using your existing workflows.
For more information about the workflow frameworks, see SAP Help Portal at http://
help.sap.com under SAP Supplier Relationship Management Functions Business Workflow .
Prerequisites
You have performed the basic workflow Customizing as described in SAP Solution Manager under
<project name> Configuration SAP SRM <release> Basic Settings for SAP SRM Cross-Application Settings
Business Workflow .
Process
The following scenario-specific workflow documentation is available in SAP Solution Manager under
<project name> Configuration SAP SRM <release> :
7sI Basic Settings for Service Procurement External Staffing Other Settings Workflow Settings for Business
Scenarios
2011-11-08
PUBLIC
21/66
2.8
|
|
Basic Settings for Strategic Sourcing General Settings Workflow Settings for Business Scenarios
Basic Settings for Contract Management General Settings Workflow Settings for Business Scenarios
If the workflow does not work as expected, see SAP Note 322526 (Analysis for Workflow
Problems).
Prerequisites
You have created your organizational structure. We recommend that you map your enterprise
structure at least at departmental level. See Creating the Organizational Plan [external document].
Before you can assign processors to standard tasks, you must have created the relevant users or
regenerated the roles, as appropriate. See Regenerating Role Profiles [external document].
You have performed the basic Customizing for application-controlled workflow described in Setting Up
Business Workflow for Application-Controlled Workflow [external document].
Procedure
1.
2.
3.
In Customizing for SAP SRM, choose SRM Server Cross-Application Basic Settings Business Workflow
Application-Controlled Workflow Technical Configuration Perform Task-Specific Customizing .
Expand the SRM and the SRM-EBP folders. Find folder SRM-EBP-WFL and click Activate Event
Linking for this folder.
Activate the event linkage for the following workflows:
Business
Object
Triggering Events
Workflows
Belonging to
Business Object
BUS2000113
(Contract)
SAVED/
CHANGEVERSIONSAVED
WS14000086 (auto
approval)
WS14000088 (onestep approval)
WS14500026 (auto
approval)
22/66
PUBLIC
Yes
No
2011-11-08
2.8
BUS2202
(Supplier
Quote)
TOBEACCEPTED
No
No
Yes
No
No
No
1) Start condition activation is required if several workflows are assigned to the same business object and triggering event.
2) If you activate a start condition, the event linkage of the related workflow is activated automatically.
Workflow WS14500051 (generic workflow for SAP SRM alerts) is triggered by the event
APPROVAL_NOT_PROCESSED, providing that a deadline has been specified in Customizing for
Alert Management (Define Event Schema). (This workflow monitors approval workflows, and triggers
an alert/message if no approval has been granted when the deadline passes.) Activate this workflow
if you want to use SAP SRM Alert Management.
CAUTION
If an event linkage is activated and the corresponding start condition is not activated, the
workflow is started every time the event occurs (and the start condition rules are not
followed).
The following workflows are optional:
Business
Object (BO)
Triggering Events
BUS2000113
(Contract)
ALERTBUSINESSWAREHOUSE
WS10400022
SAVED/ CHANGEVERSIONSAVED (contract alert)
WS14000148 (nstep approval)
TOBEACCEPTED
WS14500044 (n- No
step approval)
Workflow
Template
Event
Linkages (by
Default)
Activated?
No
No
BUS2202
(Supplier
Quote)
BUS2200 (RFx) EXTERNALAUCTIONSTARTED
WS14000091
No
SAVED/ CHANGEVERSIONSAVED (alert workflow) No
WS14500028 (nstep approval)
Start
Conditions
Required? 3)
No
Yes 3)
Yes 3)
No
Yes 3)
3) Create and activate start conditions if several workflows are assigned to the same business object and triggering event.
4.
If you use the standard approval workflows, define the conditions under which the workflows are
started.
NOTE
The start conditions are shipped by SAP by default in such a way that the workflows are
executable. However, you can change the start conditions to fit your requirements. For more
information, see Customizing for SAP SRM under SRM Server Cross-Application Basic Settings
2011-11-08
PUBLIC
23/66
2.8
The delivered or changed start conditions must be activated before the workflow runs.
NOTE
5.
If multiple approval workflow types are activated for a specific procurement scenario (using
event linkage), you must prevent these workflows from starting simultaneously. You do this
by activating the delivered start conditions or by defining your own start conditions. We
recommend that you modify the delivered start conditions to suit your requirements. If you
define new start conditions, bear in mind that the start condition editors use Boolean logic
rules. This means that a status that is defined in a start condition will appear in its inverse
form in the other start conditions. This ensures that the other condition always shows False
when the first one shows True.
Assign processors to some standard tasks.
If you want a certain group of persons to be able to approve your work items, you must specify all
possible processors for the task in question. For example, tasks TS10008069 and TS10008127 for
standard two-level approval and task TS10008126 for single-level approval. These tasks are assigned
to the manager role. If required you can, however, specify these processors differently.
Assign a processor to the tasks in the table in Customizing for SAP SRM, under SRM Server
Cross-Application Basic Settings Business Workflow Application-Controlled Workflow Technical
Configuration Perform Task-Specific Customizing .
Expand the SRM and the SRM-EBP folders. Find folder SRM-EBP-WFL and click the Assign Agents
hyperlink for this folder.
The following tasks are required for Contract Management:
Task (Description)
TS10407926 (CTR Check in alert
workflow)
TS14007969 (Approval task in onestep approval of CTR)
TS14507918 (Send contract back to
creator)
TS14507919 (Check contract by
reviewer)
TS14507920 (Approval task to add to
approval of CTR)
TS14507922 (Approval task for onestep approval of RFx)
TS14507924 (Approval task to add to
approval of RFx)
24/66
WS14000148
General task
WS14500008
WS14500010
WS14500027
WS14500022
PUBLIC
2011-11-08
2.8
6.
WS14500023
WS14500028
WS14500040
General task
Manager role or general task
WS14500041
WS14500044
WS14500044
General task
WS79000002
Manager role
For more information, see Technical Information on Standard Workflows [external document].
You need to specify who is to be authorized to change or insert the approver or reviewer. You do
this by specifying the possible processors in the workflow template (transaction PFTC_CHG:
Additional Data Agent Assignment Maintain ). This affects the following workflows in SAP SRM
that are relevant to Contract Management:
S WS14000086 Auto approval of contract
S WS14000088 One-step approval of contract
S WS14000145 N-step approval of contract
S WS14500026 Auto approval of RFx
S WS14500027 One-step approval of RFx
S WS14500028 N-step approval of RFx
S WS14500044 N-step approval of bid
S WS79000002 One-step approval of bid
S WS79000010 Auto approval of bid
Approvers or reviewers who can be inserted
Here, you specify who may be inserted as an approver/reviewer in the above workflows:
S WS14500010 Approval fragment to insert in approval of contract
S WS14500022 Approval fragment to insert in approval of RFx
S WS14500040 Approval fragment to insert in approval of bid
RECOMMENDATION
We recommend that you restrict the processors (that is, the approvers or reviewers that
can be inserted) at this point, and specify the relevant workflow tasks and general tasks
instead (see table above).
For more information, see Customizing for SAP SRM under SRM Server CrossApplication Basic Settings Business Workflow Application-Controlled Workflow Technical
Configuration Perform Task-Specific Customizing .
2011-11-08
PUBLIC
25/66
2.9
Contract Configuration
When creating a central contract from the sourcing application of SAP SRM or from SAP Bidding
Engine, the system uses the following logic:
d It first checks whether the CT_PROC_TY attribute is maintained in the organizational plan.
If so, the attribute determines the transaction type CCTR or the customer-defined transaction
type for central contracts.
d If no attribute exists, the system checks the transaction type settings for follow-on documents.
For more information, see Customizing for SAP SRM under SRM Server Cross-Application
Basic Settings Define Transaction Types .
d If the transaction type settings are not available, the system uses the first transaction type for
contracts that exists in the BBPC_PROC_TYPE table.
Process Alternatives
Alternative 1
If a contract is to be created directly in the back-end system (with no copy in SAP SRM), you need to
implement and activate the BAdI BBP_DETERMINE_LOGSYS. This allows you to determine, for
example, whether contracts of certain purchasing organizations are to be created directly in a backend system or in SAP SRM.
You have two optional BAdIs at your disposal to change the data before actually creating a contract in
the back-end system:
d BBP_CTR_BE_CREATE in the SAP SRM system
d BBP_CTR in the SAP ERP back-end system
Alternative 2
By default, the system creates a central contract from the sourcing application in SAP SRM or from
SAP Bidding Engine, depending on Customizing. You can distribute the central contract to one or
more back-end systems. For more information, see Making Settings for Back-End Contracts [page 27].
More Information
For more information, see Making Settings for Central Contracts [page 27].
26/66
PUBLIC
2011-11-08
2.9
Contract Configuration
Description
Path in Customizing for SAP SRM
SRM Server Cross-Application
This setting controls the processing of a specific business
Basic Settings Define Transaction
transaction.
We recommend that you use the standard transaction type Types
as shipped.
SRM Server Cross-Application
Maintaining This setting is mandatory.
Basic Settings Number Ranges
number
SRM Server Number Ranges Define
ranges for
Number Ranges for Purchase
central
Contracts
contracts
Configuring To enable the transfer of contract data to the SAP catalog, SRM Server Technical Basic
the transfer of define a table entry in table BBP_BACKEND_DEST that Settings Define System Landscape
contract data uses system type catalog.
to the SAP
This setting is mandatory if you want to transfer local
catalog
contracts to the SAP catalog.
Only if you specify a catalog system in this activity will the
contract management application in SAP SRM enable the
function Distribute Contract to catalog on the user interface.
SRM Server Master Data
Defining the To be able to use the catalog, you must first define it in
Content Management Define
catalog
Customizing.
External Web Services
2011-11-08
PUBLIC
27/66
2.9
Contract Configuration
?>) You have defined an RFC destination for the back-end system and you have defined the back-end
system in which you want to create contracts. For more information, see Defining RFC Destination
and Back-End System [external document]. If you have already defined a back-end system (FI) as a
destination in another business scenario, you can use this destination for back-end contracts also.
?>) You have defined the transaction type for purchasing contracts. This must exist in SAP SRM, and
the internal number range for this must be identical to the external number range in the backend system.
For more information, see Customizing for SAP SRM under SRM Server Cross-Application Basic
Settings Define Transaction Types
If you do not use the same transaction type in SAP SRM and the back-end systems, you must map
this data manually using BAdIs (see Configuration Options for Operational Contract Management [page 26]).
For further details refer to step 4 of the Setting Up Organizational Data and Mapping (Master) Data procedure
(see below).
?>) You have set up the condition types for pricing conditions. These can be the same as in the backend system. If you have used a different technical name in SAP SRM, you have made sure that all
other settings are identical to those in the back-end system.
?>F You have to ensure that the conditions specified in Customizing in SAP SRM and each of the
corresponding back-end systems are consistent. This means that a condition type in SAP SRM
has the same technical attributes as the corresponding condition type in the back end. If you
do not use the same name, your SAP SRM condition types need to be mapped to your backend condition types. You can map the condition types in Customizing for SAP ERP under
Integration with Other mySAP.com Components Supplier Relationship Management Central Contract
Assignment of Conditions .
?>F You have defined the point in time when current prices in SAP SRM are decided in Customizing
for SAP ERP under Integration with Other mySAP.com Components Supplier Relationship Management
Central Contract Price Calculation .
28/66
PUBLIC
2011-11-08
2.9
Contract Configuration
e7& You have two possibilities to achieve the required consistency. You can create your own
condition types in SAP SRM and customize them in the same way as the original back-end
condition types. However, this may become difficult if you use more than one back-end system,
since their Customizing can differ. Alternatively, you can create new condition types in the
back-end system and customize them in the same way as the SAP SRM condition types. In
Customizing for SAP SRM, choose SRM Server Cross-Application Basic Settings Pricing .
e7& Finally, you have to ensure that the back-end condition Customizing, including calculation
schema and calculation schema determination, is consistent and working properly. You can
test the back-end condition Customizing by manually creating a contract in the back-end
system (which uses the same condition types that you receive via Central Contract from SAP
SRM), and creating a purchase order with relation to this contract.
Back-End System
e7I
e7I
e7I
e7I
You are using synchronous IDs and settings in SAP SRM and back-end systems for:
e7I Master data, such as products, product categories, and suppliers
e7I Other data, such as currencies, payment terms, text IDs, transaction types, and condition types
RECOMMENDATION
We recommend that you replicate master data, such as products, product categories and
suppliers from the back-end system. See Downloading Business Objects [external document].
Constraints
For external requirements, the scenario does not support the following:
e7I Contract limits
e7I The assignment of back-end sources of supply (contract, purchasing info record)
Procedure
Procedure in SAP SRM
Determining Contracts to Be Created in the Back-End System
Transaction Code
Customizing Path
SPRO
SRM Server Business Add-Ins Shopping Carts and Requirement Items
Determine Backend System / Company Code
2011-11-08
PUBLIC
29/66
2.9
Contract Configuration
` If you want to create back-end contracts only, all you need to do in the BAdI method is to specify
the parameter for the logical system.
` If you want to create back-end and local contracts, you must define an algorithm that decides
when to create a local and when to create a back-end contract, as you can only create either a local
or a back-end contract from the sourcing application in SAP SRM or from a winning bid in SAP
Bidding Engine.
EXAMPLE
You can implement the method, for example, so that only back-end contracts of specific
purchasing organizations are created. For assistance, refer to the sample program code in
transaction SE18.
Determining the Transaction Type for Back-End Contracts
1.
2.
3.
Using transaction PPOMA_BBP, make sure the purchasing organization and purchasing group of
the back-end system exist in the organizational plan.
1. Make sure that you link the SAP SRM purchasing organization to the purchasing organization
you use for contracts in the back-end system: On the Function tab under section Local, proceed
as follows:
` Select the Purchasing Organization checkbox.
` Enter the key of the back-end purchasing organization.
` Enter the key of the logical system (back end).
2. Make sure that you link the SAP SRM purchasing organization to the purchasing group you
use for contracts in the back-end system. To do so, on the Function tab under section Local,
proceed as follows:
` Select the Purchasing Group checkbox.
` Enter the key of the back-end purchasing group.
Make sure table VENMAP contains supplier data with identical GUID, back-end supplier number,
and logical system.
Make sure table BBP_LOCMAP contains location data with mapping for business partner and
logical system.
30/66
PUBLIC
2011-11-08
2.9
Contract Configuration
4.
You must use a BAdI to map this data, if you do not use identical data in SAP SRM and the backend systems for the following:
Product categories
Products
Condition types for normal positions
Condition types for service positions
Text IDs
Transaction types
Use BAdI BBP_CTR_BE_CREATE in SAP SRM.
RECOMMENDATION
We recommend that you map the data there. For more information, see Customizing
for SAP SRM under SRM Server Cross-Application Basic Settings Business Add-Ins FollowOn Document Generation in the Back-End System Create Contract in Back-End System
Alternatively, you can use a BAdI in the back-end system: BBP_CTR_BADI. For more
information, see Customizing for SAP ERP under Integration with other mySAP.com Components
Supplier Relationship Management Business Add-Ins for SRM (BAdIs) Contracts and Conditions
Change Contracts and Conditions .
Procedure in the Back-End System
Setting Up IDoc Inbound Processing
NOTE
Back-end inbound processing uses different IDocs for creating contracts and conditions.
Transaction Code
Menu Path
1.
2.
WE42
Tools ALE
Process Code
ALE Development
IDoc
Inbound Processing
Define
Assign the inbound processing code BLAO for purchasing contracts to message type BLAORD.
Assign the inbound processing code COND for conditions to message type COND_A.
Transaction Code
Menu Path
WE20
Tools
Profiles
ALE
ALE Administration
Runtime Settings
Partner
Create a partner profile for partner type LS (logical system of sending SAP SRM) with the following
entries and settings in the Inbound parameters section:
Message type BLAORD (for purchasing contracts), Process Code BLAO and Transfer IDoc
immediately activated.
2011-11-08
PUBLIC
31/66
2.9
Contract Configuration
]4aaw Message type COND_A (master conditions, for price determination), Process Code COND and
Transfer IDoc immediately activated.
For more information, see Defining RFC Destination and Back-end System [external document].
Specifying Document Types for Back-End Contracts
Transaction Code
Customizing Path
1.
2.
OMEF
Materials Management
Types
Purchasing
Contract
Define Document
If you do not want to use a transaction type already defined in the back-end system, you can
create a new one for back-end contracts. See Determining the Transaction Type for Back-end
Contracts above.
NOTE
If the back-end system is SAP enhancement package 4 for SAP ERP 6.0 or higher, you must define
settings for enterprise services. For more information, see Configuring Synchronous Services for Operational
Contract Management [page 15].
32/66
PUBLIC
2011-11-08
2.10
^xc You have performed all the steps necessary for general SAP NetWeaver BI configuration. See SAP
Solution Manager under <project name> Configuration SAP SRM <release> Basic Settings for SAP
SRM Basic Settings for Analytics .
^xc All the business content for this scenario is installed and activated. For more information, see SAP
Solution Manager under <project name> Configuration SAP SRM <release> Basic Settings for SAP
SRM Basic Settings for Analytics Lists of Content Objects and Transactions .
Features
Query List
Description
Contract Alerts
Contract Details
Contract Utilization
Contract Utilization Detail
Contract alerts
Contract expiration
Contract releases (Hierarchy)
Contract utilization overview
Contracts per Product Category (current)
Contracts per Product and Vendor
Contracts per Purchasing Organization / Purchasing Group
Expiring Contracts
Global Outline Agreements - Target Values
Local Contract Releases of Global Outline Agreements
Releases Scheduling Agreements of Global Outline Agreements
SUS: Contract Overview
SUS: Expiring Contracts
Scheduling Agreement Details
Scheduling Agreements About to Expire
Contract utilizations by categories
Contract utilizations by suppliers
Contract utilizations details
Contract alerts
2011-11-08
PUBLIC
Technical Name
0SRCT_DS1_Q007
0SRCT_DS1_Q003
0BBP_MP03_Q0001
0SRCT_DS1_Q901
0BBP_MP03_Q0704
0SRCT_DS1_Q903
0SRCT_DS1_Q012
0SRCT_DS1_Q902
0SRCT_DS1_Q005
0SRCT_DS1_Q008
0SRCT_DS1_Q006
0SRCT_DS1_Q004
0SRCT_DS1_Q002
0SRCT_DS1_Q001
0SRCT_DS1_Q010
0SRCT_DS1_SP_Q001
0SRCT_DS1_SP_Q002
0SRCT_DS1_Q009
0SRCT_DS1_Q011
0BBP_MP03_Q0702
0BBP_MP03_Q0703
0BBP_MP03_Q0701
0BBP_MP03_Q0704
33/66
3.1
You can find a scenario description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management . Select the Documentation tab.
SAP Supplier Relationship Management scenario and process descriptions are also available on SAP
Help Portal at http://help.sap.com under SAP Supplier Relationship Management Business Scenarios .
2011-11-08
PUBLIC
35/66
3.2
Developing Contracts
You can use this process step to activate the authorization feature and authorize users to create, change,
display, print, or delete various sections of a central contract.
You can assign authorization at the following levels:
Authorization object: If you assign authorization to the authorization object, then all the roles
using this authorization object and the users assigned to these roles will have the assigned
authorization.
Role: If you assign authorization to a role, then only the users assigned to this role will have the
assigned authorization.
An authorized user can grant authorization to other users who generally do not have authorization
for a central contract in the Contract Management application. There are two authorization objects
used by the Contract Management application.
Procedure
1.
2.
You activate the new authorization object BBP_CTR_2 in the customizing activity Activate Extended
Authorizations for Contracts (BBP_CTR_EXT_AUTH).
For more information, see the customizing activity documentation.
If you want to authorize all the roles that use the new authorization object, then assign
authorization in the authorization object BBP_CTR_2.
For more information, see the document Assigning Authorizations.
36/66
PUBLIC
2011-11-08
3.2
Developing Contracts
NOTE
3.
You can only assign authorization to the activity field in the old authorization object
BBP_PD_CTR. Authorization for the other fields, for example the sections field, should be
maintained in the authorization object BBP_CTR_2.
If you want to authorize a selected role, then assign authorization to the role.
For more information, see the document Assigning Authorization.
Result
All the users assigned to this role will have the same authorization for central contracts.
Example
You have authorized the operational purchaser role to create, display, and change the following sections
of a central contract:
mch Main Information
mch Documents
mch Conditions
All the users assigned to the role operational purchaser can create, display, and change a central contract
but they cannot do the following:
mch Delete a central contract
mch Grant authorization to other users for a central contract
mch View or create a confidential contract/central contract
3.2.1.1.2
Assigning Authorizations
Procedure
Assigning Authorizations to an Authorization Object
1.
2.
3.
4.
5.
6.
On the SAP Easy Access screen, choose Tools ABAP Workbench Development Other Tools
Authorization Objects Objects . Note that, alternatively, you can run the following system
transaction in SAP SRM: Maintain Authorization Objects (SU21).
Expand BBP.
Select the node you would like to change.
Click Change.
Choose Permitted Activities.
Select the authorizations as required and save.
1.
On the SAP Easy Access screen, choose Tools User and Role Maintenance Role Maintenance . Note
that, alternatively, you can run the following system transaction in SAP SRM: Role Maintenance
(PFCG).
2011-11-08
PUBLIC
37/66
3.2
Developing Contracts
2.
3.
4.
5.
6.
7.
You use this process step to configure all the activities required to upload SAP ERP contracts and
scheduling agreements to an SAP Supplier Relationship Management (SAP SRM) system.
Process
1.
If you want to change the contract data that is transferred from the SAP back-end system to the
SAP SRM system, implement one of the following Business Add-Ins (BAdIs):
0 BBP_CTR_INIT_UP in the SAP SRM system
0 BBP_CTR_INIT_UP_PI in the back-end system
For more information, see the BAdI documentation.
NOTE
By default, the text IDs in the back-end system are not mapped to the text IDs in the SAP
SRM system. The mapping is required to upload the long texts from the back-end system to
the SAP SRM system.
You can map the text IDs in one of the following ways:
2.
38/66
PUBLIC
2011-11-08
3.2
Developing Contracts
RECOMMENDATION
3.
We recommend that a system administrator uploads all the contracts and scheduling
agreements to the SAP SRM system as a one-time task and then closes the contracts in the
SAP back-end system. This ensures that SAP SRM is the lead contract management system.
For more information, see the documentation for report
BBP_CONTRACT_INITIAL_UPLOAD.
If you want to be able to create contracts in Contract Management, create the condition types.
For more information, see the document Define a Condition Type.
NOTE
4.
5.
If you have not specified an external number range, the internal number range defined for
the contract transaction type will be used instead.
Define the external number range in the SAP SRM system. The contract IDs will be created within
the defined number range.
For more information, see the document Define an External Number Range.
Define the transaction type for a contract in the SAP SRM system
For more information, see the document Define a Transaction Type.
3.2.1.2.2
You can use this process step to create the condition types required to create a central contract in the
Contract Management application.
Process
2011-11-08
PUBLIC
39/66
3.2
Developing Contracts
3.2.1.2.3
You use this process step to define the external number ranges for central contracts. The external
number range has to begin with the object ID of the central contract that you want to create in the
SAP SRM system.
For more information, see Customizing for SAP Supplier Relationship Management (SAP SRM) under
SRM Server Cross-Application Basic Settings Number Ranges SRM Server Number Ranges Define Number
Ranges for Purchase Contracts .
3.2.1.2.4
You use this process step to define transaction types for central contracts to allow these types of
documents to be created in the SAP Supplier Relationship Management (SAP SRM) system.
Process
If you do not specify an external number range, the internal number range will be used
instead.
Su M Implement one of the following BAdIs:
Su " BBP_CTR_INIT_UP in the SAP SRM system
Su " BBP_CTR_INIT_UP_PI in the back-end system
40/66
PUBLIC
2011-11-08
3.2
Developing Contracts
Prerequisites
You have set up the organizational structure, and decided who in the organizational plan is authorized
to create, edit, or display contracts by assigning the relevant authorization roles
For more information, see SAP Solution Manager under SAP SRM 7.0 EHP1 Basic Settings for SAP SRM
Organizational Management .
In this section, you make the following settings that are required for the export of SAP SRM central
contracts to SRM-MDM Catalog:
yZ% Setting Up Key Mapping for Contract Item Categories [external document]
yZ% Implementing BAdI to Enrich Contract Data [external document]
yZ% Configuring the External Integration Role [external document]
2011-11-08
PUBLIC
41/66
3.2
Developing Contracts
3.2.1.5.2
The following Business Add-In is available in Customizing for SAP SRM: SRM Server Business Add-Ins
SAP XML Interfaces Change SAP XML Outbound Mapping .
The following SAP Note applies: 1268821
The Form for Offline Approval (BPP_OUT_OFFAPP) Smart Form is used to send an automatic e-mail via
the SAP Supplier Relationship Management (SAP SRM) system to approvers. In this e-mail, they can,
for example, click a link to accept or reject a request. This approval status is then sent back to the SAP
SRM system automatically.
NOTE
For more information about Customizing options for offline approval, see the Business Add-In
(BAdI) BBP_OFFLINE_APP_BADI in Customizing for SAP SRM under SRM Server Business AddIns (BAdIs) Business Workflow Process/Application-Controlled Workflow Customer Enhancement of Offline
Approval , submethod DETERMINE_FORM_AND_PARAMS.
You use this procedure to make changes to the standard e-mail text and layout that is delivered with
the SAP SRM software in this Smart Form. You may need to do this, for example, to adapt the text to
the specific needs of your company or your corporate design.
Procedure
1.
2.
3.
Result
You have now customized the text of the Smart Form. This is the text that appears in the automaticallygenerated e-mail that is sent to users within your company on the basis of this Smart Form.
42/66
PUBLIC
2011-11-08
3.2
Developing Contracts
3.2.1.7.2
The Output Form for Contract (BBP_CONTRACT) Smart Form provides the layout and text for the output
of purchasing contracts to the supplier.
You use this procedure to make changes to the standard texts delivered with the SAP Supplier
Relationship Management (SAP SRM) software in this Smart Form. You may need to do this, for
example, to adapt the text to the specific needs of your company or your corporate design.
Procedure
1.
2.
3.
Result
You have now customized the purchasing contract form in the Smart Form.
3.2.1.7.3
The Form for Output E-Mail (BBP_OUTPUT_COVER) Smart Form provides the text and layout of the
automatic e-mails sent by the SAP Supplier Relationship Management (SAP SRM) system to external
business partners to inform them about events concerning the following business objects:
# RFx
# RFx response
# Auction
# Purchase order
# Purchasing contract
For example, when a new purchasing contract is issued, the business partner involved receives
notification about this from the SAP SRM system via e-mail.
You use this procedure to make changes to the standard e-mail texts that are delivered with the SAP
SRM software in this Smart Form. You may need to do this, for example, to adapt the text to the specific
needs of your company or your corporate design.
Procedure
1.
2.
3.
Result
You have now customized the text of the Smart Form. This is the text that appears in the automaticallygenerated e-mail that is sent to business partners.
2011-11-08
PUBLIC
43/66
3.2
Developing Contracts
3.2.1.7.4
The following Business Add-Ins are available in Customizing for SAP SRM under SRM Server Business
Add-Ins :