Configuring SAP R/3 for the SAP BAPI Adapter

Configuring Communications

This section describes the following communication configuration tasks.

Figure 1–10 SAP R/3 System Window

SAP R/3 System Window

ProcedureTo Define the Communications Port

Transaction: WE21

The Communications Port defines the type of connection with the Partner (see To Create a Partner Profile). This task is used to specify the outbound file name, directory path, and any associated function modules.

  1. In the SAP R/3 System home window, type WE21 into the command field and click Continue (Enter) to display the WF-EDI Port Definition window.

    WF-EDI Port Definition tree
  2. Expand the tree under Transactional RFC to display the currently-defined Ports.

  3. Select the desired Port from the list, or select Change to display the Port Definition for Asynchronous RFC Overview window.

    Port Details Window
  4. Type in a Version (specifies IDoc record type), Logical destination, and Description, matching the entries made previously.

  5. Select Enter, which displays the Change Request Query dialog window. [Note that you must have CTS (Correction and Transport System) turned on for this screen to be displayed.]

  6. Select Create Request, which displays the Create Request dialog window.

  7. Enter a Short description and Save.

  8. Select Back repeatedly to return to the SAP R/3 System window.

ProcedureTo Create a Partner Profile

Transaction: WE20

This task is used to demonstrate how to create the Partner for the Logical System you created earlier. Note that the LS Partner Type is used for all ALE distribution scenarios.

  1. In the SAP R/3 System home window, type WE20 into the command field and then click Continue (Enter) to display the Partner Profile: Initial Screen window.

    Partner Profile Initial
  2. Type the name of the logical system created previously into the Partner number field, select LS for the Partner type, and select Create. This creates the Partner, and displays the Create Partner Profile <Partner Number> window.

    Create Partner profile
  3. Under the Classification tab, select ALE for the Partner class and A (Active) for the Partner status, then Save. You now have created the Partner, and need to continue to the next section to configure the Partner Profile.

ProcedureTo Configure a Partner Profile

Transaction: WE20

This task is used to demonstrate how you configure the Inbound/Outbound Parameters in the Partner Profile.

  1. In the Partner Profile: Initial Screen window, select the desired Partner Number, for example ZSRINI.

  2. Select the Inbound parameters

    New Entry Details
  3. Select CREMAS as a Message type and CRE1 as a Process code from the drop-down menus, then click Save. The entries now appear in the list in the EDI Partner Profile: Inbound Parameters Overview window.

    EDI Partner Profile
  4. Follow the same procedure for Outbound parameters, as seen in the following figure.

    EDI Outbound Parameters
  5. After making your entries, Save and then clickBack to get to the main SAP R/3 System window.