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: 

Creation Large amount of Meter Reading Orders via ISU_S_METERREAD_CREATE | MSG EL422

ud39
Explorer
0 Kudos
430

Need to create a large amount of Meter Reading Orders (100k installation) got an issue on how to debug.
Seems like this amount of data is too much that debugger can't really be used here it just exits.

When processing single installation everything is okay.
Therefore, I need to debug when processing large amount of data. 


That's why the first question does anyone has an idea on how to debug such a large amount of data or
ways to process such amount of data. We are looping through the 100k Installation and call 
ISU_S_METERREAD_CREATE


Second question during debugging or rather waiting on the debugger got the following message that stops the debugger.

EL422


An error occurred while uploading meter reading results via the IDoc of
type ISU_MR_UPLOAD or the BAPI MeterReadingDocument.Upload.
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.

I don't get this because no IDOC is being used to my knowledge and these functions are not called when using ISU_S_METERREAD_CREATE. 

Looking at the next message mean looking at EL423 right but if the debugger just exit 
I can't debug it.

Thanks 

Best Regards,

ud39

5 REPLIES 5

katrin_frenzel
Product and Topic Expert
Product and Topic Expert
300

Hello,
please do not use function module ISU_S_METERREAD_CREATE directly but 
BAPI_MTRREADDOC_UPLOAD instead.

Best regards,
Katrin 
SAP Support

0 Kudos
261

Hi Kartin,

thanks for your reply but could you give the reasons why I should use the BAPI. 
I think I am missing something crucial here because I thought BAPI are meant to be used with non-SAP
most of the time. Or is the BAPI in this case the way to handle creation of Meter Reading Documents.

Best Regards,

ud39

katrin_frenzel
Product and Topic Expert
Product and Topic Expert
237

Hello ud39,

the BAPI is the official supported way to upload meter readings into the system. FM ISU_S_METERREAD_CREATE is not released and therefore SAP will not guarantee that it is working in customer own coding.

Best regards,
Katrin
SAP Support

0 Kudos
236

Hi Katrin,

thanks for reply and information. But just to clarify with your point
and as context the system we are working it is a S\4 so you meant the FM
is obsolete right?

Best Regards,

ud39

katrin_frenzel
Product and Topic Expert
Product and Topic Expert
234

Hello ud39,

not released doesn't mean that it is obsolete but only intended for internal usage in SAP programs.

Best regards,
Katrin
SAP Support