Shipment with Delivery Confirmation with
Reference to Inbound Delivery
This process describes the function of the Terminal Automation System interface when materials are purchased. As part of this process, the Terminal Automation System interface supports the creation of a delivery confirmation with reference to an inbound delivery.
In order to guarantee that the shipment process runs automatically in the system, you have to make the required settings in Customizing for the Terminal Automation System Interface. For more information, see the Implementation Guide (IMG) for Industry Solution Oil & Gas (Downstream), by choosing TD (Transportation and Distribution) ®TAS (Terminal Automation System Interface).
The graphic shows the individual steps of the shipment. In the following description, the individual steps refer to the numbers in the graphic.

...
1. You create a load ID in SAP Oil & Gas. As part of this, you determine:
¡ The control structure type (Shipment – Delivery Confirmation)
¡ The load ID type
¡ The control structure
¡ General information about the load ID
¡ Data for the control fields
¡ Additional information
¡ Data for the additional control fields
¡ Data for the user-defined fields
(see also: Creating a Load ID)
You save, confirm, and release the load ID.
You can then distribute the load ID using an IDoc of IDoc type OILLID01.
2. (Optional) You inform the person responsible for loading (for example, the carrier or your own driver) as to the load ID that he should use for loading. You can do this by using IDoc type OILLID01.
3. You inform your depot about the load ID that is to be used, as well as additional details on the shipment.
This information is sent using an IDoc of IDoc type OILLID01 to the Terminal Automation System of your depot. The Terminal Automation System needs this information to carry out shipment processing.
The IDoc contains the following information, which is stored in the TAS group of the load ID:
¡ Load ID
¡ Driver
¡ Vehicle
4. You create a purchase order for the material that you want to procure and create an inbound delivery with reference to this purchase order.
5. You create a shipment and assign the inbound delivery to the shipment.
6. You assign one or more load IDs to the shipment.

For shipments, you assign the load ID to the vehicle. Because a vehicle can be loaded with more than one delivery, you can assign more than one load ID to a vehicle.
Depending on the Customizing setting, this assignment can take place either manually or automatically.
You save the shipment document with the assigned load ID.
The system stores the connection between the shipment document/vehicle and the load ID in the TAS reference table.
7. (Optional) You can inform the person responsible for loading (for example, the carrier or driver) about the shipment planning and about the load ID that is to be used. You can do this by using an IDoc of IDoc type OILSHL01.
8. You inform your depot (the delivering plant) about the shipment planning and the load ID that is to be used by using an IDoc of IDoc type OILSHL01 (see also Distribution of TAS-Relevant Documents (ALE)).
9. Your driver arrives at the depot to carry out the shipment using the load ID.
10. The material is loaded.
11. You receive the loading data, such as the load ID, details of the loading (for example, the load time and shift), and the quantity that was actually loaded from the depot. As part of that, the Terminal Automation System sends IDoc OILLPD01 of message type OILLDD to SAP Oil & Gas. The IDoc calls function module IDOC_INPUT_OILLDD, which posts the IDoc and automatically creates the load confirmation.
12. You inform the receiving plant about the successful loading of the material and the load ID that is to be used by using IDoc of IDoc type OILSHL01 (see also Distribution of TAS-Relevant Documents (ALE)).
13. The material is shipped from the delivering plant to the receiving plant.
14. The system displays the detail data for the inbound delivery (for example, the load ID, the material that was actually delivered, and the quantity) from the depot. As part of that, the Terminal Automation System of the receiving plant sends IDoc OILLDD01 of message type OILLDD to SAP Oil & Gas. The IDoc calls function module IDOC_INPUT_OILLDD, which posts the IDoc and automatically creates the delivery confirmation.
IDocs of message type OILLDD contain the following segments, in which the delivery data is stored:
¡ E1OILT1
¡ E1OILT2
¡ E1OILT3
¡ E1OILT4
Segments E1OILT1 and E1OILT3 contain the data for shipments with a delivery confirmation. The segment E1OILT1 contains the header data (for example, the load ID and the receiving plant); segment E1OILT3 contains the delivery data (for example, the compartment, transport unit, material, quantity, and additional units of measure).
15. Based on the load ID, SAP Oil & Gas processes the data received.
The inbound IDoc has called function module IDOC_INPUT_OILLDD, which creates the delivery confirmation with reference to the inbound delivery.
SAP Oil & Gas has performed the functions of the function group and automatically created the corresponding documents.
You can use a report to evaluate the functions that were carried out. To call this report, choose Logistics ® Sales and Distribution ® Bulk transportation ® Interfaces ® TPI Interface ® Environment ® Display LID Flowlog. After entering the selection options and running the report, the system displays a list of the functions carried out with information on:
· Whether the function was carried out completely, incompletely, or had errors.
· The document number of the document that was posted
· The item number and the vehicle
· The IDoc number
You can display the following:
· Master record of the load ID
· Function module
· Document
· IDoc