on ‎2011 Sep 21 9:25 PM
Hi,
Is possible to create an hierarchy using an infoobject attribute?
I need to create a hierarchy for 0MATERIAL where the levels will be separated by division (0DIVISION attribute).
If somebody know a way, an ABAP code, an method, anything, please share with me.
Greetings!
Request clarification before answering.
Hi,
You can only insert Characteristics value from Attributes. Node should be Text ..
Please give us more details which will help us understand the requirement ...
Eg. 0Material should be shown as hierarchy and division as Node
Material
-
Division ABC' (Text Node )
x (Attribute Value)
y
z
-
Division DEF'
j (Attribute Value)
k
l'
-
Thanks
BVR
Edited by: binu v. rajan on Sep 22, 2011 12:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Binu, thanks.
What I have is the folowing:
MATERIAL DIVISION
E1 ___________50
B2 ___________50
G4 ___________40
T4 ___________60
What I need is the folowing:
1 - HMATERIAL - Material Hierarchy
-
1.1- 40 - Packaging
-
1.1.1 - G4 - Bags
-
1.2- 50- Raw material
-
1.2.1 - E1 - Korn
-
1.2.2 - B2 - Water
-
1.3 - 60 - Finished Product
-
1.3.1 - T4 - Cookies
Thank you.
Edited by: lucascosta on Sep 22, 2011 1:48 PM
Hi,
In order to meet that you have to create the structure of the same manually.. You can load data using flat file even after that ... Please find the below links which help you to achieve your target.
To create structure
Add External char which all are required
Create Hierarchy on 0Material
Give name
in change/ modification screen Create Characteristic Node button and select 0DIVISION and select the values from them then execute
If Loading maintaining manually , follow the step 1 else Step 2.
Step 1.
Context menu of the node which loaded and insert Insert Characteristics and then select Info Object 0Material and select values from list displayed accordingly..
save
Step 2.
hierarchy flat file create.
Structure of Hierarchy
http://help.sap.com/saphelp_nw04/helpdata/en/de/113037530b7774e10000009b38f839/content.htm
Hierarchy Load using flat file
Hope I clearly understand your requirement ...
-
Thanks
BVR
Hi,
Problem solved! I got to load the hierarchy dinamically and automatically without using files!
I done this using an process with ABAP code, that created a custom datasource and then an ABAP code was used to load the necessary data.
In soon I'll write a document with the steps, and if somebody, someday need, just let me know.
Regards and very thank you!
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.