Funtion Module: SO_NEW_DOCUMENT_ATT_SEND_API1-How to add TO and CC email id

In the Funtion Module: SO_NEW_DOCUMENT_ATT_SEND_API1- How to add TO and CC email ids?
In the TABLE parameter RECEIVERS, there is field RECEIVER where we pass email ids and field COPY which should be 'X'.
But my concern is how will it distinguish that which email ids should be in TO and which should b in CC?
Kindly help. Thanks in advance.
Thanks & Regards,
Anindita Ghosh

Hello Anindita,
Say you need to send mail to 2 receivers and the 1st one is TO and the second is CC.
Just create 2 entries in the internal table of type SOMLRECI1.
wa_receiver-receiver = <email id of TO>
wa_receiver-express = 'X'.
wa_receiver-rec_type = 'U'   (if sending to an external internet id - yahoo,gmail etc)
append wa_receiver to it_receiver.
clear wa_receiver.
wa_receiver-receiver = <email id of CC>
wa_receiver-express = 'X'.
wa_receiver-rec_type = 'U'   (if sending to an external internet id - yahoo,gmail etc)
wa_receiver-copy = 'X'.
append wa_receiver to it_receiver.
clear wa_receiver.
Hope this helps
Regards
Sachin

Similar Messages

  • How to add MenuBar and MenuItems in JSP Form

    Help Me,
    Dear Forum,
    I am user of jDeveloper 10g working on JSP (Web Module).So How to add MenuBar and Menu Item, in Our jsp Form.What this type control exist?
    regards
    javed khan

    You should do this instead:
    iframe.setJMenuBar(i_menuBar);

  • How to add ParallelElement and  SerialElement in strobe Player

    hey frnd,
    i'm showing rtmp video from loud api to user and want to add some ads with list of mp3s.
    I'm using strobe player but not getting idea to do this .
    How can we send more parameters to strobe like xmllist or How to add ParallelElement and  SerialElement in strobe Player.
    thx in advanced,

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to add zooming and printing in e-magazine created by indesign?

    Could you please give ma an advise me how to add zooming and printing in e-magazine created by indesign? Many thanks

    Ooohh... you mean, like the one mentioned in http://indesignsecrets.com/adding-zoom-and-print-to-indesign-swf-files.php?
    But they want to get paid for their hard work, the bastards!

  • How to add depreciation and interest in product costing?

    how to add depreciation and interest in standard cost estimate and actual costing in product costing ?

    Hi,
    WHy the admin and sales overhead will be deited to cost of product. The cost of product should include only the factory related direct cost and overhead cost .. not the sales and admin ovehead. exp. for those treat them as period expense and pass on the same to COPa and there those can be analysed there..
    I hope i am clear..
    Regards
    Prabhat

  • How do I send and receive email with my @me email account

    I want to drop yahoo as my email provider, so how do I send and receive email using my @me account.  Using yahoo, you go to yahoo, then mail and your good to go. I'm not a tech expert and fairly new to apple products and would like the improved security of an apple address.

    Hi stephraerae,
    Welcome to the Support Communities!
    The article below may be able to help you with this.
    Click on the link to see more details and screenshots. 
    iOS: Adding an email account
    http://support.apple.com/kb/ht4810
    iCloud is one of the options you can choose for your email provider.
    iCloud: Set up iCloud Mail on your devices
    http://support.apple.com/kb/PH2621
    This article includes the specific iCloud server settings:
    iCloud: Mail server information
    http://support.apple.com/kb/HT4864
    Hope that helps ...
    - Judy

  • How to switch primary and recovery email on the adobe website

    how to switch primary and recovery email on the adobe website.  I am unable to switch my recovery e.mail with my main account e.mail.  how can i fix this

    http://forums.adobe.com/community/download_install_setup/creative_cloud_faq
    -has a link to manage your membership which may help

  • I'm a iMac new user,how to add signture to my email?

    I'm a iMac new user,how to add signture to my email?

    From the Mac Mail menu bar click Mail / Preferences then seelect the Signatures tab.
    You can add signatures from there.

  • TS3274 how do you edit and delete email contacts

    How do you edit and delete email contacts

    Go to that contact in your Contacts app and then tap the Edit button in the upper right and edit it.
    Make sure that in Settings>iCloud Contacts is turned ON.

  • TS3899 On a 5C, how do I delete and trash emails to where they remain deleted? Every time I check emails it gives me the prior day's too even though they've already been dumped. Highly annoying!

    On a 5C, how do I delete and trash emails to where they remain deleted? Every time I check emails it gives me the prior day's too even though they've already been dumped. Highly annoying!

    Settings/Mail,contacts,calendars. Tap on the name of the account. Tap Advanced. Tap Remove after one day.
    Also, do not try to read or delete messages while they are downloading. Wait until they finish and the phone beeps to confirm. If you delete messages before the mail retrieval session finishes they will not be removed from the server.

  • How to Add Header and Footer in Flat file

    HI All,
    I am using ODI 11g.
    MY interface is populating data from joining to 2 tables through sql query and Loads in to Flat file.
    But i need to add Header and Footer in the Flat file.
    In the below 3 lines
    The 1st line is header ....2nd line is Data ....3rd line is Footer.
    Any ideas how to work on this.
    HSB9KT.KTPRTO.EBSDATA.D0000000 20120626020636
    CFFE00263 SOLGSR014991340000527894536058173880207SOLNE06242012072420120000009048382650000247MRS
    T00000000000000000000
    Thanks,
    Lony

    Hi Drieux,
    i am able to add Header and Footer in this.
    But i want the header like Its like HSB9KT.KTPRTO.EBSDATA.D0000000 || SYSDATE (YYYYMMDDHHMMSS)
    In my Out put i only see header as HSB9KT.KTPRTO.EBSDATA.D0000000 .
    I have added a Variable where i am using SELECT to_char(sysdate,'YYYYMMDDHHMMSS') FROM DUAL query.
    create header (HSB9KT.KTPRTO.EBSDATA.D0000000 #v_DATE)
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=FFT_SOLSNP$CRLOAD_FILE=/home/tarak/FFT_SOL.datSNP$CRFILE_FORMAT=FSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=descrSNP$CRTYPE_NAME=STRINGSNP$CRLINE_OFFSET=1SNP$CRLENGTH=994SNP$CRPRECISION=994SNP$CR$$SNPS_END_KEY*/
    Any idea why this sysdate part is not showing in Header.

  • How to add image and videos in jframeusing netbeans..

    hi. im using netbeans where you can create a jframe form by just dragging and dropping items... can someone help me how to add an image? what item should i drag onto my jframe? help me pleasee...

    demo:
    import java.net.*;
    import javax.swing.*;
    public class ImageExample implements Runnable {
         public void run() {
              URL url = null;
              try {
                   url = new URL("http://blogs.sun.com/roller/resources/jag/SouthParkJAG-small.png");
              } catch (MalformedURLException e) {
                   throw new RuntimeException(e);
              JFrame f = new JFrame();
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              f.getContentPane().add(new JLabel(new ImageIcon(url)));
              f.pack();
              f.setLocationRelativeTo(null);
                    f.setVisible(true);
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new ImageExample());
    }

  • How to add tab and field in purchase order

    hi friends,
    I have to make changes in the purchase order. i have to add tab and a field in that.
    i know that badi ME_GUI_PO_CUST have to used this.
    can anyone send me the code or documenation fot add a tab and field using this badi or suggest me how to do this.
    if code or documenation is not available then send me the steps if possible.
    my mail id is [email protected]
                        [email protected]
    hitesh kumar

    Hi,
         1. Double-click on your implementation class
    2. Click on Attributes tab
    3. Add attribute SUBSCREEN1 with level Constant, visibility Public, type MEPO_NAME, initial value 'HDRSCREEN1'.
    please go thourhg the below link .... in this the steps are there and the some of the standard Enchancements also there.
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    See this treads :
    ME_PROCESS_PO_CUST header n item connection
    Re: BADI IF_EX_ME_PROCESS_PO_CUST~PROCESS_SCHEDULE
    <b>Reward points</b>
    Regards

  • How to add Terms and Conditions in Standard PO XSL-FO template

    Hi all,
    I want to add terms and conditions in PO_STANDARD_XSLFO template....
    anyone has idea how to do it...
    In the template one place is given to add Terms and Conditions, but i am not able to use it.....
    Regards
    Ravi

    You are not getting my question Vicha... I am explaining you.....
    For POrelated work....
    Like SQL,PL/SQL file we keep it in PO_TOP/SQL directory
    Shell Scripts file in PO_TOP/bin directory
    RDF in PO_TOP/report...directory
    Now i am confused here that we have to keep this Terms and Condition file in specific directory under PO_TOP
    OR
    we can keep it anywhere on Server in any directory.
    Regards
    Ravi

  • How to add header and footer to a file through ODI?

    hi,
    I want to add header and footer to my file..............footer should contain a counter so that page number can be displayed...................
    Can anyone please guide me .................
    Thanks .............
    Ritika

    what is the utility you are using to create file . Interface or OdiSqlUnload ?
    and what do you want to have Header and Footer as and how are you concluding the File as page 1 and page 2 etc ... ?

Maybe you are looking for