Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Flatfile Hierarchy with Link Nodes

Hi,

I am trying to upload a custom hierarchy from a text file. The upload works if I do not have duplicate leaf nodes (nodes without children). However, when I add in the duplicate values (which are required), I get unexpected results.

Has anyone successfully uploaded a hierarchy with duplicate leaf nodes and can you share your experience?

Here is a sample of my file:

NODE ID Info Object Node Desc Link Parent Language

1 0HIER_NODE 1 EN

45685 0HIER_NODE 45685 1 EN

569464 0HIER_NODE 569464 45685 EN

620424 0HIER_NODE 620424 569464 EN

620425 0HIER_NODE 620425 620424 EN

620439 0HIER_NODE 620439 620424 EN

620440 0HIER_NODE 620440 620424 EN

332727 ZDESMAT 332727 620425 EN

332727 ZDESMAT 332727 X 620439 EN

332728 ZDESMAT 332728 620425 EN

332728 ZDESMAT 332728 X 620439 EN

332729 ZDESMAT 332729 620425 EN

332729 ZDESMAT 332729 X 620439 EN

332730 ZDESMAT 332730 620425 EN

332730 ZDESMAT 332730 X 620439 EN

The results I am getting are:

1

---| 45685

-


| 569464

-


| 620424

-


| 620425

-


| 332728

-


| 332729

-


| 332730

-


| 620439

-


| 332727

-


| 620440

I expected to see a simulation with nodes 332727-332730 under both 620425 and 620439 (duplicate copies here).

Any ideas?

Thank you,

Brian

Edited by: Brian Anthony on Sep 9, 2008 5:08 PM

Former Member
Former Member replied

Hi Brian,

You are correct in saying that hierarchy can not be loaded thru text file if it is having duplicate nodes in it.

Although you can explore the concept of link node to have duplicate nodes in hierarchy. Here is the link for more details.

http://help.sap.com/saphelp_nw04/helpdata/en/b3/fa3d3806136268e10000009b38f8cf/frameset.htm

Regards,

Yogesh

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question