Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ABAP function to create / save a billing document

Former Member
0 Likes
1,423


Hi Everyone

We're trying to create a process that creates Sales Orders (Documents) for customers and

billing document's.

We've found BAPI_BILLINGDOC_CREATE

The solution is a .Net solution, calling ABAP functions e.g. BAPI's

It looks like this BAPI is an Enjoy transaction as it takes us to a SAP transaction to complete.

i.e. it has a visual element to it

Is it possible to call this or another module or function that would create the billing document for us ?

As we want to call this remotely

Regards

4 REPLIES 4
Read only

Former Member
0 Likes
1,086

The BAPI_BILLINGDOC_CREATE uses a call transaction instead try using BAPI_BILLINGDOC_CREATEFROMDATA.

Vikram.M

Read only

Former Member
0 Likes
1,086

You can also use BAPI_BILLINGGDOC_CREATEMULTIPLE to create multiple documents in a single call without doing Call Transaction approach.

Jim

Read only

Former Member
0 Likes
1,086

Hy Nuck,

Try to use bapi RV_INVOICE_CREATE. It can use for multiples documents.

Regards,

Bruno

Read only

0 Likes
1,086

RV_INVOICE_CREATE is not a BAPI and this function is not released to the customers.

Unless the immediate invoice creation is an absolute "must have" you might also want to consider just running Billing Due List (SDBILLDL) separately and let it take care of the billing process. It's the process that many (if not most) SAP customers use. Otherwise if there is an error you'd have to rely on someone not just to correct the error but also create an invoice manually.