Skip to Content
2
Aug 04, 2016 at 05:24 PM

Datahub - ordering possibilities

97 Views

Hi,

We noticed Datahub won't keep the ordering of RawItems when transforming to Canonical Items. Eg.

  1. Raw Item - ID 1 , attr Product x --> Canonical Item - ID 1, attr Product z

  2. Raw Item - ID 2 , attr Product y --> Canonical Item - ID 2, attr Product x

  3. Raw Item - ID 3 , attr Product z --> Canonical Item - ID 3, attr Product y

Now, in most cases this shouldn't be any issue, but in our case it is. It turns out SAP IDoc segment attributes are limited to 132 chars and we now have the requirment to ship large texts within an IDoc, that's why we opted to chunk that big text into multiple 132 chars segments. When the data is processed within Datahub, the order we presented them are correctly processed to RawItems, it's just when composition kicks in, it turns out the RawItems are randomly accessed when creating the canonical items.

Is there any way we could "enforce" some kind of ordering sequence in this composition process?

Thanks, Wesley