Outbound EDI messages 

Use

Shipment documents are normally sent in one of the following two situations:

  1. The shipper sends the forwarding agent a partially- or completely-planned shipment (transfer order).
  2. The shipper or forwarding agent informs the customer about the upcoming shipment (shipment notification).

Prerequisites

You need to create an output type that you can use to send the shipment document per Electronic Data Interchange (EDI). Output type SEDI is provided for this purpose. You can also make a copy of this output type and tailor it to your needs, if necessary. The transmission medium must be set to 6 (EDI).

The following condition components must be maintained:

Condition component

Value

Access sequence

0001

Output type

SEDI (or copy of SEDI)

Schema

V7STRA, for example

Application

V7

Processing routine

RSNASTED program, FORM-routine EDI-PROCESSING

General data

Select Access to conditions and Multiple sending of output. Leave all other fields blank.

Time

3 (explicit request), as an example

Transmission medium

6

Partner function

CR (Carrier) or SH (Ship-to party)

IDoc interface

You must also enter the following values for outbound partner profiles and any additional outbound parameters under message control.

Field

Value

Output type

SHPMNT or SHPADV

Partner type

LI (vendor/creditor) or KU (customer)

Partner function

CR (Carrier) or SH (Ship-to party)

Port

SUBSYSTEM

Output mode

Collect IDocs, for example

Basic type

SHPMNT03

Application

V7

Output type

SEDI, or your modified copy of SEDI

Process code

SHPM

 

  1. Scenario: The shipper sends the forwarding agent a partially- or completely-planned shipment (transfer order).

    You create a shipment document that is either partially or fully planned (depending on whether the transportation planning details will be carried out by the forwarding agent or if you do it yourself).

    Depending on what point in the process the message determination is set to take place, the EDI is triggered immediately after posting (time 4) or when explicitly requested (time 3).

Scenario: The shipper or forwarding agent informs the customer about the upcoming shipment (shipment notification).

You have a fully-planned shipment document (that you have created and planned yourself, or that the forwarding agent has planned for you).

Depending on what point in the process the message determination is set to take place, the EDI is triggered immediately after posting (time 4) or when explicitly requested (time 3).

To improve performance, you should make sure that when you use IDocs for special purposes that you only generate segments that include the data you need. You can hide certain segments by using a reduction technique.

To make the necessary settings in Customizing, choose Cross-Application Components ® Distribution (ALE) ® Processing IDocs ® Set up segment filtering.