Can we send attach with Inbound IDoc

Hi All,
I have requirement, Proxy to Idoc scenario where i need to send attchement along with Idoc message coming from proxy message. Can we do that?
Also, i have another requirement as , i have 2 receivers , one is soap and one is Idoc , i need to send payload to Idoc reciever and just attachment to SOAP which is coming from Proxy message. How to do this.
Please let me know. Thanks.
Vishal

HI Vishal
You cannot send attachment to IDOC but for SOAP you can.
Attachment from proxy cannot be accessed in mappings and has to be handled as attachment.
Thanks
Gaurav

Similar Messages

  • Can we send attachements with Idoc?

    Hi ,
    Can we send attachements with Idoc?

    Hi,
    1. in standard you cannot
    2. you could however send it in a text field
    and then combine in adapter or java proxy
    on the other hand abap proxies work with attachments
    in standard - check out my blog:
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Mail.app: I can't send attachment with "space" in filename

    Hi.
    I've this kind of problem. I think it is Mail.app problem. The mail isn't sent if the attachment's filename contains "space" (eg: "file name.pdf").
    The same email is sent finw if I use Thunderbird with the same SMTP server (Leopard Server) and from the same machine.
    If the recipinets in local (not relayed over internet) it works well. Otherwise the SMTP server tell me it have lost connection whith relay server (ISP SMTP server).
    I've used Lotus domino Server as SMTP server with the same result.
    If I cut the "space" (' ') in the attachment's filename Mail.app works fine as well.
    HELP!
    thanks.
    P.S.: sorry for my english
    Message was edited by: odolo
    Message was edited by: odolo

    There is a bug which causes the filenames of attachments with a space or an accented character in the name to have characters appended to the filename extension; it may be that it also sometimes stops the attachment from sending. But other people have reported problems with mails with attachments not sending regardless of the filename, so I think the next software update will see some fixes.
    Meanwhile, don't use spaces!
    AK

  • The XI does not send messages with correct IDOC structure

    SAP XI 3.0 sends to ECC IDOC HRMD_A07 
    The XI does not send messages with correct IDOC structure.
    In XI Design, Software Component RHEVOLU, I’ve imported the Objects
    HRMD_A.HRMD_A07 from SAP ECC; In Tools -> Export Reduced XSD, I saved
    HRMD_A.HRMD_A07.xsd in Namespace http://suezambiental.com.br/HR . At
    Message Mapping -> mmAdmissao, in Imported Message -> Import XML or
    XSD, I imported the reduced Idoc file generated above, mapping source
    fields to target fields.
    The IDOC sent from XI to ECC has this structure (template: 22122)
    E1PLOGI
    E1PORIG
    E1PITYP
    E1P0000
    E1P0001
    E1P0002
    Status 53 -HR: ALE inbound processing for HR master data
    But does not update HR Master data.
    The structure expected in ECC side (template: 20376) is:
    E1PLOGI
    E1PORIG
    E1PITYP
    E1P0000
    E1PITYP
    E1P0001
    E1PITYP
    E1P0002
    Status 53 -HR: ALE inbound processing for HR master data
    By using WE19 transaction, this structure was changed manually; so, the
    HR Master data was updated.
    Witch kind of customizing or correction could be made in XI, to send
    the correct structure to ECC?
    Best Regards
    Claudio

    Hi Claudio,
    In your case, there are perhaps two causes:
    1. perhaps when you have import the idoc, for a strange reason, a bad metadata was created by XI. You can clean this one in tcode <b>IDX2</b> (Idoc metadata cache).
    2. but it's also probably an error in your Message Mapping. Have you correctly manage segment E1PITYP?
    Regards
    Mickael

  • Receiving mail, but can't send mail with attachments?

    Hello,
    I can't send mails anymore, I have been able to send some without any attachments (i.e. reply doesn't work as it automatically attaches the original text). This started 3 days ago. Also, my mail doesn't seem to recognize powerpoint and word docs., but I a know the people who have send me such files do not have VISTA. When I choose "open with" then it works. So I have 2 problems, one being moe urgent then the other.
    1) can't send mail with attachments
    2) .doc (word), .pps (powerpoint)attachments are not always recognized.
    thank you all!!!

    Try going into Settings > Mail, Contacts, Calendars > select the account > account name , tap on SMTP (under the 'Outgoing Mail Server' heading) and then tap on your Primary Server and try entering your email account and password and see if it then works

  • Send attachment with maximum characters

    I need to extract data from a table into a .csv and then send that .csv as an attachment.
    I am converting the data to csv and assigning it to clob variable but table has huge data therefore procedure gets error out after around 7000 characters with
    ORA-06502: PL/SQL: numeric or value error.
    Please suggest a way to send attachment with maximum characters.
    With the below sample code i am able to send atttachement upto 7000 characters.
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test subject';
    v_Mail_Host VARCHAR2(30) := 'mail.mycompany.com';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    utl_smtp.Data(v_Mail_Conn,
    'Date: ' || to_char(sysdate, 'Dy, DD Mon YYYY hh24:mi:ss') || crlf ||
    'From: ' || v_From || crlf ||
    'Subject: '|| v_Subject || crlf ||
    'To: ' || v_Recipient || crlf ||
    'MIME-Version: 1.0'|| crlf ||     -- Use MIME mail standard
    'Content-Type: multipart/mixed;'|| crlf ||
    ' boundary="-----SECBOUND"'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    'Content-Transfer_Encoding: 7bit'|| crlf ||
    crlf ||
    'some message text'|| crlf ||     -- Message body
    'more message text'|| crlf ||
    crlf ||
    '-------SECBOUND'|| crlf ||
    'Content-Type: text/plain;'|| crlf ||
    ' name="excel.csv"'|| crlf ||
    'Content-Transfer_Encoding: 8bit'|| crlf ||
    'Content-Disposition: attachment;'|| crlf ||
    ' filename="excel.csv"'|| crlf ||
    crlf ||
    v_message|| crlf ||     -- Content of attachment
    crlf ||
    '-------SECBOUND--'               -- End MIME mail
    utl_smtp.Quit(v_mail_conn);
    EXCEPTION
    WHEN utl_smtp.Transient_Error OR utl_smtp.Permanent_Error then
    raise_application_error(-20000, 'Unable to send mail: '||sqlerrm);
    END;
    Thanks,

    Thanks for your help Billy.
    I am able to segment the data but I am not getting any attachment instead segmented data is showing in the mail body.
    Can you please have a look and let me where it is going wrong?
    DECLARE
    v_From VARCHAR2(80) := '[email protected]';
    v_Recipient VARCHAR2(80) := '[email protected]';
    v_Subject VARCHAR2(80) := 'test mail';
    v_Mail_Host VARCHAR2(30) := 'localhost';
    v_Mail_Conn utl_smtp.Connection;
    crlf VARCHAR2(2) := chr(13)||chr(10);
    v_message clob;
    message clob;
    BEGIN
    v_Mail_Conn := utl_smtp.Open_Connection(v_Mail_Host, 25);
    utl_smtp.Helo(v_Mail_Conn, v_Mail_Host);
    utl_smtp.Mail(v_Mail_Conn, v_From);
    utl_smtp.Rcpt(v_Mail_Conn, v_Recipient);
    v_message := 'date: ' || to_char(sysdate, 'DD-MON-YYYY HH24:MI:SS')||chr(10)||
    'from: '||v_From|| chr(10) ||
    'to: '||v_Recipient ||chr(10)||
    'subject: '||v_Subject || chr(10) || chr(10);
    utl_smtp.open_data (v_Mail_Conn);
    utl_smtp.write_data(v_Mail_Conn , v_message );
    --MIME header.
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'MIME-Version: 1.0' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: multipart/mixed;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,' boundary="-----SECBOUND"' ||crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,crlf);
    -- Mail Body
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'-------SECBOUND'|| crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn,'Content-Transfer_Encoding: 7bit' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, 'Please see the attachments' || crlf);
    UTL_SMTP.WRITE_DATA(v_Mail_Conn, crlf);
    -- Mail Attachment
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Type: text/plain;' || crlf);
    utl_smtp.write_data(v_Mail_Conn,'name="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Transfer_Encoding: 8bit' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'Content-Disposition: attachment;' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,'filename="excel.csv"' ||crlf);
    utl_smtp.write_data(v_Mail_Conn,crlf);
    message := 'OBJECT_TYPE, OBJECT_FOREIGNKEY, OPERATION, EVENT_ID, STATUS_ID, NUM_BLOCKED, MODIFIED_DATE, INT_UPDATEEVENT_FMWID, ERROR_DESCRIPTION';
    utl_smtp.write_data(v_Mail_Conn , message );
    for rec in (
    select object_type, object_foreignkey, operation, x.event_id, x.status_id, num_blocked,
    e.modified_date, e.INT_UPDATEEVENT_FMWID, replace(substr(e.error_description,1,100),',',' ') error_description
    from (
    select b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id, count(1) num_blocked
    from EVENT e
    INNER JOIN TRANSACTION t
    ON e.transaction_id = t.transaction_id
    inner join transaction_dependency d
    on t.transaction_id = d.transaction_id
    inner join transaction_block b
    on t.transaction_id = b.transaction_id
    inner join transaction_block b2
    on d.transaction_id <> b2.transaction_id
    and d.object_type = b2.object_type
    and d.object_foreignkey = b2.object_foreignkey
    inner join transaction t2
    on b2.transaction_id = t2.transaction_id
    and t.source_type = t2.source_type
    inner join event e2
    on t2.transaction_id = e2.transaction_id
    where t.source_type = 'CRM_OD_To_OP'
    and e.created_date >=(sysdate - 1)
    and e.status_id <1000
    and e2.status_id <1000
    group by b2.object_type, b2.object_foreignkey, t.operation, e2.event_id, e2.status_id
    ) x
    inner join event e
    on x.event_id = e.event_id
    and e.status_id = 900
    order by num_blocked desc, object_type, object_foreignkey
    ) loop
    message := crlf || rec.object_type||','||rec.object_foreignkey||','|| rec.operation|| ','|| rec.event_id||
    ','||rec.status_id||','||rec.num_blocked||','||rec.modified_date||','||rec.INT_UPDATEEVENT_FMWID||','||rec.error_description;
    utl_smtp.write_data(v_Mail_Conn , message );
    end loop;
    utl_smtp.write_data(v_Mail_Conn,crlf);
    utl_smtp.write_data(v_Mail_Conn,'-------SECBOUND');
    utl_smtp.close_data(v_mail_conn);
    utl_smtp.quit( v_mail_conn );
    EXCEPTION
    WHEN others then
    dbms_output.put_line('error ' || sqlerrm);
    END;

  • Create PM orders/notif with inbound IDOC

    Hi all,
       Anyone knows how can I create a PM order and a PM notification with inbounds IDOC?. If there are not IDOC available, it´s possible create PM order and notification trhought BAPI´s?.
    Thanks in advance
    Abel

    Hi Abel,
    Have a look at BAPI_ALM_ORDER_MAINTAIN for PM Order and BAPI_ALM_NOTIF_CREATE for PM Notification.
    You can check the BAPI's from transaction code BAPI.
    Hope this helps.
    Thanks
    Lakshman

  • I can't send attachments with Thunderbird?

    I can't send attachments with Thunderbird. I can write a message but when I click on Attach, I get the message "Thunderbird has stopped working. A problem has caused the program to stop working correctly. Windows will close the program and notify you if a solution is available." There is only a "CLOSE PROGRAM" button displayed and when I click on it Thunderbird stops running. I'm not sure whether this is a Thunderbird problem or a Windows 7 problem. Any ideas on what is causing this and how to fix it?

    Try to start Thunderbird in safe mode.
    https://support.mozilla.org/en-US/kb/safe-mode

  • Can't send emails with pictures bigger than 8mb on iphone 4s

    Hi , I can not send email with pictures attached (3 or 4 pictures) higher than 8MB. I have an Iphone 4S

    Pictures usually size is 2 or 2.2MB each, when i try to send 4 at the same time the phone takes about 10 minutes or more to send it and finally a message in the sent folder shows "Can not send email" and thats it, if I reduce the size of the pictures sending again to ~5MB the email goes ok.

  • How can i send Email with attacment in pdf/xls with pass word protect

    Hi
    Can i send Email with attachment in pdf/xls with password protect in oracle apps .Here we want monthly stmt to send the customer with pdf/Xls with
    password protect.Is it possible if yes how
    Thanks

    One option is to convert the report to XML Publisher (which you might have already done as you are asking PDF/XLS), then look into the links below:
    http://blogs.oracle.com/xmlpublisher/2007/09/11/
    http://blogs.oracle.com/xmlpublisher/2010/02/securing_burst_output_document.html
    http://blogs.oracle.com/xmlpublisher/2007/06/merge_and_secure_pdfs.html

  • Getting: Unable to send attachment with Mail Drop

    Mail Drop is not working for me, I always get error message while trying to send.
    Here is what happens:
    -I compose a message that includes a large attachment
    -I click send
    -I get the message "Unable to send attachment with Mail Drop" for a few seconds
    -My message is not sent and it goes into the Outbox folder.
    Configuration:
    OS X 10.10 Yosemite
    Mail -> Preferences -> Accounts -> Advanced. The option "Send large attachments with Mail Drop" is selected.

    I had the exact same problem.  I finally figured out what was wrong.  I believe you must have iCloud Drive turned on in System Preferences AND you also must allow mail to store document in iCloud Drive which you can check by clicking the "Options..." button in the preference pane of iCloud Drive. As you can see below.

  • Sending attachment with different name

    Hi,
    is it possible to send attachment with different name with javaMail?
    If possible, is there a sample code to do it?
    Thanks.
    Edited by: user1071181 on Aug 6, 2011 2:14 PM

    Hi,
    I listed some of my code at below.
    But i did not find attachFile method for messageBodyPart class.          
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setDataHandler(new DataHandler(new MemoryDataSource(....getPDFObject())));
    messageBodyPart.attachFile("abc.pdf");
    messageBodyPart.setFileName("abc_2011_08_07.pdf");
    messageBodyPart.setHeader("Content-Type", "application/pdf");
    multipart.addBodyPart(messageBodyPart);
    message.setContent(multipart);

  • SendMail: can not send mail with body more than 1000 caracters

    Hi,
    I can not send mail with a body wich is more than 1000 caracters.
    FUNCTION SendMail(SMTPServerName IN STRING,                     
                        Sender IN STRING,                     
                        Recipient IN STRING,                     
                        CcRecipient IN STRING,                     
                        BccRecipient IN STRING,                     
                        Subject IN STRING,                     
                        Body IN STRING,                     
                        ErrorMessage OUT STRING,                     
                        Attachments IN ATTACHMENTS_LIST) RETURN NUMBER IS      
                        AttachmentList VARCHAR2(4000) := '';      
                        AttachmentTypeList VARCHAR2(2000) := '';   
                          BEGIN       ParseAttachment(Attachments,                      
                                                      AttachmentList);      
                                      RETURN JSendMail(SMTPServerName,
                                                       Sender,                       
                                                       Recipient,                       
                                                       CcRecipient,                       
                                                       BccRecipient,                       
                                                       Subject,                       
                                                       Body,                       
                                                       ErrorMessage,                       
                                                       AttachmentList); 

    Hi,
    I can not send mail with a body wich is more than 1000 caracters.
    FUNCTION SendMail(SMTPServerName IN STRING,                     
                        Sender IN STRING,                     
                        Recipient IN STRING,                     
                        CcRecipient IN STRING,                     
                        BccRecipient IN STRING,                     
                        Subject IN STRING,                     
                        Body IN STRING,                     
                        ErrorMessage OUT STRING,                     
                        Attachments IN ATTACHMENTS_LIST) RETURN NUMBER IS      
                        AttachmentList VARCHAR2(4000) := '';      
                        AttachmentTypeList VARCHAR2(2000) := '';   
                          BEGIN       ParseAttachment(Attachments,                      
                                                      AttachmentList);      
                                      RETURN JSendMail(SMTPServerName,
                                                       Sender,                       
                                                       Recipient,                       
                                                       CcRecipient,                       
                                                       BccRecipient,                       
                                                       Subject,                       
                                                       Body,                       
                                                       ErrorMessage,                       
                                                       AttachmentList); 

  • TS3276 I can't send messages with mail 6.0 of mountain lion, because I can't desactivate the option SSL (Secure sockets Layers); it is locked

    I can't send messages with mail 6.0 of mountain lion, because I can't desactivate the option SSL (Secure sockets Layers); it is locked

    Hi, i am having the same problem. this is what i have noticed.
    I have 2 x imac's and 2 x macbook air's
    i upgraded the 2 macbook air's and 1 of the imac's to Mountain Lion, all these have problems acessing sites that require you to login .
    the one remaining imac is still running lion and works perfect.
    i am using a dlink router with DD-WRT firmware, i tested teathering from my iphone and i can log into websites fine using the newly upgraded mac's.
    It's not a wireless issue as my imac is using an ethernet connection.
    is there a compatibility issue with some routers.

  • Outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON

    Hi Friends
    I am trying to pack outbound delivery with Inbound IDOC DELVRY06 with Message type SHPCON.
    But IDOC has error Specification of destination HU missing.
    Could you please help us to resolve the issue to Pack the outbound delivery with the  IDOC.
    Thanks
    SR

    HI Ian Kehoe
    Sorry for delay in reply
    Thanks you very much
    I solved that problem .
    Could you please advice  test data for IDOC  DELVRY06 packing hierarchy (multi level packing) to pack SAP outbound delivery.
    Thanks
    Ravi

Maybe you are looking for

  • Trying to install update-not working

    I am trying to install the new iTunes update and getting nowhere.  I click on dowload update and nothing happens.  I have tried quitting iTunes and restarting my compuer to no avail.  iTunes is acting a mess, keeps freezing my syncs and stops song pr

  • Where to buy new adapter

    Hi all, My power adapter had died for my 17 inch powerbook G4. I have searched the store and can't find a replacement anywhere. I have 49 minutes left and then it dies so can some one help me please? Many thanks, Vicki

  • How to change color of a report/form

    Hi, I am new to APEX. I have created an interactive report and using Theme-9 Simple Gray. I want to change background color of this report and form. May you please giude me. Thanks in advance.

  • Enhancement for PO creation in EBP

    Hi , When I create a PO and shopping cart in EBP,the Goods recepient is not transferred to R/3. Can anyone suggest a proper user-exit/BADI to transfer this to R/3 while creating PO in EBP? Thanks, Sandip.

  • Purchase Return of Excisable Items

    Hi All, I have made an GRPO of Excisable Item, and Created Incoming Excise Invocie. next I created AP invoice based on that GRPO. Now when I am going to create AP Credit Note based on  AP Invoice, it create automatic outgoing Excise invoice and Excis