I need to send outbound idoc of type FIDCCP02.
This idoc will be generated when Document Created (FB01) / Document Chaged (FB02).
1) I think we need to find the Enhancement / BADI which is getting triggered while doc created /
2) Using function *FIDCC2 we can generate IDOC
3) We need to configure partner profile in WE20.
Suggest if we can implement in some other way and which is the most feasible (performance wise as well) .