on 07-01-2011 3:45 AM
Hey Friends,
We have a simple File to File scenario, we are picking a flat file and passing it to receiver system without any Message Mapping. We developed this interface without configuring any ESR objects (passthrough scenario). Now we have a need that we have to send an e-mail notification as well once the file is transferred, the subject line of e-mail should have the filename. To achieve this, we configured Mail as an additional receiver (and maintained the sequencing). The problem we are facing is that we don't know of any way to get the filename in the e-mail Subject.Since we are not doing any message mapping, we can't use ASMA.
Is there any way in which we can get the filename in the e-mail subject without using ASMA? I know we can send the whole file as an attachment but we don't want that. We just want a notification e-mail with Filename in the subject Line.
Appreciate your help.
Thanks
Saif
Edited by: Saif Manzar on Jul 1, 2011 6:55 AM
Hi saif,
Please use DynamicconfigurationBean to set the subject.
Adapter-Specific Message Attributes
To process adapter attributes in the message header of the XI message, select Use Adapter-Specific Message Attributes and Variable Transport Binding. The following attributes in the message header are available for processing:
Meaning
Technical Name
User
TServerLocation
Authentication Keys
TAuthKey
Mail header 'from' field
THeaderFROM
Mail header 'to' field
THeaderTO
Mail header 'Cc' field
THeaderCC
Mail header 'Bcc' field
THeaderBCC
Mail header 'subject' field
THeaderSUBJECT
Mail header field for reference to mail which is being replied to
THeaderIN-REPLY-TO
Mail header 'reply to' field
THeaderREPLY-TO
Mail header field for mail client program
THeaderX-MAILER
Mail header field for delivery acknowledgement
THeaderDISPOSITION-NOTIFICATION-TO
Mail header field for priority
THeaderPRIORITY
Mail header field for message importance
THeaderIMPORTANCE
http://help.sap.com/saphelp_nw04/helpdata/en/6b/4493404f673028e10000000a1550b0/content.htm
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try the DynamicConfig bean to directly populate the ASMA for mail subject from the filename property in ASMA file adapter.
You can use this in the sender or receiver channel.
https://help.sap.com/saphelp_nwpi711/helpdata/EN/44/748d595dab6fb5e10000000a155369/frameset.htm
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Develop one Adapter Module then it can work.
Regards,
Naga.
Edited by: nagababumathi on Jul 1, 2011 10:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.