2014 Nov 01 4:47 AM
HI Gurus,
I want to know about the difference between FUCNTION modules BAPI MTRREADDOC UPLOAD and ISU_S_METERREAD_CHANGE...
currently for us the functionality is that if a periodic meter reading/meter reading order exists on the same day as the incoming interim meter reading(09), then the FM ISU_S_METERREAD_CHANGE is used to upload the meter readings or else if no periodic meter reading /meter reading order is found then the fm BAPI MTRREADDOC UPLOAD is used for storing the meter readings. I want to know why these separate FM's are used, is there any difference in the way they store the meter readings?
Need a bit of urgent help..:)
Thanks a lot!,
Suman
2014 Nov 03 11:40 AM
Suman:
The easy answer is that one is a bapi and thus is provided for customer usage while the other is an internal-only function module which is not recommended for use by customers.
regards,
bill.
2014 Nov 07 7:49 AM
Dear Suman,
By BAPI, independent of existing MR orders, you can both change existing meter reading result and upload a new meter reading result. However, the FM only changes existing meter reading results or orders. I would suggest you to use ISU_O_METERREAD_OPEN, ISU_O_METERREAD_ACTION and ISU_O_METERREAD_CLOSE functions to create, change or delete meter reading results/orders if you especially are concerned about performance. You can search the content on how to use them.
About your functionality I cannot understand your requirement clearly. If it's about overlapping MR with different reasons, by assigning priorities, you can suppress interim or periodic orders by standard configuration within a specific interval. I think it's irrelevant to use BAPI or FM.
BR,
Eren