Multiple mails going upon single execution

Hi All,
I have developed a report which sends mail, to the recipients entered on screen.
When I tested it it worked fine, in all the systems. But when the user tested it, 3 mails went
for a single execution.
Are the scot settings responsible for this. Kindly suggest the way to solve this...
In the program, I have checked that the clear statements are properly used.
regards
Rudra

Hi Aditya,
Thanks for the response. Will you kindly let me know, which setting in Scot controls this. In program(using my id) ,
I debugged and checked, its working fine .
Regards
Rudra

Similar Messages

  • Error:  Current provider does not support returning multiple recordsets from a single execution

    Hello,
    The following piece of code which has been working for the
    past five years suddenly started giving me the following error:
    Current provider does not support returning multiple recordsets
    from a single execution
    We have recenlty moved this site to a new server. Could this
    error be related to their CFAdmin settings? Eveything else on the
    site seems to be working fine. Or am I using an outdated tag or
    something?
    Any light in this direction is appreciated, thanks.
    Here's the code:

    There doesn't seem to be anything that seems wrong with the
    code. It might have something to do with the Max Pooled Statements
    or Number of Connections settings in the CF Administrator, but it
    could just as easily have something to do with a setting on the
    database. I would check with your provider.

  • PO print sent to multiple mail id  via email

    Hi,
    We are using the standard output type NEU, medium 5 (external send).i maintained multiple mail id in single vendor master,
    i want to sent po print out for multiple mail id via email,after wt are all configurations do as a mm and abap consultant,plz
    suggest.
    Regards
    Sam

    Hi,
    You requirement is not specific.You want to print PO or want send PO via E-mail to vendor.
    You can maintain multiple E-mail ID's for a vendor master.In standard possible to send PO by e-mail to vendor to single e-mail ID ONLY. If you want to send PO by e-mail in multiple (e-mail) ID's, you can go for development with ABAPer for using of function module OR can work with group e-mail concept( check with system admin team).
    Regards,
    Biju K

  • Multiple PDF Sending via single mail

    Hi Experts,
    I have a requirement in which when the user runs a report, he could get many invoices. We need to send all the invoices in the list converted to PDF and sent all the PDF(Multiple) to the sold to party mail ID.
    If the Size of the PDF attachment exceeds we need to send as multiple mails.
    I have only the invoice number and output type from the report. ITs not a print program there is no Close_form to get otf_data.
    Is there any function module to convert a invoice to OTF then to PDF. ?
    Is there any function module to send Mutiple PDF(MIN of 10) attached in a single mail ?
    Regards,
    Venkatesh.

    Hi
    USe this link.
    http://forums.sdn.sap.com/search.jspa?threadID=&q=multiplePDFinSinglemail&objID=f231&dateRange=all&numResults=15&rankBy=10001
    Regards
    Azeez

  • Multiple Mail attachment (PDF and Excel) in a single mail

    Please help me to send the PDF and Excel attachment in the single mail. I am using the FM for PDF is 'SO_NEW_DOCUMENT_ATT_SEND_API1' and for Excel 'SO_DOCUMENT_SEND_API1'. Currently the program sends 2 different attachments for PDF and Excel.
    Thanks in Advance.

    Hi,
    If you want to send multiple attachments in a single mail then i would suggest to use
    CL_BCS for achieving it.
    Look at standard program BCS_EXAMPLE_6 for more clarity.
    There you find this statement of code
    document1 = cl_document_bcs=>create_document
    After creating one document using this you can use the same statement again and create another document.
    document2 = cl_document_bcs=>create_document
    Both documents should have different name.
    Then use
    send_request->set_document( document1 ).
    send_request->set_document( document2 ).
    This will attach both the documents to a single email.
    Hope this helps.
    Regards,
    -Sandeep

  • Selecting data from Multiple Partitions in a single select stmt.

    Hi all,
    My Database is very large & my tables are partitioned.
    My question is:
    1) If my data is spread across multiple partitions, is there any way to select data from multiple partitions in a single query?
    If we dont mention partition name also it works fine, but perofmance wise it will be very slow. (Using EXPLAIN PLAN)
    (Note:I dont want to make use of Union concept, i want to do it in a single select statement)
    For ex:
    qry1.sql:
    select empno from emp_trans partition (P012000)
    This above query(qry1.sql) will work fine.
    qry2.sql:
    select empno from emp_trans partition (P012000,P022000)
    The above query(qry2.sql) will return will return the following error:
    ORA-00933: SQL command not properly ended
    If anybody has any solution for this, pls mail me immediately.
    Thanks in advance
    bye
    null

    All my queries are dynamically generated. All my tables are also indexed partition wise based on date field. My question is, if i want to mention multiple partition names at the time of generating my query(select), then with parformance will be good. I have refered some books, inthat what they say is to use UNION concept, i dont want to use that, instead i want in a single select statement.
    Thaks for ur reply
    Bye
    null

  • Good mail going to Junk folder -- even Apple mail

    I know there are other threads on this, but no one seems to have a resolve for it.
    Mac OS X 10.6.8
    Just got my computer repaired at Apple, new harddrive, new video card.  So it's starting anew.
    However, even my MacBookAir is putting my GOOD MAIL in my JUNK FOLDER.  So it's universal on all my devices.
    Why is my mail going to my junk folder.  It's annoying to have to check every single piece of mail with "this is not junk" and then drag it to the IN box.  And then even that doesn't work.  I'll still receive the email from the same sender back into my Junk Folder.
    I see a LOT, hundreds, of VIEWS for this issue, but no one is yet to resolve it.
    Hope someone can solve it.  Thanks

    Well, let's put it this way, it was never a problem before.  A new harddrive was installed on my computer so I'm starting from scratch.  I have no "rules" set yet.  My mail supplier is MAC --.mac, .icloud -- mail.  So my provider is MAC or APPLE I guess.  It's mac mail.
    Everything is set to "default" right now. I followed someone else's instructions to RESET the Junk Mail.  Did that.
    But I don't know any other proceedures to take to stop ALL MY MAIL from going into the JUNK EMAIL BOX.
    Never did that before, so there must be some setting, or not, that is causing it to do that.
    I have "enable junk mail filtering" checked.  The following types of messages are EXEMPT, my address book, previous recipients, messages using my full name, all checked.
    Certainly "previous recipients" should not be sent to the junk folder if that option is checked to be exempt.
    What's left?

  • Mail goes offline since 10.5.4 update

    In the week or so since I did the 10.5.4 upgrade, I've noticed that over the course of the work day (machine is not asleep, and network is supposedly always connected) when I look at my Mail Inbox I periodically see the little warning triangle - the one with the ! in it - next to my Inbox. This supposedly means that Mail cannot get online and is therefore offline. When I see this, I hit "Get Mail"...and when I do, Mail goes out and checks and goes "bonk" and all seems fine. Until it happens again...which could be within minutes or anytime thereafter.
    (additional info...) Sometimes when I go to manually check mail (hitting "Get Mail") when the little triangle ISN'T present, this will cause the triangle to appear. Then I hit Get Mail a few times and it goes away. It seems like Mail attaching to the network is a bit of a hit or miss affair.
    Thing is, this did not happen before 10.5.4. It's also happening on multiple machines (all Intel MBPs configured similarly) on 2 different networks. These machines have always been set to check for new mail once a minute...and that's clearly what they're trying to do. Before 10.5.4, this worked reliably; but now it doesn't. And again, NOTHING other than 10.5.4 is different. Same ISPs, same routers (all Airports), same MBP hardware. Airport signal strength (as seen in the menubar) seems fine and isn't visibly dropping bars.
    Apparently what is happening is that Mail is periodically losing its network connection until you manually force a check for mail. This would imply that 10.5.4 broke something in the way that apps (e.g., Mail and perhaps Safari...which also seems to "not find server" sometimes now) access the network? Has anyone else noticed this?
    Message was edited by: jsun

    I just found this issue addressed on MacFixIt - http://www.macfixit.com/article.php?story=20080730133625417 is website. Below is a summary.
    For some users, this problem is just a matter of corrupted settings files, and removing them may help. To do this, go to the /username/Library/Preferences/ folder and remove the file com.apple.Mail.plist, then restart the Mail application. When Mail starts, enter one account at a time and test each accordingly. For MobileMe users who were switched from .Mac, set up the accounts with the "[email protected]" address instead of the old "@mac.com" address.
    I just followed directions and basically I re-created the email accounts. Fortunately, all my old emails still showed up. I hd to reset my preferred "views". I think the new set up process also reset my Comcast settings. A few months ago I had to reset ports (Comast refused to say why), so I will see what happens. But so far so good.

  • ICloud and multiple mail accounts...

    ... is something of a mystery to me. I have 4 accounts added to the mail app on my iPhone 4 and the unified inbox is a real handy thing. Saves me time since I don't have to check the accounts individually. This is great. Or would've been if it wasn't for the fact that I nevertheless still have to check mails in at least a couple of places every time I recieve one. If I read the new mails in the inbox they get marked as 'Read' right? Well it turns out that they indeed are but they are still not read according to the iCloud inbox. I still have to check all the newly arrived mail there as well since otherwise they mail(s) still appears to be unread. The badge is still in place on the mail icon and in the mail app it still shows the so-called unread mails. Even if I've already read them in the unified inbox. So in other words, the iCloud service is instead of being that handy little thing, a rather annoying thing since it apparently can't keep up with what's read or not. So I wonder if there's something I don't grasp here, settings-wise or whatever it might be. Anyone else experiencing this trivial but nevertheless annoying problem? I see no point in having an unified inbox if I still have to read the same friggin' mails twice every single time.
    Here's hoping for a nifty little solution to this. And without any trolling please. I'm interested in serious answers. If you can't contribute with a viable answer or suggestion then please refrain from posting a reply.

    With regard to FT and iMessage... Have a look Here-
    For the Other.. Have a read here...
    https://discussions.apple.com/message/18409815?ac_cid=ha
    And See Here...
    How to Use Multiple iDevices with One Computer

  • How do I host multiple domains on a single Messaging Server?

    How do I host multiple domains on a single Messaging Server?
    <p>
    To host multiple domains on one Messaging Server, use the
    mailAlternateAddress attribute. If you want to host two domains
    (customer1.com and customer2.com) on your server mail1.domain.com,
    make sure that:
    The various domains (in DNS) point to the installed mail server
    (you must have the MX records that
    points mail for customer1.com to mail1.domain.com and
    customer2.com to mail1.domain.com)
    That each person receiving mail at customer1.com and
    customer2.com has an appropriate mailAlternateAddress
    attribute describing the appropriate email address. For
    instance, John Doe can have an email address (i.e. the value
    of the 'mail' attribute for the John Doe LDAP entry) of
    [email protected] and receive his mail on
    [email protected] (the value of the mailAlternateAddress
    attribute)
    With Messaging Server 3.5, mailAlternateAddress can take the
    form of @mail1.domain.com. If jdoe's mailAlternateAddress is
    set to @mail1.domain.com, mail sent to [email protected]
    will be delivered to [email protected]

    jaygatsby1123 wrote:
    So what exactly am I doing with virtual hosts?  There is a place for Aliases...  What would I put in the "Aliases" box?
    Any other host name that you want to resolve to the specified virtual host.  It's quite literally an alias.
    if you want www.example.com and www.example.org to end up at the same web site and you already have a virtual host — Apple refers to virtual hosts as sites — configured for www.example.com in Server.app, then you'd add www.example.org as an alias for the www.example.com virtual host (site).
    Virtual hosts are implemented in a web server using some details of the HTTP or HTTPS protocol, and what the web browser (client) specified.  The client gets handed an IP address or a domain name by the user, and the client then fetches the associated IP address for the target web server from the client's DNS services or local host database, and the client then connects to the IP address and passes over the text string that the user had requested — the IP address or domain name or even some local shortcut set up in the client system — via the HTTP or HTTPS protocol.  The web server receives and processes this arriving text string from the client, and uses it to select which web site to render back to the web client.   One subtle detail lurks here, too: the server's own DNS configuration really isn't involved in the selection of the virtual host.

  • How to use multiple hierarchies for a single char in single query

    Hi,
    Is there any way that we can use multiple hierarchies for a single char in single query. I tried and it just allows me to select one hierarchy even if I use hierarchy variable.
    I have a requirement where user wants to see information related to a cost center with different cost center groups in different hierarchies (every year has different cost center group hierarchies).
    Suppose I want to see information related to a cost center from year 2001-2004.in these four year cost center may have been associated to different groups depending upon that year hierarchy. How can I do that?
    Thanks
    Jona

    Nope. Now way to do this.
    There is always just one hierarchy assigned to a characteristic. And even if the hierarchy was time dependent, it only reads it for one key date and not according to transaction data.
    Regards,
    Beat

  • How to use multiple mail sending address in SMTP relay for exchange online

    We have one SMTP relay configured with [email protected] credentials. one oracle application automatically shoots mail to users using this [email protected] to users. So if recipient reply on auto-generated mail it goes to mailbox of [email protected] (so that application
    team see and reply to any query raised by recipient). 
    Now my requirement is, I want to notify users about their password expiry before 10  days (something like that) I have made the script and tested it in lab. But the main requirement is I want to use [email protected] mail ID for sending mail. And if any recipient
    reply on the auto-generated mail it goes to [email protected] mailbox (which is managed by different team).  
    So the query How can I use two different mailbox enabled IDs for sending mails on a single SMTP Relay server
    Thanks
    Pankaj Sharma

    Thanks Ed and Mavis for the reply and suggestion, but here scenario is different. 
    We have one SMTP relay configured with [email protected] credentials. one oracle application automatically shoots mail to users using this [email protected] to users. So if recipient reply on auto-generated mail it goes to mailbox of [email protected] (so that
    application team see and reply to any query raised by recipient). 
    Now my requirement is, I want to notify users about their password expiry before 10  days (something like that) I have made the script and tested it in lab. But the main requirement is I want to use [email protected] mail ID for sending mail. And if any recipient
    reply on the auto-generated mail it goes to [email protected] mailbox (which is managed by different team).  
    So the query is can I use two different mailbox enabled IDs on a single SMTP Relay, If yes then how..
    Thanks
    Pankaj

  • How can I connect multiple clients to a single client ?

    I am currently developing an instant messaging program.I created a server and connected multiple clients to it by using thread logic.However I do not know how to connect multiple client to a single client.
    What shall I do for that?Does anybody know a good tutorial or sample program?Or shall anybody explain me what I shall do for building the Instant Messaging part of my chat program?
    Thank u in advance.

    You may use UDP multicast socket. But since you are using the UDP protocol you might risk losing the data that you send since UDP does not guarantee the safe transfer of data.
    Alternately, you might create a server that allows multiple client to connect to it whose connection Socket objects are then stored in a Vector <Socket> object. The server then sends back data to the connected client about the other clients connected to it. Now when the client wants to send data (like an IM) to another connected client, it has to send a request to the server specifying the client login name and the server in turn streams that particular client's Address and Port to the requesting client. The requesting client then initiates the connection with the other client and then starts a conversation. One more thing, when the client communicates it needs to send information to the server like the name by which it likes to be referenced. In this scenario the server acts like a central repository for clients to query the existence of other clients in the chat room. Each client here runs a thread that listens to incoming connections and when a connection is established, may be opens a IM window or something.
    The third option is to make the server to relay the information from one client to another. Like say, I'm connected to whoopy server and i want to send "Hello" to jackson, then i send the message (ie, Hello) along with the name of the client to which i wish to send it to (ie, jackson). The server then performs a lookup in its Vector <Socket> object and then initiates a connection with jackson and sends the information. However, this method is pretty costly in that you will be wasting a lot of processing behind the server.
    --Subhankar
    P.s. If you stumble upon any other brilliant ideas let me know.

  • How do I insert multiple rows from a single form ...

    How do I insert multiple rows from a single form?
    This form is organised by a table. (just as in an excel format)
    I have 20 items on a form each row item has five field
    +++++++++++ FORM AREA+++++++++++++++++++++++++++++++++++++++++++++++++++++
    +Product| qty In | Qty Out | Balance | Date +
    +------------------------------------------------------------------------+
    +Item1 | textbox1 | textbox2 | textbox3 | date +
    + |value = $qty_in1|value= &qty_out1|value=$balance1|value=$date1 +
    +------------------------------------------------------------------------+
    +Item 2 | textbox1 | textbox2 | textbox4 | date +
    + |value = $qty_in2|value= $qty_out1|value=$balance2|value=$date2 +
    +------------------------------------------------------------------------+
    + Item3 | textbox1 | textbox2 | textbox3 | date +
    +------------------------------------------------------------------------+
    + contd | | | +
    +------------------------------------------------------------------------+
    + item20| | | | +
    +------------------------------------------------------------------------+
    + + + SUBMIT + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Database Structure
    +++++++++++++++++
    + Stock_tabe +
    +---------------+
    + refid +
    +---------------+
    + item +
    +---------------+
    + Qty In +
    +---------------+
    + Qty Out +
    +---------------+
    + Balance +
    +---------------+
    + Date +
    +++++++++++++++++
    Let's say for example user have to the use the form to enter all 10 items or few like 5 on their stock form into 4 different textbox field each lines of your form, however these items go into a "Stock_table" under Single insert transaction query when submit button is pressed.
    Please anyone help me out, on how to get this concept started.

    Hello,
    I have a way to do this, but it would take some hand coding on your part. If you feel comfortable hand writing php code and doing manual database calls, specificaly database INSERT calls you should be fine.
    Create a custom form using the ADDT Custom Form Wizard that has all the rows and fields you need. This may take a bit if you are adding the ability for up to 20 rows, as per your diagram of the form area. The nice thing about using ADDT to create the form is that you can setup the form validation at the same time. Leave the last step in the Custom Form Wizard blank. You can add a custom database call here, but I would leave it blank.
    Next, under ADDT's Forms Server Behaviors, select Custom Trigger. At the Basic tab, you enter your custom php code that will be executed. Here you are going to want to put your code that will check if a value has been entered in the form and then do a database INSERT operation on the Stock_table with that row. The advanced tab lets you set the order of operations and the name of the Custom Trigger. By default, it is set to AFTER. This means that the Custom Trigger will get executed AFTER the form data is processed by the Custom Form Transaction.
    I usually just enter TEST into the "Basic" tab of the Custom Trigger. Then set my order of operations in the "Advanced" tab and close the Custom Trigger. Then I go to the code view for that page in Dreamweaver and find the Custom Trigger function and edit the code manually. It's much easier this way because the Custom Trigger wizard does not show you formatting on the code, and you don't have to keep opening the Wizard to edit and test your code.
    Your going to have to have the Custom Trigger fuction do a test on the submitted form data. If data is present, then INSERT into database. Here's a basic example of what you need to do:
    In your code view, the Custom Trigger will look something like this:
    function Trigger_Custom(&$tNG) {
    if($tNG->getColumnValue("Item_1")) {
    $item1 = $tNG->getColumnValue("Item_1");
    $textbox1_1 = $tNG->getColumnValue("Textbox_1");
    $textbox1_2 = $tNG->getColumnValue("Textbox_2");
    $textbox1_3 = $tNG->getColumnValue("Textbox_3");
    $date1 = $tNG->getColumnValue("Textbox_3");
    $queryAdd = "INSERT INTO Stock_table
    (item, Qty_In, Qty_Out, Balance, Date) VALUES($item1, $textbox1_1, $textbox1_2, $textbox1_3, $date1)"
    $result = mysql_query($queryAdd) or die(mysql_error());
    This code checks to see if the form input field named Item_1 is set. If so, then get the rest of the values for the first item and insert them into the database. You would need to do this for each row in your form. So the if you let the customer add 20 rows, you would need to check 20 times to see if the data is there or write the code so that it stops once it encounters an empty Item field. To exit a Custom Trigger, you can return NULL; and it will jump out of the function. You can also throw custom error message out of triggers, but this post is already way to long to get into that.
    $tNG->getColumnValue("Item_1") is used to retrieve the value that was set by the form input field named Item_1. This field is named by the Custom Form Wizard when you create your form. You can see what all the input filed names are by looking in the code view for something like:
    // Add columns
    $customTransaction->addColumn("Item_1", "STRING_TYPE", "POST", "Item_1");
    There will be one for each field you created with the Custom Form Wizard.
    Unfortunately, I don't have an easy way to do what you need. Maybe there is a way, but since none of the experts have responded, I thought I would point you in a direction. You should read all you can about Custom Triggers in the ADDT documentation/help pdf to give you more detailed information about how Custom Triggers work.
    Hope this helps.
    Shane

  • How can I print multiple pictures on a single sheet?

    Today 3/27/2012 I tried downloading HP software that says it has a new feature that allows printing multiple pictures on a single sheet of photopaper.  The download started and halted at only one square and sat there flashing for hours, meaning it wasn't downloading on my Pavilion desktop computer.  Since it's a new feature (apparently), no wonder no one as yet has asked this question and so I doubt if anyone has the answer.  But, I'll wait to see.

    You are probably going to get help by posting in the iPhoto forum. You can easily locate it by clicking on Apple Support Discussions on the top left of this page then navigating to the iPhoto forums.
    Roger

Maybe you are looking for