Skip to Content
author's profile photo Former Member
Former Member

Invoice Attachment

We are getting Invoices from our Vendors with the Attachment.

After it comes into XI, the Invoice Data and the Attachment(PDF) needs to be separated and then needs to be sent into R/3 system. The Invoice data goes into R/3 as an IDOC.

How should I achieve this in Message Mapping? How to separate the Invoice data and the PDF Attachment?

The adapters needs to be used?

Thanks.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Aug 02, 2006 at 12:31 PM

    That is not possible out of the box. Most adapters like RFC adapter, BPM and mapping cannot deal with attachments.

    When your application system is based on 6.20, you could create an ABAP proxy which deals with the attachment and calls inside the IDOC and the RFC.

    Another approach is using a Java Proxy which runs on the XI server. It receives the message and sends two seperate messages out, one for the invoice, one for the attachment.

    You could use as well an adapter module, but you can only combine the invoice and the attachment to one payload and do a message split with different mappings later.

    Here an idea for an adapter module:

    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded