Professional Documents
Culture Documents
Enhancement
Middleware Enhancement
PrepareMe
TellMe
5
India SAP CoE, Slide 2
ShowMe
LetMe
HelpMe
Middleware Enhancement
PrepareMe
TellMe
5
India SAP CoE, Slide 3
ShowMe
LetMe
HelpMe
Introduction
Purpose
Use
Challenges
Purpose
Integration with all CRM applications and the existing Backend
landscape.
Develop a completely new application which has the full
integration with other applications provided by the CRM
Middleware.
Enhancing Middleware to have full integration with for any
enhancement in CRM
Use
Customizing Objects, often it is table existing in one system (e.g.
R/3 Backend), which should also be available in the connected
system (e.g. CRM server).
Typically Customizing Objects are not validated by an
application, because they normally contain data that is used for
validation itself. Customizing objects can be loaded from an R/3
Backend to CRM, to CDB or from the CRM system to the CDB.
Challenges
No considerable challenges are identified during this
replication. The RFC connection needs to be ensured between
R/3 and CRM systems.
Middleware Enhancement
PrepareMe
TellMe
5
India SAP CoE, Slide 8
ShowMe
LetMe
HelpMe
Object Replication
Most projects have additional requirements like customer-specific
fields and tables, which should be fully integrated with all CRM
applications and the existing Backend landscape. In some cases it
might also be required to develop a completely new application
which has the full integration with other applications throughout
the whole landscape.
Here we are going in details about 3 common Use Cases.
Middleware Enhancement
PrepareMe
TellMe
ShowMe
LetMe
5
India SAP CoE, Slide 11
HelpMe
Syntax Description
Important Transactions used in this exercise
SE11 : To create Custom table in R/3 as well as in CRM
SE37 : To create Function group and to copy
standard function Module in CRM
R3AC3 : Create adapter Object
(In CRM)
(In CRM)
(In CRM)
(In CRM)
Syntax Description
Important Function Modules used in this Exercise
MAP_BAPIMTCS_TO_CUSTOMIZING : Signature FM used for Mapping
in CRM
Important Tables / Structures used in this document
BAPIMTCS : Middleware Transaction Container Structure
SAP R/3
1.
2.
3.
4.
5.
Key
Data Element
MANDT
Yes
MANDT
COUNTRY
Yes
TEXT30
CONTINENT
No
TEXT30
Key
Data Element
MANDT
Yes
MANDT
COUNTRY
Yes
TEXT30
CONTINENT
No
TEXT30
Enter Description
This will come automatically for
customizing objects
Block Size
Provide R/3
Execute
Table Replication
SAP R/3
1.
2.
3.
4.
5.
6.
7.
SAP R/3
8.
9.
10.
11.
12.
13.
14.
Syntax Description
Important Transactions used in this exercise
SE11 : To create Custom table in R/3 as well as in CRM
SE37 : To create Function group and to copy
standard function Module in CRM
R3AC3 : Create adapter Object
(In CRM)
(In CRM)
(In CRM)
(In CRM)
Syntax Description
Important Function Modules used in this Exercise
CRM_SAMPLE_EXTRACT_MODULE:
Extractor FM used for extracting data in R/3.
SAMPLE_INTERFACE_BAPIMTCS_BDOC:
Signature Mapping FM from R/3 to CRM.
Z_CRS_MAP_ZUOM_BAPIMCTS:
Custom FM to send data from R/3 to CRM
server via the MW adapter framework.
Important Tables / Structures used in this document
BAPIMTCS :
Middleware Transaction Container Structure
Key
Data Element
MANDT
Yes
MANDT
UOM
Yes
CHAR10
DESCRIPTION
No
CHAR25
Data Element
UOM
CHAR10
DESCRIPTION
CHAR25
Value
Consumer
CRM
Object name
Z_CRM_UOM
Up or download
Object class
Z_CRM_UOM_CL
Key
Data Element
MANDT
Yes
MANDT
UOM
Yes
CHAR10
DESCRIPTION
No
CHAR25
Data Element
MANDT
CHAR3
UOM
CHAR10
DESCRIPTION
CHAR25
Creating mBDoc
Create structure Z_CRM_UOM_ROOT_CONTROL
Component
Component type
TASK
Char1
Component type
GUID
SMO_GUID
UOM
CHAR10
DESCRIPTION
CHAR25
Creating mBDoc
Create structure Root Data Z_CRM_UOM_ROOT_DATAX
Component
Component type
UOM
CHAR10
DESCRIPTION
CHAR25
Create structure Z_CRM_UOM_ROOT for the entire root segment with the following
component.
Component
Component type
CONTROL
Z_CRM_UOM_ROOT_CONTROL
DATA
Z_CRM_UOM_ROOT_DATA
DATAX
Z_CRM_UOM_ROOT_DATAX
Creating mBDoc
Create structure Z_CRM_UOM_ROOT_TABLE with line type
Z_CRM_UOM_ROOT in order to carry multiple messaging BDoc
instances, i.e. root segments, it is necessary to create the standard
table.
Component type
Z_CRM_UOM_ROOT Z_CRM_UOM_ROOT_TABLE
Key
Data Element
GUID
SMO_GUID
DESCRIPTION
TEXT25
Save your changes. Check your new messaging BDoc type and activate it.
Table Replication
Syntax Description
Important Transactions used in this exercise
SE11 : To create Custom table in R/3 as well as in CRM
SE37 : To create Function group and to copy
standard function Module in CRM
R3AC3 : Create adapter Object
(In CRM)
(In CRM)
(In CRM)
(In CRM)
Syntax Description
Important Function Modules used in this Exercise
2.
3.
4.
5.
6.
SAP CRM
Add new field in R/3 table communicated to the CRM Online application
SAP CRM
SAP R/3
7.
8.
9.
10.
11.
12.
13.
14.
India SAP CoE, Slide 60
Value
Product
ZCRM
Text
RFC Destination
Initial
Active
Value
Process
CRM0_200
Country
Initial
Application
Initial
Function Module
Z_USER_EXIT_BEFORE_SEND
_TO_MW
Product
ZCRM
Value
Product
ZCRM
Text
RFC Destination
Initial
Active
Value
Process
SMOUTIL3
Country
Initial
Application
Initial
Function Module
Z_USER_EXIT_BAPI_CRM_SAVE
Product
ZCRM
Value
Event
CRMIN
Object
Item
Function Module
Z_CRMIN_APPEND_FIELDS
Call
Middleware Enhancement
PrepareMe
TellMe
ShowMe
LetMe
5
India SAP CoE, Slide 84
HelpMe
Exercises
Create a custom table with 2 fields in ERP side and get it
replicated in CRM with some validations.
Middleware Enhancement
PrepareMe
TellMe
ShowMe
LetMe
5
India SAP CoE, Slide 86
HelpMe
HelpMe
Tips and Tricks
Additional Info