You have working knowledge about SAP ME API and SAP MII Workbench.
You have downloaded the examples that are attached to SAP Note 1908404 and imported SAPMEPLUGIN/CREATESFC
to SAP MII Workbench. You can copy and use this extension as a template.
Follow the process for Writing a Service API Extension
described in Example: Writing, Configuring, and Executing a Service API Extension.
The input_xml
property must be set based on the MIIProductionContext
DTO.
The output_xml
property is not supported for plug-in extensions.
Add a transaction property with the name output_message
and data type string
and select the Output Parameter
checkbox. You can enter a message to be displayed in the POD as the output_message
property value. The parent transaction folder name and the transaction name must be in upper case.
In SAP ME, in Activity Maintenance
, retrieve the template activity MII_TRANS_PLUGIN
.
Change the activity name and save it as a new activity.
On the Rules
tab page, enter valid values for TRANSACTION_NAME
and PARAMETERS
. Each parameter assignment must be separated by a semicolon. For more information, see SAP MII Transaction Plug-In.
In POD Maintenance
, and configure a button on the POD that references the new activity created in step 2.
The extension can be executed in the same manner as standard POD plug-ins by clicking the configured button in the POD.
The SAP ME user that is executing the transaction must have a role (for example, SAP_XMII_USER
) that is authorized to read the SAP MII transaction.