03-01-2010 5:07 PM
Hi All,
I have a requirement to create Proforma invoice for a shipment with a particular invoice type. Are there any FM's/BAPI's available for this. I checked the FM SD_SHIPMENT_CREATE_INVOICE but this takes the invoice type from config.
Regards,
Nilesh.
03-01-2010 5:30 PM
03-01-2010 5:46 PM
Hi,
I see that this BAPi is creating billing documents for sale orders and not for deliveries. Can you please suggest any other BAPI's/FM's to create proforma invoice for shipment/deliveries.
Regards,
Nilesh.
03-01-2010 6:10 PM
04-23-2010 2:18 PM
Hi Nilesh,
I have got a similar process.
When I create a shipment with one or more deliveries, I have generate an invoice "proforma" in background. I think to do it with a worflow.
I want a module function or method which allows the grouping of invoice for several deliveries as my customazing for the type invoice standard (financial).
In final, I want two type invoices for one delivery (type standard (financial) and type "proforma"). In standard customazong SAP allow one type only.
If you have got an idea... thanks a lot in advance for your feedback.
Regards.
Lionel
04-23-2010 2:30 PM
Nilesh,
Correct BAPI is BAPI_BILLINGDOC_CREATEMULTIPLE, get all delivery and customer information and pass it to parameter BILLINGDATAIN
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
TABLES
billingdatain = t_billing
return = t_return
success = t_success.
Thanks
RK
04-23-2010 4:07 PM
Hi RK,
I made a test. You are wrong. You can't user this BAPI to create an invoice from deliveries !!! It's work from sales order document only.
Another idea ??
Regards.
04-23-2010 4:10 PM
Hi,
Please check again. There is one importing parameter that needs to be filled in with the delivery type. It works without any issues.
Regards,
Nilesh.
10-14-2010 2:27 PM
Hello everybody,
Sorry for commenting on already "closed" thread but I think the answer of the problem is not clearly provided.
As Nilesh said an additional parameter of table BILLINGDATAIN should be populated in order to create Invoice from Delivery with BAPI_BILLINGDOC_CREATEMULTIPLE. The name of the parameter is REF_DOC_CA and it is part of the include structure BAPIVBRK_APPEND (I wouldn't confirm that it is available before ECC6.0). In this paramter the category of the reference document should be entered (in this case "J" for deliveries).
I think the thread is far more "complete" now : )
Edited by: Vladimir Hristozov on Oct 14, 2010 3:28 PM