Hello Dinya,
so you are receiving values from 3 different characteristics and it looks like you want to create some kind of hierarchical display ?
Have you thought about actually creating the hierarchy already in BW ? That would make things a lot easier as you would not have to go through all the scripting.
In case that is not an option then you would have to create arrays for all characteristics and basically load the members of each characteristic into each array. You wanna do that for all characteristics as otherwise you might lose the order of values.
Could you provide a little bit more background on the actual requirement here as it sounds to me that you trying to create something in Design Studio with lots of scripting that might be very easy achievable if you solve it in BW already.
regards
Ingo Hilgefort