Configuration and Publications: Field Service Stock Management with
CRM Mobile Service 
This process describes the configuration activities and publications required for the Field Service Stock Management with CRM Mobile Service business scenario.
Publications:
Subscribe to the required publications for Customizing. For more information, see Publications for Customizing.
Subscribe to the required scenario-specific publications:
Configuration Activities:
RFC Connections
You create RFC connections as follows:
Use transaction SM59
Enter RFC destination name
For connection type, enter “ABAP Connection”
Specify Target System, Msg Server and Hostname (details of CRM Server)
Specify Language, Client, User and Password.
These are the logon details.
Specify the Special Options, whether “Classic qRFC” or “bgRFC” (NetWeaver)
You maintain the following RFC connections:
In SAP ECC, you maintain qRFC connections to CRM Server and NetWeaver Mobile.
In NetWeaver Mobile, you maintain qRFC connection to SAP ECC.
In NetWeaver Mobile, you maintain bgRFC connection to CRM Server.
In CRM Server, you maintain bgRFC connection to NetWeaver Mobile.
In CRM Server, you maintain qRFC connection to SAP ECC.
For bgRFC configuration, maintain the supervisor destination:
In NetWeaver Mobile, use transaction SBGRFCCONF.
In CRM Server, use transaction SBGRFCSUPER.
Note that the following prerequisites apply:
You have used transaction SM59 to define the supervisor destination as an RFC destination.
You have not defined load balancing
You have not defined a system number
You have not entered a server
You have entered a user and a password
SAP ECC Configuration
For more information, see Customizing in SAP ECC for Mobile Service Stock Management.
ALE Configuration for IDocs
Apply SAP Note number 731872.
NetWeaver Mobile Configuration
Assign user roles
Use the transaction SU01.
Ensure that your user has the role SAP_DOE*.
If the above role is not available, raise an IT/IBC message.
Specify the backend destination:
RFC destination for ERP system needs to be configured as the parameter BACKEND_DESTINATION with the relevant software component version. Choose one of the following in NetWeaver Mobile from the menu:
Generate the SWCV:
Use transaction SDOE_WB
Choose the Software component Version /SAPCRMSE/VANSTOCK_DATA_MODEL, 1.0 of CRM
Check whether all the data objects, backend adapters and distribution models have status as green. If not, generate them.
Configure the Channel:
Select in NetWeaver Mobile by choosing
Choose Create
Enter “VANSTOCK_CHNL” for Channel Name
Enter “Both” for Channel Type
Enter “CRM VANSTOCK CHANNEL” for Description
Enter “Active” for Status
Enter “Synchronous” for Invocation mode
Enter “/SAPCRMSE/CL_CRM_VANSTOCK_CHNL” for Handler Name
Select from drop down list for Flow Definition Blueprint
Configure the device
Choose one of the following in NetWeaver Mobile from the menu:
Enter “CRM” for Device Name
Enter “Yes” for Enabled
Note
As a prerequisite for this step, you have created the device and saved it. You have then chosen Manage Device.
Enter “Laptop” for Device Type
Enter “VANSTOCK_CHNL” for Manage Channels option
Configure distribution rules
Choose one of the following in NetWeaver Mobile from the menu:
Activate distribution rules for data flow to CRM Server
Configure synchronous data extraction
Choose one of the following in NetWeaver Mobile from the menu:
The DOE parameter DO_SYNC_EXTRACT has to be set to “X” for all the data objects for sending data synchronously to SAP CRM whenever it is downloaded from SAP ECC.
Configure number of extract queues
Choose one of the following in NetWeaver Mobile from the menu:
The DOE parameter QUEUESIZE has to be set to “1” for sending data in only one queue per data object. This avoids parallel updates when extracting stock data from SAP ECC to NetWeaver Mobile.
Parameters
CRM Server parameters
Use transaction SM30 and maintain the following values in the table SMOFPARSFA:
Key |
Paramname |
Paramval |
VANSTOCK |
DOE_RFC_DEST |
Specify the bgRFC destination name to NetWeaver Mobile |
VANSTOCK |
ERP_RFC_DEST |
Specify the qRFC destination name to SAP ECC |
VANSTOCK |
QUEUE_NAME |
CRM_VANSTOCK_DOE |
NetWeaver Mobile parameters
Use transaction SM30 and maintain the following values in the table /SAPCRMSE/PARAM:
Parameter Key |
Parameter Name |
Parameter Value |
VANSTOCK |
CHANNEL |
VANSTOCK_CHNL |
VANSTOCK |
CRM_RFC_DEST |
Specify the bgRFC destination name to CRM Server |
VANSTOCK |
DEVICE_ID |
Specify the device ID for the device “CRM”. See step 5 (“Configure the device”) above |
VANSTOCK |
QUEUE_NAME |
DOE_VANSTOCK_CRM |
VANSTOCK |
SWCV_NAME |
/SAPCRMSE/VANSTOCK_DATA_MODEL |
VERSION |
1.0 |
|
VENDOR |
CRM |
Mobile System Maintenance (MSY) settings.
To enable stock management, make the following settings in MSY:
Choose , and assign the plant and storage location with employees.
Under Cross Component Settings, select the Choice Field “ENABLEVANSTOCK” and set the Choice Field Value to “True”.
For purchase order download, select the Choice Field “MSVPURDOCTYPE” and maintain the Choice Field Value as “UB”
Employee — User Mapping
As a prerequisite to data exchange, the system administrator needs to do the following:
Map the SAP CRM Mobile Service user to an existing user in the CRM Server
Create a user in SAP ECC with the same user name as in the CRM Server
Initial Download from SAP ECC
For more information, see Initial and Delta Download for Stock Management.
Pre-Fill
In Mobile System Maintenance (MSY), choose and import the relevant file from the Consolidated-Prefill folder. You can find this folder on the Installation/Upgrade CD.