Configuring an Outbound SAP Route

Sterling B2B Integrator uses SAP routes to determine how to route IDocs to and from external trading partners. When creating the inbound routes, indicate which key fields in the IDoc EDI_DC control record are used to identify the IDoc.

To configure an outbound route:
  1. From the Administration menu, select Deployment > Adapter Utilities > SAP Routes > SAP Routes.
  2. Under Create, next to New Outbound Route, click Go.
  3. Complete the fields in the following table, as appropriate:
    Option Description
    Route Name Unique, meaningful name for the outbound route. Required.
    SAP Direction Direction of this route. This value is read-only and is set to outbound. No configuration necessary.
    SAP IDOC Version Version of the IDoc that you are exchanging with SAP. Required.
    EDI Port Name Name of the port that enables communication between Sterling B2B Integrator and an SAP EDI subsystem. The EDI subsystem triggers the SAP Suite adapter when sending IDocs to Sterling B2B Integrator. Sterling B2B Integrator triggers the EDI subsystem when sending IDocs to SAP. Required. In addition, the EDI port name is included in the IDoc header and used along with the SAP port name and Accepter Lookup Alias defined for the EDI envelope to identify the inner-most EDI envelope (which contains the translation map) to apply to the document. You must specify the EDI port name as the Receiver ID for the inner-most EDI envelope (for example, ST SE envelope).
    SAP Port Name Name of the SAP internal port that enables communication between the EDI subsystem and the SAP system when sending and receiving IDocs. Required. In addition, the SAP port name is included in the IDoc header and used along with the EDI port name and Accepter Lookup Alias defined for the EDI envelope to identify the inner-most EDI envelope (which contains the translation map) to apply to the document. You must specify the SAP port name as the Sender ID for the inner-most EDI envelope (for example, ST SE envelope).
    SAP Partner Keys The key fields from the IDoc that Sterling B2B Integrator uses to identify the IDoc. Required. Select all the key fields that apply. Valid values:
    • MESCOD – Logical message variant
    • MESFCT – Logical message function
    • MESTYP – Logical message type
    • RCVPFC – Partner function of receiver
    • RCVPRN – Partner number of receiver
    • RCVPRT – Partner type of receiver
    • SNDPRN – Partner number of the sender
    • SNDPRT – Partner type of the sender
    • STDMES – EDI message type
    • TEST – Test option
  4. Click Next and review your configuration settings.
  5. Click Finish to add the outbound SAP route to Sterling B2B Integrator.