Trapping invalid email address with batch use of SO_NEW_DOCUMENT_SEND_API1

Hi there,
Am using SO_NEW_DOCUMENT_SEND_API1 in batch to issue emails containing multiple  blind copied recipients. I load recipient email addresses into RECLIST (see below line)
"DATA: RECLIST       LIKE SOMLRECI1  OCCURS 0 WITH HEADER LINE.
I have two problems. My first problem is if any one email address in a batch of 10 recipients is formated incorrectly, none of 10 recipients receive emails. My second problem is "incorrect" email addresses. While these do not prevent the remaining 9 emails being  delivered I would also like to capture these. How might I capture these 2 conditions at or immediately after function module execution for batch reporting ?
Thank you for your time and help, Harold

Hi All,
         I have not used that parameter ( Contents_bin ).Its in disable mode only.see my code below and please tell me how to avoid it.
DESCRIBE TABLE i_body LINES g_att_lines.
READ TABLE i_body INTO lw_body INDEX g_att_lines.
gd_doc_data-doc_size = ( g_att_lines - 1 ) * 255 + STRLEN( lw_body ).
lw_packing_list-transf_bin = space.
lw_packing_list-head_start = 1.
lw_packing_list-head_num   = 0.
lw_packing_list-body_start = 1.
lw_packing_list-body_num   = g_att_lines.
lw_packing_list-doc_type   = 'RAW'.
lw_packing_list-doc_size   = 255 *  g_att_lines.
APPEND lw_packing_list TO i_packing_list .
CLEAR lw_packing_list.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
  EXPORTING
    document_data                    = gd_doc_data
    put_in_outbox                    = 'X'
    commit_work                      = 'X'
IMPORTING
  SENT_TO_ALL                      =
  NEW_OBJECT_ID                    =
  TABLES
    packing_list                     = i_packing_list
    object_header                    = i_context
    contents_txt                     = i_body
    receivers                        = i_receivers
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          .
Regards,
Rakesh.

Similar Messages

  • Nokia 5230 - invalid email address with underscore

    if i create a new email account on the 5230 and enter my mail address which looks similiar like this one
    the mail wizard says that it is invalid.
    what's wrong here?
    I updated the phone two days ago.
    Hi,
    Please do not post any personal information such as email addresses or IMEIs in the public forums. You can send a PM to a user that asks for it.
    Regards,
    Nixy_Fedorov
    Moderator

    I meant to say, be careful with special characters.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • I changed my Apple ID that using an invalid email address to a new one and I am trying to update iCloud account on iPhone5 with iOS 7.1.2, and I am not able to delete iCloud account without the old password.

    I changed my Apple ID that using an invalid email address and I am trying to update iCloud account with my new Apple ID on iPhone 5 with iOS 7.1.2. I am not able to delete iCloud account without the old password. Is there a way to update the Apple ID of my iCloud account?

    Many people are having probalems with this right now.  The only solution I've seen that seems to consistently work is the one posted by Brackers28 here: https://discussions.apple.com/message/23020591#23020591.  This only works if you still have access to your old email account.  If you don't, you'll have to have Apple help you reset the password for your old account so you can turn off Find My iPhone and sign into your account with your correct ID.

  • Is there ANY way to use another email address with iCloud?

    Apple let you use any email address as an Apple ID, but I really want to be able to use a non-Apple email address with my iCloud mail. Just about every email service (Gmail, Hotmail, etc) allows you to send from a third-party address (once you've done a security verification) so that you don't have to change your email address when switching services. iCloud seems to have no such option. Is there any way round this, or any way to put pressure on Apple to add this basic feature???

    rdepom wrote:
    Is there any way round this
    I'm afraid not
    or any way to put pressure on Apple to add this basic feature???
    http://www.apple.com/feedback/icloud.html - but I don't think it's very likely they'll change it.

  • How do I use a previous email address with my printer?

    How do I use a previous email address with my printer?  I reset my printer and want to use the same email address as before.Thanks

    At this time the printer's email address will not be available for for re-use for 6 months. This is a security measure once an email has been disabled. After that time, one can go into their account and then change the customized email address for the printer. 
    I am a former employee of HP...
    How do I give Kudos?| How do I mark a post as Solved?

  • Hello I am having all of a sudden with my Face Tiime on MacBook Pro. I can't get it to verify my email address with I have always used. For some reason it had me log back in and now won't verify.It's always worked. No one can reach me. It goes straig

    Hello I am having all of a sudden with my Face Tiime on MacBook Pro. I can't get it to verify my email address with I have always used. For some reason it had me log back in and now won't verify.It's always worked. No one can reach me. It goes straight to my phone instead of my MacBook Pro. Help!!

    Any error message?

  • I have reset my iPhone 5 and now it is asking me to activate my phone with my apple ID but when i put in my details in its say the my email address cannot be used to unlock my iPhone? help!

    I have reset my iPhone 5 and now it is asking me to activate my phone with my apple ID but when i put in my details in its say the my email address cannot be used to unlock my iPhone? help!

    You need the Apple ID and password from the previous owner who set the Activation Lock.  Where did you get this phone?
    iCloud: Find My iPhone Activation Lock in iOS 7
    Find My iPhone Activation Lock: Removing a device from a previous owner’s account

  • Updated my AppleID account info.  Under password security shows an email address to be used to receive email with new password settings.  I need to update that email address, how do I do that?  Thanks!

    Updated my AppleID account info.  Under password security shows an email address to be used to receive email with new password settings.  I need to update that email address, how do I do that?  Thanks!

    Thanks for the help Niel.  I couldn't change the rescue email address (an address that no longer exists and is therefore useless) until I could correctly answer the security questions.  After numerous guesses, finally got them right.  Was then presented with the option to change the rescue email address. Guess the only other option was to have Apple Support make the change or reset my account info.  Have made note of the correct answers so this won't happen again.   Thanks for the fast response!!

  • How to delete an apple-id that was created with an invalid email address?

    After upgrading to IOS.5.0, my apple-id for the IPod was incorrectly change to an invalid email address.
    I have verified my apple id on itunes on my desk top. How ever, the apple id on the IPad  is still an invalid address which I can't validate or change.
    Any ideas will be appreciated.
    Thanks
    Mitch

    If everything works in iTunes on the computer see if this works. Sign out of the invalid account/email address and the sign in with the correct one on the iPad. Settings>Store>Apple ID - sign out.
    Restart the iPad before you try signing in with the correct ID.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • This morning I changed my Apple ID to my new email address.  I thought it meant that I could then use all my alias icloud email addresses with my new Apple ID because it would be the same account.  Why am I now not getting email to those addresses.

    This morning I changed my Apple ID to my new email address.  I thought it meant that I could continue to use all my alias icloud email addresses with my new Apple ID because it would be the same account.  Since then I have not received and new emails to my iCloud email addresses.  Normally I get at least  7 new emails a day, so I'm pretty sure my iCloud addresses are not working.  It would be a lot of work for me to notify a lot of people, companies, and organizations about new email addresses, so I really would like to make them work.  Will it be possible to make them work with my new Apple ID?

    Roger, I didn't know that "Delete Account" was synonymous with "log out".  Yes, I had deleted my iCloud account in my iPad email settings more than once yesterday and again one more time after I read your reply.  I then followed the instructions below to log off on my Windows PC.  I found these when I searched for how to log off of iCould:
    1- Go to www.iCloud.com
    2- Sign in with your current login info
    3- Click on your user name on top right corner
    4- Select account setting
    5- Select "Advanced."
    6- Click 2nd option, "Sign Out Of All Browsers."
    I also scanned settings for all the other apps on my iPad and changed a couple that still had my old sbcglobal email address. Later, I noticed that I was able to see my old previous iCloud emails in iCloud.com, and the couple of messages that I received from this Support Community site, but still no new emails.  Suddenly the emails started rolling in again this morning.  I have 7 new ones at the moment.  I sort of expected to get a backlog of emails from yesterday, but something tells me those were all lost as "undeliverable".  I don't know who or exactly what did the trick, but the issue seems to be fixed.  I'm using my new Apple ID, and I'm glad I don't have to get all new iCloud alias email addresses after all.

  • Changed email address with itunes...now i can't make a purchase using my ipad because it is showing my old address

    Changed email address with itunes...now i can't make a purchase using my ipad...old address is showing when i try to purchase an app and the old password does not work...what to do?

    Settings -> Store -> Apple ID
    In the future, please search before posting asy our qeustion has been asked and answered dozens of times in the past.

  • HT4436 can i use my own email address with iCloud?

    can i use my own email address with iCloud?

    Welcome to the Apple community.
    No, you cannot use your own email address with iCloud. However you can use your own email address as a separate account by entering the account details in the mail application.

  • Can I use my current email address with iCloud

    Can I use my current email address with iCloud vs having to sign up for .me?

    iCloud email only works with @me.com addresses: it can't access any other email address at all.

  • HT2623 I currently have an email address with my cable company.  In order to use the "@icloud" email addresses, do I also need my cable company email address?

    I currently have an email address with my cable company.  In order to use the "@icloud" email addresses, do I also need my cable company email address?

    That's right, all you need is the actual internet connection. If you want to use the cable company email in addition it has no effect either way on iCloud, it's up to you.
    When you sign in in System Preferences (or Settings)>iCloud (Lion 10.7.5. minimum required, or iOS5/6) and check 'Mail' in the list, you will be asked to create an @icloud.com address, and the account will automatically be added to the Mail application and set up. You can also access your mail at http://icloud.com

  • Your apple ID (email address) cannot be used to set up imessage at this time

    My iMessage recently stopped working. When I attempt to log back in it tells me "your apple ID (email address) cannot be used to set up imessage at this time" then gives me a code to share with Apple support. (See screen shot). Any suggestions?

    There is no official public documentation of that error message as far as I know, but according to reports, it can mean (at least sometimes) that the same Apple ID is being used with the iTunes Store or one of the other Apple content stores, and the payment method is invalid. Sign in to the store and review your account. You do not, of course, have to provide any billing information to set up an account to use only with iMessage, as it's a free service.
    Otherwise, do what the error message tells you to do.

Maybe you are looking for

  • How can I get all of my calendars and recurring events to synch via iCloud with my iPad2?

    Not all of my recurring events sych via the iCloud with my Mac and IOS devices - most specifically my iPad2. For example, my anniversary appears on my Mac and my iPhone, but not on my iPad2. I notice that when I click on "Calendars" when the iCal app

  • Return to Consignement stock for Return sales order

    Hi, For Home delivery Sales order- Sale is being performed from Vendor consignment stock & it works good with 601K movement .For Return in this case, Return sales order is created & PGR is performed against delivery.While doing this - the returned co

  • 10.2.0.5 to 11.2.0.4 RAC upgrade w/11i

    Dear All, I wanted to inquire if someone can provide high level guidance for a 10GR2 to 11Gr2 upgrade while staying on 11.5.10.2.  My two core Metalink docs are the first two below but wondering if there is an Interoperability Note specifically for f

  • Auto-updates disabled in CS6 non-cloud the same way as in CS5/CC?

    Hi, is this procedure to deactivate auto-updates http://helpx.adobe.com/creative-suite/kb/disable-auto-updates-application-manager.html  the same for CS6, non-cloud? thanks.

  • Clear blocking locks

    Clear blocking locks We have a situation where an update (using sqlplus, tranaction is commited) causes a blocking condition for a client application. The single client can be running once this occurs. However, other clients hang on startup. Addition