IBM BPM, V8.0.1, All platforms > Authoring services in Integration Designer > Services and service-related functions > Access external services with adapters > Configure and using adapters > IBM WebSphere Adapters > SAP Software > Configure the module for deployment > Performing prerequisite tasks specific to an interface

Configure the SAP system to work with the adapter

Before you configure WebSphere Adapter for SAP Software for ALE inbound processing or for BAPI inbound processing, configure authorization profiles and register an RFC destination on the SAP server. For ALE processing, you must also configure a receiver port, logical system, distribution model, and partner profile on the SAP server. Contact your system administrator if you are not sure whether these items have been configured.

Perform the following steps on the SAP server using the SAP GUI.

Only the first task is required for BAPI inbound processing.


Procedure

  1. Access levels required for the user name used to connect to the SAP system.:

    To run the SAP adapter smoothly, configure the following authorization profiles in the SAP system:

    OBJECT DESCRIPTION AUTHORIZATION
    B_ALE_RECV ALE/EDI: Receiving IDocs via RFC B_ALE_RC_ALL
    S_CTS_ADMI Administration Functions in the Change and Transport S S_CTS_IMPALL
    S_RFCACL Authorization Check for RFC User (for example, Trusted System) S_RFCACL_ALL
    S_TCODE Authorization Check for Transaction Start S_TCD_ALL
    S_RFC Authorization check for RFC access S_RFC_ALL
    S_TABU_DIS Table Maintenance (via standard tools such as SM30) S_TABU_ALL
    S_IDOCCTRL WFEDI: S_IDOCCTRL - General Access to IDoc Functions S_IDCCTR_AL+
    S_IDOCDEFT WFEDI: S_IDOCDEFT - Access to IDoc Development S_IDCDFT_ALL

    To identify which authorizations are absolutely necessary...

    1. Open TCode SM19 and use the Security Audit trace

    2. Run the SAP Adapter
    3. Refer to the system log SM20 for authorization objects that are either accessed or denied
  2. Register an RFC program ID:

    1. Open transaction SM59 (Display and Maintain RFC Destinations).

    2. Click Create.
    3. Type a name for the RFC destination.

    4. In the Connection Type field, select T.

    5. In the Activation Type field, select Registered Server Program.
    6. Type a Program ID.

      You will use this program ID when you configure the adapter. This value indicates to the SAP gateway which RFC-enabled functions the program ID listens for.

    7. Under the MDMP and Unicode tab, set the RFC destination as Unicode or non-Unicode by choosing the appropriate radio button.

      For error-free operation of the adapter while using multiple language settings, set the RFC destination as Unicode.

    8. Save your entry.
  3. Set up a receiver port (for ALE processing only):

    1. Open transaction WE21 (Ports in IDoc processing).

    2. Select Transactional RFC, click Ports, and click the Create icon.
    3. Type a name for the port and select OK.
    4. Type the name of the destination you created in the previous task (or select it from the list).
    5. Save your entry.

  4. Specify a logical system (for ALE processing only):

    1. Open transaction BD54 (Change View Logical Systems).

    2. Click New Entries.
    3. Type a name for the logical system and click the Save icon.

    4. If you see the Prompts for Workbench request, click the New Request icon. Then enter a short description and click the Save icon.

    5. Click the Continue icon.

  5. Configure a distribution model (for ALE processing only):

    1. Open transaction BD64 (Maintenance of Distribution Model).

    2. Click Distribution Model > Switch processing model.

    3. Click Create model view.
    4. Type a name for the model view and click the Continue icon.

    5. Select the distribution model you created, and click Add message type.

    6. For outbound processing, type the logical system name you created in the previous task as Sender and the logical name of the SAP server as Receiver. Then select a message type (for example, MATMAS) and click the Continue icon.

    7. Select the distribution model again and click Add message type.

    8. For inbound processing, type the logical name of the SAP server as Sender and the logical system name you created in the previous task as Receiver. Then select a message type (for example, MATMAS) and click the Continue icon.
    9. Save your entry.
  6. Set up a partner profile (for ALE processing only):

    1. Open transaction WE20 (Partner Profiles).

    2. Click the Create icon.
    3. Type the name of the logical system you created in the earlier task and, for Partner Type, select LS.

    4. For Post Processing: permitted agent, type US and your user ID.

    5. Click the Save icon.

    6. In the Outbound parameters section, click the Create outbound parameter icon.

    7. In the Outbound parameters window, type a message type (for example, MATMAS05), select the receiver port you created in the earlier task, and select Transfer IDoc immed.

    8. Click the Save icon.
    9. Press F3 to return to the Partner Profiles view.

    10. In the Inbound parameters section, click the Create inbound parameter icon.

    11. In the Inbound parameters window, type a message type (for example, MATMAS), and a process code (for example, MATM).

    12. Click the Save icon.
    13. Press F3 to return to the Partner Profiles view.

    14. In the Inbound parameters section, click the Create inbound parameter icon.

    15. In the Inbound parameters window, type the following values: ALEAUD for Message Type, and AUD1 for Process Code.

    16. Click the Save icon.
    17. Press F3 to return to the Partner Profiles view.

    18. Click the Save icon.


Results

You have performed the tasks (on the SAP server) required to use the BAPI inbound interface or the ALE interface.


What to do next

Configure the adapter for the interface.

Performing prerequisite tasks specific to an interface