2015 Jun 01 6:40 AM
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.
2015 Jun 01 7:25 AM
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.
2015 Jun 01 6:42 AM
Which invoice are you talking about, do you mean a MM invoice? Check function group MRM_BAPI for this requirement.
2015 Jun 01 6:51 AM
2015 Jun 01 6:50 AM
2015 Jun 01 7:10 AM
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.
2015 Jun 01 7:29 AM
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
2015 Jun 01 7:25 AM
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.