cancel
Showing results for 
Search instead for 
Did you mean: 

condition type that cal amount per meter reading

manthana_c
Contributor
0 Kudos

Hello Guru:

Can we set up condition type that read meter readings(IK34) to cal amount.

Pls advise.

Thx in advance.

Accepted Solutions (1)

Accepted Solutions (1)

jakubsalata
Participant
0 Kudos

Hi,

one of my clients had similar requirement... I have created new calculation method, which uses BAdI BADI_RECD_CALC_RULE. Method IF_EX_RECD_CALC_RULE~GET_VALUES reads measurement history from meter on calculation object and gives calc values (recalculated to month volume).

Former Member
0 Kudos

Hi Kuba,

We have tried this method, but are unable to address in case the object is having more than one meter.

Since you are using this method, how can we fulfill multiple meters scenario !!!

Manthana,

we are using work around, while updating meter reading we are updating object measurement in RE contracts. Rest is standard to calculate condition values basing on the RE contract measurements.

rgds,

Srini

Answers (1)

Answers (1)

jakubsalata
Participant
0 Kudos

In my BAdI calculation there is measure type parameter. From view V_TIVBDMEASMETER for measure type put in calculation parameter it gets meter characteristics and reads history measurement from meters on calculation object with those characteristics. For each common period of all measurement histories it sums consumption (recalculated to month volume).