SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
Showing results for 
Search instead for 
Did you mean: 

Gas Factor ITHG cannot be defined uniquely (BIL108)

0 Kudos

Hi All,

In our EHP6 env we are using '03 - Quantity Determination during Meter Reading' functionality for gas division.

We have configured thermal gas billing and for this following have been created:

a) Volume Correction Factor - This is created with 02 thermal gas billing factor (inclusive of temperature and pressure).

VCF is to be calculated based on daily weighted averages of temperature and pressure.

For this:

1) Temperature area is defined and values are defined in TE448 table.

2) Weighting Key (Degree Day) is defined and values are maintained in TE107 table.

3) Gas Pressure Determination checkbox is ticked so that gas pressure is determined via Gas Pressure Area defined.

4) Air Pressure Ares is defined and daily air pressure area values are maintained.

5) Temperature and Pressure extra fields are selected.

6) No Special VCF procedure checkbox is selected so that standard controls defined in VCF procedure are followed.

b) Calorific Value Procedure - Calorific value district is defined and daily values are maintained in TE450 table.

CVP is defined to calculate arithmetic mean of daily values stored in TE450 table.

When actual meter read is entered via EL28 tcode, error - "Gas Factor ITHG cannot be defined uniquely" is returned and no expected MR is calculated.

I believe this error is caused due to the new quantity determination procedure - 03 (introduced in EHP6) defined in customising where gas consumption (in MJ) has to be calculated on save of meter read.

On debugging this issue further we found that there is issue in calculating the gas factor and internal table yt_ithg (SAP program - SAPLEA50, Include - LEA50F02) contains more than one entry. SAP only expects one entry with gas factor calculated.

Can you please let me know if anyone else has encountered this error or is there an issue in our VCF procedure defined?




Former Member
0 Kudos

Hi Mayuresh,

Thanks for the detailed query.

I have the following customization :

QD activated,

for VCF : 00 Gas thermal factor, Fixed VCF.

Daily Calorific Values maintained.

With this I am able to execute estimation successfully.

Can you check the error message description. Also you might have to tinker with the VCF procedure.



0 Kudos

Hi Rakesh,

Thanks for your reply.

There is no issue with using "Fixed VCF" and "VC Fact from Reg" VCF procedure. I have also tried this and was able to execute MR validation and estimation successfully.

I have selected "No Special Procedure" since requirement is to calculate VCF based on daily weighted averages of temperature and pressure.

Also there is no issue in calorific value procedure since the arithmetic mean of daily calorific values are calculated correctly.

As mentioned above on debugging the error further, I found that this error is caused in QD error check subroutine in the above mentioned standard SAP include.

Also the error long description does not help much since it says that gas factor was not calculated uniquely and specifies to check if actual MR is entered with correct meter reading category between previous and current meter read.

I strongly believe that this may relate to a standard bug introduced by QD (in EHP6) and hence wanted to check with you all.



0 Kudos


I had the below settings for VCF. Was able to estimate MR with this.