Ok, since no one seems to have a easyier way I have to assume that there isn't one yet...
Regardless of that the hierarchy load via Extractor Connector seems to me the easiest way to load SAP hierarchies.
The following IDoc Segm.type are available to load necessary hierarchy information from SAP:
E1RSSH Data transfer IDoc: Header information
E1RSHIE Data transfer Idoc: Hierarchy header information
E1RSHTX Data transfer Idoc: Language-dependent texts of hierarchy
E1RSHND Data transfer Idoc: Hierarchy nodes
E1RSHIV Data transfer Idoc: Hierarchy intervals
E1RSHFT Data transfer Idoc: Name of node that cannot be posted to
E1RSTXT Data transfer IDoc: Texts
Given this, the script text has to look just about like this:
SQL EXTRACTOR [DataSource]
UPDMODE H // Hierarchy extractor
HIERTABLE [IDoc Segm.type]
The easiest way is to generate the script text via extractor generator and to to copy & past and adapt the fieldlist and the [IDoc Segm.type] afterwards.
Unfortunately there is - at least in my case - one big problem:
If the hierarchy intervals are beeing load the first interval NODEID has no LEAFFROM and LEAFTO values, although the IDoc do have the given values in the output structure of SAP (SAP s_tcode WE02). For all the following interval nodes it works just fine. But unfortunately it's worth nothing whitout the first values... Example see below:
IDoc Segm.type: E1RSHIV
HierarchyName: any hierarchy account hierarchy with intervals
Does anyone has an idea what the problem could be and how to solve? I would already be glad if someone could test this in a first step in his own system and confirm or disprove this system behaviour.