‎2006 Jun 15 12:03 PM
Hi
I've to develop an object which has got an XML conversion in it. The data has to be converted into XML and has to be sent as an attachment to the customer.
i haven't faced any problem with the XML conversion which I've done using CALL TRANSFORMATION, but when I mail the converted data as an attachment,I'm not able open it after i recieve the mail.
Can anybody help me?
Thanks & Regards.
Message was edited by: suresh bodduluri
‎2006 Jun 15 3:54 PM
‎2006 Jun 16 10:54 AM
I think the problem is not with the XML conversion, becoz when i download it to presentation server it could be opened normally with out any problems but the same file when transferred through mail,i'm not able to open it.
‎2006 Jun 15 4:03 PM
‎2006 Jun 15 4:06 PM
HI
GOOD
GO THROUGH THIS LINK, I HOPE THIS WILL HELP YOU TO SOLVE YOUR PROBLEM.
http://ifr.sap.com/home/Documents/ABAP_Serialization.htm
THANKS
MRUTYUN
‎2006 Jun 16 10:54 AM
Hi again,
1. but when I mail the converted data as an attachment,I'm not able open it after i recieve the mail.
The problem may lie in the code for sending email.
2. U must have got the xml conversion
in some internal table.
Somehow, the data in internal table,
is not going correctly via the email code,
as an attachment.
3. The attachment type should be BIN.
regards,
amit m.
‎2006 Jun 16 10:57 AM
The problem is not regularly found,sometimes the mail attachment is opened and sometimes it is unable to open
‎2006 Jun 17 7:38 AM
unable to open?
what error message you are getting?
Regards
Raja
‎2006 Jun 19 5:24 AM
I', getting an error like this
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
-
Invalid at the top level of the document. Error processing resource 'file:///C:/Documents and Settings/sureshb/Local Settin...
‎2006 Jun 19 5:41 AM
Ok, this error means that the XML is corrupted. (view source to see it yourself).
the possible place where the corruption would have happend is when you converted the xml string returned by CALL TRANSFORMATION in to table format for attaching into mail.
post the part of the code where after CALL TRANSFORMATION, how you are attaching the xml string in the email.
Regards
Raja