SAP QCI General Configuration FAQs

Answers to common questions regarding General SAP QCI Configurations (UoM & SAP Material Master, HPM, TSW …)

I receive messages O3 361 and/or O3 362 for my crude oil calculations, why is that?

The messages

  • O3 361: “Transaction unit of measure for BSW % has to be at ambient conditions”
  • O3 362: “Target unit of measure for BSW % is defined at ambient conditions”

are configurable messages within the legacy SAP QCI. These two messages can be configured not to appear. So, this should be done with care:

The two messages are intended as a warning, if non-zero sediment and water (S&W) fractions are entered for crude oil SAP QCI conversion group calculations.

Within the SAP QCI, you cannot separate net and gross volumes,

Answer Continues... View Full Answer Page

I receive error O3 212 "Tables T006 and T006_OIB do not match" when I access transaction CUNI - Units of Measurement. What can I do?

This error is raised if – e.g. during new client creation – the SAP T006* Tables are not populated consistently.


Run SAP report ROIBXUOM_R3E. This can be done either via transaction SE38 or via the Petroleum Measurement Cockpit (PMC) -> Units of Measurement -> Consistency. Execute the tool with option “Run ROIBXUOM_R3E” in client 045 (or any other client).

View Answer Page

During IDOC processing, we receive a "divide by zero" error. This is not happening in online business transaction processing. How can this be?

You are utilizing a SAP QCI conversion group, which is configured to utilize ASTM D1250-80 implementations.


You use a copy of template conversion group Q202.

During IDOC processing, you receive error /QTYW/BCP105 – Arithmetic error – divide by zero in function ” XXXX” .
In online processing, the calculations are working fine:

The error is caused if during IDOC processing the Test Density is passed with a value of 0 to the SAP QCI, which can be demonstrated in an online test calculation as well:

You should maintain valid range data for your conversion groups,

Answer Continues... View Full Answer Page

What is the difference between "test temperature" and "material temperature"?

The activation of the QCI default transaction is not possible in customizing, a table entry is missing - what can we do?

We want to activate the latest QCI default transaction. The activation using the proper customizing transaction is impossible. No entry is displayed. What went wrong ?

This issue is described in detail in SAP Note 308022 – FAQ: QCI – Quantity Conversion Interface, Point 6. Additional information is provided in SAP Note 545432.
The activation requires that exactly ONE database entry in table OIB_DEF is present in the system in your client. Follow the instructions provided in these two SAP notes. If your QuantityWare Template Client 045 has been built from a copy of SAP Client 000,

Answer Continues... View Full Answer Page

Can I change a UoM key to business user requirements w/o changing the technical UoM key (and dimension assignment)?

In general, this is possible. A UoM is defined with a technical key and a commercial key. The commercial key (as the technical key) has to be unique but can differ from the technical key.


Business users require UoM LTA (Long ton, in air) and TOA (ton, in air) to be displayed as LNT and MT.

Go to UoM customizing transaction CUNI and select the appropriate dimension ID (Here: WGHTA, weight):

Change the commercial keys as required:

The new keys are displayed in the calculations:

View Answer Page

Where do I set the decimal places for a UoM?

For each UoM, you can set the number of decimal places (for display). This way, data input and display of result parameters is restricted to that number of decimals.

Within the QCI, input parameter numbers for quantity values of densities, temperatures, pressures etc. are then restricted to that number of decimals.

Note: For rounding of calculation results, you have to define additional real rounding settings.


You wish to define the maximum number of decimals for UoM ton per cubic meter – t/m³:

This setting is made via SAP transaction CUNI:

Select the dimenison ID (DIMID) for that UoM.

Answer Continues... View Full Answer Page

I want to create a TSW nomination with a gross volume UoM and receive an error. What can I do?

QuantityWare delivers new gross mass (GSM), gross volume (GSV/GOV) and gross weight (GSW) UoM (and Volume UoM for LNG – Liquid). These are linked to new SAP dimension IDs – DIMIDs. Quantity values with UoM belonging to such new dimensions are valid Nomination scheduling quantity values. However, TSW Nomination carries out a standard UoM validation check which allows SAP DIMID MASS or VOLUME only.

You can disable this check (or write a custom code check): To disable the check:

View Answer Page

What is the difference between a SAP QCI and an MQCI conversion group?

QuantityWare BCS delivers a template that contains two different types of conversion groups – SAP QCI conversion groups and MQCI conversion groups.

Both types utilize the proven SAP QCI interface to oil & gas business processes and thus integrate seamlessly into all processes.

SAP QCI conversion groups are limited in their functional extend and are typically used in legacy environments. MQCI conversion groups offer full functional calculation flexibility – supporting all available measurement standards.

For BCG LNG implementation projects, one should always consider MQCI conversion groups.

Read the working paper “SAP QCI in a nutshell”

Answer Continues... View Full Answer Page

Can I change the UoM group in the material master?

In SAP ECC systems, you cannot change the UoM group or add or delete UoM to an existing UoM group, once stock has been posted for such a material.

In SAP S/4HANA systems, the UoM group can be extended with new UoM, also in production!

Read the FAQ for a conversion group change for more information.

View Answer Page

I need to change the conversion group in the material master. Is this possible?

Changing a conversion group in the material master is supported by SAP since ERP Release 4.6B.  You simply have to observe the general rule, that an HPM material (for which stock levels are posted in parallel in several  UoM – which are defined in the UoM group) cannot be changed to be a standard material and vice versa. This means, that you cannot remove a conversion group completely (i.e. leaving the entry field blank), once assigned and material documents have been posted.

If the product type of the new conversion group changes, you will receive a warning message:

Important: The  UoM group cannot be changed once stock has been posted in SAP ECC systems.

Answer Continues... View Full Answer Page

How do I define a new SAP Dimension ID?

Dimensions in SAP are defined as dimension ID (DIMID). These are maintained in SAP transaction CUNI.

Units of Measure (UoM) are then defined per DIMID. With the QuantityWare BCS template, more than 60 DIMID are delivered. Thus, it should not be necessary to define a new DIMID. If you cannot find the UoM with the appropriate DIMID in the template client 045, you should contact QuantityWare Support to discuss this requirement.
Reason: New DIMID definitions may require a specific configuration and global function module enhancement (due to a design ambiguity in SAP transaction CUNI –

Answer Continues... View Full Answer Page

I require a new UoM which is not defined in the QuantityWare template. What can I do?

The creation of a new Unit of Measure (UoM) is done via SAP transaction CUNI. The most important step is to identify the correct dimension (DIMID) to which the UoM shall belong.


Unit of measure(UoM) L/mm (Liter per mm) is required in my project. How can I define this UoM?

1. Go to transaction CUNI, select the appropriate dimension ID – here volume per height – You may create new UoM for any existing dimension ID; just ensure that the new UoM key does not already exist in any client where the new UoM is required!

Answer Continues... View Full Answer Page

Back to FAQs