Skip to Content
0
Nov 26, 2010 at 03:20 PM

Implement BADI PT_GEN_REQ for program RPTARQEMAIL - ESS

115 Views

Hi,

I was trying to implement this method with the idea to send, always, a mail to the HR responsible.

For that I've written the following code (example):

method IF_EX_PT_GEN_REQ~GET_ADMINS.

data:

admins_receivers TYPE ptreq_email_receivers_tab,

p_receivers_temp TYPE somlreci1 .

p_receivers_temp-receiver = 00000001.

p_receivers_temp-rec_type = 'P'.

append p_receivers_temp to admins_receivers.

endmethod.

The problem is that it is not being sent any e-mail.

Any idea what is missing?

Thanks!

Any idea where can I find an example?

Edited by: Pedro Taveira on Nov 29, 2010 6:52 PM