Read multi-tabbed excel file attachments from Sender Mail Adapter.
There is a need to read excel attachments from incoming email to a
mailbox. We know we can use Sender Mail adapter to easily read .xml, .txt
or .csv attachments.
For excel attachments we know from SDN that you have to write
adapter modules to handle excel. However the excel file we need to read has
multiple worksheets(tabs) and data may be contained in any of them.
Is it possible to use SAP XI Mailsender adapter to read such a file as an attachment? What kind of module development would we need for this? I am not much of a Java programmer so examples or links to other documentation would help.
Thanks,
Rudra
Rudra,
Use Java Mapping. There is a free java api available called JExcelAPI to achieve this.
Shabarish's blog describes about this. This might be helpful to you
/people/shabarish.vijayakumar/blog/2009/04/05/excel-files--how-to-handle-them-in-sap-xipi-the-alternatives
Similar Messages
-
Export to Multi-tabbed Excel File
Hi,
I'm using Crystal Reports XI R1 and aside from designing reports in WEBi, do newer versions of Crystal support exporting reports to multi-tabbed Excel files?
Thanks,
BrianHi Brian,
Moving your post to Businessobjects WEBI forum. They can answer your question quicker.
Thank you
Don -
How to retrieve client certificate information from sender mail adapter
Hi, expert:
I have a requirement to verify the validation of coming email with digital certification. The mail is with digital certification. If the coming email is valid, I 'll get the attachemt of the mail for further processing. I have a sender mail adapter and receiver file adapter configued.
I have already my own developed adapter module, which is configued in mail adapter. My question is how to retrieve the detailed certificate information in the adapter module developed by myself. Is it feasible?
Thanks a lot.The WL-Client-Proxy cert should be the cert used on the proxy side if SSL is configured between Apache and WebLogic, so I believe that is the reason why that does not work. Basically, the problem here is that SSL is end-to-end, and the two ends of this transaction are the client and apache.
That said, when you add the +ExportCertData option, this should record the client's SSL certificate in the vairable SSL_CLIENT_CERT. So you should be able to use request.getAttribute("SSL_CLIENT_CERT").
See:
http://www.modssl.org/docs/2.8/ssl_reference.html
If this doesn't work for you (which is possible if the WL_Proxy is doing something funny to the request), it is probably best just to dump out the entire contents of the session, and see what you have:
for (Enumeration e = request.getAttributeNames() ; e.hasMoreElements() ; ) {
String attr = (String)e.nextElement();
System.out.println("ATTR = " + attr);
System.out.println("VAL = " + request.getAttribute(attr));
If you can't see any SSL certificate there, you will have to work out some way to pass this on manually.
cheers,
Trevor -
Reading an PDF Attachment From Sender Mail Adapter
Hi All,
i am able to get a mail from my Mail Server, But my aim is need to Read an PDF attachment from the mail, in SXMB Moni i am getting the Payload with attachment, I have a created a module to convert that PDF to XML(Module is working fine in file to file sceneraio) .
In adapter should i need to use Payload Swap Bean Module also , because in sap help said that i need Select Keep Attachments. I want to know how that how to Push the PDF attachment to My Custom Module which is used to convert the PDF To XML.
If Payload Swap Bean Module needs to be Used , please tell me the Key Names and Key Values to be used.(swap.keyName,swap.keyValues)
Thanks and Regards,
Kamal
Note: Points will be awardedKamal...
See if this helps
[Module Name]
AF_Modules/PayloadSwapBean
[Module Parameters]
The following parameters are used for this module
swap.keyName the name of a supported attribute.
swap.keyValue the value of a partial string that is required
to appear.
The supported attributes (swap.keyName) include the payload attributes
such as payload-name, payload-description and any content attributes
such as content-type, content-disposition, content-description, etc.
Regards
Ravi Raman -
How to handle Multiple attachments in sender Mail Adapter
Hi,
In our requirement is mutiple documents send through mail adapter, In custom java module we read the each document details and do it bussiness process. But now i am not able to read the multiple files at a time. we are able to read single file only. So plz give the solution for that.
1) How to send multiple attachments(like word, PDF, JPG etc..) using mail apapter.
2) How to read multiple attachments in custom java module.
Thanks & Regards
VijayHi Vijay,
Go through this weblog this explains steps to multile attachments.
/people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems
Regards,
Ashwin. -
Read filename of email attachment for sender mail adapter
Hi All,
We have a requirement to read filename of email attachment received from Sender email adapter and send details to SAP by Proxy call.
Can we retrieve the filename of email attachment ?
Any help on this will be really useful.
Regards,
AshishHi,
>>>Can we retrieve the filename of email attachment ?
Please see the below link, it might be useful to you.
http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
Regards,
P.Rajesh -
Support package of attachment for Sender mail adapter
can anyone tell me after which support package XI supports
Attachments in sender mail Adapter.
Thanks
Sunil Singhhi sunil,
check this links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9e6c7911-0d01-0010-1aa3-8e1bb1551f05
http://www.sapag.co.in/SAP-XI-Mail-Adaptor-FAQ'S.html
regards
srinivas -
I am unable to open attachments (Word Documents, Excel file, Adobe) from my Gmail with Firefox. My computer freezes when I try to open the (email attachment) file. Task Manager says "not responding".
You can respond to [email protected]You may first want to look into Safari's "Installed Plugins" section within the browser. This is (usually) found under the Safari Help header in the top of a browser. I say usually, because I don't use Safari often and mine is an older version. They handle applications and plugins like most others, to a point.
I see in Safari Installed Plugins that mine would use
application/pdf
Acrobat Portable Document Format
Acrobat Reader & reader plugin v9.5.5 for web browsers
(in Safari 5.x, where I looked into this)
While I use FireFox, SeaMonkey (Mozilla) and others, where I can choose in preferences the helper applications to open from the browser, Safari has different methods; so if you can change this in the preferences or settings of Safari in a later version I am not certain.
You could see what the defaults are by using Safari help menu to open the Installed plugins, and maybe find out what happend to Adobe reader plugin. Could be it was 'sandboxed' in a later OS X and needs to be installed differently to be accepted as safe.
It is easier to set how a file type is handled once it is inside the computer and not held in the browser; by file type in general or specific to each single document. I do both, and seldom let an a browser do these things due to security considerations. I download and open them, only then if I feel they are safe.
Sorry to not have a specific answer for that anomaly.
Good luck & happy computing! -
Read and write excel sheet data from uploded file in sharepoint site programmatically 2013
hi team,
I am working on sharepoint 2013.I want to read and write data in excel sheet (micrsoft excel) from stored file in shrepoint docoumnt library .please suggest me
vijayHi
Vijay,
check those links
http://www.sharepointwithattitude.com/archives/61
https://social.technet.microsoft.com/Forums/en-US/e760051b-a92f-473c-9ec9-0f0c36c99e40/read-and-write-excel-sheet-data-from-uploded-file-in-sharepoint-site-programmatically-2013?forum=sharepointdevelopment
Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation. Please remember to mark the reply as answer if it helps. -
Can we create Multi Tabbed excel Sheet using Crystal Reports 2008
Hi,
We want to create a Crystal Report which will export the output as multiple Tab's ( we can use sub reports). Can we create a Multi Tabbed excel Sheet using Crystal Reports 2008 ( not Crystal reports Basic 2008). Please share any information/links on how to do that.
Also if it is not supported please let us know which version supports it.
Thanks,
VasuAt least one of the 3rd-party Crystal Reports Desktop Scheduling tools listed at: http://www.kenhamady.com/bookmarks.html provides that functionality. It allows you to burst a single report so that each Group at level 1 becomes a separate tab. You can control the tab names (and tab colors) via fields/formulas inside the report.
You can also automate the process of exporting to (and also replacing or appending to) specified tabs inside existing workbooks. -
I cannot Open EXCEL files transferred from my old HP laptop.
I am unable to open EXCEL files transferred from my HP LapTop. How to resolve?
The forum for MBP:
MacBook Pro
As for Excel, checked microsoft office community?
Maybe if you try export first....?
Vista has its own ownership permission flags. Maybe if you modify the file or a copy first, and then copy. -
Same file name from sender to receiver file adapter with out using UDF
Hi All,
I am working on FILE TO FILE. My requirement is same file name from sender to receiver file adapter. Is it possible to do using only Adapter Specific message properties? i mean with out using UDF.
Thanks
KarthikHi,
>>>Is it possible to do using only Adapter Specific message properties?
yes
just enable Adapter Specific message properties in sender and receiver channel for file name
and you're done
Regards,
Michal Krawczyk -
I am unable to read signatures on PDF files sent from my Los Angeles office - they use windows, any solution?
Hey guys,
So this is follow up from my debarkle with the EDD. I found out my problem with copying files from Mac to EDD and vice versa was a result of a not so good EDD ( i had an apollo hard drive from imation) that was not very compatible with macs. So i did my research and found out that the best hard drives were Western Digital and Seagate. I bought the newest western digital EDD 1TB and formated it to FAT32 and guess what...no problems so far. The only problem is that FAT32 format doesn't copy files larger than about 4 gigs so i couldnt copy a movie from my brothers computer onto my EDD that was 1080p. You could probably resolve that by partitioning a small part of your hard drive in ExFAT? but yeah, hopefully that helped guys.
Aaisha -
Email attachment name in sender mail adapter to the receiver file adapter
HI ,
Ths is regarding email to file scenario. I am trying to create file (in rceiver file adapter) with the same name as the email attachment that i read from mail sender adapter. I want ro use adapter module for this. I could find from blogs that there is module - GetAttachmentName - available that i can use for this in sender mail adapter.
Can you please let me know what whetehr i neeed to mention any module key and parameters for this.
I assume , i need to do following steps :Please confirm.
1. i can use this module - after payload swap module and before standard mail adapter module in sender mail adapter
2. select ASMA option in advanced tab in sender mail adapter
3. In receiver file adapter select ASMA option in advanced tab in sender mail adapter
4. Also select file name option in ASMA in sender mail adapter
Thanks,
VamsiHi Vamsi,
your scenario is also described here: Re: sender mail adapter - attachment name
If you use the Module getAttachmentName, which is described here,
http://wiki.sdn.sap.com/wiki/display/XI/AdapterModulePI7.0GetAttachmentName
your scenario should work as you described it.
You just need to make sure that the Attachment Name that you read in the first place, is mapped to the Filename Attribute of the
Fileadapter (http://sap.com/xi/XI/System/File/FileName).
regards,
Daniel -
Has anyone got a script to read a list of email addresses from a Mail message header and put them into a group in Contacts?
Now Tony, I know you can't hear my tone on a forum post but I was not complaining, simply stating facts . This change brought several people in my office to a grinding halt in a long established workflow that is really rather simple (and I thought was already assumed from the original post above ):
1) Select a set of records in FileMaker Pro 12 and export only their e-mail addresses as a CSV file.
2) Open that CSV file in Excel.
3) Copy the column of e-mail address.
4) paste into the appropriate recipient field in Mail.
5) Send
If I were to complain it would be about Apple's typically opaque approach to updates. There is no granular explanation of why changes were made or even "what" changes were made.
Complaining is futile since Apple is Apple and is unlikely to change, but sometimes it is cathartic to "shout into the void" .
I had thought about doing something with a formula in Excel and your suggestion was simple and helpful. Again, however, it is only a workaround for a long established helpful behavior that Apple has inexplicably broken/removed in Mavericks Mail.
I, and the other posters here, would love to have the capability back rather than have to add previously unneeded steps to our workflows.
Ultimately we may add scripting steps to the FileMaker side to export the address lists with commas inserted already if Apple ends up having permanently removed this feature.
Maybe you are looking for
-
Sony DCR-HC62 camcorder won't connect to iMovie with express card adapter
I got a Sony HC62 Mini DV video camera but it will not connect to iMovie. Since I don't have a firewire 6 pin on my Mac (only a 9 pin) i got an express card adapter. So I am using 4 pin (camera) to 6 pin (Express card) firewire. I have no other devic
-
Page size? 4 page booklet to print out on 11X17, acrobat 9 pro
Hello, I need to create a printed application which will print out on 11X17 in paper and then fold in half. so pages 2 and 3 are on 1 side and pages 1 and 4 are on the other side. when you fold it it opens up like a book. does anyone know how to chan
-
Af:SelectOneChoice - how to set
Hi All, I am newbie in ADF world. I am trying to do some samples. I created a table with the followind data (Employee_Id, EMployee_Name, Country) 100 Steven India 101 Neena America 102 Lex Australia and my jsff contains, here
-
hi friends , i hav installed oracle 10g 'orcl' in my application server OEL 5.5, how to replicate , i need to synchronize what ever the changes that has been done in the database should be reflected in remote machine either local or in remote(via int
-
How much time should the installation take?
It has been an hour and its still 50%.