Skip to Content

Simple ABAP Proxy to mail scenario

This sounds so simple but it makes me crazy, because everythings I tried only works for 80%:

Scenario starts with ABAP Proxy sending file attachments via attachment methods.

1. ABAP Proxy: Send XML Tags and Attachment to PI

2. PI XXX doing something:

     a) Zip Attachment

     b) Set Mail receiver dynamically (Send to)

     c) Set Filename off attachment (or take filename from ABAP Proxy attachment)

3. PI sends email with attachment

What would be XXX?

ASMA?

Java Mapping

XIMAIL30?

UDF?

SOAP?

I tried everything, I always get a bunch of "untitled.xml" in my Outlook.

Can someone just outline a simple solution? And yes: I know most of the postings here by heart, especially the WIKI ones.

So I would really appreciate a short solution outline in a few words , preferably one that somebody made work

We are using 7.3 latest patch.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Aug 10, 2012 at 07:42 AM

    Hi Holger,

    Take it easy, if the problem has solution you don't worry because it has a solution and if the problem has no solution why to be worried?.

    At first you should tell us which blog/document you has followed and specify the concrete problem.

    Is the attachment name the problem?

    Is the zipping process the problem?

    Any particular exception with any particular source xml?

    Regards and good luck.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 13, 2012 at 03:50 PM

    Hi Holger

    You need a combination of things to solve XXX in PI. It sounds like you are getting close to solving it.

    2.a) Use Payload Zip bean module in the adapter. Here is an example blog:  http://scn.sap.com/people/stefan.grube/blog/2007/02/20/working-with-the-payloadzipbean-module-of-the-xi-adapter-framework

    2.b) It sounds like you have some aspect of the mail working correctly if you are getting email attachments...but maybe you are not getting the dynamic reciever right? Check this article:

    http://scn.sap.com/docs/DOC-1719

    2.c) You can change the attachment using module code in the adapter.

    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=69763454&bc=true

    Good luck

    Add comment
    10|10000 characters needed characters exceeded