Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

BAPI's for Insert meter reading and generate Invoice

Hello all,

I am new to SAP.

For Gas meter reading I need some Standard BAPI with input parameter for below points,

1. Standard BAPI to get pending MRO (Meter Reading Orders).

2. Insert Meter Reading using standard BAPI and also need to generate invoice for same meter reading.

If any one can provide information or BAPI names with details then it would be great help to me.



Former Member


Sorry, but I have to ask you at this point: has your employer sent you for any SAP IS-U training at all..? The reason I'm asking is simple: SCN is not supposed to be (and in the case of relatively complex processes like IS-U Billing and Invoicing simply can not be) a replacement for training (and experience in programming for IS-U). You simply must  have certain minimum of basic IS-U knowledge in order to be effective.

The phrase "Invoices are generated for meter reading" IMO makes no sense in IS-U context. It betrays IMO lack of understanding the basic terms, the IS-U entities involved, and the high level processes involved: IS-U Billing process, and ISU Invoicing process specifically. Reading SAP IS-U Documentation I've linked to is, unfortunately, not a replacement for training and experience either...

IS-U Billing bills Contracts (Billing Orders) and produces Billing Documents. Yes, the consumption to be billed can come from Meter Readings, so one could still say: "billing the readings". But Invoicing works with Billing Documents (and FI-CA Accounting Documents, SD Billing Documents or external Billing Documents), it invoices Invoicing Orders (for Contract Accounts). So the phrase "Invoices are generated for meter reading" IMO makes no sense whatsoever...

If you do not have the basic IS-U knowledge, then whoever put you on this task (which I suspect is programming some kind of custom "Meter Reading-to-Invoice" process) is acting highly irresponsponsibly and I don't really want to be part of it then... For two main reasons: 1) I suspect we will not get very far; 2) even if you manage to programm something, it will be nightmare to support.

But to answer your specific question: to the best of my knowledge, as of IS-U 605 (EHP5 for SAP Utilities) there are no BAPIs for IS-U Billing Document and IS-U Utilities Invoice. There are, however, so called BOR Objects:

BILLDOCAUT for Billing Document:

PRINTDOC for Utilites Invoice (aka Print Document)

which implement the functions you might be looking for.

PRINTDOC (and the Create method specifically) are released for customers. BILLDOCAUT is not in the status 'released', but William Eastman has suggested it on SCN several times, so I guess it's ok to use it in custom scenarios.

I would, however, recommend to also program simple custom wrapper functions (Z BAPIs if you will) for the required BOR Methods, rather than call them directly in whatever application code you need to program. You will, of course, also need to learn to program with BOR objects in order to use them.

Please don't be discouraged by my response and try to do the best you can do in the circumstances (I will try to help), but if you don't have enough specific IS-U knowldge, then you are not up to the task, I'm afraid...

EDIT in: Program RSWOCLNT demonstrates how to use the macros to call the BOR object "methods"... You can't generate wrappers for BOR object methods; you need to programm them.

Good luck and cheers,


Message was edited by: Jānis B

1 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question