Skip to main content

Integrate IWMS with Salesforce to Dowload and Update data of SAP

Innowera Web and Mobile Server allows Salesforce to work as a stack. Innowera enables Salesforce users to effectively use SAP. Users interact with SAP without leaving the Salesforce environment and without performing extensive implementation in Salesforce or SAP landscape. Whether you need to download data or update the same, Innowera addresses it all.

Innowera Integration technology allows you to use Salesforce and consume web API provided by Innowera Web and Mobile server to access SAP data. This document will present guidelines to call web API of Web and Mobile Server to send the data to SAP using Salesforce.

This section explains how to download and update an Price of Material in SAP using MBEW tablefrom Web and Mobile Server using Salesforce.

This section contains the following topics:

Import Process Files in IWMS and Generate API Code

This section of document will provide guidelines to import a Process App in IWMS for which a Web API is to be integrated with Salesforce.

To import Process File.

  1. Open web browser, and login to IWMS with valid URL and user credentials.
  2. Select Import.

    SFIWMS-16

  3. Select Process File from the drop-down menu of Select Option.
  4. Select Choose a File and select file and select the process file.

    SFIWMS-1

  5. Select Import.
  6. Go to InnoweraWMS API from left navigation pane.

    send2sap-8

    The user through which API Token is being generated should have appropriate permissions. Following are the generic steps to provide permissions to generate API code for the users.

    1. Go to Admin > User Master.
    2. Select the user for which the permissions are to be given.
    3. Scroll down to Other section and activate Allow API token(s) option.
    4. Select Update to save the changes.

      send2sap-8-A

    5. Add New Token, and enter the required details in API Token forms as instructed in the following steps.
      1. Select the Access Type.
      2. Provide the Application Name.
      3. Enter the expiration time of the token in Token Expiration Time.
      4. Enter the description if needed.
      5. Select Save.
  7. Go to InnoweraWMS API from left navigation pane.
  8. Search and open the Process File for which the API Token was added in step 6e.

    send2sap-12

  9. Scroll down the backstage container and copy the Web API Code to a text file.

    send2sap-12-A

With this we are done with generating of Web API code from IWMS. Next section will explain how to implement that code in Salesforce.

Create Tab in Salesforce and Implement IWMS Web API

This section of document will provide guidelines to create a custom tab in Salesforce.

  1. Open, login to Salesforce and go to Setup. Select Tabs from Build > Create section of Salesforce Quick Start left pane as shown in the following screenshot.

    SFIWMS-2

  2. Select New at the Custom Tabs >Visualforce Tabs section.

    SFIWMS-3

  3. Select Create a new page now link from the New Visual Force Tab page.

    SFIWMS-4

  4. This new page is created to display in the drop-down menu of Visual Force Page option. If the required Visual Page Option is already available, then go to Step-5
  5. Perform these steps to configure the setting to create the page.
    1. Enter a suitable page name in Label and Name field.
    2. Create the design using the Visual Force Markup tab i.e. enter the design code.
    3. Paste the API Code that was generated and copied in the previous section of the document below the design code.

      SFIWMS-5

    4. Make the following changes to the API Code that is pasted.
      1. Change the values as shown in the following screenshots.

        SFIWMS-6

        SFIWMS-7

      2. Find success: function (result) and customize the code as per the requirements.

        SFIWMS-8

      3. Save the Visualforce page. Note that the user can change the SAP Logon System from IWMS as required. Once the New Page is created, the user will have to select Tabs from Build > Create section of Salesforce Quick Start left pane.
  6. Select the page that is created in the earlier step or the one which is to be selected at Visual Force Pagedrop-down menu and enter the other required details to create page. Click Next. Use the default settings of Salesforce to create the Visual Force Tab and Save it.

    SFIWMS-9

  7. The Visual Force Tab which is created is displayed in the Page tabs as highlighted in the following screenshot. Go to the Visual Force Tab that is created.

    SFIWMS-10

  8. The IWMS API is successfully integrated in the Salesforce. Test the functionality by performing the following steps.
  9. Enter Valuation area or Material Number or Price Control to get its corresponding data from SAP and click Search. The results of the search will be displayed in the below grid as shown in the following screenshot.

    SFIWMS-11

  10. Select on Link that is listed at Material Number column of the grid to edit/update its corresponding SAP data.

    SFIWMS-12

  11. Users can also click Edit from the Action column of the grid to edit its corresponding SAP data.

    SFIWMS-13

  12. Once the data is edited as per requirement, click Send To SAP to update the data in SAP.

    SFIWMS-14

    SFIWMS-15

Was this article helpful?

We're sorry to hear that.