cancel
Showing results for 
Search instead for 
Did you mean: 

File-Mail Scenario problem( V.V.Urgent)

Former Member
0 Kudos

Hi,

Good Morning.

I am Doing File-Mail Scenario,

My File is in FTP and I have to attach the file and send it to the mail.

I used File and Mail Adaper for this scenario, I Didnot design the IR,Directly i used ID.

I configured File(FTP) Adapter.

I configured Mail (XI PAYLOAD) Adapter, I also defined beans in MAil Adapter, I used MessageTransformBean &PayloadSwapBean for the adapter modules.

File(xyz.txt) file is picking and attaching as an untitled.xml as an attachment.

My Problem is I need the attachment as xyz.txt file..

What will be the problem.

Can any one help and do the needful.

points will be awarded.

Regards,

Jayasimha Jangam

View Entire Topic
Former Member
0 Kudos

Hi,

use the bellow parameter.

Transform.ContentDisposition attachment;filename=u201Dabc.txtu201D.

*Reward Points If Useful*

Regards,

Prakasu

Former Member
0 Kudos

I Had put the same thing but its not waorking...

Former Member
0 Kudos

Hi,

i Think you need a file name .txt.Use the bellow parameter.

Transform.ContentType text/plain;charset='UTF-8';name="xyz.txt"

*Reward Points If Useful*

Regards,

Prakasu

Former Member
0 Kudos

Its Not coming..

How can i proceed.

I am getting error as com.sap.engine.services.ejb.exception.BaseTransactionRollbacklocalexception:exception.

Former Member
0 Kudos

Actally My Scenario is FTP-Mail.

In FTP I am not able to see Additional Files Tab in that but in NFS it is there.

So I used beans in Mail Adapter.

Is it necessary to use Additional files in the sender side.

It is not possible to use Additional files in FTP.

What will be the further process?

Its v Urgent requirement.

Points will be rewarded..

Regards,

Jayasimha Jangam

Former Member
0 Kudos

Hi,

check your configuration.

1.localejbs/AF_Modules/MessageTransformBean type1

2.localejbs/AF_Modules/PayloadSwapBean swap1

3.localejbs/AF_Modules/MessageTransformBean type2

4.sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean

Parameters and values:

type1 Transform.ContentDescription Outmail

type1 Transform.ContentDispostion inline

swap1 swap.keyName payload-name

swap1 swap.keyValue Outmail

type2 Transform.ContentDescription Outmail

type2 Transform.ContentDispostion attachment

type2 Transform.ContentType text/plain;charset='UTF-8";name="abc.txt"

*Reward Points If Helpful*

Regards,

Prakasu

Former Member
0 Kudos

Thank U very Much prakasu

I awarded u the points