Application Development 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: 

billing document creation

Former Member
0 Kudos

Hi,

Need inputs for creating invoice against a debit memo request. The FM I am using is BAPI_BILLINGDOC_CREATEFROMDATA...I need to create an invoice against a reference document i.e the debit memo request. Any inputs?Thanks in advance.

Regards,

Vijay

7 REPLIES 7

Former Member
0 Kudos

use

BAPI_INCOMINGINVOICE_CREATE

0 Kudos

Hi Asit,

I don't think that can be used to create invoices with reference to a sales document. The scenario is different. It seems to accept purchase releated data.

Regards,

Vijay

dhananjay_khamkar
Participant
0 Kudos

Hi Vijay,

Please go to transaction BAPI.

Sales And Distribution->Billing->ItCustBillingDoc->CreateFromData

In this you can see Documentation which will usefull to you.

Hoope this helps you.

Ragards,

Dhanu.

0 Kudos

Hi,

It does not have ny english documentation. However if you'd see my above post, that is the FM that I'm using. Could anyone tell me how to correctly use that FM. it is giving me a plant error, while there won't be any plant for a debit memo request. we don't create deliveries against a debit memo request, so the plant information is not there. Thanks in advance.

Regards,

Vijay

0 Kudos

Well doesn't this mean that the plant is either defaulted in the online version or that the config is not done right ?

Enjoy

Former Member
0 Kudos

0 Kudos

The plant problem is solved. we have to supply the plant of the material master for that material.

However I'm facing this problem when I create with reference. All data from the reference document is getting copied onto the invoice, except for the quantity. Is there anyway I get the quantity also copied from the sales document to the billing document. is there any copy control routine that copies the quantity from sales document to the billing document, when creating by reference.

Regards,

Vijay