Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel2
absoluteUrltrue
excludeOlder Versions|Additional Resources|Related Links|Related Information

...

Overview

You can must create an account with the Designer or Manager. In Designer, when working on pipelines, every Snap that needs an account prompts you to create a new account or use an existing account. The accounts can be created in or used from:

...

Your private project folder: This folder contains the pipelines that will use the account.

...

Your Project Space’s shared folder: This folder is accessible to all the users that belong to the Project Space.

...

SAP account to connect to data sources that you want to use in your Pipelines. You can configure your SAP accounts in SnapLogic using either the Designer or the Manager.

Snap-Account Compatibility

...


Configuring SAP Accounts Using SnapLogic Designer

...

  1. In the Account tab, click the Expand (blue star)  icon to view the accounts to which you have access, and select the account that you want to use.

  2. Click the Save (blue star) icon.

    Image Added

Creating an account

  1. In the Account tab, click Add Account below the Account Reference field.

  2. Select the Location in which you want to create the account, select the SAP Account Type, and click Continue. The Add Account dialog window associated with the account type is displayed.

    Image Modified

3. Enter the required account details. Learn more on how to provide information for the account type in the SAP account.

...

  1. In the left pane, browse to the project in which you want to create the account and click (blue star) > Account SAP > SAP JCo Account, followed by the appropriate account type. The Create Account dialog associated with the selected account type is displayed.

...

Note

The SAP JCo Account is used to connect to an application server (ASHOST - Application Server Host).

  • The SAP Load Balanced JCo Account is used to connect to a message server (MSHOST - Message Server Host).

  • Ensure that you SAP instance is configured to work with the Snap Pack. See SAP Configurations for details.

BAPI and IDoc Integration

BAPI (Business Application Programming Interface) and IDoc (Intermediate Document) are different interfaces that SAP ERP provides to enable business-data exchange across SAP and non-SAP platforms.

BAPI is a library of functions stored on the SAP platform that can be called by SAP or non-SAP platforms to perform specific operations. All related data is exchanged immediately and not stored anywhere during transit. SnapLogic uses the RFC (Remote Function Call) protocol provided by the SAP Java Component to call BAPI remotely.

IDocs, on the other hand, are formatted data containers that can be transferred between SAP platforms or non-SAP platforms. IDocs are stored in database tables on the SAP side, and can be sent to a receiver system using their ALE technology.

The SAP Execute Snap is calls a BAPI function, while the IDoc (Document) Listener, IDoc Read and IDoc Write Snaps use IDocs to integrate with SAP.

Configuring SAP for BAPI Integration

There is no additional configuration required for standard BAPI integration other than ensuring that the configured SAP user has sufficient roles/privileges to access and invoke the desired BAPIs. If the standard functions do not meet your integration requirements, you must design and implement a custom function according to your needs. 

Configuring SAP for IDoc Integration

The following configurations are required in SAP to send or receive IDocs. 

Set up the logical system and distribution model, and generate the partner profile. For more information, see SAP Help: Implementation - IDoc Interface/ALE - SAP Library and SCN Welcome | SCN.

  1. Add a logical system using transaction code SALE.

  2. Create/Change the distribution model using transaction code SALE or BD64.

  3. You may either create a new model view or edit an existing one. Then add sender/receiver (Logical System) and message types.

  4. Generate partner profiles. Use the transaction code we20.

Additional SAP Configuration for Outbound IDoc Integration

The following configurations are required in SAP to send outbound IDocs to the SnapLogic SAP account. 

  1. Register the external program in the SAP gateway by editing the reginfo file. For additional information, see Gateway Security Files secinfo and reginfo.

    1. Import reginfo in Gateway using the transaction code SMGW.

    2. Create RFC Destination of Type = 'T' (TCP/IP). For additional information, see SAP JCo Server Programming.

    3. Check the gateway monitor to ensure that the connection is registered correctly.

  2. Create a port using transaction code WE21.

Local TID Database Configuration (Outbound IDoc Only)

...

  1. Repeat steps 3 through 5 in the Creating an account section. 

Required Permissions in SAP Account

...