on 08-31-2006 2:37 AM
I need to send an XL sheet as an attachment thru XI to another Server.
How can I Accomplish the above task? What adapter I need to use on the sender And Receiver side?
Thanks a lot.
Hi,
What is the source of data ? Is it XL sheet ?
Some of the options-
1)If so use file adapter as a sender and Receiver also a file adapter with modules-
If .xls as an attachment in the mail-
2) Use Java proxy as a sender and receiver and using java email API in the reciever java proxy, you can send the XL sheet as an attachment.
3) Use File adapter to pick the data and send this data into Websercice thru SOAP adapter.
For converting excel sheet into xml , if mapping etc required then, go thru-
/people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
And also using Message Transform bean in ,Receiver Mail adapter you can send the .xl sheet as an mail attachment
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohini,
Here is the Configuration.
Design ur outbound and inbound receiver Interfaces and no mapping is required. In ur Sender File communication channel get thet .xls or .pdf file.
Use Receiver Mail Adapter w/o Mail Package.
Check the keep Attachment Check box and Content Encoding as base64. Rest are usual mail config like To Address, Subject,etc.
In Module use <b>localejbs/AF_Modules/MessageTransformBean</b>before standard Mail Adapter Bean(Its available in Adapter Framework) and give following parameters and values
Transform.ContentDescription: MainDocument
Transform.ContentDisposition: attachment
Transform.ContentType: application/vnd.ms-excel;name="attaching.xls"(Name of the Attachment).
For pdf content type would be application/pdf
Reference:
<a href="http://www.w3schools.com/media/media_mimeref.asp">http://www.w3schools.com/media/media_mimeref.asp</a>
Do Get back with the results.
Regards,
Sudharshan
Hi Rohini,
Just see these steps described by Bhavesh, it will surely help you understand how to send a PDF or any file from one system to another when there is no transformation required.
Do the folllowing~~
1. Create a dummy datatype
2. Create a Message Type for the data type of step 1
3. Create the outboundand inbound message interaces using the message type of step 2
4.No Message amd Inteface Mapping is needed
5. In Configuration , create Receiver Determination, Interface Determination , Sender and REceiver Agreement as usual. In Interface Determination, there will be no INTERFACE MAPPING.
Regards,
Abhy
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.