cancel
Showing results for 
Search instead for 
Did you mean: 

Data Hub SAP Custom Text Field (E1BPSDTEXT) Publishing Sequence Issue

Former Member
0 Kudos

Hopefully this isnt too difficult to explain. I'll apologize up front if I get some SAP terminology wrong, I'm not an ERP expert. I have a custom segment/field setup in the sales order idoc on the sap side. This field is a generic text field (E1BPSDTEXT). I'm currently passing in multiple instances of this text field to account for "shipping instructions". On the hybris side these shipping instructions could be lengthy. On the SAP side each of these segments is limited to 132 characters. I can split up what is entered by the user into multiple publishing targets, but what seems to happen is the order of these individual text segments gets shuffled around. This makes it rather illegible when you view the text in SAP directly.

Example:
Shipping Instructions - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et dignissim dui, quis porttitor sapien. Morbi tristique auctor diam sit amet dictum. Donec sodales ex quis mauris dignissim molestie. Sed et ultrices tellus, ut hendrerit ex.

E1BPSDTEXT Segment 1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et
E1BPSDTEXT Segment 2 - dignissim dui, quis porttitor sapien. Morbi tristique auctor diam
E1BPSDTEXT Segment 3 - sit amet dictum. Donec sodales ex quis mauris dignissim molestie.
E1BPSDTEXT Segment 4 - Sed et ultrices tellus, ut hendrerit ex.

Now when these get published to the SAP ERP target, Data Hub could publish them in any random order like 1, 4, 2, 3 or 4, 2, 3, 1. What I need to try to do is figure out a way to sequence them so they are always published in 1, 2, 3, 4 so that when the text makes it over into SAP, it gets joined properly by SAP and is readable.

Is any one doing something like this? I'm still rather new to Data Hub in general. I've been doing hybris stuff for a number of years, but with different middleware products. Any help or guidance would be greatly appreciated.

Former Member
0 Kudos

Hi Tim,

I am working on the same requirement can you send me the code snippet how you split the segments into 4 like

E1BPSDTEXT Segment 1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et E1BPSDTEXT Segment 2 - dignissim dui, quis porttitor sapien. Morbi tristique auctor diam E1BPSDTEXT Segment 3 - sit amet dictum. Donec sodales ex quis mauris dignissim molestie. E1BPSDTEXT Segment 4 - Sed et ultrices tellus, ut hendrerit ex.

and you still facing the sequencing issue?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member224482
Active Contributor
0 Kudos

This is a limitation of Data Hub. The ordering of the canonical and target item is not guaranteed. This is a side effect of the akka performance improvements. There is no know workaround.

Answers (0)