Skip to Content
0
Former Member
Jul 26, 2016 at 07:28 PM

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

218 Views

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.