Skip to Content
0

How to automatically insert a hierarchy node in an existing hierarchy?

Mar 27, 2017 at 02:59 PM

203

avatar image
Former Member

Hello experts,

I have a requirement to insert hierarchy leaf nodes in different sections of an existing standard hierarchy in BW. I know how I can do it manually, but the problem is when the hierarchy will be updated or reloaded again (full load), everything added manually will be deleted.

Is there a way to automate this using any BW routines (infopackages, transformation or DTP)? Existing hierarchy was loaded from ECC.

If someone have done something similar , can you please share your solution

Thanks

JHN

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Koen Hesters Mar 29, 2017 at 09:02 AM
0

Hi,

when loading hierarchies you have the option insert or update, you will have to use insert

-->Infopackage

-->Go to "Hierarchy Selection" tab

-->In the bottom, you can see options for "Update Mode'

-->Select option "Insert Subtree"

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Apr 25, 2017 at 07:21 PM
0

Hi Koen,

Thanks for your help. I know about that option. I wouldn't work. What I want is to insert individual nodes in different levels of an existing hieararchy.

Share
10 |10000 characters needed characters left characters exceeded
Andrey Uryukin Apr 30, 2017 at 10:18 AM
0

Hi,

In very general, you can load a standard hierarchy and then create a load from IO to itself (hierarchy).

Then in CMOD do an enhancement of 8XXX datasource (hierarchy datasource) and code whant you want there.

BR,

Share
10 |10000 characters needed characters left characters exceeded