on 10-31-2008 1:57 PM
Hello everyone,
I have the following scenario:
IDOC -> XI -> Mail w/ .txt attach with fields of IDOC separated by ';'
How can i "concatenate" all fields into one text file and then send this in an attachment via email ?
Thank you in advance,
Solved it on my own, using xsl transformation to transform xml into txt concatenated file.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone has some idea?
I created a Party RECEIVERCOMPANY (for example) with a BusinessService RECEIVERCOMPANYMAIL, that has a Communication channel Mail_Receiver with an adapter of type 'Mail', Receiver, smtp, etc.
On the other hand, i have allready imported IDOC DESADV.DELRY03 and successfully arrived at the XI engine.
Now... what can i do to take the xml message that arrived from SAP R3 Idoc and transform it into a txt file to attach to an e-mail and then send via Mail Adapter ??
Thank you all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nuno
What you can do here is
1. parse IDOC XML into a flat file using UDF or Java mapping and pass it to a string. use the mail package and map this string field to Content field of mail package. Now at mail adapter use Mail package with attachment.
2. You write a mail adapter module to parse the file and attach it to mail.
3. Use the StrictXMLtoPlain Bean at receiver mail adapter to parse IDOC XML into a flat file and then use MessageTransformBean to attach it to the mail
Using Mail package usage will allow dynamic mail message.
Thanks
Gaurav
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
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.