Processing EDI from deliveries 
Prerequisites
You have maintained the partner connection for the ship-to party, and at least one delivery item for a material for which a corresponding dangerous goods indicator profile has been set in the material master.

Within the delivery in the overview screen for quantity, you can set indicators by choosing Item
Procedure
Enter a route for which the Rel.transport indicator is set in the route header in Customizing for Sales and Distribution.

If you do not enter a route, dangerous goods data cannot be determined.
In the Output type field, enter LAVA (outgoing ship. notification), and choose ENTER.
The R/3 System completes the other fields with the data that belong to this output type and current partner.
The status is set to Not processed.
Check the entries under Requested processing and define a new send time if necessary.
Result
Generating an IDoc of type DELVRY02
Example: Immediate Send Time
If you have set up send time 4 (immediately after posting the application), the R/3 System creates an IDoc of type DELVRY02 when you save your entries.

You can re-enter the delivery and check the status in the output screen. For further information, choose Goto
Example: Specified Send Time
If you have set up send time 3 (specific request, through application functions, for example), the IDoc is created by a specific request:
Enter LAVA (outgoing ship. notification) as output type.
The R/3 System lists the deliveries that correspond to your selection criteria.
The R/3 System creates an IDoc of type DELVRY02.
Checking Data Determined by the IDOC
For each Idoc, you can use the Idoc display function to display the data for the data records determined.