# View all integrations since Day 1

**URL:** <https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977>\
**Category:** Integrations\
**Tags:** erp, v9.x\
**Created:** [November 4, 2026, 2:46pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977 "2026-11-04T14:46:10Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 4, 2026, 2:46pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/1 "2026-11-04T14:46:10Z")

</div>

I am troubleshooting an issue with our SAP to CM integration . I am looking at all the integrations but what I need to see is the body to know if the ones that are failing are all from the same customer. I tried to look into the database under integrationmessages but I see some of the columns are encrypted. Is there a way to decrypt?

Are the messages stored locally ?

Thanks

Judi

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cunha](https://yyz2.discourse-cdn.com/flex050/user_avatar/community.criticalmanufacturing.com/ricardo_cunha/32/1133_2.png) [@Ricardo\_Cunha](https://community.criticalmanufacturing.com/u/Ricardo_Cunha)\
**Post date:** [November 4, 2026, 3:28pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/2 "2026-11-04T15:28:47Z")

</div>

Hi Judi,

What is the kind of SAP-MES integration: direct connection using iDocs and BAPIs or custom integration (for example, middleware)?

In the simplest example, the Integration Message is just a group of bytes that represent the payload, so you can have a simple C# snippet to decode back:

```auto
const string hex = "<payload copied from Message column in T_IntegrationMessage>";

byte[] bytes = Convert.FromHexString(hex.StartsWith("0x", StringComparison.OrdinalIgnoreCase) ? hex[2..] : hex);

Console.WriteLine(Encoding.UTF8.GetString(bytes));

```

I tested this in a custom implementation and it worked, but for IDocs/BAPIs it might be different (I couldn’t test in a real example, maybe someone else can perform that test).

Thanks  
Ricardo

---

<div class="post-metadata">

**Author:** ![Ivo\_Araujo](https://yyz2.discourse-cdn.com/flex050/user_avatar/community.criticalmanufacturing.com/ivo_araujo/32/1271_2.png) [@Ivo\_Araujo](https://community.criticalmanufacturing.com/u/Ivo_Araujo)\
**Post date:** [November 4, 2026, 3:29pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/3 "2026-11-04T15:29:37Z")

</div>

Hi Judi,

You’re on the right path, as the body of the Integration Entries are indeed stored on the CoreDataModel.T\_IntegrationMessage.

The columns which appear to be encrypted are the ones of type [varbinary](https://learn.microsoft.com/en-us/sql/t-sql/data-types/binary-and-varbinary-transact-sql?view=sql-server-ver17), as the Message one:

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/e/eaa57df5be25e38742bba6221373b992cbb00d57.png)

One approach to read this data directly on SQL Server would be to convert the data for an more legible form as varchar, eg:

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/c/c65b1a38f5074a577cac969939633dd63bffb283.png)

Best,  
Ivo

---

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 4, 2026, 3:33pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/4 "2026-11-04T15:33:03Z")

</div>

Thank you Ricardo, nice to hear from you. 🙂 It has been a while.  
It is an iDoc for this particular one.

I will test it out

Judi

---

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 4, 2026, 3:33pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/5 "2026-11-04T15:33:10Z")

</div>

Thank you Ivo, let me try this also.

Judi

---

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 4, 2026, 3:46pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/6 "2026-11-04T15:46:09Z")

</div>

I tried this and I did not get the same as you.

USE SDOPrd  
select Message,  
CONVERT(varchar(max), Message) AS DecodedMessage  
from [CoreDataModel].[T\_IntegrationMessage]

and all my decoded messages look like this

PK-

---

<div class="post-metadata">

**Author:** ![Mario\_Cordeiro](https://avatars.discourse-cdn.com/v4/letter/m/b5ac83/32.png) [@Mario\_Cordeiro](https://community.criticalmanufacturing.com/u/Mario_Cordeiro)\
**Post date:** [November 4, 2026, 4:08pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/7 "2026-11-04T16:08:58Z")

</div>

Hi Judi,

Alternatively, you can view the body of the integration entry messages in the UI. Unfortunately, there is no option to see only the body in the columns.

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/7/72813e4a2e57e6421428770d6e14af59291ae088.png)

Only the result description for the failed IEs:

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/7/7797adfc5faf415c7ce29095dbaec74220cbe7c5.png)

This will enable you to view the failure reasons in the grid. For the body, the only option is to check each IE individually.:

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/b/bf7f50354e26765cc9fe74d50529aa27f6e02162.png)

 ![image](https://canada1.discourse-cdn.com/flex050/uploads/community_criticalmanufacturing/original/2X/0/0d93112513481129308d2a20c5c13602a72a7102.png)

While it may not be exactly what you need, it can assist if you lack access to the database.

---

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 4, 2026, 6:41pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/8 "2026-11-04T18:41:57Z")

</div>

Yes I can view them but there are only so many in the GUI. I was trying to go all the way back to the beginning.

Judi

---

<div class="post-metadata">

**Author:** ![Ricardo\_Cunha](https://yyz2.discourse-cdn.com/flex050/user_avatar/community.criticalmanufacturing.com/ricardo_cunha/32/1133_2.png) [@Ricardo\_Cunha](https://community.criticalmanufacturing.com/u/Ricardo_Cunha)\
**Post date:** [November 5, 2026, 10:26am UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/9 "2026-11-05T10:26:02Z")

</div>

Hi Judi,

An update from my part, since I went to confirm and the IDoc content is stored as a binary zip file and not text, so the snippet above will not work (the same reason the SQL query will also not work and just output gibberish).

You can try to use the following snippet:

```csharp
using System.IO.Compression;
using System.Text;
using System.Xml.Linq;

const string hex = "<copied from Message column>";
byte[] bytes = Convert.FromHexString(hex.Trim().StartsWith("0x", StringComparison.OrdinalIgnoreCase) ? hex.Trim()[2..] : hex.Trim());

using var zip = new ZipArchive(new MemoryStream(bytes), ZipArchiveMode.Read);
using var reader = new StreamReader(zip.Entries[0].Open(), Encoding.UTF8);

Console.WriteLine(XDocument.Parse(reader.ReadToEnd()));

```

---

<div class="post-metadata">

**Author:** ![Judi\_Hammond](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@Judi\_Hammond](https://community.criticalmanufacturing.com/u/Judi_Hammond)\
**Post date:** [November 5, 2026, 3:36pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/10 "2026-11-05T15:36:16Z")

</div>

Thanks again. I will give this a try. Ivo and I figured out it was zipped.

Judi

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex050/user_avatar/community.criticalmanufacturing.com/system/32/23_2.png) [@system](https://community.criticalmanufacturing.com/u/system)\
**Post date:** [November 9, 2026, 5:48pm UTC](https://community.criticalmanufacturing.com/t/view-all-integrations-since-day-1/977/11 "2026-11-09T17:48:22Z")

</div>

Closed on November 9, 2026, 5:48pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
