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.
cancel
Showing results for 
Search instead for 
Did you mean: 

ISU_S_METERREAD_CREATE

Former Member
0 Kudos
821

Hi all,

I would like to know the mandatory parameters for this FM in order to create meter reading ?

Your help is very much appreciated.

Best Regards,

Kevin Ng

4 REPLIES 4

joaquin_fornas
Product and Topic Expert
Product and Topic Expert
0 Kudos
368

Hello!

Mandatory parameters are:

X_ADATSOLL LIKE TE418-ADATSOLL

X_ZUORDDAT LIKE TE418-ZUORDDAT

X_ABLESGR LIKE TE418-ABLESGR

That means:

- Scheduled meter reading date

- Meter reading allocation date

- Meter reading reason

Hope it helps. Please, reward points if so

Joaquin

Former Member
0 Kudos
368

Check the include LEL01F00 where it is called multiple times under different scenarios. That will give you a hint about what are all needed to create a meter read. Merely looking required parameters on the funciton module will not help.

Former Member
0 Kudos
368

Hi,

Do you want to just create a MRO or you also want to upload the reads as well into the order.

If you use ISU_S_METERREAD_CREATE it will JUST create a MRO with no meter reads.

The parameters that I used for this FM are:

x_anlage = p_xy_zhhmr-anlage

x_equnr = p_xy_zhhmr-equnr

x_adatsoll = c_last_date

x_zuorddat = c_last_date

x_ablesgr = p_l_readreason

x_ebene = c_ebene_equnr

x_upd_online = c_true

x_no_dialog = c_true

TABLES

xt_eabl = l_eabl

EXCEPTIONS

Values as under:

c_last_date = 31.12.9999

c_true = 'X'.

Get back to me with your requirement so that I can suggest other FM that will load the meter reads after an MRO is created.

Thanks,

Ajay

0 Kudos
368

This message was moderated.