Академический Документы
Профессиональный Документы
Культура Документы
Use
When a sales order is entered in the CRM Online Application (CRM Online), it may be necessary
to know whether the products
Are available and to transfer ATP requirements to materials planning. For this purpose,
availability check (ATP check) is carried out for the items in a sales order.
Can be delivered on time. For this purpose, shipment scheduling and transportation
scheduling are carried out for the items in a sales order.
These functions are carried out in the SAP Advanced Planner and Optimizer (SAP APO).
For shipment and transportation scheduling you need SAP APO 3.0A.
Integration of SAP CRM and SAP APO-ATP ensures that the necessary data is transferred from
CRM Online to the SAP APO System, and that the results of the availability check and shipment
and transport scheduling are transferred to CRM Online.
Integration
The integration of CRM Online and the SAP APO System is carried out by Business Application
Programming Interfaces (BAPIs) in CRM Online and the SAP R/3 System. The following
illustration shows the BAPIs used:
There are two processes for posting requirements in the SAP APO System so that they are
relevant for materials planning. The process you use depends on where you carry out material
requirements planning:
Availability Check and Planning in SAP APO
Availability Check in SAP APO, Planning in SAP R/3
Prerequisites
Systems
You need the following systems:
CRM Online Application
This is where the sales orders are entered.
SAP Advanced Planner and Optimizer (SAP APO)
This is where the availability check and scheduling takes place.
Master Data
The product and business partner data can be
Created or changed in an Online Transaction Processing (OLTP) system such as the
SAP R/3 System and then transferred to CRM Online
Created or changed in CRM Online and then transferred to an OLTP system such as the
SAP R/3 System
If you create the product master data in CRM Online,
The product master data must be transferred to the SAP R/3
System before you can use it in a sales transaction
You still need to maintain additional views and fields in the SAP
R/3 System
Therefore, we recommend that you make sure that the product master data is
maintained in the SAP R/3 System.
If you make any changes in the product master data in the SAP R/3 System, you
need to deactivate and reactivate the SAP APO Core Interface (APO-CIF)
Integration Model.
For more information, see Set up SAP APO-CIF Integration Model.
For more information on maintaining and transferring partner data, see the SAP Library under
CRM and Enterprise Buyer Customer Relationship Management (CRM) Master Data
Business Partners Distribution of Business Partner Master Data.
For more information on maintaining and transferring product data see the SAP Library under
CRM and Enterprise Buyer Customer Relationship Management (CRM) Master Data
Products Replicating Material Master Data from R/3 in CRM and Uploading CRM Product
Data to OLTP Systems.
Features
The ATP profile in each item is transferred from CRM Online to the SAP APO System where it
used as a key for carrying out the availability check.
The ATP profile is known in the SAP APO System as the requirements profile.
You can maintain settings in the SAP APO System for the requirements profile in the IMG for SAP
Advanced Planner and Optimizer (SAP APO) Global Availability Check (Global ATP Check)
General Settings Maintain Requirements Profile.
After the availability check, details for each item are transferred back to CRM Online, such as:
Delivering country (for tax reasons) and region (U.S.)
Confirmed quantities
Confirmation dates
Globally unique identifier (PosGUID or GUID - used for requirements in SAP APO)
Item category usage
Activities
For further information on availability check and shipment and transporation scheduling, see the
SAP Library for SAP Advanced Planner and Optimizer (SAP APO):
shipment scheduling
Logistics Execution (LE)
The determination, based on the goods issue date, of all dates relevant for shipping.
The system determines when the company must start the picking and packing activities to ensure
that the requested loading date is met.
Process Flow
The following illustration (Figure 1) shows the data flow between CRM Online and the SAP APO
System:
The temporary quantity assignments are deleted from the SAP APO liveCache; the
requirements are saved in the SAP APO System as time series. The time series are
taken into account for product availability check and are also relevant for materials
planning.
5. The sales order is transferred to CRM Middleware as a business document.
6. From CRM Middleware the sales order is transferred to the SAP R/3 System.
7. The sales order is saved automatically in the SAP R/3 System.
There is no data transfer between the sales order in the SAP R/3 System and the SAP
APO System.
8. In the Status tab in the sales order header in CRM Online, under the section R/3 transfer
and R/3 status, the Distribution status field is set to successfully distributed.
In case the sales order is not successfully transferred, error messages are
displayed in the application log. The system deletes these error messages from
the application log after the sales order is transferred successfully to the SAP R/3
System at a later stage.
Additional Information
For more information on sales orders in SAP CRM, see
Sales Transactions
Process Flow
The following illustration (Figure 2) shows the data flow between CRM Online and the SAP APO
System:
The temporary quantity assignments are then saved in the SAP APO System and have
the status persistent.
5.
6.
7.
8.
9.
If the sales order is not saved in CRM Online, then the temporary quantity
assignments are not saved in the SAP APO System and will be discarded.
The sales order is transferred to CRM Middleware as a business document.
From CRM Middleware the sales order is transferred to the SAP R/3 System.
The temporary quantity assignments in the SAP APO System have the status
postpersistent (SAP APO 3.0).
Since the product 4711 has been specified in the integration model of the APO Core
Interface (APO-CIF), the SAP R/3 System picks up the result of the availability check
carried out previously for the sales order in CRM Online.
The result of the availability check is transferred to the SAP R/3 System. As in CRM
Online, the product is entered on item level, the quantity and requested date are entered
in the schedule lines.
The sales order number generated in the SAP R/3 System is transferred to the SAP APO
System.
The sales order is saved automatically in the SAP R/3 System.
The temporary quantity assignments are deleted from the SAP APO liveCache; the
requirements are saved in the SAP APO System as time series. The time series are
taken into account for product availability check and are also relevant for materials
planning.
Additional Information
For more information on sales orders in SAP CRM, see
Sales Transactions
Details of setting up the system landscape for the SAP APO and SAP R/3 Systems are described
in the SAP Library for SAP Advanced Planner and Optimizer (SAP APO)
In SAP APO 3.A:
Supply Chain Management (SCM) Business Scenarios Integration of APO and R/3
APO Core Interface Setting up the System Infrastructure and Data Transfer
In SAP APO 2.0A
APO Integration Scenarios Integration of APO and R/3 Setting up the System
Infrastructure and Data Transfer
Prerequisites
In order to set up a CRM scenario with availability check, you need:
The following systems:
o CRM Online
o An Online Transaction Processing (OLTP) system such as the SAP R/3 System
o SAP APO System
In the SAP R/3 System: Customizing for Sales and Distribution (SD), for example, plant,
sales area
In CRM Online: data relevant for the SAP R/3 System such as sales organization data
including mapping to the relevant SD organizational units
In CRM Online and the SAP R/3 system: valid sold-to party in common SD organizational
unit
The following table shows the system landscape with example names:
System
Release
System ID
Client
Logical System ID
Host
CRM
3.0
CR7
700
CR7CLNT700
host-cr7.wdf.sap-ag.de
R/3
(OLTP)
4.6C +
PI2000.1
R38
800
R38CLNT800
host-r38.wdf.sap-ag.de
APO
3.0A
AP9
900
AP9CLNT900
host-ap9.wdf.sap-ag.de
If you do not use SAP R/3 as the OLTP system, then you will have to program
interfaces for APO-CIF and CRM Middleware. For more information, see Note
448742.
Procedure
1. Test the following transactions to ensure that they work before the systems are
connected to each other:
In the SAP R/3 System:
a. Create a product.
For more information, see the following documentation in the SAP Library in the
SAP R/3 System: Logistics Logistics - General (LO) Logistics Basic Data
Material Master (LO-MD-MM) Material Master Records Creating Material
Master Records.
b. Post goods receipt.
For more information, see the following documentation in the SAP Library in the
SAP R/3 System: Logistics Materials Management (MM) Inventory
Management (MM-IM) Inventory Management and Physical Inventory (MMIM) Goods Receipt Other Goods Receipts.
c. Create a sales order.
For more information, see the following documentation in the SAP Library in the
SAP R/3 System: Logistics Sales and Distribution (SD) Sales (SD-SLS)
Sales Order Creating Sales Orders.
d. Carry out availability check (in SAP R/3 only, without SAP APO)
For more information, see the following documentation in the SAP Library in the
SAP R/3 System: Logistics Sales and Distribution (SD) Availability Check
and Requirements in Sales and Distribution Processing.
In CRM Online:
Create a sales order.
For more information, see Postprocessing Sales Orders.
You can block sales orders in the system, for example, if you have not
yet completed processing them. To do so, set the Do not distribute flag
on the Status tab page in the sales order.
Prerequisites
You can make the settings for Customizing in the implementation guide for CRM under Business
Transactions. In the standard system, all the necessary settings have already been made for
business transactions (business transaction type standard order, item categories, item category
groups, item category determination and so on) in the Internet Sales scenario.
All the other settings which are necessary in Sales (for example, settings for customer group,
product group, volume rebate group and so on) can be copied from the R/3 system into the CRM
system. You can do this with the help of transactions, in order to ease your work. Only settings
from the customer name space can be copied. You can use the report SMOF_DOWNLOAD to
copy the Customizing settings from an R/3 System to a CRM System. You can find further
information about data transfer in the CRM documentation under Basis Technology
Middleware.
Number Assignment
Each sales order has a unique document number. In the Internet Sales scenario, you should set
internal number assignment for business transactions in the CRM Online system in Customizing.
With internal number assignment, the document number is assigned automatically by the system
within a specific interval. As the sales orders are transferred from the CRM Online system into the
OLTP R/3 system, you should set external number assignment in the R/3 system. This means the
numbers are not asigned automatically by the system.
The interval for internal number assignment in the CRM Online system should be the same as the
external number assignment in the R/3 system. In this way, you guarantee that the sales orders
have the same number in the CRM system and the R/3 system. This setting has already been
made in the standard system. You can define the number range intervals for number assignment
in Customizing for CRM, under Business Transactions Define Number Ranges.
Action
Prerequisites
In Customizing for the business transaction types, the field Text type has been included
at header level for sales orders. If the text created in Internet Sales needs to be
processed in the sales order, you must choose text type 1000 (customer requests). Make
this setting in Customizing under Customer Relationship Management Transactions
Basic Settings Maintain Transaction Types. Choose processing of transaction type at
header level.
The type linkage for the result ToBeCompleted for the workflow WS10000225 is
deactivated as a standard procedure, and, if you wish to start the workflow template, it
has to be activated again in Customizing. The workflow task processors must also be
maintained.
For both Customizing activities, go to the IMG and choose Customer Relationship
Management Basic Functions SAP Business Workflow Perform Task-Specific
Customizing.
Once it has been processed, the employee deactivates the "Do not distribute" flag in the sales
order. The work item is deleted, and the sales order is transferred to the R/3 system.
Technical Execution
The following information is of technical nature. You need this information if the implementation
details are relevant for you, or if you wish to make your own enhancements.
Workflow template
The actual procedure is implemented in the workflow template WS10000225 (CRM_O_Handl.)
Triggering events for the workflow template
The event ToBeCompleted is entered for the object category BUS2000115 (sales transaction
CRM) as a triggering event.
Object types
The method CrmSalesprocessEdit and the events ToBeCompleted (triggering event) and
ReleaseForTransfer (terminating event which is generated using status managment) are made
available using the following business object:
BUS2000115 (sales transaction CRM)
Rule
Use the Order_get_users_of_roletype (10000140) rule to generate the employee responsible in
the workflow template. The rule expands the partner function types in CRM. (It is used with the
RoleType = 0008 input parameter). However, you can also assign other rules or specific
processors.
Prerequisites
Process Flow
First, the system checks whether the document has already been transferred into the OLTP R/3
system. If the document has not yet been transferred, changes can be made in the CRM
document. If the document has already been transferred, the status of the OLTP R/3 document is
checked, with the help of a function module in the CRM system. As soon as the status of the R/3
document is known, the field selection in the CRM document is controlled by the system, and the
relevant changes can be made at field level.
Specific conditions are necessary for this:
Field selection control: The field selection control shows you which changes can be
made to a transaction, and which are not possible. If a change is not allowed, due to a
specific status, the relevant field in the transaction document is displayed as not ready for
input. If the transaction has, for example, already been billed in the R/3 system, it is no
longer possible to enter it in the pricing fields in the business transaction document in the
CRM system.
Cross-system blocking: When you change a business transaction document in the
CRM Online system, which has already been processed in the OLTP R/3 system, a
Remote Function Call (RFC) is executed from CRM into the R/3 system. The document in
the CRM system is then blocked for processing. If a document, which was created in the
CRM system, is processed in the R/3 system, this is then blocked for processing in the
CRM system until the change has been completed.
If, for example, changes have been made to the partner functions, double maintenance
of the document in both systems may be necessary (however, this depends on the R/3
release status).
Procedure
Figure 1 shows an example system landscape and the steps necessary to set it up.
In CRM Online
1. Define logical system.
In the Implementation Guide (IMG) choose Basis Distribution (ALE) Sending and
Receiving Systems Logical Systems Define Logical System.
Log. System
Description
CR7CLNT700
Name
City
Crcy
700
Client 700
Boston
USD
Setting
Changed on
Restrictions
SAP APO
RFC destination
R38CLNT800
AP9CLNT900
Connection type
Description
Load distrib.
No
No
Target host
host-r38.wdf.sap-ag.de
host-ap9.wdf.sap-ag.de
System number
00
00
Language
EN
EN
Client
800
900
User
CRMATP
CRMATP
Password
********
*********
b. Select Availability Check using APO and create the following table entry:
Key
Parameter 1
RFC-Destination
Control Information
CRMAPOATP
CRMAPOATP
AP9CLNT900
X=APO3.0A
Description
R38CLNT800
AP9CLNT900
Name
City
Logical System
Crcy
800
Test Client
Boston
R38CLNT800
USD
Setting
Restrictions
Changed
on
SAP APO
RFC destination
CR7CLNT700
AP9CLNT900
Connection type
Load distrib.
No
No
Target host
host-cr7.wdf.sap-ag.de
host-apo.wdf.sap-ag.de
System number
00
00
Description
Language
EN
EN
Client
700
900
User
CRMATP
CRMATP
Password
********
*********
Description
AP9CLNT900
CR7CLNT700
R38CLNT800
Client
Name
City
Crcy
900
APO Client
Boston
USD
Changed on
Setting
Restrictions
3. Define target systems for RFC Calls.
o In SAP APO 3.0A:
In the IMG choose R/3 Basis Customizing Application Link Enabling (ALE) Sending
and Receiving Systems Systems in Network Define Target Systems for RFC Calls.
o In SAP APO 2.0A:
In the IMG choose R/3 Basis Customizing Distribution (ALE) Prepare Sender and
Receiver Systems Configure Systems in Network Define Target Systems for RFC
Calls.
Create SAP R/3 Connections - Details
SAP CRM
SAP R/3
RFC destination
CR7CLNT700
R38CLNT900
Connection type
Load distrib.
No
No
Target host
host-cr7.wdf.sap-ag.de
host-r38.wdf.sap-ag.de
System number
00
00
Description
Language
EN
EN
Client
700
800
User
CRMATP
CRMATP
Password
********
*********
4.
Test the RFC connections.
Procedure
In the SAP R/3 System
To call up the APO-CIF menu choose Logistics Central Functions Supply
Chain Planning Interface Core Interface Planner and Optimizer.
1. Define target systems.
If you are using APO-CIF PlugIn Releases before Release 2000, you need to
maintain the OpMode field.
In the CIF Menu choose Settings Target Systems.
Log. System
OpMode
AP9CLNT900
Syst.Type
Release
AP9CLNT900
SAP_APO
30A
Figure 2 illustrates how the logical system is defined as the target system for SAP APO:
Description
CRMATP
CRM ATP
BusSystGrp
Log.System
R/3 Flag
SAP Rel.
CRMATP
CR7CLNT700
46C
CRMATP
R38CLNT800
46C
Figure 3 illustrates how the logical systems of CRM Online and SAP R/3 are assigned to the
same business system group in SAP APO:
In the IMG choose Logistics - General Plant Master Maintain Plants Display
Plants.
2. Check that the plant is assigned to the organizational unit:
In the IMG choose Enterprise Structure Assignment Sales and Distribution
Assign Sales organization-distribution channel-plant.
R/3 System
Client
Plant
Sales Org
Distr Ch
Division
R38
800
0001
0001
01
01
3. Check that the material master is set up in the SAP R/3 System.
In the SAP Easy Access menu choose Logistics Sales and Distribution Master Data
Products Material Other Material Display.
Mat.no.
Description
Plant
Stor. Loc
Sales Org.
Distr. Ch.
Division
M100
Product with
availability check
0001
0001
0001
01
01
If you use numeric material numbers, you have to make sure that either the
length of the material number fields in CRM Online and in the SAP APO System
is the same or that leading zeros are turned off in both systems.
4. Check the settings for the material master.
Choose Select view(s) to check the field entries in the views as follows:
The fields that are marked as mandatory must have entries in them. Otherwise
the material master will not be relevant for availability check in the SAP APO
System, even if it is included in the integration model of the APO Core Interface
(APO-CIF).
View
Field
Basic data1
Base Unit
PC
Division
01
GenItemCatGroup
NORM
Gross weight
2 kg
Net weight
1.5 kg
Conditions (prices)
Delivering plant
0001
Sales: sales
org. 1
Sales:
Availability check
Mandatory
yes
Example Data
02 (individual rqmt)
general/plant
Collective requirements are not supported.
MRP 1
MRP 2
MRP 3
MRP Type
yes
PD (MRP)
Reorder point
10
MRP Controller
yes
010
Lot size
yes
EX
Procurement type
F (external procurement)
10 days
GR processing time
0 days
SchedMargin key
001
Strategy group
Availability check
yes
02 (individual rqmt)
Collective requirements are not supported.
For information on transferring changes to the product master data in the SAP
R/3 System, see the SAP Library for SAP Advanced Planner and Optimizer (SAP
APO) under Supply Chain Management (SCM) Business Scenarios
Integration of APO and R/3 APO Core Interface Setting Up the System
Infrastructure and Data Transfer Data Transfer Change Transfer Change
Transfer for Master Data.
5. Check the stock in the SAP R/3 System:
The easiest way to test the availability check is to create stock to cover requirements.
You can create stock in the SAP R/3 System by posting goods receipt.
a. In the SAP Easy Access menu choose Logistics Materials Management
Inventory Management Goods Movement Goods Receipt Other.
b. In the Movement type field enter 561.
Mat.no.
Description
Plant
Storage Location
M328
Acme X Organizer
0001
0001
6. Check that the business partner is set up in the SAP R/3 System.
In the SAP Easy Access menu choose Logistics Sales and Distribution Master Data
Business Partners Customer Display.
Customer No.
CRM Business
Partner No.
Name
Sales Area
1000
100
Acme International
Technology
0001/01/01
Procedure
In the SAP R/3 System
Model name
CRMATP1
Target system
AP9CLNT900
Application
ATP
Availability check
Material masters
Plants
Customers
Storage location stocks
Sales order stock
Relevant materials
Material: M100
Plant: 0001
3. Choose (Execute).
4. Check the details and save the integration model.
(Active/Inactive), or
Result
The data specified in the integration model is transferred to the SAP APO System.
Before transferring changes to the product master data, see the documentation
in the SAP Library for SAP Advanced Planner and Optimizer under Supply Chain
Management (SCM) Business Scenarios Integration of APO and R/3
Setting Up the System Infrastructure and Data Transfer APO Core Interface
Data Transfer Change Transfer Change Transfer for Master Data.
You transfer the location to the SAP APO System from the SAP R/3 System using the APO-CIF
integration model.
To display or change the location, in the SAP Easy Access menu choose
In SAP APO 3.0A:
Master Data Location Location
In SAP APO 2.0A:
Navigation Master Data Location
Location
PL0001@R38800 Boston
Location type
1001
Priority
Longitude
- 71 03 0
Latitude
+ 42 21 0
Time zone
EST
Maintain Address
Boston
For more information on maintaining data for the location, see the SAP Library for SAP Advanced
Planner and Optimizer (SAP APO) under SAP APO Master Data Location.
In CRM Online
Create in CRM Online a business partner master record for the location (plant) that is used
in SAP APO
When availability check is carried out, the SAP APO System determines a location and returns
information on this location for each confirmation schedule line.
1. In the SAP Easy Access Menu, choose Master Data Business Partner Maintain
Business Partner.
2. Choose Create Organization and fill in the necessary details, such as:
Field
Details
Business partner
LOC0001
Name
Plant 0001
City
Boston
Country
USA
Description
TAN
Description
Sales Item
TextDetermProc.
Partn.DetProc.
ATP profile
100
Relev. wgt/vol.
Structure scope
c. Go back.
d. To assign the item category to an application area, select the required item
category and double-click on Assignment of Business Transaction Categories in
the dialog structure on the left of the screen.
Assignment of business transaction categories (to item category TAN):
Transaction Category
Sales
e. Select the required business transaction category and double-click on
Customizing item in the dialog structure on the left of the screen.
Customizing item (category TAN):
Relev. for bill.
Pricing-rel.
Statist. value
Pric. indicat.
Active
Location
LOC0001
0001
Import Customizing
not allowed
For initial data transfer, Import Customizing can be set to allowed, so that the
customizing settings can be transferred from SAP R/3 to SAP APO.
In this case, for the following steps marked with *, you just need to check whether
the settings are correct,
2. Maintain Category:*
Check whether the settings are correct.
In the IMG for SAP Advanced Planner and Optimizer (SAP APO) choose Global
Available-to-Promise (Global ATP Check) General Settings Maintain Category.
SAP Categories:
Category
BM
Category text
Sales Order
Description
Sales Order
Sort string
20
Category type
Reqmts.
MRP Elem.
VC (Order)
R/3 Object
Sales order
BeventText
SD order
4. Maintain Check Mode:*
Check whether the settings are correct.
In the IMG for SAP Advanced Planner and Optimizer (SAP APO) choose Global
Available-to-Promise (Global ATP Check) General Settings Maintain Check Mode.
The check mode is equivalent to the requirements class in SAP R/3.
Check modes are not provided in customizing in the standard SAP APO System.
The following is just an example.
Check mode
Assignment
No allocation
Production type
Standard
Business event
A (SD order)
Product check
First step
NeutrlProd
Prod. allocation
Neutral PA
No check
Forecast
No check
Forecst:N
Rules Based ATP (RBA)
Start immediat.
Rem. reqmts
Category
BM (Sales order)
Check mode
Bus. event
Assignment mode
No allocation
Tech. scenario
Business trans.
Scheduling ind.
Strategy
02
Cumulation
No cumulation
Response
No response
Individual reqmt
02 (individual reqmt)
Business event
A (SD order)
No subloc.check
No version ck
Consider CH
Chking.hor.:GR
ATP check control: scope of check (for ATP group 02, business event A)
Category
LongCatTxt
BM
Sales order
...
KUNNR
Sold-to party
MATNR
Product
VKORG
Sales organization
VTWEG
Distribution channel
WERKS
Plant
...
...
a. Create condition table.
In the IMG for SAP Advanced Planner and Optimizer (SAP APO) choose
o In SAP APO 3.0A:
Global Available-to-Promise (Global ATP Check) Rules-Based Availability
Check Define Condition Table and then Create Condition Table.
o In SAP APO 2.0A:
Global Available-to-Promise (Global ATP Check) Rules-Based Availability
Check Condition Technology Maintain Condition Table.
Table
Selected fields
Distribution channel
Sales organization
Description
CRM1
Accesses (for CRM1)
AcNo
Tbl
10
901
Description
Cond
Exclusive
Description
AcSq
CRM10
CRM1
Description
CRM001
Control (for rule strategy CRM001)
Level
Cnt.
Ctyp
10
CRM10
Description
Cond
You do not need to assign the rule strategy, since the rule strategy is specified in
the requirements profile.
14. Maintain Integrated Rules:
o In SAP APO 3.0A:
In the SAP Easy Access menu choose Master Data Rule Maintenance
Integrated Rule Maintenance.
o In SAP APO 2.0A:
In the IMG for SAP APO choose Global Available-to-Promise (Global ATP Check)
Rules-Based Availability Check Rules Maintain Integrated Rules.
a. Maintain Location Determination Procedure
In the Overview (on the left hand side of the screen), choose
(Maintain
location deter.)
Deter.
Ty.
CRM_LOC001
Press Enter and enter the following details in the List tab.
List
Location
Costs
PL0001@R38800
Description
CRM1
Location
Loc. product
(Not for SAP APO 2.0A) Select the following radio button:
Combination of the substitution lists
Combine qualified product with all locations, then qualified loc. w. all prods
c. Maintain Rule
Choose Rules & substitutions.
Rule
Description
CRM_PL0001
Details
Rule
CRM_PL0001
Rule type
Inclusive
Loc.determination proced.
CRM_LOC001
Rule control
o
a.
b.
c.
d.
e.
Characteristic 1
Rule
CR7CLNT700
CRM_PL0001
f.
16. T E S T
Test the availability check in CRM Online.
Prerequisites
You can make the necessary settings for the distribution of business partner master data (upload
and download) in the plug-in for the current release (from PI 2001.1) in the transaction PIDE.
Features
Distribution from CRM Online to the R/3 System
How business partner master data from CRM Online is distributed as customer master data in the
R/3 System depends on the following:
Classification
The following classifications specify the account groups with which customer master
records are created in the R/3 System from distributed business partner master data:
o Consumer (organization or person)
o Customer
o Prospect
o Competitor
Number Assignment
Determines whether the respective account group has internal or external number
assignment
If number assignment is external, the customer master record is created in the R/3
System with the same number as the business partner master record in CRM Online.
CRM Classification
Number Assignment
Customer
0001
Internal
Prospect
0005
External
Customer master records are created with the account group for
customers in the R/3 System and internal number assignment.
Master records for prospects are created with the account group for
prospects in the R/3 System and external number assignment.
If you have not assigned an account group for business partner master
records, the data is not distributed.
Distribution of Customer Master Data from the R/3 System to CRM Online
You can distribute customer master data from the R/3 System for use in CRM Online. For each
account group in the R/3 System, you specify the following for the creation of business partner
master records in CRM Online:
Classification
Indicates how the business partner is used in CRM Online
Grouping
Determines the number range. The entry in the grouping field determines whether and
how an entry is made in the business partner number field.
If you use grouping to set number assignment to external, the business partner master
record is created in CRM Online with the same number as the customer master record
from the R/3 System.
CRM Classification
Grouping
0005
Prospect
0001
0006
Competitor
0002
0003
Customer
0170
Consumer
0002
Customer master records with account group 0005 in the R/3 System are
created as business partner master records with the classification
Prospect and grouping 0001 in CRM Online.
Master records with account group 0006 in the R/3 System are created
as business partner master records with the classification Competitor
and grouping 0002 in CRM Online.
Customer master records with account group 0003 in the R/3 System are
not created as business partner master records in CRM Online.
If you have not established a grouping for an account group for customer
master records, the data is not distributed.
Customer master records with account group 0170 in the R/3 System are
created as business partner master records with the classification
Consumer and grouping 0002 in CRM Online.
Distribution of consumer master records
Distribution from CRM Online to the R/3 System
For business partner master data that you create in CRM Online as consumers , it is crucial
whether the business partners are organizations or persons. Organizations are distributed to the
R/3 System as business partner master data for customers, while persons are distributed as
business partner master data for consumers. The latter case concerns true consumers.
In the R/3 System, an account group for consumers that are organizations, and an account group
for consumers (already exists in the R/3 System) that are persons are correspondingly assigned.
In the case of organizations, the sales area data transferred from the reference business partner
is also distributed. In the case of persons, this data is not also distributed, but is rather
determined from the reference customer in the R/3 System.
Distribution from the R/3 System to CRM Online
To distribute consumer master records from the R/3 System to CRM Online, maintain the
reference business partner and the sales area data belonging to it in the corresponding IMG
activity. Alternatively, you can download the reference customer from the R/3 System.
Customer master records with the account group for consumers who are people, are created as
real consumer master records in CRM Online, as the sales area data is transferred from the
reference business partner.
External Interface
The external interface allows you to communicate with external systems. You can exchange data
on the business partner and its relationships via this interface.
For more information, see Interfaces for Linking External Systems.
Integration
In Customizing for Business Partners, you make settings for the creation of business partners
from HR master data distributed by ALE from the R/3 System to CRM Online. You do this in the
activities under Integration Business Partners with Employees.
If you want to assign business partners who are employees to business partners
for partner function types, for example, Employee responsible, you must
distribute master data from the R/3 System in the following order:
Structure
Legacy Back-Office Integration / Legacy System Migration
CRM includes import interfaces for products, pricing conditions, business partners (such as
customers and contacts), business partner hierarchies, business partner relationships and orders.
This enables data from legacy systems to be imported to mySAP CRM at the start of a project
and updated when changes are made or new data is created in the back-office system.
If mySAP Customer Relationship Management is used in a productive system, new customer
master records can be created in CRM together with orders and invoices. Export interfaces
enable these new objects to be exported to back-office systems.
Technology
All interfaces are linked to CRM Middleware and have an XML adapter and an IDoc adapter. The
Middleware is replicated, which enables subscriptions to be created with the distribution
information. Middleware also includes monitoring and error handling tools.
The XML adapter is implemented in the form of an XML SOAP Call. Initial extracts and separate
direct transfers are possible for each CRM object. The interfaces are published in the Interface
Repository.
Interfaces using SAPs ALE/IDoc technology offer one or more of the following options:
Data Transfer Workbench (together with the Legacy Migration Workbench), a tool for filebased import of data to a system (similar to initial data transfer). This tool offers mapping
functions you can use to group data from several files and map them in the CRM
message structure.
12 certified third-party vendors of ALE message handling systems (including BEA, IBM
MQSeries, NEON and TIBCO)
55 certified third-party vendors of ALE converters (including CrossWorlds, Harbinger,
Mercator, Oberon and Sterling)
55 certified third-party vendors of EDI sub-systems (including Actis, Harbinger,
Premenos, Seeburger and Sterling)
Integration
B2B Integration
The following message-based interfaces are the basis for message interchange with business
partners:
Product interface for importing products from traders for resale.
Order interface for processing purchase orders from customers and sending order
confirmations and invoices as messages to the customer.
Data Mapping
Definition
To enable CRM 3.0A to be integrated with mySAP R/3 and to allow subsequent data transfer
between the two systems, data has to be mapped between the two components. In doing this,
you define how the data from each source field in R/3 is to be mapped in the source field in CRM.
A detailed analysis is made of the following objects (common relationship data):
Product Data
Business Partner Data
Sales Order Data
Structure
The fields that mySAP R/3 (Release 4.6x) and mySAP CRM (Release 3.0) have in common for
the objects mentioned are detailed in the documentation.
Integration
Detailed documentation of the data map is available in the Service MartketPlace (Alias "CRM"
Media Center Documentation) with the general availability Release of mySAP CRM 3.0A.
Integration
Archiving takes place locally. An exchange with other systems is carried out as follows:
By replicating the archiving flag
By sending a delete BDoc for each archived business partner
In this way the business partners in question are also deleted on the mobile clients. The archiving
and deletion of the flagged business partners must be triggered separately in the OLTP R/3
System.
Prerequisites
You have set the indicator for the archiving flag in the business partner dialog.
The background process for archiving must be set up.
To do this, the following steps must be carried out:
o Parameterization of the archiving object (here BOR object BUS1006005) via
transaction DACONTROL
See Maintenance Transaction DACONTROL.
o Scheduling and checking of background processes for data archiving in CRM
Online (transaction DACHECK)
Make the other necessary system settings in the implementation guide (IMG) in the
Customizing of the System Administration under Archiving Object-Specific Customizing in
Data Archiving (archiving object CA_BUPA).
In the case of your own data, settings must also be made in the following transactions:
o Transaction BUS7 for BDT event modules
User-defined checks (ARCH1)
Write routines for user-defined fields or tables (ARCH3)
Delete routines for user-defined fields or tables (ARCH4)
o Transaction AOBJ
Here you include your own tables in the structure definition of the
archiving object CA_BUPA.
Features
The following phases will be run through during the archiving of business partners:
1. Determination of the data to be archived (business partner with archiving flag)
2. A check of whether the archiving is allowed
The following checks are carried out:
o The reference business partner may not be archived.
o A business partner may not be archived if there are still active business
transactions.
The business transactions concerned must first be archived, before the
relevant business partners can be archived.
Red marking: The business partner is already in the process of being archived (BP has
the system status "archivable"). The relevant indicator on the tab page Status has been
set.
You cannot make any changes to this business partner. You can only display the
business partner.
Checks
You can establish the period after which a business partner should once again be checked for
archivability.
Make the necessary settings in the transaction DACONTROL.
The date of the last check carried out is displayed in the business partner dialog on the tab page
Status.
Archived Data
You can search for and display the archived data via Environment -> Archived Data in the
business partner dialog.
Prerequisites
Before the initial download can take place, you must have:
Transferred Customizing for Basis Components (in particular, transferred the units of
measure, languages, and countries)
(CRM Only) Transferred Customizing for Organizational Management (for example,
transferred the sales offices)
Transferred Customizing for Sales and Distribution (for example, transferred the product
groups)
(CRM Only) Defined the mapping of sales tax data from R/3 to the CRM format
You do this in Customizing for Taxes in Define Assignment of Product Tax Data from R/3
to CRM. If necessary, you can enhance this mapping using a Business Add-In. You do
this in Customizing for Taxes in Define Customer-Specific Assignment of Tax Data from
R/3 to CRM. This particularly applies if regional taxes have been used in R/3.
Defined how the product ID is stored
You do this in Customizing for Products in Define Output Format and Storage Form of
Product IDs.
Transferred the following middleware objects for the class CUSTOMIZING:
These objects are as follows:
o DNL_CUST_PROD0
o DNL_CUST_PROD1
o (CRM Only) DNL_CUST_PROD3
For more information, see Replicating System Settings from R/3 in CRM/EBP
(Materials/Articles).
(CRM Only) Transferred the middleware object CUSTOMER
Features
The material data necessary for CRM/EBP functions that is transferred from R/3 includes the
following data in particular:
General material data such as the base unit of measure, alternative units of measure,
and also material descriptions and general long texts (such as the basic data text)
Grouping characteristics, in particular the product hierarchy (CRM only), material group,
and material type
These groupings are created as categories in the corresponding hierarchies. See also
Replicating System Settings from R/3 in CRM/EBP (Materials/Articles).
(CRM Only) Sales data and sales long texts
The R/3 sales statuses are created in CRM as statuses of the status object Sales
Product (PRS). The following system statuses are defined:
o I1001 (created)
o I1050 (blocked with warning)
o I1051 (blocked with error message)
Only one sales status is defined at distribution chain level (combination of sales
organization and distribution channel). There is not a general sales status for the product.
Activities
1. Define which materials are to be transferred.
You do this in the filter conditions in middleware object management for the object
MATERIAL using transaction R3AC1.
The filter conditions must be specified appropriately for the database format of the
corresponding fields in the backend system. In particular, numeric material numbers must
have 18 positions and include leading zeros (unless you specified the lexicographical
storage format for material numbers).
Save your entries in the initial screen. This takes approximately one minute since
modules are generated automatically.
If you do not use CRM, access Customizing for Products and carry out the activity
Deactivate/Reactivate CRM-Specific Data in Enterprise Buyer System to set up the
Enterprise Buyer system for the transfer of materials from R/3 to the product master. If
you later want to use CRM in addition to Enterprise Buyer, you can also use this program
to undo the settings made. For more information, see the program documentation.
2. Start the transfer of data for the object MATERIAL using transaction R3AS.
3. Access transaction CRMM_PRPROD to check whether problems have occurred in the
assignment of pricing reference materials during the transfer.
Do not create a product master using a client copy or similar procedure either in the CRM/EBP
System or OLTP R/3 System. If you want to set up new systems with product master data or
change or create a connection between existing systems, refer to note 418886 first. It contains
important information about how to avoid inconsistencies at database level.
Features
You can start the upload of product data to the specified OLTP System manually in product
maintenance by choosing Transfer Product to OLTP.
The data relevant for the upload is derived from the following set types, according to the product
type:
Set types for materials:
Product header data (COMM_PRODUCT)
Basic data on materials (COMM_PR_MAT)
Descriptions (COMM_PR_SHTEXT)
a. The mapping table does not contain an entry for the product and the selected
OLTP System, and in the OLTP System there is no material/article whose
material/article number corresponds to the product ID.
This is the usual case when materials/articles are created. The material/article
can be created in the OLTP System without any difficulty, and the product ID is
used as the material/article number.
b. The mapping table does not contain an entry for the product and the selected
OLTP System, but in the OLTP System there is already a material/article with a
material/article number corresponding to the product ID.
If this is the case, you are informed about the situation in a dialog box. You can
decide whether the data of the material/article in the OLTP System should be
overridden by the product data, or whether a new material/article should be
created in the OLTP System using internal number assignment.
2. A material/article is created in the OLTP System with internal number assignment
If the material/article number is assigned internally, the product ID is ignored as a
potential material/article number.
a. The mapping table does not contain an entry for the product and the selected
OLTP System, and in the OLTP System there is no material/article with a
material/article number corresponding to the product ID.
If you decide not to use the product ID as the material/article number, the
material/article is created in the OLTP System with a material/article number
assigned internally. You will not be able to derive the product ID used in the CRM
System from the material/article number generated in the OLTP System.
b. The mapping table does not contain an entry for the product and selected OLTP
System, but in the OLTP System there is already a material/article with a
material/article number corresponding to the product ID.
If this is the case, you are informed about the situation in a dialog box. You can
decide whether you do want to use the product ID as the material/article number,
instead of internal number assignment, and overwrite the existing material/article
in the OLTP System.
3. A material/article is changed in the OLTP System
a. The mapping table contains an entry for the product and the selected OLTP
System, and the data contained in the mapping table (material type, material
group, industry sector, material category) corresponds to the data of the
material/article in the OLTP System.
This is the usual case when a product is changed. The material/article can be
changed in the OLTP System without any difficulty.
b. The mapping table contains an entry for the product and the selected OLTP
System, but the data contained in the mapping table no longer corresponds to
the data of the material/article in the OLTP System. For example, the material
type or material group has been changed.
You are informed about this situation in a dialog box. The material/article data is
changed in the OLTP System on the basis of this product data. In addition, the
data in the mapping table in the CRM System is updated on the basis of the
current material/article data.
c. The mapping table contains an entry for the product and the selected OLTP
System, but there is no longer a material/article in the OLTP System with the
material/article number contained in the mapping table.
If the material/article was reorganized in the OLTP System, for example, and
therefore deleted from the system, the entry still exists in the mapping table. You
are informed about the situation in a dialog box and have the option of creating
the material/article again in the OLTP System.
Any materials or articles created or changed in the OLTP System are downloaded directly to the
CRM System if the delta download is activated or an initial download takes place subsequently.
So that this data is not imported into the CRM Middleware or the CRM System, the data is
discarded in CRM inbound processing if the mapping table indicates that this material already
exists as a product in the CRM System and was transferred to the given OLTP System. The
downloaded material/article data is not passed to the flow logic or mobile clients.
A material/article created by an upload may be changed in the OLTP System. As the CRM
System is the main system for maintaining CRM-specific data, the CRM product data must not be
affected by any changes to the material/article data in the OLTP System. However, it may be
necessary to modify or extend a material/article in the OLTP System so that processes such as
procurement and inventory management can take place.
If a product is changed in product maintenance after the initial upload, the changed product data
is automatically transferred to all OLTP Systems to which the product was uploaded manually.
The mapping table containing all the material/article numbers created for the products is used to
trigger the upload. This means that the OLTP data does not have to be adjusted by a manual
upload.
If an automatic upload needs to be performed due to data having been changed, the mapping
table is used to derive the data required for the input screen. The input screen does not therefore
have to be processed.
If a particular product could not be uploaded automatically to an OLTP System without errors
occurring, the indicator UPLOAD_NECESSARY is set in the mapping table. Once the errors have
been corrected, the upload should be repeated for all the upload processes that failed. To do this,
either schedule the report COM_PRODUCT_UPLOAD_BATCH periodically in the background or
start it manually, when necessary. You can also perform a manual upload at any time, if you
prefer.
If product data is changed using the API interface, an automatic upload is not performed. The
indicator UPLOAD_NECESSARY is merely set in the mapping table and the upload can be
performed later using the report COM_PRODUCT_UPLOAD_BATCH.
The messages issued in the OLTP System during the upload processing are stored in the
application log of the OLTP System. A status message in the CRM System indicates which
application log number contains the relevant message data in the OLTP System.
As there is no application log in OLTP Release 3.1I, the OLTP message is shown
in a popup if an error occurs.
Prerequisites
In the step Allow Upload for a Product Type under Settings for Product Type in Customizing for
Products, you can specify for each product type whether products of this type can be transferred
to an OLTP System. You can also enter a base unit of measure in case a base unit of measure
was not maintained in the product data. If financing products are to be uploaded, you must enter
a base unit of measure, as a base unit of measure cannot be maintained in the product data for
financing products.
Constraints
Only the product data itself is transferred to the OLTP System. Additional data, such as
classifications, relationships, conditions, is not uploaded. The sales statuses are also not
uploaded (for more information, see Note 495764).
Only active products can be uploaded. The upload can be performed for all product types
currently available. However, in the case of service and financing products, you should
note that they are created as service materials/articles in the OLTP System and not in the
form of service or financing master data. For service and financing products therefore,
only the material type DIEN and material types derived from this are allowed when new
material/article master data is created.
The upload only applies to products which were created in the CRM System. This means
the original system must be the CRM System. Provided the CRM System was defined as
the original system during a catalog import, products imported into the CRM System
using the catalog interface can also be transferred to the OLTP System.
This function cannot be used to transfer several products at once to an OLTP System. If
products were created in the CRM System as the result of a mass import, using the
catalog interface for example, these products can only be uploaded individually to the
OLTP Systems concerned.