cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc sent by different party looks different

shweta_walaskar2
Contributor
0 Kudos

Hi,

We have a scenario where we receive IDocs from different party.

If I check in SXI_MONITOR,the structure of inbound message(IDoc) looks different:

It looks like a normal file with XML tags,without any colours and expand/collapse structure like we have in Internet Explorer .

It has all the XML tags in one single line without CR/LF.

I hope I am able to explain it in a proper way.

Can anybody please let me know what is difference in this IDoc XML?

Thanks.

Best Regards,

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Are you able to right click on the payload and View Source?

If yes, are you able to see a valid XML?

Apart from the appearance, do you find any other abnormality?

Regards,

Ravi Kanth Talagana

shweta_walaskar2
Contributor
0 Kudos

Hi Ravi,

Yes,I can see the source.

This is a valid XML as I could open it with Internet Explorer after copying the content from SXI_MONITOR.But it doesnt have colours and also the expand/collapse structure like XML opened in Internet Explorer (It has no CR/LF) ,all contents in single line.

Best Regards,

Shweta

Former Member
0 Kudos

Hi,

can you paste the XML or at least a 1st part of it here?

Thanks,

Kai

Former Member
0 Kudos

Hi,

save the file as .xml and open the with internet explorer.if the file which is saved as .txt format and use to open internet explorer then it will show the normal text file only.

Regards,

Prakasu.M

shweta_walaskar2
Contributor
0 Kudos

Hi Kai,

<ZDPIID01><IDOC BEGIN="1"><EDI_DC40 SEGMENT="1"><TABNAM>EDI_DC40</TABNAM.......

All in one line.

Thanks.

Best Regards,

Shweta

shweta_walaskar2
Contributor
0 Kudos

Hi,

Yes,I am able to open it properly with IE by saving it as .xml.

But my question is about different appearance in SXI_MONITOR.

Thanks.

Best Regards,

Shweta

shweta_walaskar2
Contributor
0 Kudos

Hi Kai,

I just noticed,it doesn't start with <?xml version="1.0" encoding="ISO-8859-1" ?>

Could this be the reason for different appearance?

Thanks.

Best Regards,

Shweta

Former Member
0 Kudos

Hi,

yes.it should be have encoding with xml content.

Regards,

Prakasu.M

former_member181962
Active Contributor
0 Kudos

Yes!!! It is the reason.

I have just checked in my system.

I have some messages which do not have this "<?xml version="1.0" encoding="UTF-8" ?> "

and they do not show up normally.

Regards,

Ravi Kanth Talagana

Former Member
0 Kudos

;o)

yes!

shweta_walaskar2
Contributor
0 Kudos

Hi,

Another problem,this conversion is done in XI.

So why XI doesnt put this tag "<?xml version and encoding" for this partner?

Regards,

Shweta

former_member181962
Active Contributor
0 Kudos

Hi Shweta,

As your sender is a SAP-IDOC, you do not have an adapter.

Check if the IDOC XML is in that format in your source SAP system itself.

Run the FUnction MOdule : IDOC_XML_DISPLAY or

IDOC_XML_TRANSFORM and see if you see the IDOC correctly.

If it is not being displayed correctly there, then it is not an XI problem.

REgards,

Ravi Kanth Talagana

shweta_walaskar2
Contributor
0 Kudos

Hi Ravi,

I don't have access to their system,so I can't check this IDoc in their system.

But I checked the IDoc XML for the IDoc created by this IDoc in our system by running the Function Module and it looks fine even though it is same in Payload of Message Mapping response in SXI_MONITOR.

Thanks.

Best Regards,

Shweta

Answers (1)

Answers (1)

shweta_walaskar2
Contributor
0 Kudos

Answered