cancel
Showing results for 
Search instead for 
Did you mean: 

how t o get the sunject in reciever mail using mail adapter

Former Member
0 Kudos

hi all.

i had created a file to mail scenario .

in archive mapping program it was defined to which mailids of reciever side should be mailed and the body of the mail.

but i just want to know if there are any settings under reciever mail adapter to get the subject uner reciever mails and an increment value (the number of times that the mailget posted in reciever mails) to be displayed in subject line of mail after descryption of the subject.

waiting for great answer.

cheers.

seeta ram.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Refer this blog:

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1798. [original link is broken] [original link is broken] [original link is broken]

Regards,

Nithiyanandam

Former Member
0 Kudos

hi.

iam very thankful to u r anwer.

but i just want to know if there is any possibility to put counter(no of mails that the reciver has got from sender) in subject of mail at reciever side and one more thing is here iam using a imported archieve for sending a mail using a mail adapter.

so here i do enabled (use mail package ) under reciever mail adapter.

waiting for u r answer.

cheers.

seeta ram.

Former Member
0 Kudos

Hi again,

look at this: /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14

just use

DynamicConfigurationKey key =

DynamicConfigurationKey.create("http://sap.com/xi/XI/System/Mail", "THeaderSUBJECT");

Dominic

Former Member
0 Kudos

hi.

iam very thankful to u r anwer.

but i just want to know if there is any possibility to put counter(no of mails that the reciver has got from sender) in subject of mail at reciever side and one more thing is here iam using a imported archieve for sending a mail using a mail adapter.

so here i do enabled (use mail package ) under reciever mail adapter.

waiting for u r answer.

cheers.

seeta ram.

Former Member
0 Kudos

Hi Seeta,

you have to use a UDF in which you define a Container

http://help.sap.com/saphelp_erp2004/helpdata/en/75/8e0f8f3b0c2e4ea5f8d8f9faa9461a/frameset.htm

http://www.erpgenie.com/netweaver/xi/mapping1.htm

You can make a counter which increments every time you call the UDF.

Use the UDF in your mail package with the subject.

Hope this helps.

Dominic

Former Member
0 Kudos

Hi Seeta,

please check this blog: /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address

Regards

Dominic