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.
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
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
Add a comment