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

Invoice Creation by Function Module

Former Member
0 Likes
5,545

Hi Guys...

My requirement is to generate an Invoice for a particular Delivery. How can I do that by using Function Module for which I need to pass Delivery number.

Please refer any answer.

Regards...

Shravan Kumar.

1 ACCEPTED SOLUTION
Read only

former_member185054
Active Participant
0 Likes
3,317

hi shravan,

     hope you are creating only one invoice for all the delivery, if so use rv_invoice_create, if not use BAPI_BILLINGDOC_CREATEMULTIPLE.


Note for PGI i have used 'WS_DELIVERY_UPDATE'

Thanks and regards,

sampath kumar.

6 REPLIES 6
Read only

daniel_lippmann5
Active Participant
0 Likes
3,317

Which invoice are you talking about, do you mean a MM invoice? Check function group MRM_BAPI for this requirement.

Read only

0 Likes
3,317

SD Invoice.

Read only

Former Member
0 Likes
3,317

Hi Shravan

Try This function module 'RV_INVOICE_CREATE'.

Read only

0 Likes
3,317

Thank you Amar...

I just tried that Function Module which you have given me. But no invoice is getting created.

The error message is coming like this 'Goods Delivery has not been issued.'.

I really don't understand that error. Can you please give an information regarding this message.

Regards...

Shravan Kumar.

Read only

0 Likes
3,317

Shravan

I think PGI had not been done of  the OBD for which you are going to create Invoice.

Please Check it.

You can also use the BAPI BAPI_BILLDOC_CREATEMULTIPLE for SD invoice Creation.

All the details of this BAPI is present in function module documentation.

Thanks

Nikhil Kumar Singh

Read only

former_member185054
Active Participant
0 Likes
3,318

hi shravan,

     hope you are creating only one invoice for all the delivery, if so use rv_invoice_create, if not use BAPI_BILLINGDOC_CREATEMULTIPLE.


Note for PGI i have used 'WS_DELIVERY_UPDATE'

Thanks and regards,

sampath kumar.