cancel
Showing results for 
Search instead for 
Did you mean: 

Simple ABAP Proxy to mail scenario

holger_stumm2
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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...

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

iaki_vila
Active Contributor
0 Kudos

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.