03-19-2009 3:04 PM
Dear Experts,
I need an exit where in i can write the code to convert the PO into PDF and send it to the vendor by email at the time of PO release.
Kind help is very much appreciated.
Helpful answers will not go unrewarded...
Thanks
03-21-2009 2:30 PM
Hi Vinil & Katta,
Thanks for the help.
I am using R/3 4.6C, i did tried to use the exit : EXIT_SAPMM06E_006.
However I could not get the OTF file.
Kind help is much appreciated....
Can I get a sampl code please.
Thanks
03-19-2009 4:48 PM
Hi Sam,
use this exit.
U can write u r code andu can send the mail.
Enhancement : MM06E005
EXIT_SAPMM06E_006
Thanks
03-20-2009 5:59 AM
hi,
you can use the BADI - ME_PROCESS_PO_CUST
or USEREXIT - M06E0004
03-21-2009 2:30 PM
Hi Vinil & Katta,
Thanks for the help.
I am using R/3 4.6C, i did tried to use the exit : EXIT_SAPMM06E_006.
However I could not get the OTF file.
Kind help is much appreciated....
Can I get a sampl code please.
Thanks
03-22-2009 6:45 AM
Hi,
I had similar kind of requirement,use function exit EXIT_SAPMM06E_013 of exit SAPMM06E.This will get triggered when u press check button or press save.When you press save I_EKKO-EBELN will contain PO number.Here almost all the structures availble to get accounting data or what ever data u want.You need write like this :
IF I_EKKO-EBELN IS NOT INITIAL.
"Process the data and mail to vendor
ENDIF.
Hope this helps.
Thanks & Regards,
Rock.
03-22-2009 3:50 PM
Hi,
Instead why dont you ask the FA to create a Output type and config that and send the Email using the the output type.The advantage of doing this is you will have the track of email send in the system.
Why do you want to do this in an exit.
Hope this helps you
Raj
03-22-2009 3:51 PM
Hi,
Instead why dont you ask the FA to create a Output type and config that and send the Email using the the output type.The advantage of doing this is you will have the track of email send in the system.
Why do you want to do this in an exit.
Hope this helps you
Raj
03-24-2009 12:07 PM
Dear Friends,
Thanks for your time and effort.
As suggested I am using Exit : EXIT_SAPMM06E_013 for the requirement.
Raj: The FC has already configured the Email and it is working perfect.
but the requirement is to send the Same email as CC to the person who is sending it.
The FC cannot achieve this by message type.
So I am trying to send it using an exit. as CC as well.