By VF04/VF06, multiple times proforma invoice gets created. I tried 311 copy control b/w delivery and billing type, for non india country, it showing item is not relevant for billing.
i have client requirement, once delivery created with ref to sales order or purchase order by using T.code: VL01N and VL10B.
Am thinking to go for Output type approach or BADI .
For Output type approach:
based on medium 8 i.e. Special function, Custom proram. In custom program need to call invoice BAPI create function module to create proforma invoice and this proforma invoice should be available in processing log of output delivery. BAPIRETURN function module to get failure messages and this failure messages should also update in processing when proforma invoice is not created, here the output type should be in failure status. So, here i can assign only custom program and no need to assign smartform. I can have output type (Print form) in proforma invoice based on normal output determination.
BADI Approach:
can you please let me know how to do in this approach. I want to generate proforma invoice once delivery saved. By using Publish save delivery method, can i develop custom badi for multiple use.
Please provide your valuable suggessions to make it happen.
Thanku,
RK