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: 

sending smart form or script to distribution list as a mail attachment

Former Member
0 Kudos

Hi every body,

I want to schedule a program, In that I used to send a script form

as attachment. so Plz tell me how to send the script to distribution list

thanks in Advance,

Srinivasa rao.V

2 REPLIES 2

Former Member
0 Kudos

Hi Srinivas,

This is what exactly we have done in PM module. there is standard fm in PM QM06_SEND_PAPER_STEP2 which does it. We have copied this fm and changed it to our requirement. In that fm, please check the performs

PERFORM PRINT_REPLY.

PERFORM PREPARE_EMAIL.

PERFORM SEND_EMAIL.

Please reward points if useful

rgds,

Harikrishna.

Former Member
0 Kudos

Hi,

first create a shared distribution list using SO23 tcode......

now see this link for mailing a smartform...

[]

remove this block in the above link

RECEIVERS-receiver = 'FAREEDAS@INTELLIGROUP.COM'.
RECEIVERS-rec_type = c_u.
APPEND RECEIVERS.
CLEAR RECEIVERS.

and add the foll

RECEIVERS-receiver = <ur disti  list name>.
RECEIVERS-rec_type = 'C'.
APPEND RECEIVERS.
CLEAR RECEIVERS.

Cheers,

jose.