The following documentation describes where to verify and modify the values SAPMEINTCTC creates for the SAPMEINT standard interfaces.
The SAPMEINT standard interfaces are installed and configured using the SAPMEINTCTC configuration wizard. For more information, see SAP ME Installation Guide
available at .
Recommendation
If the SAPMEINTCTC template was interrupted by any reason, resolve the root cause issue and re-execute the CTC wizard according to the Installation Guide
.
If you notice any incorrect configurations, re-execute the SAPMEINTCTC wizard with correct values according to the Installation Guide
. Only advanced users may need to edit the values entered by SAPMEINTCTC.
SAPMEINTCTC creates two data sources, SAPMEINT
and SAPMEWIP
. These data sources are used by the SAPMEINT interfaces.
Data Source | Data Source Alias | Description |
---|---|---|
|
| Used to do CRUD operations on SAPMEINT database |
|
| Used to read data from SAP ME WIP database |
To modify the data source configurations, proceed as follows:
Log on to SAP NetWeaver Administrator using the following URL: http://<AP Java host>:<HTTP port>/nwa
.
Choose
.Search for SAPMEINT
or SAPMEWIP
as the Resource Name
.
Select the desired data source and make the necessary modifications on the following data source properties:
A data source for the MS SQL Server database is configured as follows:
Field | Example Value |
---|---|
|
|
| Vendor SQL |
| Default |
| 2.0 (with XA support) |
| |
| ConnectionPool data source |
|
|
Field | Example Value |
---|---|
| 10 |
| 25 |
| 120 |
Field | Example Value |
---|---|
| Default instance:
Name instance:
|
| ****** |
|
|
|
|
|
|
A data source for the Oracle database is configured as follows:
Field | Example Value |
---|---|
|
|
| Vendor SQL |
| Default |
| 2.0 (with XA support) |
| |
| ConnectionPool Data source |
|
|
Field | Example Value |
---|---|
| 10 |
| 25 |
| 120 |
Field | Example Value |
---|---|
|
|
| ****** |
|
|
|
|
After creating the data sources, make sure that the SAPMEWIP
and SAPMEINT
data sources are running and in a Fully Available
state.
In the SAP MII main menu, choose
.Select Data Source
and choose SAPMEWIP
.
Make the desired modifications:
Field | Value |
---|---|
|
|
| Datasource |
| SQL |
|
|
| Selected |
| ' |
| ' |
| 7 |
| SAPMEWIP |
|
|
| 5 |
| 60000 |
|
|
Note
If the database is Oracle, use the following parameter values:
Date Prefix
: TO_DATE('
Date Suffix
: ','MM/DD/YYYY HH24:MI:SS')
Save your entries.
Choose Status
to verify connectivity to the SAPMEWIP
.
The status must be Running
.
Note
You can use one database to store both SAP ME and SAPMEINT data if needed. For more information, see SAP Note 1409811 — SAP ME System Landscape Recommendations
.
On the SAP MII main menu, choose
.Select Data Source
and choose SAPMEINT
.
Make the desired modifications:
Field | Value |
---|---|
|
|
| Datasource |
| SQL |
|
|
| Selected |
| ' |
| ' |
| 7 |
| SAPMEINT |
| |
|
|
| 5 |
| 60000 |
|
|
Note
If the database is Oracle, use the following parameter values:
Date Prefix
: TO_DATE('
Date Suffix
: ','MM/DD/YYYY HH24:MI:SS')
Save your entries.
Choose Status
to verify connectivity to the SAPMEINT
.
The status must be Running
.
SAPMEINTCTC creates the MESYS
user in SAP NetWeaver where SAPMEINT and SAP ME are deployed. In the case of a clustered environment, SAPMEINTCTC creates the MESYS
user in both instances of SAP NetWeaver.
This user is used for any SAP ME API or web service calls. For more information about configuring a user in SAP NetWeaver, see Identity Management.
SAPMEINTCTC creates the credential SAPMEINT_ME_AUTH
in SAP MII. To modify the password for the credential, proceed as follows:
On the SAP MII main menu, choose
.Choose the credential SAPMEINT_ME_AUTH
.
Enter a new password for the MESYS
NetWeaver user.
Confirm the password.
Save your entries.
Note
Make sure that the password for the MESYS
user is also modified in SAP NetWeaver server where SAP ME is deployed.
Recommendation
Do not change the user name (MESYS
) for this credential.
SAPMEINTCTC creates the credential SAPMEINT_ALE
in SAP MII. To modify this credential, proceed as follows:
On the SAP MII main menu, choose
.Choose the credential SAPMEINT_ALE
.
Enter the desired user name.
Enter a new password for the user.
Confirm the password.
Save your entries.
SAPMEINTCTC creates the role Role_SAPMEINT
in SAP NetWeaver where SAP MII and SAPMEINT are deployed and running.
For more information about configuring roles, see Administration of Users and Roles.
You need to configure SAP ERP to send IDocs to the SAP MII server. This involves the following procedures:
Creating a logical system for the SAP MII server within SAP ERP
Creating a TCP/IP RFC destination to the SAP MII server
Testing the connectivity of the RFC destination to the SAP MII server
Creating a port
Creating a partner profile configured for the following IDoc types:
MATMAS03
or MATMAS05
(see Transfer of Long Material Number)
CLFMAS02
BOMMAT03
LOIROU02
or LOIROU03
(see SAP Note 1793291)
LOIPRO01
or LOIPRO02
(see SAP Note 1793291)
LOIPLO01
INVCON02
IORDER01
HRMD_A06
LOIWCS02
or LOIWCS03
(see Transfer of Work Center with Individual Capacities)
Creating a distribution model
For more information, see Customizing for ALE for Communication with SAP ME.
SAPMEINTCTC creates the message (IDoc) listener in SAP NetWeaver to receive notifications of IDocs from SAP ERP server and download the IDoc. To make modifications to the Message Listener
configuration, proceed as follows:
Log on to SAP NetWeaver Administrator using the following URL: http://<host>:<port>/nwa
.
Choose
.Select Resource Adapters
from the dropdown list.
Select the resource configured by SAPMEINTCTC, such as XMIIIDOC01
, that you want to modify in the table.
Choose Properties
tab in the bottom window.
Edit the properties to match your SAP ERP server.
Save your entries.
Example
Field | Example Value |
---|---|
|
|
| 1 |
| 210 |
|
|
| ****** |
| EN |
|
|
| 03 |
|
|
For more information, see Customizing for ALE for Communication with SAP ME.
After configuring the resource, make sure that this configuration works by doing the following:
Check that the resource, is in a running and Fully Available
state.
In the SAP MII menu, expand Message Services
and choose Message Listener
.
Select the message listener configured by SAPMEINTCTC, such as XMIIIDOC01
and choose Update
.
Note
If there are correct values in the SAP Server
, SAP Client
, and Message Name
fields, do not choose Update
.
Choose Status
.
The following message appears: Server Connected
.
SAPMEINTCTC creates a processing rule for all incoming messages in SAP MII Message Services
. The <Name of the IDoc Listener>_ALL_MESSAGES
processing rule specifies how incoming IDocs are processed by SAP MII.
We do not recommend that you change this processing rule. To view the details of the rule, proceed as follows:
In the SAP MII main menu, expand Message Services
and choose Processing Rule Editor
.
Select the <Name of the IDoc Listener>_ALL_MESSAGES
processing rule.
View the settings.
SAPMEINTCTC configures this processing rule with the following values:
Field | Value |
---|---|
|
|
|
|
| Name of the IDoc Listener |
|
|
| * |
| Category |
|
|
|
|
SAPMEINTCTC configures the SAP ERP server connection in SAP MII to make BAPI calls to SAP ERP. SAPMEINTCTC creates the SAP ERP server connection with the following naming convention <Name of the IDoc Listener>_SAP_JCO
, where <Name of the IDoc Listener>
is the IDoc Listener configured by SAPMEINTCTC. To modify the configuration, proceed as follows:
On the SAP MII main menu, expand Data Services
and choose Connections
.
Choose Connect Type JCO
.
Choose New
.
Select the desired SAP ERP server.
You can modify the following properties:
Field | Value |
---|---|
| <Name of the IDoc Listener> |
| <Your SAP ERP server host name> |
| <Your SAP ERP client for production> |
| <Your SAP ERP system number> |
| <Pool size for your JCo resource> |
| EN |
Save your entries.
SAPMEINTCTC configures the SAP NetWeaver system properties for the SAP MII transactions web services to work. To modify this configuration, proceed as follows:
Log on to SAP NetWeaver Administrator console using the following URL: http://<host>:<port>/nwa
.
Choose
.On the Applications
tab page, search for the xapps~me~integration~ear
application.
You can edit the following properties:
Name | Custom Value |
---|---|
| SAPMEINTCTC configuration defaults this value to 1 and this value should not be modified. |
| <SAP NetWeaver User who has the SAPMEINTCTC configuration defaults this value to the user |
| <User password> |
| The default value:
SAPMEINTCTC configures this value using the server name and port of the SAP MII server. |
Save your entries.
To configure SAPMEINT workflow, you need to log on as the user with the Role_SAPMEINT
role assigned.
SAPMEINTCTC configures SAPMEINT Global Configuration
properties with the values provided during the SAPMEINTCTC configuration process. To modify this configuration, proceed as follows:
In the SAP MII Dashboard
menu, choose .
You can modify the following global configuration properties:
Property | Description | Example Value |
---|---|---|
| See Note below | SAPMEINTCTC defaults this parameter to an empty value. |
| See Note below | SAPMEINTCTC defaults this parameter to an empty value. |
| Defines a period in minutes for a message that is waiting for next processing in case correlation conditions were not met. | 10 |
| Defines the retention period in minutes for a message to be retried after a system error | 30 |
| The number of times to display the buckets in the | 12 |
| SAP ME user |
|
| The Web context root for SAP ME application |
|
| Server port on which SAP ME listens for all HTTP requests | 50000 |
| Database vendor for the |
|
| Host name of SAP ME server |
|
| Controls whether Profiling is active (TRUE) or inactive (FALSE). | TRUE |
Note
The Message Discriminator transaction is responsible for building a valid identifier typeId
(DOC_TYPE
) for each incoming message to SAPMEINT. SAPMEINT uses this typeId
to determine the workflow associated with this message.
SAPMEINT comes with pre-built standard discrimination logic to determine the typeId
of a message.
If you want to customize this logic, you can configure your discrimination logic using the following Global Configuration
properties:
SAPMEINT_CustomerMessageDiscriminatorTxn
SAPMEINT_PartnerMessageDiscriminatorTxn
The SAPMEINT system checks if SAPMEINT_CustomerMessageDiscriminatorTxn
has been configured; if it has been configured, it executes it; otherwise it executes the transaction defined in SAPMEINT_PartnerMessageDiscriminatorTxn
if it has been configured.
If the value for the output parameter type
of these transactions is not empty, SAPMEINT uses this value as the typeId
for the message, but if the value returned from these transactions is empty, the standard SAPMEINT discrimination logic executes and tries to find the typeId
of the message.
Save your entries.
SAPMEINTCTC configures SAPMEINT workflows with default values. These default values work for most of the scenarios. If any of the workflow parameters need to be changed, proceed as follows:
In the SAP MII Dashboard
menu, choose .
Retrieve the workflow parameter for the desired interface by choosing the Type ID
.
Make the necessary modifications.
Save your entries.
SAPMEINTCTC configures the SAP MII Schedulers
to process queued messages in SAPMEINT. To modify this configuration, proceed as follows:
In the SAP MII main menu, choose
.Select the desired scheduler.
Modify the desired properties.
Field | Value |
---|---|
|
|
| Dispatcher for queued inbound SAPMEINT messages |
| Selected |
|
|
| A valid SAP MII user who has enough permission to run the |
| The password for the SAP MII user |
|
|
| Your pattern |
Field | Value |
---|---|
|
|
| Dispatcher for queued SAPMEINT messages |
| Selected |
|
|
| A valid SAP MII user who has enough permission to run the |
| The password for the SAP MII user |
|
The number of queued messages to be processed for this scheduler task run. SAPMEINTCTC defaults this parameter with a value of 50. |
| Your pattern |
Field | Value |
---|---|
|
|
| Dispatcher to enqueue SAP ME outbound messages from the |
| Selected |
|
|
| A valid SAP MII user who has enough permission to run the |
| The password for the SAP MII user |
|
|
| Your pattern |
Field | Value |
---|---|
|
|
| Dispatcher to delete the old SAPMEINT messages |
| Selected |
|
|
| A valid SAP MII user who has enough permission to run the |
| The password for the SAP MII user |
|
The number of hours the messages will be kept in the system after they are received into SAPMEINT. SAPMEINTCTC defaults this parameter with a value of 24. |
| Your pattern |
Save your entries.
SAPMEINTCTC configures supported SAP ME sites that correspond to SAP ERP plants during the SAPMEINTCTC execution. To modify this configuration, proceed as follows:
On the SAP MII Dashboard
menu, choose .
On the Supported SAP ME Plants
screen, choose the SAP ME site (plant) to modify.
You can modify the following properties:
Field | Example Value |
---|---|
|
Note The language field for End of the note. |
|
|
|
|
|
|
|
|
SAPMEINTCTC configures SAP ME web services during the SAPMEINTCTC execution. To modify these configurations, proceed as follows:
Log on to SAP NetWeaver Administrator Console
using the following URL: http://<host>:<port>/nwa
.
Choose
.Search for the following web services:
AlarmProcessingIn
ERPBOMProcessingIn
ErpItemProcessingIn
NextNumberProcessingIn
OperationProcessingIn
ErpProductionProcessingIn
ErpRouterProcessingIn
ProductionProcessingIn
ProductionOrderProcessingIn
ERPShoporderProcessingIn
ItemCustomData
ERPUserProcessingIn
ServiceOrderProcessingIn
ResourceProcessingIn
WorkCenterProcessingIn
Select each port type, for example AlarmProcessingIn
.
In the bottom window, choose the Configuration
tab and select associated ServicePort
, for example ProductionAlarmServicePort
.
Choose the Security
tab.
Choose Edit
.
Select the Transport
protocol.
Check the User ID/Password
under HTTP Authentication
.
Save your entries.
Repeat the steps above for each port.
As a final step after the configuration of SAPMEINT, clear the transaction cache by executing the following URL:
http://<host>:<port>/XMII/Illuminator?Service=BLSManager&Mode=
ClearCache&Type=Transaction