Problem with Email attachment

Hi,
I am using the method add_attachment, to add attachments to my Email.
The mail is being triggered successfully with the attachments, but with the following problems:
a. The attachment is being populated with incomplete data.
CALL METHOD document->add_attachment
EXPORTING
i_attachment_type    = file_type
i_attachment_subject = attach_name1
i_att_content_text   = it_attach[].
Although it_attach[] has all the data in it, the data in the attachment is incomplete.
Is there a limit on the attachment size? How can this be increased.
b. There is a space after every character in the attachment data. How can this be corrected?
Thanks,
Smitha.

Below is the code:
FUNCTION Z_XI_SEND_MAIL_ATT_DYN_EMAILID.
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(SUBJECT) TYPE  SO_OBJ_DES OPTIONAL
*"     VALUE(ATTACH_NAME1) TYPE  SOOD-OBJDES OPTIONAL
*"     VALUE(FILE_TYPE) TYPE  SOODK-OBJTP OPTIONAL
*"     VALUE(ATTACH_NAME2) TYPE  SOOD-OBJDES OPTIONAL
*"  TABLES
*"      IT_CONTENT TYPE  SOLI_TAB OPTIONAL
*"      IT_ATTACH TYPE  SOLI_TAB OPTIONAL
*"      IT_ATTACH1 TYPE  SOLI_TAB OPTIONAL
*"      IT_EMAILID TYPE  SOLI_TAB OPTIONAL
DATA: send_request       TYPE REF TO cl_bcs.
  DATA: document           TYPE REF TO cl_document_bcs.
  DATA: sender             TYPE REF TO cl_sapuser_bcs.
  DATA: recipient          TYPE REF TO if_recipient_bcs.
  DATA: exception_info     TYPE REF TO if_os_exception_info,
  bcs_exception      TYPE REF TO cx_document_bcs.
  DATA i_attachment_size TYPE sood-objlen.
  DATA it_recv LIKE zmailmap OCCURS 0 WITH HEADER LINE.
  DATA ext(3).
  DATA: it_attach_hex type standard table of solix .
  DATA: it_attach1_hex type standard table of solix .
* Create persistent send request
  send_request = cl_bcs=>create_persistent( ).
  TRY.
      document = cl_document_bcs=>create_document(
                                    i_type    = 'txt'
                                    i_text = it_content[]
                                    i_subject = subject ).
      DESCRIBE TABLE it_attach.
      SPLIT attach_name1 AT '.' INTO attach_name1 ext.
**************** Convert text to binary***********************
call function 'SO_SOLITAB_TO_SOLIXTAB'
exporting
ip_solitab = it_attach[]
importing
ep_solixtab = it_attach_hex[].
      CALL METHOD document->add_attachment
        EXPORTING
          i_attachment_type    = file_type
          i_attachment_subject = attach_name1
          i_att_content_hex   = it_attach_hex[].
****Additional code for QRN Interface*****
      IF file_type = 'QRN'.
        SPLIT attach_name2 AT '.' INTO attach_name2 ext.
        DESCRIBE TABLE it_attach1.
*********Convert text to binary***************
call function 'SO_SOLITAB_TO_SOLIXTAB'
exporting
ip_solitab = it_attach1[]
importing
ep_solixtab = it_attach1_hex[].
        CALL METHOD document->add_attachment
          EXPORTING
            i_attachment_type    = 'QTX'
            i_attachment_subject = attach_name2
            i_att_content_hex   = it_attach1_hex[].
      ENDIF.
* Add document to send request
      CALL METHOD send_request->set_document( document ).
* Get sender object
      sender = cl_sapuser_bcs=>create( sy-uname ).
* Add sender
      CALL METHOD send_request->set_sender
        EXPORTING
        i_sender = sender.
********Determine the receipients (Extra code added for QRN interface - 31st May 2007)************
****Add Reciepents
IF file_type = 'QRN'.
  LOOP AT IT_EMAILID.
  it_recv-MAILID = IT_EMAILID.
  APPEND it_recv.
  CLEAR it_recv.
  ENDLOOP.
**it_recv-mailid = IT_EMAILID.
**APPEND it_recv.
ELSE.
  SELECT * FROM zmailmap INTO TABLE it_recv  WHERE filetype = file_type.
ENDIF.
      LOOP AT it_recv.
        TRANSLATE it_recv-mailid TO LOWER CASE.
        recipient = cl_cam_address_bcs=>create_internet_address(
       it_recv-mailid ).
        CALL METHOD send_request->add_recipient
          EXPORTING
            i_recipient  = recipient
            i_express    = 'U'
            i_copy       = ' '
            i_blind_copy = ' '
            i_no_forward = ' '.
      ENDLOOP.
***********Trigger e-mails immediately*****************************
      send_request->set_send_immediately( 'X' ).
      CALL METHOD send_request->send( ).
      COMMIT WORK.
    CATCH cx_document_bcs INTO bcs_exception.
  ENDTRY.
ENDFUNCTION.

Similar Messages

  • Problem with Emailing the Internal table data as an excel attachment

    Hi Friends,
    I am facing problem with Emailing an internal table data as an excel file. I am using standard function module "SO_NEW_DOCUMENT_ATT_SEND_API1" which is using SOLI structure can have record with 255 character length. But my Internal table having each record means after concatenating all the fields it is going to be morethan 450 characters. so i t is not displaying all the data in excel file.
    Can somebody help me if there is any other function module or any other way that i need to follow.
    thanks for help
    venkat.

    You must use the the :
    CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB as a field seperator and
    CL_ABAP_CHAR_UTILITIES=>CR_LF as a record seperator.
    Check this example:
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Regards,
    Naimesh Patel

  • Problems with email and SMS after 1.3.5

    Let me first say that I love the Pre. Up until this point it has been perfect - I have a replacement, but that is because I dropped it (wrong angle, wrong location, broken screen). However, following the 1.3.5 update I'm now having a fairly important problem with email and sms - I can receive email and messages, but not send them.
    I have two email accounts. My personal account is with earthlink. My work account goes through an ISP using the domain name of my employer. I'm not using Microsoft Exchange or Outlook. I have tried deleting and reentering the accounts and that did not work. I can receive messages but get error messages when I try to send. 
    The same for messaging. I don't use it very often. But yesterday I get a text message  and tried to respond and got the error message.
    I power the phone off every night because I have a landline and use that as the primary phone at home.
    I have been looking around message boards trying to find a fix for this.  Has anyone had this issue and resolved it?
    Thank you.
    Post relates to: Pre p100eww (Sprint)
    Message Edited by starburst42 on 01-05-2010 07:06 AM
    This question was solved.
    View Solution.

    I forgot to add that this is a stock Pre. There are no patches or homebrew apps. 
    Edit:
    I found a fix for the email problem, in posts on precentral and this board from a few months ago. The info came up in a Google search, and not searches of the boards, which is kind of frustrating.  Here is the info, and the link.  I really wish Palm would put info about this work around on their site, or at least make it easy for people to find.  The solution is the last message in the thread linked below:
    Had the same problem.  Checked with Earthlink - no help.  Checked with Sprint - no help.  Checked with Palm - no help.  Here is what finally worked:
    Delete the earthlink account and start over.  When you do - this is the key - set up the account manually!  If you use the Pre defaults and try to change the settings it will not correct the problem. Your settings for outgoing mail must be:
    "smtpauth.earthlink.net"
    Use Authentication set to "on"
    username is your email address
    your email password
    port set to "587"
    encryption "none"
    Again, the key is to set up manually.
    smtp email fix
    Message Edited by starburst42 on 01-06-2010 12:08 PM
    Message Edited by starburst42 on 01-06-2010 12:09 PM

  • Why is Apple so bad at providing customers with information on what the problem with email is and what they are doing to fix it?

    Why is apple not providing information on what the problem withe email is and what they are doing to fix, along with a time frame for fixing the problem.

    It was because the problem was major.  If you do not know tech, you should know that a two day outage usually indicates some type of virus, hack, or a bad software load that they had to unravel.  The common way to solve that is to rebuild servers and put back into service.  That takes time.
    Apple did not want to admit this problem.  My guess at this stange was that they loaded new software that might be associated with the new IOS and it crashed.  To reveal this would be to cast into doubt their future revenue.
    Either way.  Run do not walk away from Icloud products and services.  Apple has demonstrated they can not be a business partner.

  • I am having a problem with email, when I delete messages from my Ipad, they come back into trash whether they are on my PC or not. The only way I can delete them is to to my providers site and delete everything there.

    I am having a problem with email. I can receive and send, but when I delete, the deleted messages return into either Trash or Bin or both whether or not I have deleted them from my PC.
    The only way I can get rid of them permanently, is to go into my area of my providers site(Sky) and empty all of the boxes there. I imagine it's a setting, please advise.

    For IMAP mail only.
    Settings>Mail, Contacts, Calendars>tap on mail account>Archieve Messages>OFF

  • Problems with email account on ipad2 when changing from mobileme to icloud

    Problems with email account on ipad2 when changing from mobileme to icloud

    Would you please give us some more information about your problems.

  • Problems with email, Macbook Pro, Yosemite

    Keep getting knocked out of email. Different errors, mostly cannot connect to server. Per Apple's mail support page. One of the settings should be Password. When I change to password in settings, it keeps switching to MD5 Challenge -Response. Could this be causing my problems with email?
    I have a macbook pro & am using the latest Yosemite. But have been having these problems before installing Yosemite. No email problems on an iPad.
    Thanks for your help.

    UPDATE for anyone who's interested.
    I called Apple support. The woman was very helpful and, so far, seems to have corrected my issues. She removed & reinstalled my email accounts. The problem was that the accounts were set up as POP accounts when they should have been IMAP accounts. The authentication is now set to Password and all mail settings are as shown in the Apple's Mail Settings Lookup page. 

  • Please can anyone help with the continuing password rejection problem with email.Ipad and other systems work fine but despite reloading my password on imac it bounces back.Apple store has been visited and I have tried everything they suggest.

    Please can anyone help with the continuing password rejection problem with email on my imac.My Ipad and other systems work fine but despite reloading my password on imac it bounces back.Apple store has been visited and I have tried everything they suggest.

    I use free Yahoo mail webMail access because folders I created in webmail access doesn't get set up in Apple Mail. While I was searching for post about password and keychain issues, I stumbled on several threads that complain about Mail folder issues, so I'm holding off on Apple Mail.
    On the password and keychain issue that your post is all about.  I've been using login keychain to save and automatical fill my login screens for a year or so successfully, with Safari and Chrome. Automatic form fill also works for Facebook login. Unfortunately, about 4 to 6 months ago, automatic password form fill stopped working with Yahoo webmail, while still worked for GMail (Safari and Chrome). I tried deleting the password entry for my two Yahoo email accounts to start fresh, but neither Safari not Chrome will even ask me if I want to save the password. I was so frustrated that I eventually installed the keypassX 0.43 (password manager) that is quite primitive sompare to OS X's keychain (when it works). Probably no surprise to you yet.
    The surprise, to me at least, is that, for whatever reason, password auto form-fill from keychain started working again for Yahoo webmail login on Safari about 5-7 days ago. Still doesn't work on Chrome!
    Two tips I can share, at least with webmail access:
    1. Password is save only for one of my yahoo mail accounts. When I login in with my other yahoo account, I get no prompt to save the password, and form fill doesn't work when I try to log in a second time with my other Yahoo mail account.
    2. On inspection of my login keychain, I see a webform password item saved for my Yahoo account that works with keychain. The name of the password is: login.yahoo.com(MyAccountName1#). When I open the password item and look in the Access Control tab, I see Safari and Chome are listed as allowed to access this password item..
         I also an "Internet password" item with a name of just login.yahoo.com. When I open the the password item, it looks just like the password item created for MyAccountName#1, but the MyAccountName#2 is listed in the Account field. Inside the Access Control tab, no apps are listed in access permission. I added Safari and Chrome to the lists of allowed app, saved the password item.
    Now when I bring up the Yahoo login page(by bookmark) on Safari, form fill fills in MyAccountname#1 for name and the proper password and I can login in. When I change the name to MyAccountName#2, the correct password is retrieved and I can log in! Alas, it still doesn't work on Chrome.
    BTW, I changed the password item type from "Internet password" to "Web Form password" and saw no difference! I also edited the name to be "login.yahoo.com (MyAccountName#2)" to look like the web form password item that works, but it has no effect either.
    From my experimentation, here's my observation:
    1. A Web Form password item is created for the first account name(MyAccountName#1) for login.yahoo.com and typed as Web Form password. When I log in using MyAccountName#2, an Internet Password is created, but no applications are listed as allowed to access the password item, even when the password item was created after just logged in and logged out to yahoo with the account name and password for MyAccountName#2.
    2. Manually adding Safari as an app that is allowed to use the password item works. Doesn't work with Chrome!
    The version of Safari I'm using is Version 5.1.7 (6534.57.2). My installed version of Chrome is Version 21.0.1180.79 beta.

  • Several problems with email

    I've been having several problems with email.  
    1. I sent email on Dec 10 and the people didn't receive them until Dec 16.
    2. I often get two, three or even four copies of the same email in my Thunderbird client.
    3. My Moto X (2nd gen) phone sometimes says it can't connect to email. 
    What's the problem?

    Thanks for reaching out to us JoAnn108. We'll do everything possible to address this for you.
    Could you tell me how long this has been an issue? I noticed you mentnioned Thunderbird; do you experience the same problems when working with your emails directly from the Verizon webmail portal? Also, are there any error messages you notice when the issue occurs? If we can get some answers to these questions it'll help determine our troubleshooting path.
    Thanks,
    ^FCN

  • Problem with DRL Attachment

    Hi, I have a problem with DRL Attachment.
    In GSM Spec, when I try to attach a file (few Kb) in Supporting Document Section, upload works fine. But when I try to download attached file returns this error:
    Server Error in '/drl' Application.
    Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.Exception: WSE565: The password provided the SecurityTokenManager does not match the one on the incoming token.
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPlainTextPassword(UsernameToken token, String authenticatedPassword)
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPassword(UsernameToken token, String authenticatedPassword)
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken securityToken)
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
    --- End of inner exception stack trace ---
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromXml(XmlElement element)
    at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement element, SecurityConfiguration configuration, Int32& tokenCount)
    at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
    at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Web.Services.Protocols.SoapHeaderException: Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.Exception: WSE565: The password provided the SecurityTokenManager does not match the one on the incoming token.
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPlainTextPassword(UsernameToken token, String authenticatedPassword)
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPassword(UsernameToken token, String authenticatedPassword)
    at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken securityToken)
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
    --- End of inner exception stack trace ---
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)
    at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromXml(XmlElement element)
    at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement element, SecurityConfiguration configuration, Int32& tokenCount)
    at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
    at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
    at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)
    Source Error:
    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    *[SoapHeaderException: Microsoft.Web.Services2.Security.SecurityFault: The security token could not be authenticated or authorized ---> System.Exception: WSE565: The password provided the SecurityTokenManager does not match the one on the incoming token.*
       *at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPlainTextPassword(UsernameToken token, String authenticatedPassword)*
       *at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyPassword(UsernameToken token, String authenticatedPassword)*
       *at Microsoft.Web.Services2.Security.Tokens.UsernameTokenManager.VerifyToken(SecurityToken securityToken)*
       *at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)*
       *--- End of inner exception stack trace ---*
       *at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSecurityToken(XmlElement element)*
       *at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFromXml(XmlElement element)*
       *at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement element, SecurityConfiguration configuration, Int32& tokenCount)*
       *at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)*
       *at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)*
       *at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope)*
       *at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)]*
    System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) +431714
    System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) +204
    Xeno.Prodika.XenoDoc.Handlers.DRL.DrlService.GetAttachment(tIdentifier Identifier) +50
    Xeno.Prodika.XenoDoc.Handlers.DRL.DrlWebServiceLifecycleHandler.Load(IXDocument xdoc, String pkid) +151
    Xeno.Prodika.XenoDoc.BaseLibraryManager.LoadDocumentPhaseII(IXLibraryConfiguration libConfig, IXDocument xdoc, String pkid) +42
    Xeno.Prodika.XenoDoc.BaseLibraryManager.LoadDocument(String pkid) +18
    Xeno.Prodika.XenoDoc.XDocumentSystem.LoadDocument(String library, String pkid) +39
    Xeno.Prodika.XenoDoc.XDocService.LoadDocument(String library, String pkid) +24
    Xeno.Web.UI.Common.Controls.Popups.DRL.DrlAttachmentViewerPopup.OnLoad(EventArgs e) +320
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
    this problem happened to anyone?
    Thanks.

    You didnt say whether this is 6.1 or 6.0, but if 6.1, make sure the domain user you have set in SetupAssistant for DRL Service has access and is using the correct password to the file share where the files are stored.
    If 6.0 the user and password are in the environmentvaribales.config file.
    Hope that helps.
    --Trey                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with email being tagged as spam

    We recently changed our ISP, and up to this point we had no problems with emails to partners being tagged as spam. I've setup the send and receive connectors as the public FQDN, but we're seeing the following NDR:
    p01c12m113.mxlogic.net #554 Denied[CS] [50e56f35.0.4929.00-2377.9578.p01c12m113.mxlogic.net]
    (Mode: normal) ##
    I've emailed McAfee to see what the problem is, but I haven't heard back. When I do a query on their web site, the web interface doesn't indicate there is a problem with this mail server, but it's continued to reject messages today. Even though the send
    and receive connectors are set to mail.domain.com, but there still a portion of the header with the domain.local. I'm wondering if that might be causing a problem. Can anyone help me out here? Thank you.
    Return-path: <[email protected]>
    Envelope-to: [email protected]
    Delivery-date: Thu, 21 Aug 2014 16:16:30 -0500
    Received: from mail.domain.com ([68.106.69.243]:51586)
    by server.rcvdomain.com with esmtps (TLSv1:AES128-SHA:128)
    (Exim 4.82)
    (envelope-from <[email protected]>)
    id 1XKZiX-00065C-Kj
    for [email protected]; Thu, 21 Aug 2014 16:16:21 -0500
    Received: from server.domain.local ([fe80::69d5:9cfa:1b4e:dfa3]) by
     server.domain.local ([fe80::69d5:9cfa:1b4e:dfa3%10]) with mapi id
     14.01.0438.000; Thu, 21 Aug 2014 16:16:21 -0500
    From: User <[email protected]>
    To: "[email protected]" <[email protected]>
    Subject: Help
    Thread-Topic: Help
    Thread-Index: Ac+9hSb9q5a7FGZpQG2YPEX62Lunhw==
    Date: Thu, 21 Aug 2014 21:16:20 +0000
    <o:p></o:p>

    ok lets start one by one.. to rule out the problem with your Email system go to www.testexchangeconnectivity.com and perform the exchange tests like inbound/ outbound and other relevant tests and share the results. once this is confirmed then come to Mcafee
    Let me know which Exchange and which Mcafee versions you are using as i also have Mcafee and it needs some tuning. May be i can help you. but need to know the info and if you can paste a NDR which are tagged as SPAM
    MARK AS USEFUL/ANSWER IF IT DID
    Thanks
    Happiness Always
    Jatin

  • Temporary problem with Email ?

    When I try and login to mail (BT Yahoo) from a notebook using IE10 I get the following message:
    Sorry
    We're experiencing a temporary problem with Email and are working to fix it as soon as possible. Please try again later. Sorry if this causes any inconvenience.
    Go back to BT.com >
    Back to log in
    I have got this message for the past couple of days.
    I can still see email on my android phone and iPad.
    Any ideas?

    Hi Everyone
    Please keep it friendly, we want people to feel comfortable about posting their questions and answers on the forums.
    I'm sorry to see you're having problems accessing your BT email. We've been able to login here so it looks like the problem has been resolved.
    Thanks
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • EPub with email attachment

    Hi All,
    What is ePub with email attachment?
    How to create ePub with email attachment.
    Any help would be grateful.
    Thanks,
    ROCXY

    Hi All,
    What is ePub with email attachment?
    How to create ePub with email attachment.
    Any help would be grateful.
    Thanks,
    ROCXY

  • BPEL not initiating with Email attachment

    Hi all,
    I am trying to initiate a bpel process based on email by following the link below:
    http://blogs.bpel-people.com/2007/01/using-email-to-initiate-bpel-process.html
    I have succeeded in initiating the bpel process with email, following this link.
    But my problem is that, whenever I am sending email with attachment, my BPEL process is not initiating.
    My BPEL process is initiating only when the email is received in the inbox without attachment.
    The attachment which I am sending is very small in size, like 500 bytes.
    For this, I also tried increasing the heartbeatinterval to 240 in bpel.xml activation agent code, but no luck.
    I dont have any clues about what is happening.
    Any solutions?
    I am using :
    Jdeveloper 10.1.3.3
    SOA Suite 10.1.3.3
    Please help me out.
    Thanks in advance,
    Abhishek.

    hi,
    Any updates on this?
    Thanks in advance,
    Abhishek

  • File type problem with email attachments

    Hi,
    I'm using SO_DOCUMENT_SEND_API1 to send email with an attachment. This attachment is a random file uploaded by the user on an ITS web site and sent to my FM.
    It is all working fine as long as I tell SO_DOCUMENT_SEND_API1 that the doc_type is 'PDF'. When I say it's 'JPG' I get an error "Message cannot be processed as it cannot be converted".
    It's not the actual file that is the problem, I can send jpg-images or any other file as long as I say t_packing_list-doc_type   =  'PDF'. However this leads to the attached file being called *.PDF instead of *.JPG, and the receiver has to rename it.
    The relevant code is
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
    where
    - ld_format is the file extension (e.g. 'jpg', 'pdf', ...)
    - ld_attdescription = ' ' (1 space)
    - ld_attfilename is the file name without extension (e.g. 'image001')
    My FM has to work with any file extension. It receives the file name and the file extension (jpg, pdf, doc, whatever) as an input parameter along with the file, and I just need to be able to email this file with the originale file name and extension no matter what that extension is. Any suggestions? Tia.

    hi Filip Camerman,
    i am giving you the sample code try this as such.
    it_packing_list-transf_bin = 'X'.
    it_packing_list-head_start = 1.
    it_packing_list-head_num = 1.
    it_packing_list-body_start = 1.
    it_packing_list-doc_type = 'PDF'.
    it_packing_list-body_num = tab_lines.
    it_packing_list-doc_size = tab_lines * 255.
    APPEND it_packing_list.
    Regards,
    Balaji E.

Maybe you are looking for

  • Mail application will not open at all

    My Mail app won't open at all. It bounces once and then nothing. I ran the Disk Utility and re-started. I tried opening it with the Shift key down, and tried moving the Mail folder and the preferences files (but it won't open at all, so I don't think

  • Audio waveform will not display

    I just bought a new iMac and have opened a previous FCE4 file with it. The sequence will not display the audio waveform at all... it used to do fine displaying the waveform on my Powerbook G4. I've toggled the preferences to display audio waveform gl

  • Satellite Pro L40 (PSL43E) Wi-Fi intermittant

    Well I am fed up with this laptop and its intermittent Wi-Fi connection. You just dont know from powering up if it wants to work or not, and when it doesnt, it can be an absolute nightmare getting it to detect the router. The adaptor properties alway

  • Remove warning: Set Listener ? element Listener T usage

    Hello, I have a class using listeners for diffent classes. I don't know how to remove the unchecked warning. The class stores Listener for differen classes. When called with an object of a registered class the method doIt from the registered XListene

  • Webservice to XI. Pls suggest urgent

    Hi, At source system I have webservice. I need to communicate to XI. I have imported that wsdl to XI as External Def and made Soap Sender Adapter and all XI part. Now my question is how to trigger from source system webservice to XI and how to make w