Hi,
I need a functionality to create ABAP code to send email, but I do not know in which place it would be the best to put it.
While posting an invoice VF01 t-code, output type idoc is defined and normally is generated. Altghough sometimes partner profile is missing (it is customer number) and then idoc is not generated.
I use standard program RSNAST and edi_processing form for idoc generation.
1) is edi_processing form executed when partner profile is missing?
2) where would it be the best to put abap code to send email?
Thank you