Sei sulla pagina 1di 66

SAP Enhancement Package 2 for SAP Supplier Relationship

Management (SAP SRM) 7.0: Operational Contract Management


Based on SAP Solution Manager Content
Target Audience
 System Administrators
 Consultants

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

Important Information About This Document . . . . . . . . . . . . . . . . . . . . . 7

Chapter 2
2.1
2.2
2.2.1
2.2.2
2.2.3
2.2.4
2.2.5
2.3

Basic Settings for Contract Management . . . . . . . . . . . . . . . . . . . . . . . . . . . 9


SAP Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
SAP NetWeaver Process Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Configuration of PI-Independent Enterprise Services . . . . . . . . . . . . . . . . . . . . 9
SRM, PI-Independent Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Importing Business Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Checking Integration Scenarios and Related Interfaces . . . . . . . . . . . . . . . . . . 14
More Information About SAP NetWeaver Process Integration . . . . . . . . . . . . . 14
Configuring Synchronous Services for Operational Contract
Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Scheduling Reports to Archive or Delete Transactional Data . . . . . . . . . . . . . 15
Pricing Settings for Purchasing Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Alert Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Alert Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Making Settings for Contract Alerts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Triggering Events for Central Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Setting Up TREX Server and TREX Search . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Workflow Settings for Business Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Set Up Workflow for Business Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Setting Up Application-Controlled Workflow for Operational Contract
Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Contract Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Configuration Options for Operational Contract Management . . . . . . . . . . . . 26
More Information About SRM Integration with ERP . . . . . . . . . . . . . . . . . . . . 27
Making Settings for Central Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Making Settings for Back-End Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
More Information About Contract Configuration . . . . . . . . . . . . . . . . . . . . . . 32
Settings for Analytics in Contract Management . . . . . . . . . . . . . . . . . . . . . . . 33
Contract Management: Available Queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

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

Operational Contract Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .


Define Usage of Central Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Content for Defining Usage of Central Contracts . . . . . . . . . . .
Developing Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Content for Developing Contracts . . . . . . . . . . . . . . . . . . . . . .
Assign General Contract Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assign General Contract Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Assigning Authorizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Upload Contract from Another System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Upload Contract from Another System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define a Condition Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define an External Number Range . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define a Transaction Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Create Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Define Discounts Based on Hierarchical Contract Release Values . . . . . . . . . .
Activate Contract Upload to Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Setting Up Contract Replication to Catalog . . . . . . . . . . . . . . . . . . . . . . . . . . .
More Information About Activating Contract Upload to Catalog . . . . . . . . . .
Complete Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Approve Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Form for Offline Approval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Output Form for Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Form for Output E-Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
More Information About Approving Contracts . . . . . . . . . . . . . . . . . . . . . . . .
Output Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Enter Contract-Specific Attributes for Output . . . . . . . . . . . . . . . . . . . . . . . . .
User Attributes in SAP SRM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Background Processing of Contracts . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Form for Output E-Mail . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Output Form for Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
More Information About Outputting Contracts . . . . . . . . . . . . . . . . . . . . . . .
Change Contract . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuring Mass Change Parameters in Contract Management . . . . . . . . . .
Smart Form: Mass Change to Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
More Information About Changing Contracts . . . . . . . . . . . . . . . . . . . . . . . .
Processing Contracts and Sourcing Rules in ERP . . . . . . . . . . . . . . . . . . . . . . .
Negotiating Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

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

Configuration Content for Negotiating Contracts . . . . . . . . . . . . . . . . . . . . . .


Basic Settings for Negotiating Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Making Settings for Contract Negotiation . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Processing Delivery Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Searching for Sources of Supply Centrally . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Content for Searching for Sources of Supply
Centrally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Monitoring Contracts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Configuration Content for Monitoring Contracts . . . . . . . . . . . . . . . . . . . . . .
Smart Form: Event Framework Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
More Information About Monitoring Contracts . . . . . . . . . . . . . . . . . . . . . . .

PUBLIC

58
58
58
59
59
60
60
61
61
61

5/66

This page is left blank for documents


that are printed on both sides.

Important Information About This Document

1 Important Information About This


Document

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

This page is left blank for documents


that are printed on both sides.

Basic Settings for Contract Management

2.1

SAP Notes

2 Basic Settings for Contract


Management

2.1 SAP Notes


The following SAP Notes apply:
(z 734060 SRM: Upload and download of documents using MS Excel
(z 609222 Sourcing: Create R/3 contracts, tricks and hints
(z 646903 Global outline agreement: Tips and tricks
(z 859049 SRM 5.0: Restrictions for uploading and downloading
(z 812884 How to change the fields used for Excel upload and download
(z 673479 Excel download: Quantities not displayed correctly
(z 790860 Frequently asked questions for Excel upload and download
(z 1268821 SRM 7.0 / ERP 6.04: Config. of Central Contract Management
(z 1268336 Business Suite 2008: Synchronous peer-to peer Services
(z 1252865 Central Contracts: Search help for Central Contract dumps
(z 1271697 Wrong information in contracts tracking for calloffs
(z 1269289 Portal error appears at CPPR in central contract link
(z 1263470 CCM:Replication of Central Contracts with more than 10 items
(z 1269803 Enter Net Price error for Central Contract
(z 1314597 SRM central contract: Error in price determination Customizing
(z 1270081 Trouble shooting SOA Services

2.2 SAP NetWeaver Process Integration


2.2.1 Configuration of PI-Independent Enterprise Services
PI-independent services use the Web Services Reliable Messaging (WSRM) protocol. For asynchronous
enterprise services with compatible signatures, WSRM enables point-to-point communication between
SAP Business Suite applications.
To use this process, you must have activated the business function Improvements for SOA Reuse Functions
(FND_SOA_REUSE_1) and you must have defined settings in Customizing under Cross-Application
Components Processes and Tools for Enterprise Applications Enterprise Services Point-to-Point Enablement for
Asynchronous Enterprise Services . The business function SRM, PI-Independent Enterprise Services (SRM_WSRM_1)
is then automatically activated.

2011-11-08

PUBLIC

9/66

Basic Settings for Contract Management

2.2

SAP NetWeaver Process Integration

Process

To configure WSRM, proceed as follows:


Configuring bgRFC (Background Remote Function Call)

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

Basic Settings for Contract Management

2.2

SAP NetWeaver Process Integration

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 .

2.2.2 SRM, PI-Independent Enterprise Services


Technical Data

Technical Name of Business Function


Type of Business Function
Available As Of
Technical Usage
Application Component
Directly Dependent Business Function Requiring
Activation in Addition

2011-11-08

SRM_WSRM_1

Enterprise Business Function


SAP enhancement package 1 for SAP SRM 7.0
SRM
SRM Enterprise Services (SRM-EBP-ESA)
Improvements for SOA reuse functions (FND_SOA_REUSE_1)

PUBLIC

11/66

Basic Settings for Contract Management

2.2

SAP NetWeaver Process Integration

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

You have installed the following components as of the version mentioned:


Type of Component
Software Component

Component
SRM_SERVER 701

Is Needed Only for the Following Features

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

For more information, see:


<` Enterprise Services for Cross-System Data Exchange [external document]
<` PI-Independent Enterprise Services [external document]

2.2.3 Importing Business Scenarios


In this section, you transfer the business scenario Operational Contract Management from the SAP Integration
Repository, generate it, and activate it.
Prerequisites

You must have:


<` Defined the business systems for SAP Supplier Relationship Management (SAP SRM) and Materials
Management (MM) in the SAP System Landscape Directory. For more information about SAP
NetWeaver Process Integration (SAP NetWeaver PI), see the SAP Marketplace at service.sap.com/
instguidesNW70.
<` Imported the SAP NetWeaver PI content for SAP SRM into the SAP Integration Repository. See
SAP Note 836200.
Procedure

1.
2.
3.
4.

Log on to the SAP Netweaver PI system.


Choose Integration Builder: Configuration.
In the left pane, select the Objects tab.
Choose Service Without Party Business System .

12/66

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.2

SAP NetWeaver Process Integration

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

Basic Settings for Contract Management

2.2

SAP NetWeaver Process Integration

31. In the left pane, select the Scenarios tab; your scenario has been added.

2.2.4 Checking Integration Scenarios and Related Interfaces


In this section, you check the integration scenario to which the Contract Management business scenario is
assigned and the interfaces that are used for communication between SAP Supplier Relationship
Management and Materials Management. For the Contract Management business scenario, the
Central_Contract_Management integration scenario provides the following interfaces, which you
can check in the Integration Builder:
Supplier Relationship Management
PurchasingContractSRMReplicationRequest_Out

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.

Start the SAP Integration Builder.


Choose Integration Builder: Configuration.
Under the Scenario tab, expand the scenario to display detailed information.

2.2.5 More Information About SAP NetWeaver Process


Integration
The following SAP notes apply:
[| 1286936
[| 884695
Perform the following activity in Customizing for SAP Supplier Relationship Management under:
SRM Server Activate Business Functions .
Run the following transactions in the SAP SRM system:
[| User Maintenance (SU01)

14/66

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.3

Configuring Synchronous Services for Operational Contract Management

l: Role Maintenance (PFCG)


l: Start Integration Builder (SXMB_IFR)
l: HTTP Service Hierarchy Maintenance (SICF)

2.3 Configuring Synchronous Services for Operational


Contract Management
You can configure the following synchronous services to exchange contract information between SAP
Supplier Relationship Management (SAP SRM) and SAP Enterprise Resources Planning (ERP):
l: PurchaseOrderSRMPricingSimulateQueryResponse_In
Using this service, the SAP SRM system receives a request from the SAP ERP system or another
back-end system to calculate a price. After calculating the price, the SAP SRM system returns the
conditions and any error information.
l: PurchasingContractSRMArchivingCheckQueryResponse_Out
Using this service, the SAP SRM system requests from the SAP ERP system or another back-end
system the archiving status of the purchasing contract created from an SAP SRM contract.
For more information about the above-mentioned enterprise services, see SOA SAP SRM on SAP
Help Portal at http://help.sap.com.
From a more practical point of view, SAP Note 1268336 provides detailed information on how to
configure synchronous services, whereas SAP Note 1270081 lists possible configuration issues and
describes how they can be solved.
Procedure

Run transaction SOA Manager (SOAMANAGER) to configure the services.

2.4 Scheduling Reports to Archive or Delete Transactional


Data
You can schedule report BBP_CONTRACT_MASS_UPDATE to archive and delete mass change work
packages.
NOTE

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

Basic Settings for Contract Management

2.5

Pricing Settings for Purchasing Contracts

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.

2.5 Pricing Settings for Purchasing Contracts


Perform the following activities in Customizing for SAP Supplier Relationship Management (SAP SRM)
under SRM Server Cross-Application Basic Settings Pricing :
[1D Process Condition Types
[1D Process Calculation Schema
[1D Process Condition Groups
[1D Check Technical and Customizing Settings for Conditions
Prerequisites

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 .

2.6 Alert Settings


2.6.1 Alert Management
In SAP Supplier Relationship Management (SAP SRM), the Alert Management function allows you to
monitor business processes in your SAP SRM system. If events cause changes, the system evaluates
them and triggers alerts, messages, or tasks to inform the responsible employees, who can then react
quickly and directly.
Prerequisites

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

Basic Settings for Contract Management

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) .

2.6.2 Making Settings for Contract Alerts


You can specify default alert thresholds for contract expiry dates, release quantities, and release values
in Customizing for SAP Supplier Relationship Management (SAP SRM). When a contract is created,
the default thresholds are then copied to the contract. However, users can define specific alerts for a
specific contract by overwriting the default values in that contract.
Prerequisites

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

Basic Settings for Contract Management

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).

2.6.3 Triggering Events for Central Contracts


To use events with central contracts, you need to define the events that trigger actions and bundle
events used for an object type in event schemas. You also define here whether the events are used later
to trigger alerts or messages in SRM Alert Management (Event Category). You assign alert categories
to the alert events (Subcategory of the Events) and you define the event deadline after or before which
an alert or message is sent.
Prerequisites

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

Changing the event texts for central contracts


You can change the event texts for central contracts in Customizing for SAP SRM under SRM Server
Cross-Application Basic Settings Event and Event Schema for Alert Management Define Events . Proceed as
follows:
1. In the dialog structure, choose Event Objects.
2. Select the object type BUS2000113.

18/66

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.7

Setting Up TREX Server and TREX Search

3.
4.

In the dialog structure, choose Event Definition.


The system displays all events delivered by SAP SRM for the contract, together with their texts.
By default, the text A contract is approaching the value limit is assigned to the event
GOING_TO_EXPIRE. You can change this text to suit your requirements.
Establishing events for central contracts
You can establish events for central contracts in Customizing for SAP SRM under SRM Server CrossApplication Basic Settings Event and Event Schema for Alert Management Define Event Schema . Proceed as follows:
1. In the dialog structure, choose Event Objects.
2. Select the object type BUS2000113.
3. In the dialog structure, choose Event Schema.
4. The system displays all events delivered by SAP SRM for the contract, together with their texts.
5. Define an event schema that bundles the events used for the contract.
6. Determine whether the events should subsequently trigger alerts or messages in SRM Alert
Management (Event Category).
7. Assign alert categories to the alert events (Subcategory of the Events) and define the event deadline
after or before which an alert or message is sent.
8. Define who is to receive inbox notifications when an alert is triggered for a contract that is about
to expire. For example, the creator of the contract could receive information on the contract, and
the action required, in his or her inbox.

2.7 Setting Up TREX Server and TREX Search


The settings described below enable the full text search for documents (supplier texts, internal notes,
or attachments) in the Contract Management application of SAP SRM.
Documents indexing is done initially with report BBP_TREX_INDEX_ADMIN. Once full-text search
is enabled, documents are automatically indexed by the SAP SRM application when saving new or
updated documents.
Prerequisites

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

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios


password=<password for SRM Server user>

5` After manually adding entries to the


preprocessor.

TREXPreprocessor.ini

file you have restarted the TREX

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].

Activating Full Text Search in SAP SRM Application

Run report BBP_TREX_INDEX_ADMIN using the action parameter A .


To enable the display of the corresponding field for TREX text searches in documents of SAP SRM
purchase contracts, you must run the report using parameter A at least once.
For more information, see the documentation of report BBP_TREX_INDEX_ADMIN in your SAP
SRM system.
NOTE

If you are using the Invoice Management System (IMS), you have to run the report
BBP_TREX_INDEX_ADMIN for the business object Invoice.

2.8 Workflow Settings for Business Scenarios


2.8.1 Set Up Workflow for Business Scenarios
You use this process to set up the workflow for your business scenario. The configuration steps depend
on the workflow framework you use. SAP Supplier Relationship Management (SAP SRM) supports
the following workflow frameworks:
5 Process-controlled workflow framework
These are approval workflows based on SAP Business Workflow in which the modeled or configured
process, and not the application itself, controls the process flow. A unified workflow template is
used and a process is evaluated by way of a process schema containing a set of distinct process levels.
The Business Rule Framework (BRF) can be applied to control further the process flow.

20/66

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios

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

Perform the following steps:


7sI Check which workflow framework is active in your system. To do so, go to Customizing for SAP
SRM under SRM Server Cross-Application Basic Settings Business Workflow Select Workflow
Framework . Select Show Current Settings and choose Execute.
7sI If your workflow framework is the process-controlled workflow framework, you do not have
to perform any scenario-specific Customizing steps. All Customizing steps necessary for this
workflow framework are described in SAP Solution Manager under <project name> Configuration
SAP SRM <release> Basic Settings for SAP SRM Cross-Application Settings Business Workflow ProcessControlled Workflow .
7sI If your workflow framework is the application-controlled workflow framework, check
whether there is any workflow documentation specific to your scenario in addition to this
document in SAP Solution Manager. For example, you might have to activate certain workflow
templates, adjust the start conditions for the relevant workflows, or implement a Business AddIn (BAdI). For general configuration information, see SAP Solution Manager under <project name>
Configuration SAP SRM <release> Basic Settings for SAP SRM Cross-Application Settings Business
Workflow Application-Controlled Workflow .
More Information

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

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios

|
|

Basic Settings for Strategic Sourcing General Settings Workflow Settings for Business Scenarios
Basic Settings for Contract Management General Settings Workflow Settings for Business Scenarios

2.8.2 Setting Up Application-Controlled Workflow for


Operational Contract Management
If you use application-controlled workflows, you have to perform some standard Customizing for SAP
Business Workflow. For more information, see Customizing for SAP Supplier Relationship
Management (SAP SRM) under SRM Server Cross-Application Basic Settings Business Workflow
Application-Controlled Workflow Technical Configuration . Then choose
| Customize SAP Business Workflow Automatically
| Activate Standard Tasks
NOTE

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)

BUS2200 (RFx) SAVED/


CHANGEVERSIONSAVED

22/66

PUBLIC

Event Linkage Start


(by Default)
Conditions (by
Activated
Default)
Activated 1) 2)
Yes
No
No
No

Yes

No

2011-11-08

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios

BUS2202
(Supplier
Quote)

TOBEACCEPTED

WS14500027 (onestep approval)


WS79000010 (auto
approval)
WS79000002 (onestep approval)

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

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios

Business Workflow Application-Controlled Workflow Business Process Configuration Define Conditions


for Starting Workflows .
CAUTION

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

Used/Usable in Workflow Processor (Type of Task Agent


Assignment)
WS10400022
General task
WS14000088

Manager role or general task

WS14000148

General task

WS14500008

Manager role or general task

WS14500010

Manager role or general task

WS14500027

Manager role or general task

WS14500022

Manager role or general task

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.8

Workflow Settings for Business Scenarios

TS14507925 (Check RFx response by


reviewer)
TS14507928 (Return RFx to creator)
TS14507930 (Approval task to add to
approval of RFx response)
TS14507931 (Check RFx response by
reviewer)
TS14507935 (Approval task in n-step
approval of RFx response)
TS14507937 (Return RFx response to
creator)
TS79007914 (Approval task in onestep approval of RFx response)

6.

WS14500023

Manager role or general task

WS14500028
WS14500040

General task
Manager role or general task

WS14500041

Manager role or general task

WS14500044

Manager role or general task

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

Basic Settings for Contract Management

2.9

Contract Configuration

2.9 Contract Configuration


2.9.1 Configuration Options for Operational Contract
Management
The following provides a short overview regarding the standard and alternative configurations for
central contracts. It outlines the use of Business Add-Ins (BAdIs) available for Operational Contract
Management in SAP Supplier Relationship Management (SAP SRM) and in the back-end systems.
NOTE

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

Basic Settings for Contract Management

2.9

Contract Configuration

2.9.2 More Information About SRM Integration with ERP


For more information about SRM integration with ERP, see SAP Help Portal at http://
help.sap.com SAP ERP SAP ERP Enhancement Packages ERP Central Component Enhancement Package 5
(Release: SAP enhancement package 5, SP04, for SAP ERP 6.0, incl. SPS 19) English Business Functions (SAP
Enhancement Package 5 for SAP ERP 6.0) Business Functions in SAP ERP Enterprise Business Functions Logistics
Materials Management Procurement - SRM Integration 2 .

2.9.3 Making Settings for Central Contracts


SAP Supplier Relationship Management (SAP SRM) provides all relevant settings for central contracts.
If you want to use your own contract types and these are different from the default (CCTR) ones
included in the standard shipment, you need to create corresponding transaction types and provide
the number ranges.
If you want to transfer local contract data to an SAP catalog, you must specify a back-end system for
the catalog in the back-end destination table.
Procedure
Activity
Maintaining
transaction
types

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

2.9.4 Making Settings for Back-End Contracts


This section describes the steps for configuring how back-end contracts are created when you are
working in SAP Bidding Engine or in Sourcing. The Business Add-In (BAdI)

2011-11-08

PUBLIC

27/66

Basic Settings for Contract Management

2.9

Contract Configuration

BBP_DETERMINE_LOGSYS controls back-end system determination. The contracts are transferred


to the back-end system by RFC. From a technical point of view, IDocs are processed in the back-end
system. From SAP enhancement package 4 for SAP ERP 6.0, the system distributes the contracts using
enterprise services.
The back-end process results in one contract, which is available for price and source determination.
For more information about the creation of back-end contracts, see SAP Note 609222. For an overview
on how you can configure contract management across the SAP SRM and back-end systems, see
Configuration Options for Operational Contract Management [page 26].
Prerequisites
SAP SRM

?>) 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

Basic Settings for Contract Management

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

Release 4.6B or higher with Plug-In 2004.1


Number range object BBP_SRV and internal number assignment for service items
External number range for purchasing contracts
You have worked through IDoc Customizing.
NOTE

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

Set up Business Add-In BBP_DETERMINE_LOGSYS and implement the method


CONTRACT_LOGSYS_DETERMINE so that contracts are created in the back-end system.

2011-11-08

PUBLIC

29/66

Basic Settings for Contract Management

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

Do one of the following:


` In the organizational plan, assign the CT_PROC_TY attribute (for example, CCTR) to the
responsible purchasing group. See Creating the Organizational Plan [external document].
` In the Business Add-In Create Contract in back-end System (BBP_CTR_BE_CREATE), implement
method CONTRACT_PROCESS_TYPE_FILL, enter a value in field EV_PROCESS_TYPE.
In Customizing for SAP SRM, choose SRM Server Business Add-Ins Follow-On Document Generation
in the Back-End System Create Contract in Back-End System .
Setting Up Organizational Data and Mapping (Master) Data

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

Basic Settings for Contract Management

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.

Creating ALE Partner Settings

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

Basic Settings for Contract Management

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

Choose the transaction type for back-end contracts.


Enter a number range for external number assignment that is identical to the internal number
range you specified in SAP SRM for back-end contracts.
NOTE

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].

2.9.5 More Information About Contract Configuration


Perform the following activities in Customizing for SAP SRM under SRM Server Cross-Application Basic
Settings :
]4aaw Switch On Version Control for Purchasing Documents
]4aaw Activate Enhanced Authorizations for Contracts
The following Business Add-Ins are available in Customizing for SAP SRM under SRM Server Business
Add-Ins Contract Management :
]4aaw Initial Upload
]4aaw Change Contract Status
]4aaw Implementation of Methods for Making Mass Changes
Run the following system transactions in SAP SRM:
]4aaw WE20
]4aaw WE21

32/66

PUBLIC

2011-11-08

Basic Settings for Contract Management

2.10

Settings for Analytics in Contract Management

2.10 Settings for Analytics in Contract Management


2.10.1 Contract Management: Available Queries
This document lists the predefined queries for Contract Management, delivered by SAP.
Prerequisites

^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

This page is left blank for documents


that are printed on both sides.

Operational Contract Management

3.1

Define Usage of Central Contracts

3 Operational Contract Management

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 .

3.1 Define Usage of Central Contracts


The process Define Usage of Central Contracts consists of the following process steps:
1. Define contract hierarchies
2. Define quota arrangements
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Define Usage of Central Contracts . Select the
Documentation tab.

3.1.1 Configuration Content for Defining Usage of Central


Contracts
The following Business Add-In is available in Customizing for SAP Supplier Relationship Management
(SAP SRM):
SRM Server Business Add-Ins Sourcing Redetermination of the Contract To Be Used (Quota Arrangement) .

3.2 Developing Contracts


The process Developing Contracts consists of the following process steps:
1. Assign general contract authorizations
2. Upload contracts from another system
3. Create contract
4. Use complex service hierarchies in contracts
You can only use this step if you have activated the SRM, Service Procurement Innovations
(SRM_SERVICE_PROC_1) business function and the Central Contract Management
(SRM_701_Serv_Proc_CCM) Customizing switch.
5. Define discounts based on released values

2011-11-08

PUBLIC

35/66

Operational Contract Management

3.2

Developing Contracts

6. Activate contract upload to catalog


7. Complete contract
8. Release contract
9. Approve contract
10. Distribute contract to SAP ERP
11. Distribute scheduling agreement to SAP ERP
12. Group back-end contract
13. Output contract
14. Process workload reassignment
15. Mass change for contract
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Developing Contracts . Select the Documentation tab.

3.2.1 Configuration Content for Developing Contracts


3.2.1.1 Assign General Contract Authorizations
3.2.1.1.1

Assign General Contract Authorization

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

Operational Contract Management

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.

Assigning Authorizations to a Role

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

Operational Contract Management

3.2

Developing Contracts

2.
3.
4.
5.
6.
7.

Enter the role.


Choose Change.
On the Authorizations tab page, choose Change Authorization Data.
Expand BBP Component Authorization object for contracts in SRM5 BBP_CTR_2 .
For each of the fields, select the authorizations as required and save.
Save the role.

3.2.1.2 Upload Contract from Another System


3.2.1.2.1

Upload Contract from Another System

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.

0 Map the text IDs in the BAdI BBP_CTR_INIT_UP.


0 In the SAP SRM system, do the following:
1. In Customizing for SAP SRM under SRM Server Cross-Application Basic Settings Text
Schema Define Text Types , assign the text type K01 for the text object BBP_PD.
2. In Customizing for SAP SRM under SRM Server Cross-Application Basic Settings Text
Schema Define Text Schema , assign the text type K01 for text schema CTR for Header and
Item.
3. In Customizing for SAP SRM under SRM Server Cross-Application Basic Settings Text
Mapping Text Mapping for Inbound and Outbound Texts , map the text IDs.
To upload the contracts and scheduling agreements from the SAP back-end system to the SAP
SRM system, run the report BBP_CONTRACT_INITIAL_UPLOAD.

38/66

PUBLIC

2011-11-08

Operational Contract Management

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

Define a Condition Type

You can use this process step to create the condition types required to create a central contract in the
Contract Management application.
Process

You can do it in one of the following ways:


IuM_ If you want to reuse the condition types (defined in the back-end system) within the SAP SRM
system, do the following:
1. See Customizing for the back-end system: Materials Management Purchasing Conditions
Define Price Determining Process Define Condition Types .
2. Find out the details of all the condition types used for a central contract in the back-end system.
3. Create the identified condition types with the same technical settings within the SAP SRM
system, in the Customizing activity Process Condition Types (BBP_PRCCONDTYPE).
IuM_ Implement one of the following BAdIs:
IuM_ BBP_CTR_INIT_UP in the SAP SRM system
IuM_ BBP_CTR_INIT_UP_PI in the back-end system

2011-11-08

PUBLIC

39/66

Operational Contract Management

3.2

Developing Contracts

3.2.1.2.3

Define an External Number Range

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

Define a Transaction Type

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

You can do this in one of the following ways:


Su M If you want to reuse document types created in the back-end system as transaction types in the
SAP SRM system, do the following:
1. Perform the following activity in Customizing for the back-end system under SAP Customizing
Implementation Guide Materials Management Purchasing Contract Define Document Types .
2. Identify the document types that can be uploaded to the SAP SRM system.
3. Define the external number ranges in Customizing for SAP SRM under SRM Server CrossApplication Basic Settings Number Ranges SRM Server Number Ranges Define Number Ranges for
Purchase Contracts ..
4. Create the identified document types as transaction types in the SAP SRM system in the
Customizing activity Define Transaction Types (SIMG_B2B_EVENT_TYPE).
5. Assign the external number ranges you created to the transaction types.
NOTE

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

3.2.1.3 Create Contract


To be able to create and edit contract documents in the SAP Supplier Relationship Management (SAP
SRM) system, you first need to define the number ranges and transactions types that you want to use.

40/66

PUBLIC

2011-11-08

Operational Contract Management

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 .

3.2.1.4 Define Discounts Based on Hierarchical Contract


Release Values
In the standard SAP Supplier Relationship Management (SRM) system, hierarchies for contracts are
inactive.
You can define condition types for discounts, where the scale base is the aggregated release value of all
previous contract release values. Hence you can use contract hierarchies to support and improve your
purchasing operations.
The following features are available:
yZ% The discount automatically takes effect with the next purchase order if the previous purchase
order raised the release value of the contract above the specified limit.
yZ% If you use contract hierarchies, the system automatically determines the release value for each
hierarchy level, and updates the aggregated release value for that particular contract hierarchy.
yZ% Each release value added at the header level of a subordinate contract is added to the superordinate
contract. The system determines the discounts according to the aggregated release value within
the contract hierarchy up to seven hierarchy levels.
To allow purchasers to use discounts based on release values within a contract hierarchy, make the
required settings in Customizing for SAP SRM under SRM Server Cross-Application Basic Settings
Activate Hierarchies for Product Categories, Suppliers, and Contracts . A default condition type 01AG has
already been pre-delivered in the standard system for release-value based discounting. If you wish to
define your own condition type, you must make all the necessary settings in Customizing for SAP SRM
under SRM Server Cross-Application Basic Settings Pricing .

3.2.1.5 Activate Contract Upload to Catalog


3.2.1.5.1

Setting Up Contract Replication to Catalog

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

Operational Contract Management

3.2

Developing Contracts

3.2.1.5.2

More Information About Activating Contract


Upload to Catalog

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

3.2.1.6 Complete Contract


Perform the following activities in Customizing for SAP Supplier Relationship Management under:
o SRM Server Cross-Application Basic Settings Enter Alert Threshold Data for Contracts
o SRM Server Cross-Application Basic Settings Background Processing Define Threshold Value for Background
Processing
o SRM Server Cross-Application Basic Settings Digital Signature Activate Digital Signature

3.2.1.7 Approve Contract


3.2.1.7.1

Smart Form: Form for Offline Approval

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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BPP_OUT_OFFAPP.
Make your changes and save.

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

Operational Contract Management

3.2

Developing Contracts

3.2.1.7.2

Smart Form: Output Form for Contract

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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_CONTRACT.
Make your changes and save.

Result

You have now customized the purchasing contract form in the Smart Form.

3.2.1.7.3

Smart Form: Form for Output E-Mail

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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_OUTPUT_COVER.
Make your changes and save.

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

Operational Contract Management

3.2

Developing Contracts

3.2.1.7.4

More Information About Approving Contracts

The following Business Add-Ins are available in Customizing for SAP SRM under SRM Server Business
Add-Ins :
v Business Workflow Application-Controlled Workflow Customer Enhancement of Offline Approval
v Document Output Change Forms for Document Output
For more information, see SAP Help Portal at http://help.sap.com Supplier Relationship Management
Functions Business Workflow Application-Controlled Workflows Approval Workflows for Documents and Objects
Workflow for Contracts .
For information about Smart Forms, see SAP Help Portal at http://help.sap.com SAP NetWeaver
<release> Library SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform by Key
Capability Business Services Smart Forms Using SAP Smart Forms .

3.2.1.8 Output Contract


3.2.1.8.1

Enter Contract-Specific Attributes for Output

To ensure correct output, make entries for the following attributes in Customizing for SAP SRM under
SRM Server Cross-Application Basic Settings Organizational Management Change Organizational Plan :
v PRI
v SF_HEADER
v SF_FOOTER
v SF_GRAPHIC
For more information about making entries for attributes, see User Attributes in SAP SRM [page 44].

3.2.1.8.2

User Attributes in SAP SRM

The following table lists the attributes available in SAP Supplier Relationship Management (SAP SRM).
NOTE

Some of the attributes are only simulated. The attributes are marked accordingly in the table
T77OMATTR. Tables that are not attribute tables form the basis of user attribute simulation.
Attributes indicated as system-dependent can have different values in different systems.
Attribute
ACS

44/66

Description and
Example Value
System alias for
accounting
systems
Example value:
ABCCLNT123

Definition

SystemDependent

Specifies the back-end system where the account


assignment is checked. This attribute is required for:
v Invoices without purchase order reference
v Local invoices

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

ADDR_BILLT
ADDR_SHIPT

AN1

AN2

ANK

ANR

APO

APPRV_LIM

AUN

BSA

2011-11-08

Invoice recipient
address
Ship-to address
Example value:
12345
Asset
Example value:
ABCCLNT123
\000000001111
Asset subnumber
Example value:
Q4CCLNT300\1234
Asset class
Example value:
QW4CLNT100
\00001000
Order
Example value:
ABCCLNT123
\000000000040
Sales order item
Example value:
Q4CCLNT300
\123456
Approval limit

Sales order
Example value:
ABCCLNT123
\000000000333
Transaction type:
Shopping cart
follow-on
document
Example value:
ABCCLNT123
\ECA3

(In the case of a supplier, the back-end system is


determined using the attribute VENDOR_ACS)
We recommend that you define this attribute at a high
level in your organizational plan.
Prerequisite: You must have defined the back-end system
in Customizing for SAP Supplier Relationship Management
under SRM Server Technical Basic Settings Define Basic
Settings. .
Default invoice recipient address in purchase order.
Default ship-to party address in purchase order.
Enter at least one ship-to address and set it as the default
address.
Specifies the asset in the back-end system. Default value
for account assignment when creating shopping cart or
lean purchase order.
Defines the asset sub-number in the back-end system.
Default value for account assignment when creating
shopping cart or lean purchase order.
Defines the asset class in the back-end system. Default
value for account assignment when creating shopping cart
or lean purchase order.
Defines the order in the back-end system. Default value
for account assignment when creating shopping cart or
lean purchase order.
Defines the sales order item in the back-end system.
Default value for account assignment when creating
shopping cart or lean purchase order.
The value up to which a user is allowed to approve.
You define this attribute using tab card Extended attributes.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
Specifies the sales order in the back-end system. Default
value for account assignment when creating shopping cart
or lean purchase order.
Defines the transaction type in the respective system for
follow-on documents from shopping carts.
The attribute needs to be defined once per system, for the
local SAP SRM system and for all connected back-end
systems.

PUBLIC

45/66

Operational Contract Management

3.2

Developing Contracts

BUDGET

User budget

BUK

Company code
Example value:
QW4CLNT100
\1000

BWA

Movement type
Example value:
ABCCLNT123\123
Catalog ID
Example value:
MDMCA30

CAT

CNT

COCODE
COMPANY

Cost center
Example value:
ABCCLNT123
\0000001000
Company Code
Company

Amount available to an employee for purchases. Required


for the Purchasing Budget Workflow [external document].
Company code in the back-end system.
Generally, the user inherits the company code from his/
her company. If you want to overwrite the value inherited
from the company you should define the company code
via this attribute only.
You define the company code of the company for the
organizational unit assigned to the company on the Function
tab.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
Defines the type of goods movement in the back-end
system. This value is required if reservations are to be
created in the back-end system.
Defines the catalogs to which a user has access. You must
define this attribute in Customizing for SAP Supplier
Relationship Management under SRM Server Master Data
Content Management Define External Web Services.
Defines the cost center in the back-end system. Default
value for account assignment when creating shopping cart
or lean purchase order.

Company Code
Identifies a legally independent section of the company.
This attribute is simulated. The simulated value contains
the number of an organizational unit that is indicated as
company in the organizational plan.
It identifies an organizational unit as company on the
Function tab.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
CT_PROC_TY Transaction Type: Transaction Type for Contract
Contract
CUR
Local currency
Default currency of the user
Example value:
EUR
DP_PROC_TY Transaction type: Specifies the transaction type that is used when purchase
Direct material
orders for direct materials are created via BAPI, shopping
Example value:
cart, or bid invitation/bid. You have to maintain this
ECDP
attribute for the responsible purchasing group (see also the
attribute TEND_TYPE). The specified transaction type has
to correspond to the document type used in the back-end
system for direct material purchase orders with external
number assignment. The value for this attribute can be

46/66

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

EXT_ITS

Current ITS of an
external partner
Example value:
http://abc.firma.com/
wgate/
FORWARD_WI Flag: Forward work
item
Example value: X
IS_COMPANY Indicator:
Company

IS_PGR

Indicator:
Purchasing group

IS_POR

Indicator:
Purchasing
organization

ITS_DEST

Current ITS of a
user
Example value:
http://abc.firma.com/
wgate/
Account
assignment
category
Example value: CC

KNT

2011-11-08

inherited. For example, purchasing groups can inherit it


from their purchasing organization.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings Define
Transaction Types.
Obsolete from SRM 7.0

Indicator: Specifies whether work items are to be


forwarded as e-mails.
Indicator: Identifies an organizational unit as independent
legal entity.
This attribute is simulated. You set this indicator for an
organizational unit on the Function tab by selecting
Company.
You should define an organizational unit high up in the
organizational plan as company by setting this indicator.
If you have further organizational units in a lower level of
your plan that represent subsidiaries, you also need to set
this indicator.
See Customizing for SAP Supplier Relationship Management
under: SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
This indicator specifies that an organizational unit is
identified as purchasing group.
This attribute is simulated. You set this indicator on the
Function tab.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
This indicator specifies that an organizational unit is
identified as purchasing organization.
This attribute is simulated. You set this indicator on the
Function tab.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings
Organizational Management Change Organizational Plan.
Obsolete from SRM 7.0

Default value for account assignment when creating


shopping cart or lean purchase order.
The default value for the account assignment is
determined on the basis of the value for this attribute (for

PUBLIC

47/66

Operational Contract Management

3.2

Developing Contracts

LAG

NET

Storage location

Network
Example value:
ABCCLNT123
\000000600003
PM_ARWRK
Plant for work
center
Example value:
ABCCLNT123\1234
PM_AUART
Order type
Example value:
ABCCLNT123
\PM01
PM_GL_ACCT PM: Default G/L
account
Example value:
ABCCLNT123
\417000
PM_IPHAS
Phase
Example value:
ABCCLNT123\0

example CC - cost center) in connection with the relevant


account assignment object (in this example CNT cost
center).
Note: In Customizing, no check occurs to establish
whether the value for the relevant account assignment
object is maintained.
An organizational unit that allows you to differentiate
between different material stocks within a plant.
You define this attribute on the Extended Attributes tab.
Specifies the network in the back-end system. Default
value for account assignment when creating shopping cart
or lean purchase order.
Plant in which the executing work center is located.
This attribute is used as a selection criterion when
searching for orders in the back-end system.
Order types distinguish orders according to their use, for
example, maintenance and service orders.
This attribute is used as a selection criterion when
searching for orders in the back-end system.
Default value for the G/L account in the component detail
data.

Phases subdivide the life cycle of an order into several


subsections (for example, created and released) and
determine which activities are allowed for the order in each
section.
This attribute is used as a selection criterion when
searching for orders in the back-end system.
This is a mandatory attribute.
PM_IWERK
Planning plant
Plant at which maintenance tasks are planned and
prepared.
Example value:
ABCCLNT123\1234 This attribute is used as a selection criterion when
searching for orders in the back-end system.
PM_PUR_GRP PM purchasing
Number of the organizational unit that is indicated as the
group
purchasing group in the organizational plan. Default
Example value:
value in the component detail data.
ABCCLNT123\001
PM_PUR_ORG PM purchasing
Number of an organizational unit that is indicated as the
organization
purchasing organization in the organizational plan.
Example value:
Default value in the component detail data.
ABCCLNT123\1000
PM_SWERK
Maintenance plant Plant at which the technical objects of a company are
Example value:
installed.
ABCCLNT123\1234

48/66

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

PM_VAWRK

PM_WGR

PM_WRK

PRCAT

PRI

Plant for main


work center
Example value:
ABCCLNT123\1234
PM material group
Example value:
ABCCLNT123
\000000001
Plant of the
component
Example value:
ABCCLNT123\1000
Material group

PRO

Default printer
Example value:
PRINTER
WBS element

PURCH_GRP

Purchasing group

PURCH_GRPX ERP purchasing


group

PURCH_ORG

Purchasing
organization

PURCH_ORGX R/3 purchasing


organization

2011-11-08

This attribute is used as a selection criterion when


searching for orders in the back-end system.
Plant at which the main work center entered is located.
This attribute is used as a selection criterion when
searching for orders in the back-end system.
Indicates the key of the material group that unites
materials and services with the same properties. Default
value in the component detail data.
Plant at which the component required to execute the
order (reservation or requirement request) is planned.
Default value in the component detail data.
This is a mandatory attribute.
Defines the product categories for which the user has
authorization. We recommend that you define a default
value. For example, if a user mainly purchases office
materials, it would make sense to specify office materials
as the default value.
To improve performance, we recommend that you use
wildcards and ranges to restrict the product categories
defined as much as possible.
You define this attribute using tab card Extended attributes.
Printer name

Defines the WBS element The work breakdown structure


(WBS) represents the hierarchical organization of a
project. WBS elements are the individual structural
elements in a work breakdown structure Default value for
account assignment when creating shopping cart or lean
purchase order.
Number of an organizational unit that is indicated as local
purchasing group in the organizational plan.
This attribute is simulated. You define an organizational
unit as purchasing group on the Function tab.
Number of the organizational unit that is indicated as the
purchasing group in the organizational plan. The value
contains the ID and the associated back-end system of a
back-end purchasing group.
This attribute is simulated. You define the ID and the
associated system on the Function tab.
Number of an organizational unit that is indicated as local
purchasing organization in the organizational plan.
This attribute is simulated. You define an organizational
unit as purchasing organization on the Function tab.
Number of an organizational unit that is indicated as the
purchasing organization in the organizational plan.

PUBLIC

49/66

Operational Contract Management

3.2

Developing Contracts

REQUESTER

RESP_PRGRP

RESP_PRCAT

ROLE

SF_FOOTER

50/66

This attribute is simulated. You define the ID and the


associated system on the Function tab.
Goods recipient
Indicates the organizational units or users for which this
Example value: See employee can create shopping carts, and so on.
A user can select all users in an organizational unit as
definition
alternative goods recipients if the attribute is maintained
with the following entry, for example: O 50000019.
If a specific user is to be selected as alternative goods
recipient, the attribute needs to be maintained as follows:
<US><User ID of alternative goods recipient>, for
example USMANAGER22.
Before you can order direct materials, you must have
defined the necessary plants. You use this attribute to
define these plants in the organizational plan. You enter
plants as follows:
<type_BP><partner_number_for_plant>, for example,
BP1195.
For the purposes of the direct materials scenario the
business partner number (it can have a maximum of ten
positions) defined in this attribute must be linked to a plant
in table CRMM_LOCMAP.
Buy on behalf of: To enable substitute shopping you
enter all users for whom a purchasing assistant can buy on
behalf of.
The values defined for the attribute form the basis for the
F4 help for the Goods Recipient field available to the
purchasing assistant or other employee creating shopping
carts for other users in the Shop scenario.
Purchasing group Number of the organizational unit for which the
responsible
purchasing group is responsible.
This attribute is simulated. You define the organizational
responsibility of a purchasing group on the Responsibility
tab.
Product category Number of the product category for which the purchasing
responsible
group is responsible.
This attribute is simulated. You define the product
responsibility of a purchasing group on the Responsibility
tab.
User role
Indicates the role of the user, for example manager,
employee, or purchasing assistant.
Example value: /
SAPSRM/
If no approval workflow for new users is in force, a default
EMPLOYEE
value must be set for the attribute ROLE, for example /
SAPSRM/EMPLOYEE. (If no default value is found, the
approval workflow is activated automatically.)
SAP Smart Forms: Defines the footer to be used when purchase orders or
Footer
contracts are output. The values are determined using
Smart Forms on the basis of the purchasing group. You
define the footer using the transaction SE78.

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

SF_GRAPHIC

SAP Smart Forms: Defines the company logo to be used when purchase
Company logo
orders or contracts are output. The values are determined
using Smart Forms on the basis of the purchasing group.
You define the company logo using transaction SO10.
SF_HEADER
SAP Smart Forms: Defines the header to be used when purchase orders or
Header
contracts are output. The values are determined using
Example value:
Smart Forms on the basis of the purchasing group. You
BBP_COMPANY define the header using the transaction SE78.
SLAPPROVER Spending limit
Specifies the approver used in workflows based on a
approver
spending limit.
Example value:
USMANAGER1
SPEND_LIM
Spending limit
The value up to which a user is allowed to spend before
the spending limit approval workflow is triggered.
You define this attribute using tab card Extended attributes.
SYS
System alias
Defines the systems to be searched to find purchase orders.
Example value:
This attribute is used to generate worklists for employees
ABCCLNT123
that create confirmations or invoices centrally. The
attribute can refer both to the local system and back-end
systems. Generally, several values are defined: The local
systems and various back-end systems.
You must define the systems in Customizing for SAP
Supplier Relationship Management under SRM Server
Technical Basic Settings Define Basic Settings.
TEND_TYPE
Transaction type: Specifies the transaction type for bid invitations created
Bid invitation
automatically, for example in the PLM (collaborative
Example value:
engineering). You define this attribute for the purchasing
BID
group that is responsible for the organizational unit of the
entry channel. The value for this attribute can be inherited.
For example, purchasing groups can inherit it from their
purchasing organization. You define the transaction type
in Customizing.
See Customizing for SAP Supplier Relationship Management
under SRM Server Cross-Application Basic Settings Define
Transaction Types.
TOG
Tolerance group Defines the tolerance group. Using this attribute, you
define for a user group which tolerance checks are used
Example value:
CONF
when quantity or value tolerances for deliveries or invoices
are exceeded.
VENDOR_ACS Accounting
Specifies the back-end system where the account
system for the
assignment is checked. This attribute is required for:
vendor
U Invoices without purchase order reference
Example value:
U Local invoices.
ABCCLNT123
We recommend that you define this attribute at a high
level in your organizational plan.
Prerequisite: You must have defined the back-end system
in Customizing for SAP Supplier Relationship Management

2011-11-08

PUBLIC

51/66

Operational Contract Management

3.2

Developing Contracts

VENDOR_SYS System alias for


vendor
Example value:
ABCCLNT123

WGR

Product category

WRK

Plant

3.2.1.8.3

under SRM Server Technical Basic Settings Define Basic


Settings.
Defines the systems to be searched to find purchase orders
to create a worklist for a vendor creating confirmations or
invoices centrally. Can refer both to the local system and
to the back-end system. Generally, multiple values are
entered: The local systems and various back-end systems.
You must define the systems in Customizing for SAP
Supplier Relationship Management under SRM Server
Technical Basic Settings Define Basic Settings.
See attribute PRCAT.
This attribute is simulated. The values of the attribute
PRCAT serve as the basis for the simulation.
Whilst you can define single values, masks, and areas for
PRCAT, you can only use single values for WGR.
Specifies the plant in the ERP back-end system. This
attribute is only required if the back-end system is an SAP
System.
You define this attribute using tab card Extended attributes.

Smart Form: Background Processing of


Contracts

You use this Smart Form Background Processing Contract (BBP_CTR_BGR_PROCESSING) to send e-mails
about your purchasing contracts to purchasing organizations. These e-mails contain standard text and
a link to the contract.
You use this procedure to make changes to the standard e-mail text that is delivered with the SAP
Supplier Relationship Management (SAP SRM) software.
Procedure

1.
2.
3.
4.
5.

On the SAP Easy Access screen, choose Tools Form Printout SMARTFORMS - Smart Forms .
Enter the name of the form as BBP_CTR_BGR_PROCESSING and choose Change. The SAP Smart
Form Builder screen appears.
Choose PA_MAINPAGE MAIN
To change the standard e-mail text of a contract, double-click the text element TE_CTR_MAIL
New PC Created.
Make the required changes and click Save.

3.2.1.8.4

Smart Form: Form for Output E-Mail

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:

52/66

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

#] 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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_OUTPUT_COVER.
Make your changes and save.

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.

3.2.1.8.5

Smart Form: Output Form for Contract

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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_CONTRACT.
Make your changes and save.

Result

You have now customized the purchasing contract form in the Smart Form.

2011-11-08

PUBLIC

53/66

Operational Contract Management

3.2

Developing Contracts

3.2.1.8.6

More Information About Outputting Contracts

For information about Smart Forms, see SAP Help Portal at http://help.sap.com SAP NetWeaver
<release> Library SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform by Key
Capability Business Services Smart Forms Using SAP Smart Forms .

3.2.1.9 Change Contract


3.2.1.9.1

Configuring Mass Change Parameters in


Contract Management

You can define your own mass change parameters for the Mass Changes function in Contract
Management. As an example for creating new mass change parameters, you can use any of the mass
change parameters in the standard SAP Supplier Relationship Management (SAP SRM) system (listed
in view BBPV_CTR_MASSOP, language table BBPC_CTR_MASSOPT).
For contract mass changes, the following packages are provided:
cS /SAPSRM/PDO_AO_CTR_MASS for business logic
cS /SAPSRM/CH_WD_UI_AO_CTR_MASS for UI
Procedure

In Maintain Table Views (transaction SM30), enter view BBPV_CTR_MASSOP and choose Maintain.
Choose New Entries and make the following entries:
Field

Value

Mass Change Method Enter a name starting with Z_ for your new mass change method.
+
If you want item data to be filtered, select this indicator (available for location, product
category, product, supplier/partner, product number).
Sort Order
Choose the order in which the contracts are to be processed by the system.
If the order is not important, you can choose Space. If the mass change is not to be
combined with another mass change method, choose Isolated Execution.
Group of Mass
Choose whether the mass changes apply to header data or item data, or choose
Change
Miscellaneous (No Display).
Sections
Choose the type of section where you want to make changes. This affects whether the
system makes authorization checks for this section or not.
Mass Change
Enter a text to describe your mass change. This text appears on the UI. Make sure that
it is translated into all languages that are used in your system.
Create a structure and table type in the ABAP Dictionary

In the ABAP Dictionary (transaction SE11), create a new structure in the customer namespace. Include
the components to store the old value and new value of the field, and any other parameters that are
required to control the business logic. You use this structure in the Web Dynpro component.
In structure /SAPSRM/S_PDO_CTR_MC_PMNT_TRMS for the mass update of payment terms:
cS Component PMNT_TRMS_OLD is used to store the old payment term value

54/66

PUBLIC

2011-11-08

Operational Contract Management

3.2

Developing Contracts

Icf; Component PMNT_TRMS_NEW is used to store the new payment term value
Icf; Component SELECT_FIELD_FROM is used to determine whether to update a specific payment
term or all payment terms
In the ABAP Dictionary (transaction SE11), create a new table type in the customer namespace. As the
line type, enter the structure that you created above. You use this table type as parameters in the
Business Add-In (BAdI) implementation.
See table type /SAPSRM/T_PDO_CTR_MC_PMNT_TRMS for the mass update of payment terms.
Create a Web Dynpro component

Icf; Create a new Web Dynpro component in the Z or Y namespace and implement the interface /
SAPSRM/WDI_CTR_MC
Icf; In method GET_VIEW_CONTEXT of the component controller, implement the following code,
where <node name> is the name of the context node:
ron_context = wd_context->get_child_node (name =
IF_COMPONENTCONTROLLER=>wdctx_<node name>)
Icf; Create a view and an inbound plug in the view. Embed the view to the window.
Icf; Create a context node in the component controller with the required attributes from the structure
that you created above, and link the node to the view controller context node.
Icf; Create an action ACTIONREJ_CHNG in the view
Method ONACTIONACTIONREJ_CHNG is created automatically.
Icf; Implement the following code in the method:
wd_comp_controller->fire_reject_changes_evt ( )
Icf; To create the view layout, see payment term component /SAPSRM/WDC_UI_AO_CT_MC_D
and view V_AO_CTRM_INCO_HEAD.
Create an implementation for the BAdI

In the BAdI Builder (transaction SE18), enter enhancement spot /SAPSRM/CTR_MASS_CHANGE.


The BAdI /SAPSRM/CTR_MC_BADI and interface /SAPSRM/IF_EX_CTR_MASS_BADI have been
defined with the following methods:
Method

Description

CTR_DEFINE_UI

Provides the screen information of the parameters or mass change method


for the UI. The current implementation is valid only for ABAP Web Dynpro.
CTR_GET_READ_FLAGS
Distinguishes between header and item parameters.
CTR_CHANGE
Maps the new values with the old, and also validates them.
CTR_GET_STATUS_MESSAGE Provides the status of the mass change process.
CTR_VALIDATE
Validates the screen input values.

To create a Z implementation, go to transaction SE19.

2011-11-08

PUBLIC

55/66

Operational Contract Management

3.2

Developing Contracts

In the Create Implementation area, enter enhancement spot /SAPSRM/CTR_MASS_CHANGE and


create an implementation for the BAdI /SAPSRM/CTR_MC_BADI. The desired implementation name
is Z<mass change parameter name>.
Implement the interface methods above as per the desired logic and activate the methods and BAdI.
NOTE

See the Incoterm implementation class /SAPSRM/CL_CTR_MC_HI_INCOTERM.


Add a filter value to the enhancement implementation with filter /SAPSRM/PDO_CTR_MC_OPKEY
and comparator =, for the new mass change parameter. In this case, the filter value is the name of the
field specified in the Customizing table, for example, HDR_INCOTERM.
For more information, see Customizing for SAP SRM under SRM Server Business Add-Ins Contract
Management Implementation of Methods for Making Mass Changes .
NOTE

Check that:
%: Your change method is listed in the change methods table that is displayed in step 2 of the
contract mass update transaction
%: The view relevant to the parameter is displayed in Step 2 of the contract mass update
transaction when you click your newly created change method
%: The contracts are updated successfully when you choose Start Mass Changes for the newly
created change method

3.2.1.9.2

Smart Form: Mass Change to Contracts

You use the Smart Form Mass Change to Contracts (BBP_CTR_MASS_END) to notify users about the
status of their mass changes to purchasing contracts.
When a user makes mass changes, the system automatically generates an e-mail to notify the user about
which mass changes were performed and whether they were successful or not.
You use this procedure to make changes to the standard e-mail text that is delivered with the SAP
Supplier Relationship Management (SAP SRM) software. 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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_CTR_MASS_END.
Make your changes and save.

56/66

PUBLIC

2011-11-08

Operational Contract Management

3.3

Processing Contracts and Sourcing Rules in ERP

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 after they have performed or attempted to
perform mass changes within the SAP SRM system.

3.2.1.9.3

More Information About Changing Contracts

For information about Smart Forms, see SAP Help Portal at http://help.sap.com SAP NetWeaver
Library SAP NetWeaver by Key Capability Application Platform by Key Capability Business Services Smart Forms
Using SAP Smart Forms .

3.3 Processing Contracts and Sourcing Rules in ERP


The process Processing Contracts and Sourcing Rules in ERP consists of the following process steps:
1. Process vendor master data
2. Process message conditions
3. Process contracts in ERP
4. Process purchasing info records
5. Process source list
6. Process quota arrangement
7. Process conditions for procurement
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Processing Contracts and Sourcing Rules in ERP . Select the
Documentation tab.
To find the process-related configuration content, select the Configuration tab.

3.4 Negotiating Contracts


The process Negotiating Contracts consists of the following process steps:
1. Search for contracts
2. Negotiate contract
3. Renew contract
4. Update contracts via mass-update
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Negotiating Contracts . Select the Documentation tab.

2011-11-08

PUBLIC

57/66

Operational Contract Management

3.4

Negotiating Contracts

3.4.1 Configuration Content for Negotiating Contracts


3.4.1.1 Basic Settings for Negotiating Contracts
Before you configure this process, be sure to complete the basic settings for Strategic Sourcing, which you
can find in SAP Solution Manager under <project name> Configuration SAP SRM <release> Basic
Settings for Strategic Sourcing .

3.4.1.2 Making Settings for Contract Negotiation


These settings have an effect when negotiating a contract from the contract management application
in SAP Supplier Relationship Management (SAP SRM) or from SAP Bidding Engine.
You can set up contract negotiation in SAP SRM in one of the following ways:
f Using the transaction type Customizing. We strongly recommend this user-independent
alternative. See Customizing for SAP SRM under SRM Server Cross-Application Basic Settings Define
Transaction Types .
f Using transaction PPOMA_BBP and defining the following user attributes in the organizational
plan:
f TEND_TYPE
Determines the transaction type for RFxs
f CT_PROC_TYPE
Determines the transaction type for purchase contracts
When using the negotiate function the system always creates an RFx. Within the related RFx response,
submitted by the bidder, the system offers the following options to conclude the process:
f Update the contract that is currently used
f Create a new contract
Prerequisites

For the RFx-related transaction type (for example, RFCR) that you are using for contract negotiation,
you have selected the Contract indicator in the customizing activity Define Transaction Types, under the
Process Control section of the view Transaction Types.
Procedure
Setting Up the Transaction Type for the Update Process

1.
2.
3.
4.

Using transaction SPRO and the Customizing activity Defining Transaction Types, in the view Transaction
Object Types select the table entry with business transaction category BUS2000113
In the navigation tree, select Transaction Types.
Select a contract-specific transaction type, for example, CCTR.
In the navigation tree, select Transaction Types of Follow-on Documents. Make sure the table contains an
entry with the following data:

58/66

PUBLIC

2011-11-08

Operational Contract Management

3.5

Processing Delivery Schedules

Q!9
Q!9
Q!9
Q!9

Business transaction category: BUS2000113


Transaction type (as selected above): CCTR
Subsequent object type: BUS2200
Follow-up transaction type: (for example) RFCR or another RFx-specific transaction type that
you use for contract negotiation.

Setting Up the Transaction Type for the Create Process

1.
2.
3.
4.

Using transaction SPRO and the Customizing activity Define Transaction Types, in the transaction
object type view select the entry with business object type BUS2200.
In the navigation tree, select Transaction Types.
Select a contract-specific transaction type, for example, RFCR.
In the navigation tree, select Transaction Types of Follow-on Documents. Make sure the table contains an
entry with the following data:
Q!9 Business transaction category: BUS2200
Q!9 Transaction type (as selected above): RFCR
Q!9 Subsequent object type: BUS2000113
Q!9 Follow-up transaction type: (for example) CCTR, or another RFx-specific transaction type
that you use for purchase contracts.

3.5 Processing Delivery Schedules


The process Processing Delivery Schedules consists of the following process steps:
1. Create or process scheduling agreements
2. Release scheduling agreements
3. Transmit and monitor scheduling agreements
4. Process delivery schedules and releases
5. Transmit and monitor delivery schedules
6. Administer scheduling agreements
7. Monitor or view list display of scheduling agreements
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Processing Delivery Schedules . Select the Documentation
tab.
To find the process-related configuration content, select the Configuration tab.

3.6 Searching for Sources of Supply Centrally


The process Searching for Sources of Supply Centrally consists of the following process steps:
1. Start sourcing application

2011-11-08

PUBLIC

59/66

Operational Contract Management

3.7

Monitoring Contracts

2. Search for appropriate source of supply


3. Assign contract
4. Assign supplier
5. Create RFx from sourcing application
6. Create auction from sourcing application
7. Process workload distribution
8. Create purchase order from sourcing application
9. Create contract from sourcing application
You can find a process description in SAP Solution Manager under <project name> Scenarios SelfService Procurement Extended Classic Business Processes Searching for Sources of Supply Centrally .

3.6.1 Configuration Content for Searching for Sources of


Supply Centrally
Perform the following activities in Customizing for SAP SRM:
< SRM Server Business Add-Ins Changes to Purchasing Document Data
< SRM Server Business Add-Ins RFx Control of RFx Publication
< SRM Server Business Add-Ins RFx Subsequent Split of Grouping
< SRM Server Cross-Application Basic Settings Configure Priorities
< SRM Server Business Add-Ins Interface Configuration Appearance of Priorities
< SRM Server Business Add-Ins Sourcing Redetermination of the Contract To Be Used (Quota
Arrangement)
< SRM Server Activate Business Functions
< SRM Server Cross-Application Basic Settings Service Procurement Activate Service Procurement
Innovations
< SRM Server Cross-Application Basic Settings Service Procurement Activate Central Contract Management
Innovations
Run the following system transaction in SAP SRM: ABAP Editor (se38)

3.7 Monitoring Contracts


The process Monitoring Contracts consists of the following process steps:
1. Send and receive alerts
2. Process reports in SAP NetWeaver BI
3. Run context-sensitive graphical reports
You can only use this step if you have activated the SRM, Analytics (SRM_ANALYTICS_1) business function
and the Embedded Analytics for Purchasers (SRM_701_EMB_ANALYTICS) Customizing switch.
You can find a process description in SAP Solution Manager under <project name> Scenarios
Operational Contract Management Business Processes Monitoring Contracts . Select the Documentation tab.

60/66

PUBLIC

2011-11-08

Operational Contract Management

3.7

Monitoring Contracts

3.7.1 Configuration Content for Monitoring Contracts


3.7.1.1 Smart Form: Event Framework Messages
The Smart Form Event Framework Messages (BBP_OUT_EXCEPTION) is the form that is used to send an
e-mail to users to inform them that a particular event has happened. For example, it is used to remind
a user that a purchasing contract is about to expire, or to inform the user when a new purchase order
has been created.
You use this procedure to make changes to the standard e-mail text that is delivered with the 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.

Go to the Smart Forms initial screen (transaction SMARTFORMS).


Enter BBP_OUT_EXCEPTION.
Make your changes and save.

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.

3.7.1.2 More Information About Monitoring Contracts


Perform the following activities in Customizing for SAP SRM:
G SRM Server Cross-Application Basic Settings Define Transaction Types
G SRM Server Cross-Application Basic Settings Organizational Management Event Control for Organizational
Management
Perform the following activities in Customizing for SAP NetWeaver under Business Intelligence Settings
for BI Content Supplier Relationship Management :
G Carry out SRM Product Category Matching
G Carry out SRM Business Partner Matching
For information about Smart Forms, see SAP Help Portal at http://help.sap.com SAP NetWeaver
<release> Library SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform by Key
Capability Business Services Smart Forms Using SAP Smart Forms .

2011-11-08

PUBLIC

61/66

Typographic Conventions

Example

Description

<Example>

Angle brackets indicate that you replace these words or characters with appropriate
entries to make entries in the system, for example, Enter your <User Name>.
Arrows separating the parts of a navigation path, for example, menu options

Example
Example
Example
Example

http://www.sap.com
/example

123456
Example

Example

EXAMPLE

EXAMPLE

62/66

Emphasized words or expressions


Words or characters that you enter in the system exactly as they appear in the
documentation
Textual cross-references to an internet address
Quicklinks added to the internet address of a homepage to enable quick access to specific
content on the Web
Hyperlink to an SAP Note, for example, SAP Note 123456
'M9 Words or characters quoted from the screen. These include field labels, screen titles,
pushbutton labels, menu names, and menu options.
'M9 Cross-references to other documentation or published works
'M9 Output on the screen following a user action, for example, messages
'M9 Source code or syntax quoted directly from a program
'M9 File and directory names and their paths, names of variables and parameters, and
names of installation, upgrade, and database tools
Technical names of system objects. These include report names, program names,
transaction codes, database table names, and key concepts of a programming language
when they are surrounded by body text, for example, SELECT and INCLUDE
Keys on the keyboard

PUBLIC

2011-11-08

SAP AG
Dietmar-Hopp-Allee 16
69190 Walldorf
Germany
T +49/18 05/34 34 34
F +49/18 05/34 34 20
www.sap.com

Copyright 2011 SAP AG. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission
of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software
vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10,
z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA,
AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle and Java are registered trademarks of Oracle.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered
trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium,
Massachusetts Institute of Technology.
SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, SAP HANA, and other
SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP
AG in Germany and other countries.
Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius,
and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered
trademarks of Business Objects Software Ltd. Business Objects is an SAP company
Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein
as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company.
All other product and service names mentioned are the trademarks of their respective companies. Data contained in this
document serves informational purposes only. National product specifications may vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
(SAP Group) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not
be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.
Disclaimer

Some components of this product are based on Java. Any code change in these components may cause unpredictable and
severe malfunctions and is therefore expressly prohibited, as is any decompilation of these components.
Any Java Source Code delivered with this product is only to be used by SAPs Support Services and may not be modified or
altered in any way.

2011-11-08

PUBLIC

63/66

Documentation in the SAP Service Marketplace

You can find this document at the following address: http://service.sap.comhttp://service.sap.com/srminstinstguides

64/66

PUBLIC

2011-11-08

SAP AG
Dietmar-Hopp-Allee 16
69190 Walldorf
Germany
T +49/18 05/34 34 34
F +49/18 05/34 34 20
www.sap.com

Copyright 2011 SAP AG. All rights reserved.


No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained
herein may be changed without prior notice.

Potrebbero piacerti anche