cancel
Showing results for 
Search instead for 
Did you mean: 

File To Mail Issue

Former Member
0 Kudos

Hi,

I have a file to mail scenario.

Source and target data type are as follows -

Problem is that in receiver side when I am selecting use mail package it is giving me the following error in message mapping -

But when I am not selecting use mail package , its working fine .

What could be the possible reason of this .

Thanks,

Apu

Accepted Solutions (0)

Answers (2)

Answers (2)

gagandeep_batra
Active Contributor
0 Kudos

Hi Apu,

For use of mail package  our structure of the payload must adhere to the structure of the mail package.

plz refer thebelow doc for that:

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551...

Regards

Gagan

Former Member
0 Kudos

Hi,

Actually, I was trying to use the mail package to write some data in the mail body.

Is it possible to do without using mail package , as my interface is working fine without use mail package .

ambrish_mishra
Active Contributor
0 Kudos

Hi Apu,

Use the content field to populate the data.

Ambrish

Former Member
0 Kudos

Hi Ambrish,

I am populating the data from source file through Content field and mapping it in the target side.

I need to write some data in the mail body which will be sent to the receiver like

Hi,

Please don;t reply.This is an system generated mail.

Thanks,

ABC


javier_alcubilla
Contributor
0 Kudos

Hi Apu

Use Mail Package is deprecated and is supported only for backward compatibility. New scenarios should use Adapter Specific Message Attributes (ASMA) to transfer the information about the sender (From), receiver (To), Cc, and Subject of the e-mail.

http://help.sap.com/saphelp_nw73/helpdata/en/23/C093409C663228E10000000A1550B0/frameset.htm

Regards