Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

XML encoding

Former Member
0 Likes
1,079

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

9 REPLIES 9
Read only

Former Member
0 Likes
1,046

Can you verify if it is referring to the correct DTD ?

Read only

0 Likes
1,046

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.

Read only

Former Member
0 Likes
1,046

Hi,

Check this thread..

Regards

Vijay

Read only

Former Member
0 Likes
1,046

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

Read only

Former Member
0 Likes
1,046

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.

Read only

0 Likes
1,046

The problem is not regularly found,sometimes the mail attachment is opened and sometimes it is unable to open

Read only

0 Likes
1,046

unable to open?

what error message you are getting?

Regards

Raja

Read only

0 Likes
1,046

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...

Read only

0 Likes
1,046

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