Show TOC

Generating SAP Gateway for SPILocate this document in the navigation structure

  1. Logon to the SAP Gateway Hub system or SAP backend system where IW_SPI 100, IW_BEP 200 SP04 are installed.

  2. Go to the transaction SEGW.

  3. You can either create a new project or open an existing project.

  4. If you are editing an existing project, click Display - Change.

  5. Expand the project and in the context menu of Data Model, choose Start of the navigation path Redefine Next navigation step SPI Service End of the navigation path.

  6. In the Wizard Step 1 of 3: Redefine Service screen, enter the following:



    RFC Destination

    Press F4 and choose the RFC destination of the SPI system or choose NONEin case the SPI system is the same system where IW_SPI 100 and IW_BEP 200 SP04 are installed.

    Application Building Block ID

    Press F4 and choose an appropriate ABB ID for which you want to generate the SAP Gateway service. For example, EAMS_OBJK

    Generate Metadata Specific to Application

    Select this option to enable the generation of metadata specific to application. If this indicator is set, DEFINE Method of Generated Model Provider Class is redefined and the model is defined in this generated method. Else, the generic metadata provisioning options is used to obtain the metadata.

  7. Click Next.

  8. In the Wizard Step 2 of 3: Redefine Service screen, enter descriptions for model name and service name.

  9. Click Next.

  10. In the Wizard Step 3 of 3: Redefine Service screen, choose the OData artifacts which should be a part of the service you are generating and click Finish.

  11. Click Generate Runtime Objects.

  12. In the Model and Service Definition dialog box, you can either:

    • change the Technical Service Name to create a new service and, click Continue.

    • select the check box Overwrite Extended Service to overwrite the existing service and, click Continue.

  13. Enter the package details and click Save.

Once the service is generated, you need to register and activate the service. See, Service Maintenance for more information.


Make sure that you have Created an SAP System Alias before activating the service. While Creating an SAP System Alias , the Software Version must be selected as mentioned below depending on the SPI system you are using:

  • If the SPI is an SAP_BS_FND 702 SP09 system, choose Default.

  • If the SPI is an SAP_BS_FND 731 SP03 system, choose /IWSPI/BSFND_731.


If you have generated a service using SAP_BS_FND 702 SP09 version of the SPI and later you have upgraded your SPI component from SAP_BS_FND 702 SP09 to SAP_BS_FND 731 SP03, your service would work only if the underlying SPI application is not changed. If there is a change in underlying SPI application you must regenerate your service.