Sitemap

Amicuk Programming Answers

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

-0001-11-30   Views:0

Advertisement

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  

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

The replay answer
Advertisement
hi,
u can look at the following code sample
here m selecting my reciecevers based on my condition -  e-mail receivers.
    SELECT SINGLE smtp_addr FROM adr6 INTO v_mailaddr    "#EC *
     WHERE addrnumber = i_addrnum.
    wa_it_reclist-receiver = v_mailaddr.
    wa_it_reclist-express = c_X.                        " X
    wa_it_reclist-rec_type = c_U.                       "U -> Internet address
    APPEND wa_it_reclist TO it_reclist.
Sending Mail
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
     EXPORTING
      document_data                  = w_doc_chng
      put_in_outbox                  = c_X            "X
    COMMIT_WORK                    =
   IMPORTING
    SENT_TO_ALL                    =
    NEW_OBJECT_ID                  =
     TABLES
      packing_list                   = it_objpack
      object_header                  = wa_objhead
      contents_bin                   = it_objbin
      contents_txt                   = it_objtxt
    CONTENTS_HEX                   =
    OBJECT_PARA                    =
    OBJECT_PARB                    =
        receivers                    = it_reclist   <............................
     EXCEPTIONS
       too_many_receivers            = 1
       document_not_sent             = 2
       document_type_not_exist       = 3
       operation_no_authorization    = 4
       parameter_error               = 5
       x_error                       = 6
       enqueue_error                 = 7
       OTHERS                        = 8 .
u can look @ the entire code .. i have put into code tutorial ..
https://wiki.sdn.sap.com/wiki/x/MYOmAw
it was a FM to send Email ..
hope it would prove useful to u ...
regards,
prashanti

Go to See the other 12 answers

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

Category:DefaultRelease time:-0001-11-30Views:130

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  [More]

Mailing remittance advice to multiple email id of vendor

Category:DefaultRelease time:2015-10-11Views:130

Hi, We have requirement that remittance advice need to be send to multiple email ids of vendor. I have implemented SAP note Note 1033893, which says after applying the note the email can be sent to multiple email ids by seperating the email ids by sp[More]

Can no longer send or receive email from any account after Security Update

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have a problem with my email in Mail. I let software update install the latest security update (007) a few days ago. I have not been able to send or receive my email since the update. I have several accounts and use Mail as my client for all[More]

I cannot send email - error message as follows : 'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk.' I can send email from other apple devices, and the email settings are identical. Any ideas?

Category:DefaultRelease time:2015-10-11Views:130

For some reason I cannot send email - all was working fine, but now I get the following error message when I try to send email: 'The sender address (my email address) was rejected by the server smtp.tiscali.co.uk' I can receive incoming mail ok and I[More]

My computer has been infected with a Trojan Horse.  It has completely taken over my Mac email account and was sending out malicious email to everyone in my address book.  At the same time it infected my iPhone---I am no longer able to receive or send emai

Category:DefaultRelease time:2015-10-11Views:130

My computer has been infected by a Trojan Horse.  It has taken over my Mac email account and began sending out malicious emails to everyone in my address book.  I cleared out my MAC address book and began using my AOL email account. It took a few day[More]

I cannot send or forward email in Outlook from my iPad

Category:DefaultRelease time:2015-10-11Views:130

I cannot send or forward email from Outlook on my iPadTry deleting the mail account and setting it back up again.Read other 2 answers[More]

My iPhone 5c won't send iMessages, snapchats, email from the Mail app, and it won't load YouTube. Other internet apps like Pandora and Instagram work fine though. Any suggestions on how I can fix this?

Category:DefaultRelease time:2015-10-11Views:130

A couple days ago I first noticed the problem when snapchats would appear on my lock screen but when I opened the app I kept getting the error message that the app was not able to refresh my story. Then the next day I was no longer able to send iMess[More]

HOW TO SEND A HEBREW EMAIL WITH ATTACHMENT USING DEMO_MAIL

Category:DefaultRelease time:2015-10-11Views:130

Hello All, This is Not a question , just attaching something I've implemented and might be interesting for few of us, This package I'm attaching allows to send Hebrew Language email + attaching files to it. This package is based on demo_mail package[More]

I just bought an iPhone and it seemed to be working well until I went to sync it to my computer and it synced under my old ipod. Now when I go to text it sends as my email and I can't change it to my phone number or anything. How can I fix this?

Category:DefaultRelease time:2015-10-11Views:130

Pretty much what the title says but if for some reason it doesn't... I just got an iPhone 4 today and it was working well until I went to hook it up to my computer and it asked me if I wanted to set it up as a new phone or back up all my stuff from m[More]

My iMessage on my mac is sending from my email. How do i change it to send from my phone number?

Category:DefaultRelease time:2015-10-11Views:130

My iMessage on my mac is sending from my email. How do i change it to send from my phone number?As far as I know, you can't. Your mac can only send from emailadressesRead other 2 answers[More]

I can not send or receive email on my Iphone 5S, error message.  Been like this for 3 days.

Category:DefaultRelease time:2015-10-11Views:130

I can not receive or send email from my Iphone.  Microsoft had server issues, says it is fixed but still can not send or receive emails.  Anyone else having this problem?The outrage is still ongoing, in the mean timeyou can use your browser to check[More]

Hot
Cannot install my download due to above error message.Hi revbos, Apologies for your incovinience. Requesting you to please go to https://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=us. When you click on download button (after [More]
I am trying to update the automation of sub variables. The idea is that the user will set the StartMonth in the file and than based on the value the 3 sub variable for months will get updated. Below is the script and the Maxl Windows Script Set Start [More]
I am getting the error "We're sorry we cannot complete your request on the iTunes store at this time. Please try again later." on both my iPhone and iTunes on my computer. What is wrong with iTunes? Is the server down or what? I need to download [More]
Hi , I was looking for information how to execute the UCM service in custom component and found a couple of blogs regarding the same : http://jonathanhult.com/blog/2012/06/execute-a-service-from-a-java-filter/ http://jonathanhult.com/blog/2012/10/who [More]
Hello. Just noticed a bug with my 2-year old iMac 17. It won't load DVDs or data CDs. It just makes noise and then spits them out. Music CDs work, however. Tried a few of the tricks suggested here on this board but to no avail. I don't use the drive [More]
Hello how to install my photoshop elements 9 unto my new laptop that hasn't a disc drive? Thanks  If you purchased the boxed product you will need the original disk. If you purchased from the Adobe on-line store a download may still be possible. Clic [More]
When I use the .Source property of the WebBrowser control, it displays the XML file I pointed to, but then puts a security banner at the top, stating that some content has been disabled.  I can't figure out how to stop that warning from appearing.  I [More]
In ECC 6.0, we are using inbound idoc type INVOIC01 and function module IDOC_INPUT_INVOIC_MRM to enter MM invoices & FI-postings for incoming purchase invoices that processed in an external system. The idoc raises error msg M8 534: "Balance does [More]
i've noticed a lot of people inquire about lower priced camera options, i'd like to go in the other direction. is there a higher quality (yes, higher priced) camera for the mac that also has zoom capabilities (not digital zoom)? thank you,Hello windo [More]
I get the following error when I attempt to create a table from my oject in the workbench: Throwable Class Name: oracle.toplink.exceptions.QueryException Message: when trying to generate a table from a class in the workbench i get the followin error: [More]