Skip to Content
0
Former Member
Dec 05, 2008 at 08:16 AM

How to send c.c. email po to vendor?

201 Views

My print program has the following codes for sending email PO to vendor

    CALL FUNCTION l_fm_name
     EXPORTING
       control_parameters = l_prn_ctrlop
       output_options     = l_prn_comp
       user_settings      = ' '
       mail_recipient     = ls_recipient
       mail_sender        = ls_sender
     TABLES
       l_xekpa    = l_doc-xekpa
       l_xekpo    = l_doc-xekpo
       l_xeket    = l_doc-xeket
       l_xekkn    = l_doc-xekkn
       l_xekek    = l_doc-xekek
       l_xtkomv   = l_doc-xtkomv 
   EXCEPTIONS
       formatting_error   = 1
       internal_error     = 2
       send_error         = 3
       user_canceled      = 4
       OTHERS             = 5.

Only 1 address is allowed for parameter "mail_recipient". How can I send PO to more than 1 vendor? And is it possible to distinguish to: and cc: for recipient?

Thanks in advance.

Vicki