Vous êtes sur la page 1sur 36

HPM - Hydrocarbon Product Management

PDF download from SAP Help Portal:


http://help.sap.com/saphelp_oil472/helpdata/en/aa/9e063628742a09e10000009b38f839/frameset.htm
Created on September 02, 2015

The documentation may have changed since you downloaded the PDF. You can always find the latest information on SAP Help
Portal.

Note
This PDF document contains the selected topic and its subtopics (max. 150) in the selected structure. Subtopics from other structures are not included.

2015 SAP SE or an SAP affiliate company. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose
without the express permission of SAP SE. The information contained herein may be changed without prior notice. Some software products marketed by SAP
SE and its distributors contain proprietary software components of other software vendors. National product specifications may vary. These materials are
provided by SAP SE and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP
Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set
forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional
warranty. SAP and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP SE in
Germany and other countries. Please see www.sap.com/corporate-en/legal/copyright/index.epx#trademark for additional trademark information and notices.

Table of content

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 1 of 36

Table of content
1 HPM - Hydrocarbon Product Management
1.1 Oil-Specific Data in the Material Master
1.1.1 Creating a Material Master Record with Oil-Specific Data
1.2 Oil Quantity Conversion
1.2.1 Interfaces with External Conversion Routines
1.2.2 Default Values for Oil and Gas Quantity Conversion
1.2.2.1 Entering Default Values (O3DEFAULTS)
1.2.2.2 Entering Default Values (O3C1)
1.2.3 Oil and Gas Quantity Conversion Dialog Box
1.2.4 Oil and Gas Quantity Conversion Subscreen
1.2.5 Conversion Mode
1.2.6 Oil & Gas Desktop Calculator
1.2.7 Business Add-Ins
1.3 Gas Quantity Conversion
1.3.1 Interfaces with External Conversion Routines
1.3.2 Default Values for Oil and Gas Quantity Conversion
1.3.2.1 Entering Default Values (O3DEFAULTS)
1.3.2.2 Entering Default Values (O3C1)
1.3.3 Oil and Gas Quantity Conversion Dialog Box
1.3.4 Oil and Gas Quantity Conversion Subscreen
1.3.5 Conversion Mode
1.3.6 Oil & Gas Desktop Calculator
1.3.7 Business Add-Ins
1.4 Oil and Gas Quantity Conversion in the Purchasing Cycle
1.4.1 Oil and Gas Quantity Conversion in Goods Movements
1.4.1.1 Displaying Additional Quantities in the Material Document
1.4.2 Oil and Gas Quantity Conversion in Physical Inventory
1.5 Oil and Gas Quantity Conversion in the Sales Cycle
1.5.1 Oil and Gas Quantity Conversion in Rush Orders
1.5.1.1 Creating a Rush Order with Oil and Gas Quantity Conversion
1.5.2 Oil and Gas Quantity Conversion in the Delivery
1.5.3 Oil and Gas Quantity Conversion in the Billing Document
1.5.3.1 Creating a Billing Document/Displaying Calculated Quantities in
1.6 IS-Oil Bills of Material in the Sales Cycle
1.6.1 Oil and Gas Quantity Conversion with IS-Oil BOMs
1.7 Oil and Gas Quantity Conversion in TD
1.7.1 Oil and Gas Quantity Conversion in the Loading Confirmation
1.7.2 Oil and Gas Quantity Conversion in the Delivery Confirmation
1.8 Calculation of Base Sediment and Water
1.9 Two-Step Plant-to-Plant Transfers with Gains and Losses
1.9.1 Stock Transfer Tracking in Goods Movements
1.9.1.1 Goods Movements with a Stock Transport Order
1.9.1.2 Goods Movements without a Stock Transport Order
1.9.2 Gain and Loss Postings
1.9.3 Excise Duty Postings
1.9.4 Tolerance Check
1.9.5 Activating Goods Movements Recordings
1.9.6 Completing Goods Movement Recordings
1.9.7 Reporting the Recorded Goods Movements
1.10 Silo/Tank Managment
!--a11y-->

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 2 of 36

!--a11y-->

1 HPM - Hydrocarbon Product Management


Purpose
The component encompasses:
The Silo Management System, which provides functionality for managing physical inventories in tanks by creating tank dips in the R/3 System, and
comparing those inventories at any time with the book stocks. In that way, gains and losses can always be determined, and goods movements can be
monitored.
A flexible Quantity Conversion Interface (QCI) that converts volumes, masses and energy at ambient conditions (temperature, pressure, vapor pressure,
calorific value, density) into volumes, masses and energy values at standard conditions. In addition, the Quantity Conversion Interface calculates
density and heating value at standard conditions.
External programs for calculating complex oil volume correction factors (c-code routines of the American Petroleum Institute, customer-designed
programs) and natural gas compression factors (c-code routines of the American Gas Association, customer-designed programs) can be integrated with
the QCI.
The tracking of two-step plant-to-plant transfers, with a determination of profit and loss, and automatic posting of differences.
An extension of inventory management and of the material documents, so that there are several units of measure. As part of that, several standardized
quantities can be entered in documents, and inventories for those units of measure can be updated.

!--a11y-->

Oil-Specific Data in the Material Master


Definition
Material-specific data that is required in the oil and gas industry for parallel inventory management, that is, inventory management in several units of measure
for excise duty handling and for stock transfers between plants.

Structure
You can store the following oil-specific data in the material master record:
Base unit of measure
Unit of measure group
The unit of measure group is a group of units of measure that is assigned to a material at plant level and that enables inventory management in multiple units
of measure for the material.
You can define unit of measure groups and their entries (units of measure) in Customizing under Industry Solution Oil & Gas (Downstream) HPM
(Hydrocarbon Product Management) Oil & Gas-Specific Units of Measure and Additional Stockkeeping Define additional stockkeeping units of
measure .

If stock has already posted for the material, it is not possible to change the unit of measure group in the material master.
Conversion group
The conversion group contains:
A connection to external routines that are required for Oil and Gas quantity conversion
The product type:
Crude oil
Finished products
Chemicals (generic oil products)
Lubricants
Liquid gases (liquefied petroleum gas/natural gas liquid = LPG/NGL)
Asphalt/bitumen
Natural gas
Liquefied natural gas = LNG
Raw material
Water
Industrial aromatic hydrocarbons
The standard conditions for the base density and base calorific value
The control indicators for quantity conversion
The tolerances for differences between manual entries and values calculated by the system

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 3 of 36

The conversion group is defined at plant level. In that way, the material is classified for all plants as an HPM material, which means the conversion group has
to be maintained for all plants for the material.
You can create conversion groups in Customizing under Industry Solution Oil & Gas (Downstream) HPM (Hydrocarbon Product Management)
Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion group and external function module settings .

If stock has already been posted for the material, it is not possible to change the conversion group in the material master record.
Air buoyancy factor
The air buoyancy factor:
Is required in some situations for oil quantity conversion between volume and mass
Is used during oil quantity conversion to correct the calculated base density to account for the difference between the density in a vacuum and at normal
air pressure. It is subtracted from the base density before the base density is multiplied by the volume to calculate the apparent mass (weight).
Fixed density
For a material defined as a chemical product (the product type) in the conversion group, a density must be maintained in the material master. That fixed
density is used during the oil quantity conversion for calculations between mass units and volume units. The density in this case is a density at 15 C/20 C or
60F.
Thermal expansion coefficient
The thermal expansion coefficient describes the way a material expands during changes in temperature. A fixed density is assigned to oil products that are
entered as chemicals (the product type) in the system. The fixed density and the thermal expansion coefficient are used during oil quantity conversion to
convert volumes into values at standard temperature. The thermal expansion coefficient is directly connected to a standard temperature (15 C, 20 C, 60 F).
Which one it is depends on the conversion group.
Excise duty group
The excise duty group is required for determining the excise duty rate. If the material is relevant for tax purposes, an excise duty tax group has to be assigned
to it. From a tax point of view, all materials of an excise duty group are handled the same.
You can create excise duty groups in Customizing under Industry Solution Oil & Gas (Downstream) TDP (Tariffs, Duties and Permits) Global
Settings Parameter Definitions Set excise duty group .

If stock has already been posted for the material, it is not possible to change the excise duty tax group in the material master record.
Oil content of the material
This value indicates:
The oil content of the material in percent
The percentage of the material moved that is subject to excise tax
Customs tariff number
You can enter a material-dependent customs tariff number and store it in the system for informational purposes.
Plant-to-plant stock transfer indicator
The transfer indicator specifies the plant-to-plant transfer. There are three different types of plant-to-plant transfer:
Plant-to-plant transfer according to the SAP standard
Plant-to-plant transfer with an added function for updating transfer data records for statistical purposes
IS-Oil plant-to-plant transfer with a gain/loss calculation and posting
See also:
Material Master

!--a11y-->

1.1.1 Creating a Material Master Record with Oil-Specific Data


Choose Logistics
Materials Management Material Master Material Create (General) Immediately .
The system displays the initial screen.
2. Enter the following data:
Material (number)
Industry sector (for example, oil industry).
Material type
If you want to use a material master record as a reference, enter the number of the reference material under Copy from
Choose
ENTER.

The Select View(s) dialog box is displayed .

Select the Oil specific data view and choose

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 4 of 36

. The Organizational Levels dialog box is displayed.

ENTER

Enter the plant you want and choose


ENTER . The system now displays the Oil-specific view screen.
Enter the
Oil-Specific Data.
Save the material.
To be able to determine the excise duty part of an oil material, the material has to be split-valuated. You define the split valuation in the accounting view of the
material master record by using movement type
M . That is a prerequisite for creating the taxed and untaxed valuation types (for example, excise duty status = taxed or untaxed).
To define the valuation category, proceed as follows:
1. Follow the steps detailed under Points 1 and 2 (above).
2. Select the Accounting 1 view and choose
. The Organizational Levels dialog box appears.

ENTER

Enter the plant you want and choose


ENTER . The system displays the accounting screen.
Enter an
M in the Valuation category field ( M = split valuation).
Save the material.
To create individual valuation records, choose Accounting 1 in the material master in change mode. In the Organizational Levels dialog box, enter the
plant and the valuation type, and choose
ENTER .
The system displays the accounting screen.
In the ED Status (excise duty status) field, choose
taxed or untaxed .

By selecting Tax Reval . (tax revaluation), you can run a report that gives you information on the basis values used to determine excise duty.
Save the material.

!--a11y-->

1.2 Oil Quantity Conversion


Use
Oil and oil products are bulk products in liquid form that are processed and shipped in large quantities by the oil industry. Even the smallest fluctuations in
temperature can result in considerable fluctuations in volume, and as a result, to significant fluctuations in value.
Because the measured volume of an oil product is temperature-dependent, volume correction and density correction are required, because the density of
material is defined as the relation between mass and volume.
For correcting volumes and density, in addition to the SAP Standard quantity conversion, there is an oil quantity conversion. It allows volumes at ambient
temperature and densities at test temperature to be converted into densities, volumes and masses at standard temperature. The oil quantity conversion is thus
used to convert the quantity of an oil product into various units of measure.
From a technical point of view, the oil quantity conversion uses external c-code programs, which are accessed through an interface within the Quantity
Conversion Interface (QCI). The c-code programs are licensed to SAP customers by The American Petroleum Institute (API).

Prerequisites
Definition of Units of Measure and Dimensions
The following units of measure are used for the oil quantity conversion:
Mass units of measure
Volume units of measure
Density units of measure
You can define the volume units of measurement for a specific temperature.

The L15 unit of measure is defined as "liters at a temperature of 15 Celsius".


Density units of measure can be defined for a specific temperature. The following density types are allowed for liquids:
API gravity (no dimension)
Relative density (no dimension)
Absolute density (SI unit: kg/m)
If no density unit is specified, the system automatically uses the kg/m SI unit. Density units of measure for API gravity and relative density are not
necessary, because those units are dimensionless as relations of density units. However, dimensionless units of measure can be defined and used for
documentation purposes.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 5 of 36

For liquid quantity calculation, pressure parameters can be sent to the Quantity Conversion Interface. Those parameters can be used in customer-specific
functions.
Material Master
You define a base unit of measure (stockkeeping unit) for the material in the material master record. That is the unit of measure for the stock quantity (base
quantity) in the system. Because that base quantity also determines the valuation of the material, it is very important to choose a standardized unit of
measure as the base unit of measure.
In addition, you can also save a relation between two units of measure in the system as conversion factors. The conversion factors are used for all planning
calculations for a material, as long as the real quantities from goods movements are not known. The unit of measure relation for each material is a subdefinition of the unit of measurement definition. The unit of measurement definition is valid globally for all the materials.
You can also save oil-specific data in the material master record (see also
Oil-Specific Data in the Material Master)
Assigning a Conversion Group
The Quantity Conversion Interface is activated for a material when a conversion group is assigned to a material in the material master. The conversion group
also defines which specific external functions are used to calculate the material quantities and base parameters (base density, base calorific value).

!--a11y-->

1.3.1 Interfaces with External Conversion Routines


Definition
Conversion routines are required for oil and gas quantity conversion. The conversion routines serve as a unified basis for standardized calculations of
measured oil liquids or natural gas quantities, irrespective of their origin, their specific location or their commonly-used or legally-required units of measure.
Conversion routines can be written in a number of programming languages. The conversion routines of the American Petroleum Institute (API) and the
American Gas Association (AGA) are written in the computer language C ("C routines").
API Conversion Routines
API conversion routines are required for oil quantity conversion. They were orgininally based on API/ASTM tables, which were defined for specific density and
temperature values. The API/ASTM tables were issued by the American Petroleum Institute (API), the American Society for Testing and Materials (ASTM)
and the Institute of Petroleum (IP).
The "table concept" comes from the fact that historically, the dependencies used in density correction factors and volume correction factors came from the
temperature in tables (API/ASTM tables). International and national standards now exist that are based on implementation rules for computer programs. Those
rules are the so-called primary standard; the computer programs are the so-called secondary standard.
The API conversion routines are used to determine the density at standard temperature (= 15C, 20C or 60F). Using the base density, you can read the
volume correction factor for a specific material temperature. The volume correction factor, when multiplied by the volume quantity, corrects the volume data to
reflect material volumes at 15 C, 20C, or 60F (standard temperature).
API-C Subroutines and their Product Areas
Tab. 5 & 6:
- 60 F
- gravity
A
= Crude oil

B
= Products

Tab. 23 & 24:


- 60 F
- relative density

Tab. 53 & 54:


- 15 C
- density

Tab. 59 & 60:


- 20 C
- density

5A
6A

23A
24A

53A
54A

59 A
60 A

5B
6B

23B
24B

53B
54B

59 B
60 B

6C

24C

54C

60 C

5D
6D

23D
24D

53D
54D

59 D
60 D

(for example gasoline, diesel)

C
= Chemical products

D
= Lubricants

API conversion routines can be licensed from the American Petroleum Institute, and can then be installed on the application server at each IS-Oil Downstream
installation.
If you need information on licensing, please contact the following address:
American Petroleum Institute
Ms. Ida Carter, or Ms. Kathy Mann
1220 L Street, Northwest
Washington D.C. 20005-4070
USA
Tel.: (202) 682-8375
Fax: (202) 962-4776
In Customizing for Industry Solution Oil & Gas (Downstream) , you can assign the API conversion routines to the conversion groups. To do that, choose

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 6 of 36

HPM
Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion group and external function module
settings . You can find additional information in the Implementation Guide (IMG).
AGA Conversion Routines
The AGA conversion routines are maintained by the American Gas Association. They are used to calculate the compression factors that are required for gas
quantity conversion.
AGA conversion routines can be licensed from the American Gas Association, and can then be installed on the application server at each IS-Oil Downstream
installation.
If you need information on licensing, please contact the following address:
A.G.A. Distribution Center
P.O. Box 79230
Baltimore, MD 21279-0230
USA
Tel.: (301) 617-7819
Fax: (301) 206-9789
For information on the American Gas Association, you can access the homepage on the Internet at:
www.aga.org/catalog (Link: Measurement )
Interface for Individual Conversion Routines
You can use a pre-defined interface to replace the API and AGA conversion routines with your own conversion routine. That way, your own conversion routines
can be integrated into the R/3 System (in other words, are added to the area of R/3 that supports customer routines).

!--a11y-->

Default Values for Oil and Gas Quantity Conversion


Use
To support the oil and gas quantity conversion, the system uses default values for the relevant quantity conversion factors (for example, density, temperature,
pressure, and chemical analysis data).

Enjoy transaction O3DEFAULTS used for creating the default values for oil and gas quantity conversion replaces the old transaction,
O3C1. However, you can still use transaction O3C1 without any functional limitations. The documentation that follows describes the new
transaction, O3DEFAULTS.
Transaction O3DEFAULTS allows a flexible number of default values to be entered. You can define the default values at plant, storage location or batch level
per material, day, and time. The system always reads the default values from bottom to top, that means that the system first uses specific values at batch or
storage location level before using general values at plant level. If the entry of a time is possible in transactions with oil and gas quantity conversion, the
system selects the default value that is closest to that day and time.

Prerequisites
In order to be able to enter default values for oil and gas quantity conversion using transaction O3DEFAULTS, you have to make the following settings in
Customizing for the Industry Solution Oil & Gas (Downstream) :
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Select QCI default table .
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define reading group .
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion group and external function
module settings . You can now assign an HPM parameter group (reading group) to the conversion group.
HPM

HPM-Specific Settings for Goods Movements Maintain settings for goods movements (transaction MIGO). Here, you can determine
whether the system uses the document date or the posting date to determine the default values for the oil quantity conversion for goods movements
(transaction MIGO).

Features
The HPM parameter group (reading group) allows a more flexible entry of default values. You define the reading group in Customizing. The reading group
contains a sub-quantity of all possible parameters that are relevant for quantity conversion. You can create default values for those parameters.
You can assign exactly one reading group to each conversion group. When default values are created with transaction O3DEFAULTS and when a material is
entered, the system determines a conversion group from the material master record, and the assigned reading group from Customizing. The default values of
the reading group are defaulted, and can be changed, or they have to be accepted depending on the specific Customizing settings.

A reading group can be set in such a way, for example, that default values can be entered for 7 parameters in Customizing because they are

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 7 of 36

required for the calculation. However, only one of the values is displayed in dialog mode (meaning, in transaction O3DEFAULTS) and then has
to be updated.

!--a11y-->

1.3.2.1 Entering Default Values (O3DEFAULTS)


Entering Default Values
Choose Logistics Materials Management Inventory Management Environment Oil qty. conversion QCI (Quantity Conversion
Interface) parameter defaults: Oil&Gas materials Create/Display/Delete/Activate default parameters .
Choose Create New Default .
Enter the following data:
Material
Plant
Choose Create New Default .
The system defaults the entry date and time, which you can change.
4. Double-click on the material to obtain the assigned default values, which are defaulted from Customizing.
You can change the default values.
5. Save your data.

Activating Default Values


Choose Logistics Materials Management Inventory Management Environment Oil qty. conversion QCI (Quantity Conversion
Interface) parameter defaults: Oil&Gas materials Create/Display/Delete/Activate default parameters .
In the preselection area, enter the material, the plant, and the date, and choose
ENTER .
The material is listed in the header data area.
3. Double-click on the material to obtain the assigned default values, and choose Activate single set .
4. Save your changes.

!--a11y-->

1.3.2.2 Entering Default Values (O3C1)


Use
You can save default values for test density, material temperature, and test temperature, and you can set the hydrometer correction indicator and the air
buoyancy indicator. Those values are valid per material, plant, storage location, batch and validity date.

Prerequisites
You can only use the old transaction, O3C1, to enter default values if you have activated default value table OIB03 in Customizing under Industry Solution Oil
& Gas (Downstream) . You can set that in Customizing in HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Conversion
Select QCI default table .

Procedure
Enter transaction O3C1.
The system displays the initial screen.
2. Enter the material, plant, date, and the storage location, as well as the batch, if required.

If you enter a storage location and/or a batch, the default values only apply to that storage location or that batch, material and plant.
If you do not enter a storage location or batch, the default values for the material, plant and for all the storage locations and batches apply.
Choose Execute .
The system displays the details screen.
3. Enter the default values you want to enter.
4. Save your data.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 8 of 36

!--a11y-->

1.3.3 Oil and Gas Quantity Conversion Dialog Box


Definition
A dialog box for creating, processing, and displaying additional quantities and quantity conversion factors for oil and gas conversions.

Use
The dialog box is displayed dependent on the
Conversion Mode for the "old" transactions, for which the oil and gas quantity conversion is supported.

In Enjoy transactions with oil and gas quantity conversion calculations, the creation, processing, and display of quantities and parameters is
carried out within a
Subscreen.

Structure
The dialog box consists of three areas:
In the first area, the following data is copied from the transaction:
Material
Plant
Storage location
Batch
The second area contains the following data:
Material quantity in the unit of entry
Material temperature
Material pressure (dependent on the product type)
Test temperature
Test pressure (dependent on the product type)
Test density
Base density
Hydro.correction indicator
Air buoyancy indicator (AB ind.)
Test heating value (for natural gas)
Test conditions (for natural gas)
Standard heating value (for natural gas)
The third area contains the results of the oil and gas quantity conversion, that is, the material quantities and volumes in all units of measure of the unit
of measure group for the material.

!--a11y-->

Oil and Gas Quantity Conversion Subscreen


Definition
This is a subscreen for entering, processing, and displaying the additional quantities and the quantity conversion factors for oil and gas quantity conversion.

Use
The subscreen is integrated in all Enjoy transactions that support oil and gas quantity conversion.

For the old transactions, for which oil and gas quantity conversion is supported, entering, processing, and displaying the additional quantities

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 9 of 36

and the quantity conversion factors is carried out in a dialog box, and dependent on the conversion mode.

Structure
The subscreen is divided into two areas. One area is used for entering and changing parameters; the second area is for displaying the calculated quantities.
The quantities can only be manually changed if the conversion mode is not set to semi-manual.
You can choose from the following functions:
Calculate function
The Calculate function immediately triggers the quantity conversion.
Reset function
The Reset function resets all manual changes that you have made to the quantities and immediately recalculates these quantities.

!--a11y-->

1.3.5 Conversion Mode


Use
You can configure the system so that the oil quantity calculations are carried out in more than one session.

Prerequisites
You assign the conversion mode at plant/storage location level in Customizing under Industry Solution Oil & Gas (Downstream)
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion mode.

Features
The following conversion modes exist in the system:
The automatic conversion mode initiates oil and gas conversion in the background mode. That means that the
Oil and Gas Quantity Conversion Dialog Box is not visible, and that the system automatically uses default values for quantity conversion parameters. That
reduces the time required for processing the transaction.
In semi-automatic conversion mode, the oil and gas conversion is carried out in the background mode using default values (as in automatic conversion
mode). However, the results are displayed in the dialog box, and you can manually change them.
The manual conversion mode is displayed as a dialog box, but prior to it being displayed, it does not carry out any calculations. You can enter the
quantity conversion parameters and the quantity.
The semi-manual conversion mode accesses the dialog box before any calculations have taken place. You can enter quantity conversion parameters,
but you cannot enter quantities.
In Enjoy transactions with oil and gas conversion, all modes are handled in the same way, except the semi-manual conversion mode. In the semi-manual
conversion mode, quantities displayed using the
Oil and Gas Quantity Conversion Subscreen cannot be changed.

!--a11y-->

Oil & Gas Desktop Calculator


Use
You can use the Oil & Gas Desktop Calculator to carry out oil and gas quantity conversions that are independent of a goods movement or a delivery.

Oil & Gas Desktop Calculator


Choose Materials Management Inventory Management Environment Oil qty. conversion Oil & Gas Desktop Calculator .
Enter the following data:
Material
Plant
Quantity
3. Select Calculate additional quantities .
The system calculates the additional quantities using
Default values, and displays the results.
4. Choose Back to leave the display mode.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 10 of 36

!--a11y-->

1.3.7 Business Add-Ins


Use
There are five Business Add-Ins available that you can use to integrate country-specific standards and customer-specific requirements with the Quantity
Conversion Interface. The following Business Add-Ins are available:
Business
Business
Business
Business
Business
Business

Add-In for converting dimensions


Add-In for external function calls
Add-In for natural gas quantity conversion
Add-In for quantity rounding
Add-In for converting raw materials
Add-In for determination of default parameter set

Prerequisites
In Customizing for Industry Solution Oil & Gas (Downstream) , you can activate and implement the Business Add-In interfaces. To do that, choose HPM
Petroleum Measurement Standards Quantity Configuration Interface (QCI) Configuration Business Add-Ins .
You can find additional information on that in the Implementation Guide (IMG).

!--a11y-->

1.3 Gas Quantity Conversion


Use
In contrast to liquids, for gases, the pressure under which the gas is kept plays a decisive role in the gas quantity conversion. As a result, the volume of
natural gas is dependent on the temperature and the pressure under which a specific quantity of gas is held. Standard conditions thus always contain
information on the temperature and a pressure value for a volume.
For pressures that are smaller than four times standard air pressure, and for temperatures smaller than approximately 30 C, natural gas quantities can be
standardized to standard conditions using simple conversion formulas (the ideal gas law).
If natural gas is transported by pipeline under high pressure, meaning at pressures of up to 120 bar and more, a correction of that simple equation is
necessary, because differences of up to 30 % are possible.
That correction is carried out by external programs - just as for liquids. The Quantity Conversion Interface was enhanced so that c-code routines of the
American Gas Association (AGA) can be included in the calculation. Those correction factors (compression factors) are the result of complex calculations,
which - under specific conditions - can contain the full chemical analysis of the components of a natural gas. That analysis data can be entered in the R/3
System as default values for the gas quantity conversion, and can also be entered in dialog mode.

Prerequisites
Definition of Units of Measure and Dimensions
The following units of measurement are of importance for natural gas quantity conversion:
Weight (mass) units of measurement
Volume units of measure
Energy units of measurement
Calorific value units of measurement

The SM3 volume unit of measurement is defined as follows: "Cubic meter at a temperature of 15 Celsius and a pressure of 101.325 kPa
(Kilopascal)".
The following density types are allowed for natural gas quantity conversions:
Relative density (with respect to air at standard conditions, dimensionless)
Absolute density
For density units of measurement, temperature and pressure values can also be defined, analogous to the example for volume unit of measure SM3.
The following calorific value types are allowed for natural gas quantity conversions:
Volume base (dimension: energy/volume)

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 11 of 36

Mass base (dimension: energy/mass)


Molar base (dimension: energy/Mole)
For volume-based calorific value units of measurement, the volume-relevant temperature and pressure values can also be defined. In addition, the combustion
temperature, the combustion pressure, and the heating value class can also be defined for a unit of that kind.
The combustion temperature, the combustion pressure, and the heating value class can be defined for mass-based and mole-based calorific values.
For energy units, the combustion temperature, the combustion pressure, and the heating value class can be defined.
Material Master
You define a base unit of measure (stockkeeping unit) for the material in the material master record. This is the unit of measure for the stock quantity (base
quantity) in the system. Because that base quantity also determines the valuation of the material, it is very important to choose a standardized unit of
measure as the base unit of measure.
In addition, you can also save a relation between two units of measure in the system as conversion factors. The conversion factors are used for all planning
calculations for a material, as long as the real quantities from goods movements are not known. The unit of measure relation for each material is a subdefinition of the unit of measurement definition. The unit of measurement definition is valid globally for all materials.
You can also save oil-specific data in the material master record (see also
Oil-Specific Data in the Material Master)
Assigning a Conversion Group
The Quantity Conversion Interface is activated for the material when a conversion group is assigned to a material in the material master. The conversion group
also defines which specific external functions are used to calculate the material quantities and base parameters (base density, base calorific value).

!--a11y-->

1.3.1 Interfaces with External Conversion Routines


Definition
Conversion routines are required for oil and gas quantity conversion. The conversion routines serve as a unified basis for standardized calculations of
measured oil liquids or natural gas quantities, irrespective of their origin, their specific location or their commonly-used or legally-required units of measure.
Conversion routines can be written in a number of programming languages. The conversion routines of the American Petroleum Institute (API) and the
American Gas Association (AGA) are written in the computer language C ("C routines").
API Conversion Routines
API conversion routines are required for oil quantity conversion. They were orgininally based on API/ASTM tables, which were defined for specific density and
temperature values. The API/ASTM tables were issued by the American Petroleum Institute (API), the American Society for Testing and Materials (ASTM)
and the Institute of Petroleum (IP).
The "table concept" comes from the fact that historically, the dependencies used in density correction factors and volume correction factors came from the
temperature in tables (API/ASTM tables). International and national standards now exist that are based on implementation rules for computer programs. Those
rules are the so-called primary standard; the computer programs are the so-called secondary standard.
The API conversion routines are used to determine the density at standard temperature (= 15C, 20C or 60F). Using the base density, you can read the
volume correction factor for a specific material temperature. The volume correction factor, when multiplied by the volume quantity, corrects the volume data to
reflect material volumes at 15 C, 20C, or 60F (standard temperature).
API-C Subroutines and their Product Areas
Tab. 5 & 6:
- 60 F
- gravity
A
= Crude oil

B
= Products

Tab. 23 & 24:


- 60 F
- relative density

Tab. 53 & 54:


- 15 C
- density

Tab. 59 & 60:


- 20 C
- density

5A
6A

23A
24A

53A
54A

59 A
60 A

5B
6B

23B
24B

53B
54B

59 B
60 B

6C

24C

54C

60 C

5D
6D

23D
24D

53D
54D

59 D
60 D

(for example gasoline, diesel)

C
= Chemical products

D
= Lubricants

API conversion routines can be licensed from the American Petroleum Institute, and can then be installed on the application server at each IS-Oil Downstream
installation.
If you need information on licensing, please contact the following address:
American Petroleum Institute
Ms. Ida Carter, or Ms. Kathy Mann
1220 L Street, Northwest
Washington D.C. 20005-4070
USA

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 12 of 36

Tel.: (202) 682-8375


Fax: (202) 962-4776
In Customizing for Industry Solution Oil & Gas (Downstream) , you can assign the API conversion routines to the conversion groups. To do that, choose
HPM
Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion group and external function module
settings . You can find additional information in the Implementation Guide (IMG).
AGA Conversion Routines
The AGA conversion routines are maintained by the American Gas Association. They are used to calculate the compression factors that are required for gas
quantity conversion.
AGA conversion routines can be licensed from the American Gas Association, and can then be installed on the application server at each IS-Oil Downstream
installation.
If you need information on licensing, please contact the following address:
A.G.A. Distribution Center
P.O. Box 79230
Baltimore, MD 21279-0230
USA
Tel.: (301) 617-7819
Fax: (301) 206-9789
For information on the American Gas Association, you can access the homepage on the Internet at:
www.aga.org/catalog (Link: Measurement )
Interface for Individual Conversion Routines
You can use a pre-defined interface to replace the API and AGA conversion routines with your own conversion routine. That way, your own conversion routines
can be integrated into the R/3 System (in other words, are added to the area of R/3 that supports customer routines).

!--a11y-->

Default Values for Oil and Gas Quantity Conversion


Use
To support the oil and gas quantity conversion, the system uses default values for the relevant quantity conversion factors (for example, density, temperature,
pressure, and chemical analysis data).

Enjoy transaction O3DEFAULTS used for creating the default values for oil and gas quantity conversion replaces the old transaction,
O3C1. However, you can still use transaction O3C1 without any functional limitations. The documentation that follows describes the new
transaction, O3DEFAULTS.
Transaction O3DEFAULTS allows a flexible number of default values to be entered. You can define the default values at plant, storage location or batch level
per material, day, and time. The system always reads the default values from bottom to top, that means that the system first uses specific values at batch or
storage location level before using general values at plant level. If the entry of a time is possible in transactions with oil and gas quantity conversion, the
system selects the default value that is closest to that day and time.

Prerequisites
In order to be able to enter default values for oil and gas quantity conversion using transaction O3DEFAULTS, you have to make the following settings in
Customizing for the Industry Solution Oil & Gas (Downstream) :
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Select QCI default table .
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define reading group .
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion group and external function
module settings . You can now assign an HPM parameter group (reading group) to the conversion group.
HPM

HPM-Specific Settings for Goods Movements Maintain settings for goods movements (transaction MIGO). Here, you can determine
whether the system uses the document date or the posting date to determine the default values for the oil quantity conversion for goods movements
(transaction MIGO).

Features
The HPM parameter group (reading group) allows a more flexible entry of default values. You define the reading group in Customizing. The reading group
contains a sub-quantity of all possible parameters that are relevant for quantity conversion. You can create default values for those parameters.
You can assign exactly one reading group to each conversion group. When default values are created with transaction O3DEFAULTS and when a material is
entered, the system determines a conversion group from the material master record, and the assigned reading group from Customizing. The default values of
the reading group are defaulted, and can be changed, or they have to be accepted depending on the specific Customizing settings.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 13 of 36

A reading group can be set in such a way, for example, that default values can be entered for 7 parameters in Customizing because they are
required for the calculation. However, only one of the values is displayed in dialog mode (meaning, in transaction O3DEFAULTS) and then has
to be updated.

!--a11y-->

1.3.2.1 Entering Default Values (O3DEFAULTS)


Entering Default Values
Choose Logistics Materials Management Inventory Management Environment Oil qty. conversion QCI (Quantity Conversion
Interface) parameter defaults: Oil&Gas materials Create/Display/Delete/Activate default parameters .
Choose Create New Default .
Enter the following data:
Material
Plant
Choose Create New Default .
The system defaults the entry date and time, which you can change.
4. Double-click on the material to obtain the assigned default values, which are defaulted from Customizing.
You can change the default values.
5. Save your data.

Activating Default Values


Choose Logistics Materials Management Inventory Management Environment Oil qty. conversion QCI (Quantity Conversion
Interface) parameter defaults: Oil&Gas materials Create/Display/Delete/Activate default parameters .
In the preselection area, enter the material, the plant, and the date, and choose
ENTER .
The material is listed in the header data area.
3. Double-click on the material to obtain the assigned default values, and choose Activate single set .
4. Save your changes.

!--a11y-->

1.3.2.2 Entering Default Values (O3C1)


Use
You can save default values for test density, material temperature, and test temperature, and you can set the hydrometer correction indicator and the air
buoyancy indicator. Those values are valid per material, plant, storage location, batch and validity date.

Prerequisites
You can only use the old transaction, O3C1, to enter default values if you have activated default value table OIB03 in Customizing under Industry Solution Oil
& Gas (Downstream) . You can set that in Customizing in HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Conversion
Select QCI default table .

Procedure
Enter transaction O3C1.
The system displays the initial screen.
2. Enter the material, plant, date, and the storage location, as well as the batch, if required.

If you enter a storage location and/or a batch, the default values only apply to that storage location or that batch, material and plant.
If you do not enter a storage location or batch, the default values for the material, plant and for all the storage locations and batches apply.
Choose Execute .
The system displays the details screen.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 14 of 36

3. Enter the default values you want to enter.


4. Save your data.

!--a11y-->

1.3.3 Oil and Gas Quantity Conversion Dialog Box


Definition
A dialog box for creating, processing, and displaying additional quantities and quantity conversion factors for oil and gas conversions.

Use
The dialog box is displayed dependent on the
Conversion Mode for the "old" transactions, for which the oil and gas quantity conversion is supported.

In Enjoy transactions with oil and gas quantity conversion calculations, the creation, processing, and display of quantities and parameters is
carried out within a
Subscreen.

Structure
The dialog box consists of three areas:
In the first area, the following data is copied from the transaction:
Material
Plant
Storage location
Batch
The second area contains the following data:
Material quantity in the unit of entry
Material temperature
Material pressure (dependent on the product type)
Test temperature
Test pressure (dependent on the product type)
Test density
Base density
Hydro.correction indicator
Air buoyancy indicator (AB ind.)
Test heating value (for natural gas)
Test conditions (for natural gas)
Standard heating value (for natural gas)
The third area contains the results of the oil and gas quantity conversion, that is, the material quantities and volumes in all units of measure of the unit
of measure group for the material.

!--a11y-->

Oil and Gas Quantity Conversion Subscreen


Definition
This is a subscreen for entering, processing, and displaying the additional quantities and the quantity conversion factors for oil and gas quantity conversion.

Use
The subscreen is integrated in all Enjoy transactions that support oil and gas quantity conversion.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 15 of 36

For the old transactions, for which oil and gas quantity conversion is supported, entering, processing, and displaying the additional quantities
and the quantity conversion factors is carried out in a dialog box, and dependent on the conversion mode.

Structure
The subscreen is divided into two areas. One area is used for entering and changing parameters; the second area is for displaying the calculated quantities.
The quantities can only be manually changed if the conversion mode is not set to semi-manual.
You can choose from the following functions:
Calculate function
The Calculate function immediately triggers the quantity conversion.
Reset function
The Reset function resets all manual changes that you have made to the quantities and immediately recalculates these quantities.

!--a11y-->

1.3.5 Conversion Mode


Use
You can configure the system so that the oil quantity calculations are carried out in more than one session.

Prerequisites
You assign the conversion mode at plant/storage location level in Customizing under Industry Solution Oil & Gas (Downstream)
HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration Define conversion mode.

Features
The following conversion modes exist in the system:
The automatic conversion mode initiates oil and gas conversion in the background mode. That means that the
Oil and Gas Quantity Conversion Dialog Box is not visible, and that the system automatically uses default values for quantity conversion parameters. That
reduces the time required for processing the transaction.
In semi-automatic conversion mode, the oil and gas conversion is carried out in the background mode using default values (as in automatic conversion
mode). However, the results are displayed in the dialog box, and you can manually change them.
The manual conversion mode is displayed as a dialog box, but prior to it being displayed, it does not carry out any calculations. You can enter the
quantity conversion parameters and the quantity.
The semi-manual conversion mode accesses the dialog box before any calculations have taken place. You can enter quantity conversion parameters,
but you cannot enter quantities.
In Enjoy transactions with oil and gas conversion, all modes are handled in the same way, except the semi-manual conversion mode. In the semi-manual
conversion mode, quantities displayed using the
Oil and Gas Quantity Conversion Subscreen cannot be changed.

!--a11y-->

Oil & Gas Desktop Calculator


Use
You can use the Oil & Gas Desktop Calculator to carry out oil and gas quantity conversions that are independent of a goods movement or a delivery.

Oil & Gas Desktop Calculator


Choose Materials Management Inventory Management Environment Oil qty. conversion Oil & Gas Desktop Calculator .
Enter the following data:
Material
Plant
Quantity
3. Select Calculate additional quantities .
The system calculates the additional quantities using

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 16 of 36

Default values, and displays the results.


4. Choose Back to leave the display mode.

!--a11y-->

1.3.7 Business Add-Ins


Use
There are five Business Add-Ins available that you can use to integrate country-specific standards and customer-specific requirements with the Quantity
Conversion Interface. The following Business Add-Ins are available:
Business
Business
Business
Business
Business
Business

Add-In for converting dimensions


Add-In for external function calls
Add-In for natural gas quantity conversion
Add-In for quantity rounding
Add-In for converting raw materials
Add-In for determination of default parameter set

Prerequisites
In Customizing for Industry Solution Oil & Gas (Downstream) , you can activate and implement the Business Add-In interfaces. To do that, choose HPM
Petroleum Measurement Standards Quantity Configuration Interface (QCI) Configuration Business Add-Ins .
You can find additional information on that in the Implementation Guide (IMG).

!--a11y-->

1.4 Oil and Gas Quantity Conversion in the Purchasing Cycle


Use
Oil and gas quantity conversions within the purchasing cycle are always carried out at the actual time of the creation of the goods movement. The results of
the oil and gas quantity conversion are updated in the material documents that are created by the system during the goods movement.
Oil and gas quantity conversion is not integrated in the material master record, the purchase contract, and the purchase order, because the values are only
planned values, and the actual conversion factors (for example, density, temperature) are only known at the time of the goods movement.

Integration
This graphic shows how the oil and gas quantity conversion is integrated in the purchasing cycle.

See also:
Oil and Gas Quantity Conversion in Goods Movements

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 17 of 36

Oil and Gas Quantity Conversion in Physical Inventory

!--a11y-->

1.4.1 Oil and Gas Quantity Conversion in Goods Movements


Use
Oil and gas quantity conversion is carried out when a material document is created for a goods movement (goods receipt or goods issue).
Goods movements can either be "external" movements (goods receipts from external procurement, goods issues for customer orders) or "internal" movements
(goods receipts from production, withdrawals for inner-company use, stock transfers, and other transfers).

Activities
Activating the Oil and Gas Quantity Conversion
You activate the conversion whenever you use an HIM material and enter the document quantity.
Additional Document Quantities
The system calculates the base quantity in the material document using the oil and gas quantity conversion, and saves it there. In addition to the base
quantity, the quantities in the units of measure are calculated that are defined in the unit of measure group (see also
Oil-Specific Data in the Material Master). The system expands the list of units of measure to be calculated.
In addition to the units of measure defined in the unit of measure group, units of measure are copied from the purchase contract and from the purchase order.
The system searches the purchase contract or the purchase order for units of measure that are neither in the unit of measure group nor are defined as base
units of measure or as stockkeeping units of measure. If an additional unit of measure is found, the corresponding quantity is calculated in that unit of
measure in the oil and gas quantity conversion.
Additional Stock Quantities
Stocks are managed in the base unit of measure (stockkeeping unit). For an HIM material, the stock quantities are also maintained in the units of measure of
the unit of measure group. In the stock overview, you can display the additional stock quantities, which are available at plant, storage location, batch and
special stock levels.
Conversion Mode
Depending on how the
Conversion Mode, is set, in "old" transactions, the system carries out the calculation of the additional quantities either in dialog mode or as a background job.
You can use the conversion mode to control whether or not the quantities can be manually overwritten.
In Enjoy transactions, all modes other than the semi-manual mode are treated the same. In the semi-manual conversion mode, you cannot change the
quantities that are displayed using the oil and gas conversion subscreen.
Oil and Gas Quantity Conversion
The
Oil Quantity Conversion or the Gas Quantity Conversion is used for calculating the additonal quantities. Those functions calculate quantities based on the
definitions in Customizing under Industry Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion
Interface (QCI) Configuration , and based on the settings of the units of measure in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values. For gaseous HIM materials
(natural gas), a density, calorific and volume correction is carried out based on density, calorific, temperature, and pressure values.
In "old" transactions, the creation, processing and display of additional quantities and quantity conversion factors is carried out using the
Oil and Gas Quantity Conversion Dialog Box; in Enjoy transactions, the Oil and Gas Quantity Conversion Subscreen is used.
Defaults Values
In support of oil and gas quantity conversion, the system uses
Default values for the relevant quantity conversion factors.
You can define the default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from bottom
to top, that means that the system first uses special values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1
Saving Additional Quantities
The quantities that are calculated additionally to the material document for the goods movement are saved automatically with the material document. You can
then access the data for display in
Displaying a Material Document.
See also:
Inventory Management

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 18 of 36

!--a11y-->

Displaying Additional Quantities in the Material Document


Use
If an HPM material is "moved", in the material document, you can display the material quantity in the stockkeeping unit, the unit of entry, and the alternative
units of measure that were determined by Oil and Gas quantity conversion.

Procedure
1. Choose Logistics Materials Management Inventory Management Material document Display .
The initial screen appears.
2. Enter the material document number and the material document year, and choose ENTER .
The item overview appears, which displays all the items contained in the material document.
3. Branch to the detail screen for the item.
The material quantity for the item is displayed in the unit of entry and the stockkeeping unit. For an HPM material, to display the material quantity in the
units of measure of the unit of measure group, choose Additional quantities .
4. Choose Back to leave the display mode.

!--a11y-->

1.4.2 Oil and Gas Quantity Conversion in Physical Inventory


Use
The oil and gas quantity conversion is carried out when a physical inventory count is made.

Activities
Activating the Oil and Gas Quantity Conversion
You activate the conversion by using an HIM material and entering the physical inventory quantity.
Additional Stock Quantities
Stocks are managed in the base unit of measure (stockkeeping unit). For an HIM material, the system additionally maintains the stock quantities in the units
of measure of the unit of measure group. The additional stock quantities are available at plant, storage location, batch, and special stock levels.
During physical inventory, you compare the posted book quantity with the counted quantity that was entered. The system converts the count quantity into the
base unit of measure and compares it with the book amount in base unit of measure. The difference quantity between the book quantity and the count quantity
is saved in a goods movement document.
When an HIM material is used, the conversion of the count quantity into base unit of measure is carried out using the oil and gas quantity conversion. The
book quantity is listed in the base unit of measure and also converted into the units of measure of the unit of measure group, and saved. The count quantities
are compared with the stock quantities stored at plant, storage location, batch and special stock levels and are saved in the material document of the goods
movement as an appendix.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 19 of 36

Conversion Mode
Dependent on how the
Conversion Mode is set, the system either calculates the additional quantities in the normal dialog mode, or as a background job. You can use the conversion
mode to control whether or not the quantities can be manually overwritten.
Oil and Gas Quantity Conversion
The
Oil Quantity Conversion or the Gas Quantity Conversion is used for calculating the additional quantities. Those functions calculate quantities based on the
definitions in Customizing under Industry Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion
Interface (QCI) Configuration , and on how the units of measure are set in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values. For gaseous HIM materials
(natural gas), a density, calorific and volume correction is carried out based on density, calorific, temperature, and pressure values.
The oil and gas quantity conversion is carried out either as a background job or in the normal dialog processing mode using the
Oil and Gas Quantity Conversion Dialog Box.
Default Values
In support of oil and gas quantity conversion, the system uses
Default Values for the relevant quantity conversion factors.
You can define those default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from
bottom to top, that means that the system first uses special values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1
Saving Additional Quantities
The quantities that are calculated additionally to the material document for the goods movement are saved automatically with the material document. Then,
you can display the data using the physical inventory document. If differences occur between the physical inventory balance and the book inventory, you can
access the additional difference quantities by using the material document.
See also:
Physical Inventory

!--a11y-->

1.5 Oil and Gas Quantity Conversion in the Sales Cycle


Use
In the sales cycle, the oil and gas quantity conversion is integrated in the rush order, the delivery, and the billing document (customer billing document). The
oil and gas quantity conversion does not take place during order entry for standard orders.

Integration
This graphic shows how the oil and gas quantity conversion is integrated in the sales cycle.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 20 of 36

See also:
Oil and Gas Quantity Conversion in Rush Orders
Oil and Gas Quantity Conversion in the Delivery
Oil and Gas Quantity Conversion in the Billing Document

!--a11y-->

1.5.1 Oil and Gas Quantity Conversion in Rush Orders


Use
The creation of a rush order results in the order and the delivery being created in one step. When you save the order, the system automatically creates a
delivery in background mode and starts the oil and gas quantity conversion.
You create a rush order when:
Your customer would like to pick up the product immediately
You deliver the product to your customer immediately
You have already carried out the delivery, but the order and the delivery still have to be created in the system.

Integration
The graphic shows how oil and gas quantity conversion is integrated in the rush order.

Activities
Activating the Oil and Gas Quantity Conversion
You activate oil and gas quantity conversion by doing the following:
Using an HIM material

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 21 of 36

Entering the order quantity


Entering the storage location for the material
Saving the order. The system then automatically creates a delivery and starts oil and gas quantity conversion.
If you change the delivery quantities, a new oil quantity conversion is started by the system. If you enter the storage location (if it is not already in the order),
the oil and gas quantity conversion is carried out.
See also:
Creating a Rush Order with Oil and Gas Quantity Conversion
Additional Delivery Quantities
The system calculates the base quantity (in the stockkeeping unit of measure) in the delivery with the help of the oil and gas quantity conversion, and saves it
there. In addition to the base quantity, the quantities are calculated in the units of measure of the unit of measure group. The system expands the list of units
of measure to be calculated.
In addition to the units of measure that are defined in the unit of measure group, units of measure are copied from the contract or order. As a part of that, the
system searches in the contract or the order for units of measure that are neither in the unit of measure group nor defined as a base unit of measure, volume,
or weight unit of measure. If an additional unit of measure is found, the corresponding quantity is calculated in that unit of measure in the oil and gas quantity
conversion.
Conversion Mode
Dependent on how the
Conversion Mode is set, the system carries out the calculation of the additional quantities either in the normal dialog mode, or as a background job. You can
use the conversion mode to control whether or not the quantities can be manually overwritten.
Defaults Values
To support the oil and gas quantity conversion, the system uses
Default Values for the relevant quantity conversion factors.
You can define those default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from
bottom to top, that means that the system first uses specific values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1
Saving Additional Quantities
The quantities that are calculated additionally for the delivery are saved automatically with the delivery. You can then subsequently access or change the data
in the display or change mode of the delivery.
When a goods issue is posted from the delivery, the additional quantities are copied from the delivery into the goods issue and are saved.

!--a11y-->

1.5.1.1 Creating a Rush Order with Oil and Gas Quantity


Conversion
The following is an example of how to activate the oil and gas quantity conversion in the rush order.
1. Choose Logistics Sales and Distribution Sales Order Create .
The system displays the initial screen.
2. Enter the order type for the rush order , as well as any relevant organizational data that is required. Choose
ENTER

.
The system displays the overview screen.

3. Enter the following data:


Sold-to party
Material number(s)
The order quantities for the materials
Storage location: this entry is required for oil and gas quantity conversion.
4. Save the order.
The system calculates the additional quantities in normal dialog mode or in background mode, depending on how the
Conversion Mode is set. The system saves the additional quantities together with the delivery.

!--a11y-->

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 22 of 36

1.5.2 Oil and Gas Quantity Conversion in the Delivery


Use
Oil and gas quantity conversion takes place when a delivery is created or changed.

Activities
Activating the Oil and Gas Quantity Conversion
You activate the conversion when you use an HIM material, and when you enter the delivery quantity and the storage location.
For deliveries in which picking has to be carried out, the entry of the pick quantity triggers the oil and gas quantity conversion, if the oil and gas quantity
conversion has not yet been carried out. The delivery quantity has to correspond to the pick quantity.
Once the oil and gas quantity conversion has been carried out, every change of the delivery quantity or the storage location will lead to the quantities being
recalculated.
Additional Delivery Quantities
The system calculates the base quantity in the delivery using the oil quantity conversion, and stores it there. In addition to the base quantity, the quantities are
calculated in the units of measure of the unit of measure group. The system expands the list of units of measure to be calculated.
In addition to the units of measure that are defined in the unit of measure group, units of measure are copied from the contract or order. The system searches
the contract or order for units of measure that are not in the unit of measure group nor are defined as base unit of measure (stockkeeping unit), volumes or
weight units. If an additional unit of measure is found, the corresponding quantity is calculated in that unit of measure in the oil and gas quantity conversion.
Conversion Mode
Depending on how the
Conversion Mode is set, in "old" transactions, the system carries out the calculation of the additional quantities either in dialog mode or as a background job.
You can use the conversion mode to control whether or not the quantities can be manually overwritten.
In Enjoy transactions, all modes other than the semi-manual conversion mode are treated the same. In the semi-manual conversion mode, you cannot change
the quantities that are displayed in the oil and gas quantity conversion subscreen.
Oil and Gas Quantity Conversion
The
Oil Quantity Conversion or the Gas Quantity Conversion is used to calculate the additional quantities. Those functions calculate quantities based on the
definitions in Customizing under Industry Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion
Interface (QCI) Configuration , and on how the units of measure are set in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values. For gaseous HIM materials
(natural gas), a density, calorific and volume correction is carried out based on density, calorific, temperature, and pressure values.
In "old" transactions, the creation, processing and display of additional quantities and quantity conversion factors is carried out using the
Oil and Gas Quantity Conversion Dialog Box; in Enjoy transactions, the Oil and Gas Quantity Conversion Subscreen is used.
Default Values
To support the oil and gas quantity conversion, the system uses
Default Values for the relevant quantity conversion factors.
You can define those default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from
bottom to top, that means that the system first uses specific values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1
Saving Additional Quantities
The quantities that are calculated additionally for the delivery are saved automatically with the delivery. You can then subsequently access or change the data
in the display or change mode of the delivery.
When a goods issue is posted from the delivery, the additional quantities are copied from the delivery into the goods issue and are saved.

!--a11y-->

1.5.3 Oil and Gas Quantity Conversion in the Billing Document


Use
During the billing process, the system does not carry out an additional quantity conversion. The quantities are calculated only at the time of delivery creation
and stored in the various units of measure with the delivery.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 23 of 36

Activities
Additional Delivery Quantities
During billing, you can reference the quantities stored in the delivery as additional quantities. To do that, you define a specific unit of measure for pricing.
When an invoice is created, the system then uses the quantity saved with the delivery in that unit of measure.
Displaying Additional Quantities
The quantities that are additionally stored in the delivery are copied into the billing document. You can display the additional quantities in the billing document.
See also:
Creating a Billing Document/Displaying Calculated Quantities in the Billing Document

!--a11y-->

1.5.3.1 Creating a Billing Document/Displaying Calculated


Quantities in the Billing Document
A billing document is always created based on a reference document (for example a delivery). Thus, when the billing document is created, the system
accesses the calculated quantities in the delivery.
To do that, proceed as follows:
1. Create an invoice. To do that, proceed as follows:
Choose Logistics
Sales and Distribution Billing Billing Document Create .
Enter the document numbers of the deliveries that you would like to bill.
Save the billing document.
2. To display the billing document, choose Logistics Sales and Distribution Billing Billing Document Display .
3. Enter the billing document number, and choose
ENTER

.
The system displays the overview screen.

4. Select an item and choose Goto Item Item details .


The system displays the item data.
5. Choose Additional Quantities to access the Oil and Gas Quantity Conversion Dialog Box, which displays the quantity in alternative units of measure for
the item.
To go back to the item data, choose Continue.
6. Choose Back to leave the display mode.

!--a11y-->

1.6 IS-Oil Bills of Material in the Sales Cycle


Definition
IS-Oil bills of material (BOMs):
Are bills of material that are composed of a bill of material header and BOM components
Are characterized by the fact that pricing in the order and in the billing document is at BOM header level, but in the goods issue, is at BOM component
level.
A material master record has to be created for each material in the bill of material.

BOM header material:

Super 98

BOM component 1:

Gasoline

BOM component 2:

Octane

BOM component 3:

Additive

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 24 of 36

Use
A high percentage of the products sold in the oil industry are blended products. A refinery sells, for example, unleaded "super" gasoline to various oil
companies. The refinery stores the unleaded super gasoline and blends (depending on the customers preferences) a special additive into the product.
Blending takes place during loading. Stocks are maintained in the system for the unleaded super gasoline and the additive, but not for the product that is
actually delivered.
You can use an IS-Oil bill of material to maintain the blended products in the R/3 System.
See also:

Oil and Gas Quantity Conversion with IS-Oil BOMs

!--a11y-->

1.6.1 Oil and Gas Quantity Conversion with IS-Oil BOMs


Purpose
The following describes how you can represent the sale of a blended product in the system, and in which Sales and Distribution documents the oil and gas
quantity conversion is carried out.

Prerequisites
The item category determines the characteristics and functions of a bill of material in the sales cycle. When creating a bill of material item in an SD document,
you have to choose an item category for each item. The item category determines, for example, whether the item is relevant for:
Pricing
Delivery
Billing
In order to be able to activate quantity summation for IS-Oil bills of material at header level, the corresponding item categories have to be set. You can carry
out all the required settings in SD-Customizing by choosing Sales
Sales Documents Sales Document Item Define Item Categories. You can find additional information on item categories in the Implementation Guide.

Process flow
Order
The system does not carry out an oil and gas quantity conversion in the order, because no goods movement has taken place.
The order contains the BOM header material. The system uses it to determine the price.
The bill of material is broken down in the order into its components. In contrast to the components, the BOM header material is not relevant for goods
movements.
Delivery
The oil and gas quantity conversion is carried out in the delivery at component level. The system uses the oil and gas quantity conversion to calculate the
base quantity per component. In addition to the base quantity, the quantities are calculated in the units of measure of the unit of measure group. The list of
units of measure to be used for calculation is extended.
In addition to the units of measure that are defined in the unit of measure group, units of measure are copied from the contract or order. The system searches
the contract or order for units of measure that are not in the unit of measure group nor are defined as base unit of measure (stockkeeping unit), volumes, or
weight units. If an additional unit of measure is found, the corresponding quantity is calculated in that unit of measure in the oil and gas quantity conversion.
After the system has carried out oil and gas quantity conversion at component level, it sums up all the quantities of the BOM components in the relevant units
of measure, and saves that sum at header level. If the unit of measure groups of the header material and the BOM components differ, the system extends the
list of units of measure to be used for calculation to the header level.
See also:
Oil and Gas Quantity Conversion in the Delivery
Goods Issue
The system copies the additional quantities that were saved with the delivery into the material document for the goods issue. Thus, the goods issue takes
place at component level.
Billing
The system does not carry out any quantity conversions during billing, but rather uses the additional quantities of the BOM header material which are saved in
the delivery. Pricing in the billing document is thus based on the total of the quantities of the BOM components.
See also:
Oil and Gas Quantity Conversion in the Billing Document

!--a11y-->

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 25 of 36

1.7 Oil and Gas Quantity Conversion in TD


Use
Transportation and distribution of bulk products (TD - Transportation and Distribution) consists of three broad areas:
Scheduling
Bulk product loading
Delivery confirmation
The oil and gas quantity conversion is integrated in the following areas:
Loading confirmation
Delivery confirmation
During scheduling, no oil and gas quantity conversion takes place, because the values are only planned values.
See also:
Oil and Gas Quantity Conversion in the Loading Confirmation
Oil and Gas Quantity Conversion in the Delivery Confirmation

!--a11y-->

1.7.1 Oil and Gas Quantity Conversion in the Loading


Confirmation
Use
Oil and gas quantity conversion is carried out when a loading confirmation is created or changed.

Activities
Activating the Oil and Gas Quantity Conversion
You activate the conversion by:
Using an HIM material, and
Entering a loaded quantity, or
Entering a quantity that was already in a compartment before loading (
Left-on-Vehicle, Prior-to-Load, and Returns)
See also:
Creating/Changing a Loading Confirmation
Additional Loaded Quantities
The system calculates the base quantity in the loading confirmation using the oil and gas quantity conversion, and stores it there. In addition to the base
quantity, the quantities are calculated in the units of measure of the unit of measure group.
The system updates the quantities at material/compartment level.
Conversion Mode
Dependent on how the
Conversion Mode is set, the system carries out the calculation of the additional quantities either in the normal dialog mode, or as a background job. You can
use the conversion mode to control whether or not the quantities can be manually overwritten.
During the shipment and distribution of bulk products, it often occurs that the material is loaded from one storage area into several compartments. Because
normally for that series of loading processes, the same default values are valid for the oil and gas quantity conversion, they only have to be entered when
product is loaded into the first compartment. The system automatically uses the date for the subsequent loading processes. In that way, the time required for
entering data is reduced.
Oil and Gas Quantity Conversion
The
Oil Quantity Conversion or the Gas Quantity Conversion is used to calculate the additional quantities. Those functions calculate quantities based on the
definitions in Customizing under Industry Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion
Interface (QCI) Configuration , and on how the units of measure are set in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values. For gaseous HIM materials
(natural gas), a density, calorific and volume correction is carried out based on density, calorific, temperature, and pressure values.
The oil and gas quantity conversion is carried out either as a background job or in the normal dialog processing mode using the
Oil and Gas Quantity Conversion Dialog Box.
You have the option of entering the material temperature and the temperature unit in the loading confirmation for each item. If values were entered, the system
will automatically use those values for oil and gas quantity conversion.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 26 of 36

Default Values
To support the oil and gas quantity conversion, the system uses
Default Values for the relevant quantity conversion factors.
You can define those default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from
bottom to top, that means that the system first uses specific values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1
Saving Additional Quantities
The quantities calculated in addition to the loading confirmation are saved automatically with the loading confirmation. You can access or change the data
subsequently either using the display mode or the change mode for the loading confirmation.

!--a11y-->

1.7.2 Oil and Gas Quantity Conversion in the Delivery


Confirmation
Use
Oil and gas quantity conversion is carried out when a delivery confirmation is created or changed.

Activities
Activating the Oil and Gas Quantity Conversion
You activate the conversion by:
Using an HIM material, and
By entering the quantity delivered, or
By entering the return quantity (
Returns, Rebrands, and Left-on-Vehicle Quantities)
See also:
Creating/Changing a Delivery Confirmation
Additional Delivery Quantities
The system calculates the base quantity in the delivery confirmation using the oil and gas quantity conversion, and stores it there. In addition to the base
quantity, the quantities are calculated in the units of measure of the unit of measure group.
The system updates the quantities at material/compartment level.
Conversion Mode
The system carries out the percentual calculation of the additional quantities in the delivery confirmation and does so by referencing the loaded quantity in the
background job. But you can still access and change the values calculated.
Oil and Gas Quantity Conversion
The
Oil Quantity Conversion or the Gas Quantity Conversion is used to calculate the additional quantities. Those functions calculate quantities based on the
definitions in Customizing under Industry Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion
Interface (QCI) Configuration , and on how the units of measure are set in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values. For gaseous HIM materials
(natural gas), a density, calorific and volume correction is carried out based on density, calorific, temperature, and pressure values.
The oil and gas quantity conversion for the delivery confirmation is carried out as a background job.
During the delivery confirmation, the system uses the values that were already in the loading confirmation as defaults for the oil and gas quantity conversion.
In that way, the time required for entering data is reduced.
If the values for the oil and gas quantity conversion are identical in the delivery confirmation and the loading confirmation, the delivered quantities are
determined as a proportion of the loaded quantities. The system thus does not recalculate the values. In that way, the same result is achieved, but the
processing time is reduced.
Saving Additional Quantities
The quantities calculated in addition to the delivery confirmation are automatically saved with the delivery confirmation. You can then access or change the
data using the display or change mode in the delivery confirmation.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 27 of 36

!--a11y-->

1.8 Calculation of Base Sediment and Water


Use
Most crude oil has a certain percentage of base sediment (sand, etc.) and water. In order to obtain a correct volume, those portions have to be calculated.
The calculation of base sediment and water takes place when goods movements of crude oil are made.

Activities
Activating the Base Sediment and Water Calculation
You can activate a material for calculation purposes by:
Entering a conversion group in the material master, to which the Crude oil product type is assigned (see also
Oil-Specific Data in the Material Master).
Entering the document quantity.
Conversion Mode
Dependent on how the
Conversion Mode is set, the system carries out the calculation of the additional quantities either in the normal dialog mode, or as a background job. You can
use the conversion mode to control whether or not the quantities can be manually overwritten.
Oil Quantity Conversion
The
Oil Quantity Conversion is used to calculate additional quantities. Those functions calculate quantities based on the definitions in Customizing under Industry
Solution Oil & Gas (Downstream) HPM Petroleum Measurement Standards Quantity Conversion Interface (QCI) Configuration , and on how the
units of measure are set in the material master.
For liquid HIM materials, additionally, a density and volume correction is carried out based on density and temperature values.
In "old" transactions, the creation, processing and display of additional quantities and quantity conversion factors is carried out using the
Oil and Gas Quantity Conversion Dialog Box; in Enjoy transactions, the Oil and Gas Quantity Conversion Subscreen is used.
In the Oil Quantity Conversion Dialog Box for quantity calculations for crude oil, you can also enter the following information:
Percentage of water and base sediment (volume percentage)
A meter correction factor, which adjusts inaccuracies in the recalibration
The system takes the "uncorrected" quantity from the transaction and converts it into units of measure in the unit of measure group, taking into account the
percentage of water and base sediment and using the meter correction factor.

Example of an Oil Quantity Conversion Dialog Box with calculations for base sediment and water.
Material

CRUD1H0-BIS

Plant

GP02

Storage location

G2L1

Mat. Temp.

168.1 FAH

BS&W%

Quantity

100 BB6

Base gravity

97.667 BB6

17.085 STO

0.9966 ZKF

Test temp.

142.00 FAH

Test gravity

17,8
Hydrom.ind

4102.006 UG6

Continue

Calculate

Reset quantities

Cancel

The following situations exist:


Unit of entry is a...

Target quantity of the unit of


measure group is a ...

BS & W in % is used ...

Meter correction factor is used ...

Volume unit

Volume unit

Yes

Yes

Volume unit

Mass unit

No

Yes

Mass unit

Volume unit

Yes

No

Mass unit

Mass unit

No

No

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 28 of 36

This process takes into account the fact that the BS & W value is a percentage of the volume of a material that is moved, and is thus taken into account in
the target quantities that are in volume units of measure.
The meter correction factor is a correction factor that calibrates volume flow meters to represent standard conditions. For that reason, the factor is only used
for transaction quantities that are entered as volume measurements. For entries of masses as transaction quantities, it is assumed that the value entered has
been exactly determined by weighing the product.
Default Values
To support the oil and gas quantity conversion, the system uses
Default Values for the relevant quantity conversion factors.
You can define those default values at plant, storage location or batch level per material, day, and time. The system always reads the default values from
bottom to top, that means that the system first uses specific values at batch or storage location level before using general values at plant level.
You can use the following transactions to enter default values:
Enjoy transaction
O3DEFAULTS
"Old" transaction
O3C1

!--a11y-->

1.9 Two-Step Plant-to-Plant Transfers with Gains and Losses


Use
In a company, goods movements do not only take place in the form of goods receipts and goods issues. Dependent on the organizational form of the company
(for example, one using decentralized stock) and on the sales and marketing policies of the company, internal stock transfers may be necessary.
Stock transfers can take place at three different levels:
Stock transfers from company code to company code
Stock transfers from plant to plant, for example:
Simple stock transfers from plant to plant in one step, in which the issued quantity of the issuing plant has to be the same as the received quantity at
the receiving plant.
Complex two-step transfers from plant to plant using a stock transport order which functions as an internal purchase order for the receiving plant and
as an internal order for the issuing plant.
Stock transfers from storage location to storage location (in the plant).
This documentation only describes the two-step plant-to-plant stock transfer, because that area is the only area within the stock transfers that differs from the
SAP Standard System.

Features
Two-Step Plant-to-Plant Transfer in the R/3 Standard System
When you carry out a two-step stock transfer from plant to plant, you first post the removal from storage from the issuing plant. After the stock removal
posting, the quantity of product to be transferred is put in the stock in transit (with a stock transport order), or, in the stock in transfer of the receiving plant
(without a stock transport order); but it is cannot yet be used.
In a second step, you post the placement in storage at the receiving plant. Only then is the transaction complete, and the quantity transferred can now be
used.
In the Standard System, you can carry out a two-step stock transfer from plant to plant:
Using a stock transport order for goods issue postings in shipping (replenishment delivery)
Using a stock transport order for goods issue postings in inventory management
Without a stock transport order
Tracking Stock Transfers in the R/3 Oil & Gas System (Downstream)
For stock transfers in the Standard System, it is only possible to assign individual goods issues and goods receipts to physical goods movements by using
the stock transport order. As a result, the system does not calculate gains and losses.
In the oil and gas industry, changes in quantity can, however, occur when bulk materials are moved (for example crude oil, fuels, etc.). That can occur, for
example, when the material temperature at the receiving plant is different than the material temperature at the issuing plant, and the material is thus subject to
density changes during the shipment.
To be able to monitor goods movements and to be able to determine any changes in value of the material that may arise (gains and losses), when activation
occurs, the system tracks the goods movements of the material (see also
Activating Goods Movement Recordings). The system automatically assigns a tracking number to the goods issue and goods receipt documents. You can use
the tracking number to track the goods movements. The system automatically carries out the gains and loss postings.
See also:
Stock Transfer and Transfer Posting

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 29 of 36

!--a11y-->

1.9.1 Stock Transfer Tracking in Goods Movements


Use
You can track the goods movements for materials for the following stock transfer processes:
Two-step plant-to-plant transfers with stock transport orders for goods issue postings in shipping (replenishment delivery).
Two-step plant-to-plant transfers with stock transport orders for goods issue postings in inventory management.
Two-step plant-to-plant transfers without a stock transport order.
Material valuation plays an important role in the stock transfer processes that were mentioned above. There are different types of material valuation:
Materials valuated at plant level
Split-valuated materials
Materials Valuated at Plant Level
Materials which are valuated at plant level have a single material price and valuation record, which is valid for the entire material stock within a plant. You can
display the valuation record in the material master record (accounting view).
During a goods receipt, the valuation record is updated at the receiving plant. Because only one valuation record exists, entering the receiving plant is
sufficient for determining the valuation record. As a result, using the processes listed above, you can transfer the materials valuated at plant level, and you
can track the materials transferred.
Split-Valuated Materials
Split-valuated materials have several material prices within one plant. The valuation type defines that the material will be split valuated, as well as the criteria
that is used to valuate the stocks. You can display the valuation type in the material master record (the accounting view).
TDP materials are split-valuated in order to be able to determine the untaxed and the taxed parts of the material. In order to be able to track the stock transfer
with split-valuated material, you have to carry out the two-step plant-to-plant transfer with a stock transport order. Without a stock transport order, the two-step
plant-to-plant transfer is not possible for split-valuated materials.
See also:
Goods Movements with a Stock Transport Order
Goods Movements without a Stock Transport Order

!--a11y-->

1.9.1.1 Goods Movements with a Stock Transport Order


Purpose
Using this process, you can carry out a two-step plant-to-plant transfer with a stock transport order. This process consists of the following procedures for splitvaluated material:
1. Stock transport order
2. Goods issue at the issuing plant
3. Goods receipt at the receiving plant

Prerequisites
If you want to transfer a split-valuated material, you have to create a stock transport order.

Process flow
Stock Transport Order
You use the stock transport order to request a stock transfer. When you have activated the material you want to transfer for recording of the goods movement,
( Activating Goods Movements Recordings), the system automatically assigns a tracking number.
You can display the tracking number in the stock transport order at item level. The system then automatically copies the number into all documents that
reference the stock transport order.
2. Goods Issue at the Issuing Plant
You can either post the goods issue at the issuing plant in inventory management, or you can process it with a replenishment delivery in shipping. In
both options, you reference the stock transport order during the goods receipt. The system copies the tracking number, and you can track the goods
movement.
At the same time, you activate the Oil Quantity Conversion or the Gas Quantity Conversion when you use an HIM material and enter the

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 30 of 36

document quantity ( Oil and Gas Quantity Conversion in Goods Movements).


The goods issue has the following effects in the system:
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are at item level.
The system creates an accounting document for the movement. The valuation record in the receiving plant is updated, based on the material price in
the issuing plant.
The quantity is posted out of the issuing plant, that means that the available stock is reduced.
In the receiving plant, the quantity is then listed in stock, but not in the available stock; rather, in the stock in transfer.
3. Goods Receipt at the Receiving Plant
If the goods issue is posted to inventory management, you post the goods receipt to the receiving plant with reference to the stock transport order.
If the goods issue was posted in shipping, you can make reference to the stock transport order or the replenishment delivery during the goods receipt.
For all the options, reference is made to the stock transport order, so that you can track the goods movement using the tracking number.
At the same time, you activate the oil and gas quantity conversion function by using an HIM material and entering the document quantity ( Oil and Gas

Quantity Conversion in Goods Movements).


The goods receipt has various different effects in the system, which are dependent on the relationship between the goods receipt quantity to the goods
issue quantity, and on the "delivery completed" indicator ( Completing Goods Movements Recordings).
The following situations can occur during a goods receipt:
Goods receipt quantity is smaller or the same as the goods issue quantity; the "delivery completed" indicator is not set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system does not create an accounting document.
The quantity is posted from the stock in transfer to the available stock at the receiving plant. That means:
The stock in transfer is reduced
The available stock increases
The goods receipt quantity is smaller than the goods issue quantity; the "delivery complete" indicator is set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the stock loss is recorded (the excise duty loss can also be recorded). The valuation record for
the material at the receiving plant is updated (reduced) to reflect the loss quantities.
The quantity is posted from the stock in transfer to the available stock at the receiving plant. That means:
The stock in transfer is automatically set to zero.
The available stock increases at the receiving plant.
Goods receipt quantity is larger than the goods issue quantity; "delivery complete" indicator is not set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the increase in stock and the increase in excise duty are recorded. The valuation record of the
material at the receiving plant is updated (increased) to reflect the increased quantity.
The quantity is posted from the stock in transfer to the available stock at the receiving plant. That means:
The stock in transfer is automatically set to zero.
The available stock increases at the receiving plant.
Goods receipt quantity is larger than the goods issue quantity; the "delivery complete" indicator is set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the increase in stock and the increase in excise duty are recorded. The valuation record of the
material at the receiving plant is updated (increased) to reflect the increased quantity.
The quantity is posted from the stock in transfer to the available stock at the receiving plant. That means:
The stock in transfer is automatically set to zero.
The available stock increases at the receiving plant.

!--a11y-->

1.9.1.2 Goods Movements without a Stock Transport Order


Purpose
In contrast to split-valuated materials, you can post materials valuated at plant level to another plant without a stock transport order.
The two-step plant-to-plant transfer without a stock transport order consists of the following processes for material valuated at plant level:
1. Goods issue at the issuing plant
2. Goods receipt at the receiving plant

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 31 of 36

Process Flow
Goods Issue at the Issuing Plant
You post stock removals from the issuing plant in inventory management. When you have activated the material for purposes of goods movement recording (

Activating Goods Movements Recordings), the system automatically assigns a tracking number to it.
At the same time, you activate the Oil Quantity Conversion or the Gas Quantity Conversion when you use an HIM material and enter the document

quantity ( Oil and Gas Quantity Conversion in Goods Movements).


The goods issue has the following effects in the system:
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document for the movement. The valuation record in the receiving plant is updated, based on the material price in
the issuing plant.
The quantity is posted out of the issuing plant, that means that the available stock is reduced.
At the receiving plant, the quantity is already listed in the stock, however, not in the available stock, but in the stock in transfer.
2. Goods Receipt at the Receiving Plant
When you post the stock to the receiving plant with reference to the material document of the goods issue, the system automatically copies the
tracking number, and you can track the goods movement.
At the same time, you activate the oil and gas quantity conversion function by using an HIM material and entering the document quantity ( Oil and Gas

Quantity Conversion in Goods Movements).


The goods receipt has various different effects in the system, which are dependent on the relationship between the goods receipt quantity to the goods
issue quantity, and on the "delivery completed" indicator ( Completing Goods Movements Recordings).
The following situations can occur during a goods receipt:
Goods receipt quantity is smaller or the same as the goods issue quantity; the "delivery completed" indicator is not set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system does not create an accounting document.
The quantity is posted from the stock in transfer to the available stock of the receiving plant. That means:
The stock in transfer is reduced
The available stock increases
The goods receipt quantity is smaller than the goods issue quantity; the "delivery complete" indicator is set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the stock loss is recorded (the excise duty loss can also be recorded). The valuation record for
the material at the receiving plant is updated (reduced) to reflect the loss quantities.
The quantity is posted from the stock in transfer to the available stock of the receiving plant. That means:
The stock in transfer is automatically set to zero
The available stock increases at the receiving plant.
Goods receipt quantity is larger than the goods issue quantity; the "delivery complete" indicator is not set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the increase in stock and the increase in excise duty are recorded. The valuation record of the
material at the receiving plant is updated (increased) to reflect the increased quantity.
The quantity is posted from the stock in transfer to the available stock of the receiving plant. That means:
The stock in transfer is automatically set to zero
The available stock increases at the receiving plant.
Goods receipt quantity is larger than the goods issue quantity; the "delivery complete" indicator is set
The system creates a material document for the movement. The tracking number and the additional document quantities that were calculated in the
oil and gas quantity conversion are located at item level.
The system creates an accounting document, in which the increase in stock and any increase in excise duty are recorded. The valuation record of the
material at the receiving plant is updated (increased) to reflect the increased quantity.
The quantity is posted from the stock in transfer to the available stock of the receiving plant. That means:
The stock in transfer is automatically set to zero
The available stock increases at the receiving plant.

!--a11y-->

1.9.2 Gain and Loss Postings


PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 32 of 36

Use
The gains and losses for goods issues and goods receipts that are linked to a tracking number are defined as follows:
Stock increase/stock loss = goods issue quantity - goods receipt quantity of all goods receipts
If the result is negative, meaning that the goods issue quantity is smaller than the goods receipt quantity for all goods receipts, the system creates a gain
posting.
If the result is positive, meaning that the goods issue quantity is larger than the goods receipt quantity for all goods receipts, the system creates a loss
posting.
As soon as a gain or loss occurs, the valuation record for the material is updated to reflect the increase in quantity or the loss in quantity at the receiving plant.

Prerequisites
You define the basis for calculation for the gain and loss determination in a Customizing table. The following options exist as a basis for calculation for the
gains and losses:
The material price at the receiving plant
The material price at the issuing plant at the time at which the gain and loss occurs
The material price at the issuing plant at the time of the goods issue
The condition record for the material
You can make those settings in Customizing under Industry Solution Oil & Gas (Downstream)
HPM Two-Step Plant-to-Plant Transfers Maintain two-step transfer control .
You can find additional information on pricing for gain and loss postings under that area with that name in the Implementation Guide (IMG).

!--a11y-->

1.9.3 Excise Duty Postings


Use
HPM materials are mostly split-valuated materials, because you need to be able to define the untaxed and taxed portions of the material. When a material of
that kind is transferred within a company and is sent to a location at which a different excise duty applies, the system records the change in excise duty (ED)
in an accounting document.

Features
For plant-to-plant transfers of taxed materials, the system automatically posts excise duties according to specific posting rules. The following situations can
occur:
Excise duty liabilities
Excise duty liabilities arise when:
Taxed material is moved from an ED-free location to an ED-paid location.
Taxed material is transferred to a location with a higher excise duty.
The liabilities are posted during the goods issue.
Reduction/exemption of excise duty
A reduction of, or relief from excise duty occurs when the excise duty for taxed material is reduced or exempted.
If the receiving plant is an ED-free location, the reduction of or relief from excise duty is posted at the receiving plant.
If the receiving plant is an ED-paid area, the reduction or exemption of taxes is posted at the issuing plant.
Excise duty reimbursements
Excise duty reimbursements occur when:
Dutiable material is placed in storage at an ED-free location
ED-paid material is transferred to a (storage) location with lower excise duty.
The liabilities are posted during the goods issue.
Changes to the excise duty rate (only for two-step plant-to-plant transfers with stock transfer tracking)
The excise duty rate for a material can change between the time of the goods issue at the issuing plant and the goods receipt at the receiving plant.
The changes to the excise duty rate are posted only for the last goods receipt at the receiving plant, as soon as the system has determined the gains or
losses for the entire stock transfer.
Excise duty gain/loss (only for two-step plant-to-plant stock transfers with stock transfer tracking)
Excise duty gains/losses arise due to an inventory increase or decrease of ED-paid material.
Excise duty gains/losses are posted during the final goods receipt for all the materials that belong to a stock transfer and thus to a single tracking number.

!--a11y-->

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 33 of 36

1.9.4 Tolerance Check


Use
The quantities of goods issues and goods receipts for a material can be different for plant-to-plant stock transfers. In order to be able to monitor the quantity
difference and also the associated gain and loss postings, you can define tolerances. A goods receipt quantity can differ from a goods issue quantity within
that percentage tolerance range.

Prerequisites
You can define tolerances

In Customizing under Industry Solution Oil & Gas (Downstream)

At plant level

HPM
Two-Step Plant-to-Plant Transfers Maintain two-step transfer control

For a material

HPM
Two-Step Plant-to-Plant Transfers Maintain material-specific
tolerances

Features
When you post a goods receipt for a tracking number, the system automatically uses the goods issue quantity and all other goods receipt quantities to
determine the percent gain or loss which the goods receipt causes. That system checks the percentage against a table in Customizing.
Depending on the specific setting:
The gains or losses are posted immediately (if you have not defined tolerances)
The system produces a warning message and then carries out the posting
The system issues an error message, and no postings can be made

!--a11y-->

1.9.5 Activating Goods Movements Recordings


Material Master Record - Activating Recording
If you want to activate a material for goods movement recording, you have to set the plant stock transfer indicator in the oil-specific data view at client level in
the material master.
The following settings are possible:
Plant-to-plant transfer according to the SAP standard
Plant-to-plant transfer with an added function for updating transfer data records for statistical purposes
IS-Oil plant-to-plant transfer with a gain/loss calculation and posting
You have to set the plant stock transfer indicator for both the issuing plant as well as for the receiving plant, because otherwise the system cannot record the
goods movements for the material.
See also:
Oil-Specific Data in the Material Master

Movement Type - Activating Recording


You can activate the movement type for recording the goods movements with the tracking number by selecting the relevant field in Customizing.
You can make those settings in Customizing under Materials Management
Inventory Management and Physical Inventory Movement Types Copy, Change Movement Types . In the field selection, select the Movement
type field. Enter the movement types, and choose ENTER . In the update control view, set the Nr . flag.
The system automatically stores a tracking number in the corresponding material documents when the movement type is activated. The system assigns the
tracking number either internally or externally, depending on the settings in Customizing for the Industry Solution Oil & Gas (Downstream) . That means:
The system automatically assigns a tracking number (internal number range)
You provide a tracking number manually (external number range).

You define the number ranges for the tracking number in Customizing under Industry Solution Oil & Gas (Downstream) HPM Two-Step
Plant-to-Plant Transfers Maintain tracking number range .

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 34 of 36

!--a11y-->

1.9.6 Completing Goods Movement Recordings


There are two ways to complete the recording of goods movements which belong to a tracking number:
Set the indicator for the last goods movement
Create an additional goods receipt

Set the Indicator for the Last Goods Movement


You can create more than one delivery for a stock transport order. When you post a goods receipt for the last delivery or for the only delivery, you have to set
the last goods movement indicator. By doing that, you complete the goods movement in the system, and you trigger all subsequent material postings and
accounting documents.
You set the indicator for the last goods movement at item level by selecting the relevant checkbox (next to the tracking number).

Create an Additional Goods Receipt


You can assign additional goods receipts to a tracking number if the last goods movement indicator is not set in the last goods receipt document. It may be
that you did not know that it was the last goods receipt for the tracking number when you posted a goods receipt.
In that case, you can create an additional (and last) goods receipt with a goods receipt quantity of zero, and set the delivery completed indicator at item level.
That blocks the tracking number for any further assignment of goods receipts, and you complete the recording of the goods movements in that way. The
system now carries out all the material postings and creates the corresponding accounting documents.

!--a11y-->

1.9.7 Reporting the Recorded Goods Movements


A report is available that displays all the goods movements related to a specific tracking number. To run the report, proceed as follows:
1. Choose Logistics
Materials Management Inventory Management Environment Two-Step Transfer Tracking Report .
The system displays the selection screen for the report.
2. Enter the selection criteria that you want, for example:
Tracking number
Receiving plant
Material number
Run the report.
The system produces a list of all the goods issue documents and goods receipt documents corresponding to the selection criteria that you entered. The
system also lists the gains and loss quantities from the goods movements.
3. To display a document, place the cursor on the document number and choose Edit
Choose .
The system displays the item overview screen for the material document. Next, choose Environment
Accounting docs... to branch to the accounting document, where you can view the gain and loss postings.
4. Choose Back to leave the display mode.

!--a11y-->

1.10 Silo/Tank Managment

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 35 of 36

Purpose
Silo/Tank Management allows a company to record physical material stocks in tanks (silos) either hourly, daily, or weekly. As a part of that process, tank dips
can be recorded in the R/3 System. The physical stock readings (tank dip readings) can be compared at any time with book inventories (storage location
stocks, batch stock, or special stock), or with changes in book inventories (goods movement records). In that way, gains and losses can always be
determined and goods movements can be monitored.
Tank master data can be defined to create a basis for the recording of tank dip readings in the R/3 System.

Integration
One or more tanks can be assigned to a storage location. In addition, one or more materials or material segments with special characteristics such as batch,
valuation type and special stock can be assigned to a tank. You can find additional information under
Assigning Materials to Tanks.

Silo/Tank Management is integrated with goods movements. You can find additional information under
Integration of Silo/Tank Management with Goods Movements.

PUBLIC
2014 SAP SE or an SAP affiliate company. All rights reserved.

Page 36 of 36

Vous aimerez peut-être aussi