BCS Solution Configuration FAQs
Answers to common questions regarding Detailed configuration information to support our network of certified BCP and BCG consultants.
I receive messages O3 361 and/or O3 362 for my crude oil calculations, why is that?
- 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,
Which conversion group should I use for my high pressure pipeline natural gas project?
For high pressure natural gas projects, an MQCI conversion group should be selected. A certified BCG consultant can access the Gas Measurement Cockpit (GMC) and will follow the PAIG Methodology in order to create a selection of template conversion groups. The correct choice then depends on the detailed calculation scenario requirements which you will discuss with the certified consultant.Example:
Template selection of high pressure conversion groups for AGA Report NO. 8 / ISO 6976 calculations:
Which conversion group should I use for my LNG project?
For LNG projects, an MQCI conversion group should be selected. A certified BCG consultant can access the Gas Measurement Cockpit (GMC) and will follow the PAIG Methodology in order to create a selection of template conversion groups. The correct choice then depends on the detailed calculation scenario requirements which you will discuss with the certified consultant.Example:
Template selection of LNG conversion groups for detailed ISO 6578 LNG calculations:
How can we calculate the TCV (Total Calculated Volume) using QuantityWare BCP?
The definition of the Total Calculated Volume (TCV) is:
TCV equals gross standard volume (GSV) plus free water (FW) – API MPMS Chapter 12.1.1.
You utilize a QuantityWare BCP crude oil conversion group, that is configured to calculate gross and net quantity values (see separate FAQ) . Now you simply use the gross standard volume result and add the free water volume to this value to obtain the TCV.
The system calculates a gross standard volume of 12 051 barrels at 60 °F – 12 051 GB6 (SAP UoM for barrel,
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.Solution:
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).
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.Example:
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,
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,
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.Example:
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:
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.Example:
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.
How are the two reading group indicators defined, that control the LPG vapor space calculations?
LPG calculations support two vapor space scenarios. For each scenario, one indicator is relevant.
Scenario A: You perform an opening and a closing dip measurement (e.g. for a loading process shore-to-ship) to determine the transferred mass of LPG (e.g. by using SAP Tank Management and implementing your delta calculation logic in a SAP Tank Management BAdI):
Summary: In this scenario, you perform two calculations (opening and closing dip calculation) with the “Apply vapor corr. (tank dip)” indicator set. The transferred mass is calculated by subtraction.
For our crude oil conversion group, the S&W % value increases the product mass and weight instead of decreasing it. How can this be?
Example: We enter a transaction quantity of 10 000 m³ (SAP UoM M3):
Apparently, the gross ton value is lager than expected, also the net ton and the gross and net weights for a S&W fraction of 0.1 %. How can this be?
Answer: For S&W calculations, it is important to select the correct UoM for gross volumes, which are typically the transaction quantities. By design, M3 is a NOV (Net Observed Volume) UoM. Thus, the calculation is performed “backwards” to correctly calculate the additional quantities.
QuantityWare MQCI S&W conversion groups require a transaction UoM of SAP dimension ID (DIMID) gross volume (GRSVOL) for GOV transaction quantities:
Our LPG conversion group does not allow entry of a test temperature to correct the LPG density to base. How can we solve this requirement?
Many of the MQCI LPG Q7** template conversion groups are configured such that the product base density (in vacuo) can be entered directly without a need to enter a second so-called test temperature to correct a test density to base. This is described in more detail in the BCP Reference Manual, Chapter 6.10.Example:
If required, you can easily extend your LPG reading group and add the test temperature (technical name OBSTSTMETT) and then also change the name of the input parameter OBSTSTDENS from base density to e.g. test density.
Can we enter the density for one product in different density types (°API, relative density, absolute density)?
Yes, all BCP MQCI conversion groups can be configured in such a manner.
Example: BCP Template Conversion Group Q210:
In order to enable this flexible density type data entry, you simply add MQCI function module /QTYW/MQCI_CON_TDICH_VAC_DNTYP to the conversion group function module sequence in configuration:
We directly want to enter the base density of our products, w/o having to enter a test temperature. Is this possible?
Yes, all BCP MQCI conversion groups can be configured in such a manner.
Example: BCP Template Conversion Group Q2A1:
Here you only enter the observed product temperature and the base density as input parameters. Then, the VCF and all densities in air values are calculated, as well as all quantity values.
Technically, this is achieved by adding MQCI Function Module /QTYW/MQCI_BCP_PROD_DEFAULT to the Function Module Sequence (FSQ) in the configuration settings:
Then you may remove the test temperature parameter from the reading group assigned to the conversion group and rename the test density to base density.
We do not require the hydrometer correction. Can we remove it from our conversion group configuration?
The hydrometer correction may only be required, if you enter an observed density that is determined with a glass hydrometer. If you utilize an ASTM D1250-04 implementation, you may simply remove the hydrometer function (and reading group parameter):
ASTM D1250-80 implementations contain a built-in (by measurement standard definition) hydrometer correction logic, which requires that you actively turn the correction off if not required – read note 000026 for all important details.
We enter pressure values for gas calculations. Are these values absolute or gauge pressure values?
QuantityWare BCS implementations for LPG/NGL, LNG and natural gas support both the data entry of absolute and gauge pressure values. The conversion group configuration can be made to support entry of either gauge or absolute pressure values – by adding dedicated MQCI pressure calculation functions to the conversion group function module sequence.
Read Note 000078 for additional details.
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:
I have set my quantity value UoM L15 and KG to be rounded to zero decimals, but it is not working. What can I do?
The UoM real rounding settings are considered for all MQCI conversion groups (where rounding function /QTYW/MQCI_ROUND_ALT_QUANTITY) is assigned:
Ensure that you are not using a SAP QCI conversion group – then you will have to write your specific ABAP rounding code in SAP QCI BAdI Implementations.
My customer requires ASTM Table 1 UoM conversion factors. What are the configuration steps?
For MQCI conversion groups, you simply activate the ASTM Table 1 conversion factors in the conversion group detail settings:
With the QuantityWare BCS templates, ASTM Table 1 conversion factors are delivered, which are accessible in your client 045 after activation of the relevant BC set. Read Note 000055 for all important additional configuration details.
We utilize an LPG conversion group with SAP Tank Management. Why is the vapor mass not considered for volume UoM?
Vapor space calculations are defined in measurement standard ISO 6578. The calculation simply adds the vapor mass (and vapor energy or weight) to the appropriate liquid mass, energy and weight quantity (in any given UoM). Volume quantities are not updated with the liquid volume quantity equivalent to the vapor mass and do contain the liquid product quantity value only (in any given volume UoM). Thus, it is important that the base UoM in the material master is either a mass, weight or energy UoM.
Read the working paper “LPG vapor space calculations” for all details.
My client wants to use MQCI conversion groups, where kg, lb, to, sto UoM are calculated as weights - is this possible?
Yes. The BCS template provides example conversion groups that are configured such that UoM of SAP dimension ID MASS are calculated as weights – which is the case for SAP QCI conversion groups if the air buoyancy indicator is set:
The LB value is the weight of the 10 000 gallon of product. The configuration to achieve this requires 2 (plus 1) steps:
You assign the SAP Dimension IDs for weight (and mass) DIMID.
You assign marker function /QTYW/MQCI_WEIGHT_MASS to the MQCI model function sequence.
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.
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.
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.
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 –
Our conversion group calculates the base density at 15 °C. We also need to report the base API gravity at 60 °F. Is this possible?
API MPMS Chapter 11.5 2009 provides the calculation logic for such calculations. It replaces the old tables 3, 21 and 51 of ASTM D1250-80 Volume XI/XII. This logic has been implemented in an MQCI function, which requires a base temperature of either 15 °C or 60 °F. Template conversion group Q22A provides the configuration example:
We need to report our product density in absolute density, relative density and API gravity. Is this possible?
Our customer requires reporting of calculated base density values in three density types; all at the conversion group base temperature. How can this be achieved?
All MQCI conversion groups support such calculations. BCP template conversion group Q210 can be used as a reference:
To achieve this, you simply add the calculation function to the MQCI function module sequence:
and add the six density result parameters to the reading group:
Note: If you require e.g. the API gravity at 60 °F for a conversion group with base temperature 15 °C (or vice versa),
What are the ISO 91:2017 conversion groups?
Does QuantityWare BCG support natural gas quantity conversions for wet gases?
QuantityWare BCG supports quantity conversions for dry natural gases including LNG, as well as NGL quantity conversions.
To a limited extend, wet energy transaction quantities and test heating value entry is supported. Read QuantityWare Note 000059 for all details.
For customer specific wet energy and wet heating value calculations, a customer specific remote consulting document, which includes ABAP function module examples for customer specific wet gas calculations can be provided.
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!
How can I extend the density and temperature range for my product?
I have a product which has a base density beyond the supported measurement standard range, is it possible to extend the calculation range?
If the algorithm defined in the measurement standards allows so, you simply extend the range for densities and temperatures by selecting the “Extend range of standard implementation” indicator in the conversion group details screen:
Read Annex D: Standard Range Limit Extensions in the BCP Supported Standards Manual for additional information.