Show TOC

Process documentationConfiguration and Publications: Field Service Stock Management with CRM Mobile Service Locate this document in the navigation structure

 

This process describes the configuration activities and publications required for the Field Service Stock Management with CRM Mobile Service business scenario.

Process

Publications:

Configuration Activities:

RFC Connections

  1. You create RFC connections as follows:

    1. Use transaction SM59

    2. Enter RFC destination name

    3. For connection type, enter “ABAP Connection”

    4. Specify Target System, Msg Server and Hostname (details of CRM Server)

    5. Specify Language, Client, User and Password.

      These are the logon details.

    6. Specify the Special Options, whether “Classic qRFC” or “bgRFC” (NetWeaver)

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

  3. For bgRFC configuration, maintain the supervisor destination:

    1. In NetWeaver Mobile, use transaction SBGRFCCONF.

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

  1. Assign user roles

    1. Use the transaction SU01.

    2. Ensure that your user has the role SAP_DOE*.

    3. If the above role is not available, raise an IT/IBC message.

  2. 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:

    •   Data Orchestration Engine   Data Orchestration Admin and Monitoring Portal  

    •   Data Orchestration Engine   Configuration   DOE Configuration  

  3. Generate the SWCV:

    1. Use transaction SDOE_WB

    2. Choose the Software component Version /SAPCRMSE/VANSTOCK_DATA_MODEL, 1.0 of CRM

    3. Check whether all the data objects, backend adapters and distribution models have status as green. If not, generate them.

  4. Configure the Channel:

    • Select in NetWeaver Mobile by choosing   Data Orchestration Engine   Administration   Device Management   Channel Administration   Channel Administration  

    • 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

  5. Configure the device

    • Choose one of the following in NetWeaver Mobile from the menu:

      •   Data Orchestration Engine   Administration   Device Management   Device Administration  

      •   Data Orchestration Engine   Data Orchestration Admin and Monitoring Portal  

    • Enter “CRM” for Device Name

    • Enter “Yes” for Enabled

      Note Note

      As a prerequisite for this step, you have created the device and saved it. You have then chosen Manage Device.

      End of the note.
    • Enter “Laptop” for Device Type

    • Enter “VANSTOCK_CHNL” for Manage Channels option

  6. Configure distribution rules

    • Choose one of the following in NetWeaver Mobile from the menu:

      •   Data Orchestration Engine   Administration   Distribution Rule Administration  

      •   Data Orchestration Engine   Data Orchestration Admin and Monitoring Portal  

    • Activate distribution rules for data flow to CRM Server

  7. Configure synchronous data extraction

    • Choose one of the following in NetWeaver Mobile from the menu:

      •   Data Orchestration Engine   Data Orchestration Admin and Monitoring Portal  

      •   Data Orchestration Engine   Configuration   DOE Configuration  

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

  8. Configure number of extract queues

    • Choose one of the following in NetWeaver Mobile from the menu:

      •   Data Orchestration Engine   Data Orchestration Admin and Monitoring Portal  

      •   Data Orchestration Engine   Configuration   DOE Configuration  

    • 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   Stock Management   Storage Location Assign  , 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   Export-Import   Import Manager   and import the relevant file from the Consolidated-Prefill folder. You can find this folder on the Installation/Upgrade CD.