Show TOC

Procedure documentationWorking with Custom Actions

 

You use the Custom Actions screen to upload, download, deploy, and delete your own SAP Manufacturing Integration and Intelligence (SAP MII) actions.

Prerequisites

You have created a custom action assembly .jar file that includes a catalog.xml file.

Note Note

To allow your custom actions to access files on the client system, include the RequiresSecurity="true" attribute in the ActionComponent element in the catalog.xml file. All of your custom action .jar files must be signed by the same certificate.

End of the note.

Procedure

To upload a custom action, do the following:

  1. On the SAP MIIadministration menu, choose System Start of the navigation path Resources Next navigation step Custom Actions. End of the navigation path

  2. Click Upload.

    The Custom Actions Archive Upload dialog box appears.

  3. Browse to the location of the .jar file that contains the required files for your custom action and select it.

  4. Click OK.

    Your custom action's .jar file appears in the Custom Actions list with a status of Not Deployed.

  5. Click Deploy All.

  6. To update the status values, click Refresh.

To delete a custom action, do the following:

  1. On the SAP MII administration menu, choose System Start of the navigation path Resources Next navigation step Custom Actions. End of the navigation path

  2. Select the row containing the custom action you want to delete.

  3. Click Delete.

For more information about developing custom actions, see the Developing Custom Actions guide on the SAP Service Marketplace at http://service.sap.com/instguides.

For more information on methods used in interfaces, see Methods in Interfaces.

Example

An example of Catalog.xml is shown below:

Syntax Syntax

  1. <ComponentCatalog>
  2. <Category Name="PDF" Description="PDF">
  3. <Component Type="Action" Name="PDFDocument" Description="" Label="PDF Document" ClassName="com.sap.mii.actions.pdf.PDFActions" AssemblyName="PDFActions.jar" Dependencies="iText.jar,iTextAsian.jar" HelpFileName="PDF_Document_Action.htm" /> 
    
  4. </Category>
  5. </ComponentCatalog>
End of the code.