SO_NEW_DOCUMENT_ATT_SEND_API1 trigers mail, more than once

hai gurus,
I am using FM 'SO_NEW_DOCUMENT_ATT_SEND_API1 ' for sendign mails.
but even if the mail is sent once from my prgram,the receiver recieves 7 mails.(even in SOST there are
7 mails)
soem cases its 4 mails .very starnge..

SORT IT_MAILTAB BY CLAIMNO.
      DELETE ADJACENT DUPLICATES FROM IT_MAILTAB COMPARING CLAIMNO.
      LOOP AT IT_MAILTAB INTO WA_MAILTAB.
        CALL FUNCTION 'ZFBP_MAIL'
          EXPORTING
            CLAIMNO = WA_MAILTAB-CLAIMNO.
      ENDLOOP.
in the FM 'ZFBP_MAIL'
soem coding and then ...
SELECT SINGLE * FROM PA0105 INTO WA_PA0105 WHERE PERNR = PERNR AND SUBTY = '0010' AND BEGDA LE SY-DATUM AND ENDDA GE SY-DATUM.
IF SY-SUBRC = 0.
TRANSLATE WA_PA0105-USRID_LONG TO LOWER CASE.
  mailrec-receiver = WA_PA0105-USRID_LONG.
  mailrec-rec_type  = 'U'.
  append mailrec.
ENDIF.
  call function 'SO_NEW_DOCUMENT_ATT_SEND_API1'
       exporting
            document_data              = maildata
            put_in_outbox              = 'X'
             COMMIT_WORK   = 'X'
       tables
            packing_list               = mailpack
            object_header              = mailhead
           contents_bin               = mailbin
            contents_txt               = mailtxt
            receivers                  = mailrec
       exceptions
            too_many_receivers         = 1
            document_not_sent          = 2
            operation_no_authorization = 4
            others                     = 99.

Similar Messages

  • HT201436 How can I listen to a voice mail more than once?

    How can I likten to a voice mail more than once?

    Don't delete it. Go back into your phone app, tap voicemail then hit play

  • Since I updated to iCloud, Mail on my MacBookPro 10.6.8 has been unable to connect to MobileMe more than once or twice per day. Mail on my iPhone 4 has no problems. What's wrong?

    Since I updated to iCloud, (which may or may not be related) Mail on my MacBookPro 10.6.8 has been unable to connect to MobileMe more than once or twice per day. Mail on my iPhone 4 and my old iMac has no problems. When there is no service a yellow warning triangle appears adjacent to the Inbox and Connection Doctor reports,"Trying to log into this MobileMe IMAP account failed. Verify that username and password are correct."  Since it does fetch Mail from time to time they cannot be wrong.... can they? Should I update to 10.7 and if so what does that entail?

    You have been using MobileMe's email settings, which sometimes continue to work for a time after migration but then get turned off. iCloud's mail server settings are different. Strictly speaking Lion 10.7.2 is required for iCloud, and on that Mail is set up automatically.
    Snow Leopard cannot access most of iCloud's facilities, however you can set Mail up manually to access your email. The method is described here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudmail.html
    The situation with iCloud and Snow Leopard is described in detail here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudSL.html

  • I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once.

    I have 2 problems with Mail. I cannot address an email to more than one recipient. And I receive some emails more than once. Can you please help?

    Restart your Mac. See if that makes a difference.

  • Terminating Event Getting triggered more than once

    Hi All,
    I am facing a very peculiar problem in PR release workflow(item wise release, business object BUS2009).
    One of the requirements of the workflow is to send a mail to PR initiator once it is rejected by any of the approvers(4, in my case). The event associated with the cancellation of the workflow is REJECTION_START.
    The problem is that this event is being triggered more than once. One thing that i have observed is that if eg. second level of approver cancels it, the event is triggered twice. Likewise if third level of approver cancels it, it is being triggered thrice. Which leads to sending of 2 and 3 mails respectively to the PR initiators mailbox.
    Why is this happening? Ideally, only one event should have been triggered, and the triggering of the event should have been independent of PR approver's level. I am at my wits end regarding this.
    Any suggestions in this regard will be highly appreciated
    Regards
    Varsha Agarwal.

    If you check for 2nd level rejjection two release Code is associated so it triggers 2 times and same for 3rd level approval.
    I think you have to put some sort of filter using FM SAP_WAPI_WORKITEM_OBJECT
    in the attribute portion of yopur custom BO.
    The attribjute will check this FM and if it has entries that means already a Workflow has been triggered it should set the flag as X.
    Make use of this attribute in defining the start condition of this task thru
    SWB_COND.
    Thanks
    Arghadip

  • Messages receive appear more than once in my mailbox

    The problem is the messages that i receive appear more than once and it keep doing this.
    Its like they were cloning or multiplicand, I have until 8 messages of the same thing and this thing continuous happening.
    What can I do?, i all ready try the suggestions in the support area in apple, but this does not works with my problem.
    I even think that cold be a virus.
    Any suggestions will be very appreciate.
    Thnaks

    Please, try to provide as much information as possible, instead of as little as possible. What’s the time interval chosen in the Remove copy from server popup menu?
    It looks like Mail has lost track of which messages have already been downloaded and is downloading them again, or maybe it’s failing to remove them from the server according to your settings.
    Try to remove from the server all the messages that have already been downloaded by clicking the Remove now button -- check for new mail first, just in case there is something amiss and that function doesn’t work as expected.
    If Preferences > Accounts > Advanced > Remove now fails to remove the messages from the server, you can try to do so manually using the Account Info window. In order to use that feature, choose Get Info (⌘I) from the Action menu (gear icon) located below the mailboxes list in the main Mail window.

  • Message may be sent more than once

    Hi,
    When I use mailq, I can read the following error in many emails:
    008B354E529F 7265 Tue Jun 30 10:08:19 [email protected]
    (delivery temporarily suspended: conversation with server.domain[/var/imap/socket/lmtp] timed out while sending end of data -- message may be sent more than once)
    [email protected]
    What is happen?
    Thanks for all.
    Message was edited by: jonflas

    It means that Cyrus IMAP is not responding or ready to deliver mail (at least temporarily). Most likely reason is that there are too many connections/users.

  • Changing the Window Color of an JInternalFrame more than once

    I want to change the color of an JInternalFrame when it was created. This could be more than once.
    I know that i can use:
    UIManager.put("InternalFrame.activeTitleBackground", Color.RED);
    but this code only takes effect before the InternalFrame is createt

    You are using iPhoto 9 (11)? If you are then the themes would be obvious when you select iPhoto as your mail client in iPhoto's General preference pane (upper left hand image)
    Click to view full size
    and then use the Share ➙ Email button
    Click to view full size
    to get this window:
    Click to view full size
    However, I was mistaken in that the background colors for those themes can't be changed. The same goes for the stationary themes in Mail.

  • Timed out while sending ... message may be send more than once

    Hi,
    I regular have complaints from some clients receiving my emails 10 -15 times in their mailbox.
    When checking the maillog I always see : timed out while sending ... message may be send more than once. See below
    Problem can happen at any time, even when there is just 1 person connected to the server, so I rule out overload.
    95% of mails send arrive without problem.
    When looking the dns mx info of these clients I am having problem with, all have multiple (round-robin ?) mx-hosts (eg mx.mailprotect.be).
    Is someone else having these problems ?
    gr
    Fonny
    Nov 20 14:05:05 osxserver postfix/smtp[33385]: 3846CBE9FFC7: conversation with monitor.estrel.com[62.154.155.69] timed out while sending end of data -- message may be sent more than once
    Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
    Nov 20 14:15:48 osxserver postfix/smtp[33385]: 3846CBE9FFC7: to=<[email protected]>, relay=mx-30.startplus.de[62.154.155.70]:25, delay=1826, delays=486/0.01/716/623, dsn=4.4.2, status=deferred (conversation with mx-30.startplus.de[62.154.155.70] timed out while sending end of data -- message may be sent more than once)
    Nov 20 14:27:06 osxserver postfix/smtp[34737]: 6F586BEA0F09: lost connection with mx1.hotmail.com[65.55.92.136] while sending end of data -- message may be sent more than once

    It means that Cyrus IMAP is not responding or ready to deliver mail (at least temporarily). Most likely reason is that there are too many connections/users.

  • How do I repeat the same row more than once in report 10g

    How do I repeat the same row more than once in report 10g
    So I can print the bar code more than once
    in report;
    Edited by: user11106555 on May 9, 2009 5:50 AM

    GREAT THAN X MAN
    It is already working, but with the first ROW
    select ename from emp
    CONNECT BY ROWNUM<=5
    ENAME
    SMITH
    SMITH
    SMITH
    SMITH
    SMITH
    ALLEN
    WARD
    JONES
    MARTIN
    BLAKE
    CLARK
    SCOTT
    KING
    TURNER
    ADAMS
    JAMES
    FORD
    MILLER
    BUT I want this result
    Item1
    Item2
    Item3
    to
    Item1
    Item1
    Item1
    Item2
    Item2
    Item2
    Item3
    Item3
    Item3

  • Mailing more than one photo

    I would like to be able to email more than one photo at a time. That is if any developers are reading this thread.

    It is still not fixed for all - on my system MacOS 10.8, Aperture 3.3.2, Mail.app, it is working.
    See this thread for work-arounds:
    Mailing more than one image not working
    And send a bug-report to Apple, using the feedback form from the Aperture menu:
         Aperture > Provide Aperture Feedback
    Regards
    Léonie

  • Can you create a form in which its never possible for the same person te sign the form more than once.

    Hi, I've been looking into this for awhile and believe the answer is 'no' but was just wondering if anyone here would know of a solution.
    The company I work for has a formulier on which a number of Excel files are placed. This form is then sent to a five (often different) people who are then required to open the Excel files and if accord to place their digital signature. We would like to make sure that no one is able to sign the form more than once and also if possible to make sure they have opened the Excel files. It would be great if anyone had any tips...
    All the very best,
    Martin Angell

    I am not an Excel or Excel-to-PDF conversion expert, so I do not know how Excel forms are converted to PDF form fields. With this caveat here's what I do know.
    In Acrobat It is possible to create a PDF form in which there are JavaScripts associated with fields (any fields, including signature fields). These JavaSripts can do a lot of things, including checking the signer's certificates on the already signed signature fields. Then you can make all unsigned signature fields read-only, in which case the user will not be able to actually sign them. After that you can overlay a button field on top of each unsigned signature field with exactly the same dimensions and associate a JavaAcript with this button field. This JavaScript would put up an UI asking the user for the signing certificate and its password, check this certificate's CN against the list of already signed signature fields and initiate the signing of the unsigned signature field behind this button if your condition is satisfied.
    I never tried that myself but it could work. This looks complicated and it is but if you really want it you can try.

  • Deauthorizing all machines more than once in a year?

    Is it possible to deauthorize all machines more than once in a year? I have had two machines crash and one time I forgot to de-authorize before I installed a new OS.
    iTunes tells me I have to wait until June to do this. There has to be a way to manually get someone to agree to do this. Is there a number I can call or process????
    tflink
    HP Compaq NC8230   Windows XP Pro  

    No.

  • Performance... Why a function column in a view is executed more than once...?

    Why a function column created inside a view is executed more than once when called more than once?
    EXAMPLE:
    create or replace view aux1 as
    date_column,
    any_function(date_column) column1
    from any_table
    create or replace view aux2 as
    column1 c1,
    column1 c2,
    column1 c3
    from aux1
    select * from aux2
    It will execute 3 times the function any_function... logically the value will be the same for all columns...
    I understand why!... are 3 calls... but...
    Why not to create a "small" verification and if the function column was execute replace the second, the third... value? ... instead of execute 3, 4... times...
    tks
    Braga

    Actually, this is more than a performance issue. This is a consistency problem. If the function is NOT deterministic then you may get different values for each call which is clearly not consistent with selecting 3 copies of the same column from a row. Oracle appears to have fixed this in 9i...
    Connected to:
    Oracle8i Enterprise Edition Release 8.1.7.2.0 - Production
    With the Partitioning option
    JServer Release 8.1.7.2.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              93           74
    Connected to:
    Oracle9i Enterprise Edition Release 9.0.1.3.0 - Production
    With the Partitioning option
    JServer Release 9.0.1.3.0 - Production
    create view v1 as select dbms_random.value(1,100) r from dual;
    create view v2 as select r r1, r r2 from v1;
    select * from v2;
              R1           R2
              78           78Richard

  • Why would aperture load more than once?

    I understand that when I first load my RAW photos into Aperture it needs to generate a preview and so that's why it slows down and shows me "loading...". If I want to bypass this I can use quick preview mode. That's how I understood it so far. But I don't understand why it would need to load again at a later time? If I browse elsewhere and come back to this project, it'll start loading again. Does Aperture for some reason deletes the preview?

    1) How do I force aperture to generate preview for everything, and not one by one. I'd rather go away and let the computer do its thing for a while than get disturbed every time I hop to the next photo.
    You can select all images in the Browser and use the command "Photos > Update/Generate Previews" (Update will turn into "Generate", if hold down the ⌥ alt/options key). This way you can generate the previews over night.
    2) Also this still doesn't explain why it needs to be done more than once? Why would it generate the preview again if I haven't changed any adjustments etc?
    It will only keep and store the preview permanently, if you have enabled the sharing of previews in the "Preferences > Preview" tab. If you do not enable this, Aperture will not store the previews, to save space.

Maybe you are looking for

  • Linked file can't be downloaded from a PC...

    I wanted to put up a toast file on my web site for friends to download. I dragged the file to the page to create the hyperlink. I then published to a folder and transfered the page file and toast file to my web site via ftp. The page is called downlo

  • Problem while installing oracle 9i on windows xp professional

    while installing oracle 9i iam getting strange error. the error is: Create process : null -new -sid oiddb -startmode m error=2. The problem what we figured out is ORADIM which should be under ORACLE_HOME\bin is not yet installed also some files are a

  • Oracle's Flashback Technolgy

    Hi, Can any one kindly explain how the Oracle's Flashback Technology works? I mean OFT depends on Automatic Undo Managemet but how exactly it works? Whats the architecture? Any good link or book name that explains the OFT in detail will be very helpf

  • Laptop disconnects but BT homehub doesn't

    Hiya, This is my first time on these forums, so I thought I'd come for a little bit of advice on a recent issue I've had on my laptop. Yeah, as you guessed the issue is just as it says in the title. Up until just recently my laptop will go on and off

  • Newbie not understanding Spry Menu example

    I'm new to the Spry Framework. I understand how tabbed panels works in so far as showing data in different positions on the same page when tabs are selected, but the Spry menu example as far as I can see doesn't do that. As a first step, I want to pl