2015 Nov 18 6:26 AM
Dear Guru,
Want to create third party invoice through transaction VF01 with reference to sales order . So please tell me BAPI .
Thanks !!!
2015 Nov 18 6:45 AM
Hi Manoj,
Try the below FM:
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_BILLINGDOC_CREATEMULTIPLE
In the BILLING_DATA_IN, insert a line and
pass REF_DOC_CA = any sales order doc type (eg: C/K/L), then you can pass REF_DOC = Sales order number
Check domain VBTYP for all possible values for REF_DOC_CA.
This was discussed lot of times in SCN. Search SCN with the above function modules.
Thanks,
Karthikeyan
2015 Nov 18 6:45 AM
Hi Manoj,
Try the below FM:
BAPI_BILLINGDOC_CREATEFROMDATA
BAPI_BILLINGDOC_CREATEMULTIPLE
In the BILLING_DATA_IN, insert a line and
pass REF_DOC_CA = any sales order doc type (eg: C/K/L), then you can pass REF_DOC = Sales order number
Check domain VBTYP for all possible values for REF_DOC_CA.
This was discussed lot of times in SCN. Search SCN with the above function modules.
Thanks,
Karthikeyan
2015 Nov 23 9:37 AM
Dear Karthikeyan,
Its correct answer , useful to create invoice with sales order number and sales order line item.
But my requirement is to create invoice ( VF01 ) with reference to MIGO document number and its line item.
Thanks !
2015 Nov 18 6:55 AM
Hi
could you try this FM BAPI_BILLINGDOC_CREATEMULTIPLE
I think you can create invoice with reference to sale order.
or try this RV_INVOICE_CREATE,
Regards
Ebrahim