cancel
Showing results for 
Search instead for 
Did you mean: 

Implement BADI PT_GEN_REQ for program RPTARQEMAIL - ESS

former_member578055
Participant
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member578055
Participant
0 Kudos

The problem was with the parameters...

It is solved

former_member272021
Discoverer
0 Kudos

Can you please help me in what was problem with parameter.

0 Kudos

Hi Chetan,

I think you need to give your results back to parameter ch_receivers.

In this example:

...

append p_receivers_temp to ch_receivers.

endmethod.