Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

User Exit for PO by Email

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

7 REPLIES 7

tarangini_katta
Active Contributor
0 Kudos

Hi Sam,

use this exit.

U can write u r code andu can send the mail.

Enhancement : MM06E005

EXIT_SAPMM06E_006

Thanks

Former Member
0 Kudos

hi,

you can use the BADI - ME_PROCESS_PO_CUST

or USEREXIT - M06E0004

Former Member
0 Kudos

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

0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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.