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: 

After Execution of f.27 want to send the email along with print

Former Member
0 Kudos
630

Dear friends,

I want to send an email to customers after executing the transaction f.27 along with print.

Do we have any EXIT/BTE to send both.

right now i am able to print and i am using the standard print program RFKORK00.

I tried BTE 2310 , but it is not stoped in the FM .

thanks & Regards

Kiran Reddy

Message was edited by:

Kiran Reddy

Message was edited by:

Kiran Reddy

2 REPLIES 2

Former Member
0 Kudos
242

Hi Kiran,

Following exits are available for F.27:

RTR00010 Exit in report tree (display transactions)

RTR00020 Exit in node in report tree (change mode)

S38MREP1 Exit at Start report

Is any useful for your requirement. Assign points.

Asvhender

gokul_radhakrishnan3
Active Participant
242

Hi,

I know it is an old thread. But just wanted to add the answer for your final question, so that people can use this method. Answer for your question is, yes it is possible to control it through the selection- screen. No need for a new Z-program for this. Even if you check the above OSS note 549119, it is only talking about controlling it through master data if you check the mentioned include LXFKOF01(whether Email id maintained or not)

What we have done is, we have controlled the same through correspondence types. We copied the existing ones into new ones starting with E*. For example: SAP01 to EAP01 to denote that these are all for emails. And we check the correspondence type in BTE 2310 which is available in parameter I_BKORM-EVENT. Based on that, you either set FINAA-NACHA      = 'I' (Email) or FINAA-NACHA      = '1' (Print) or even you can include fax as well.(FINAA-NACHA      = '2').

If you have some hard coded stuff in your forms, what you can do is, you can reset the correspondence type back to SAP01 from EAP01 by using field symbols , by changing '(RFKORD10_PDF)BKORM-EVENT'.  Make sure you use correct print program in place of RFKORD10_PDF.

So when you run F.27 or F.62 with SAP01, it will mass print and when your run the same with EAP01, it will mass email.

With regards,

Gokul