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 insert a characteristic node for the hierarchy for crating a hierarchy of attributes of a particular info object. You can do this using RSH1 transaction.
Navesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for reply.
I think that I was not clear in my question...sorry.
What I mean when I say, create an hierarchy, is create automatically. Manual is not viable, because the number of materials and constant changes and new materials.
An ABAP program was done by me, but does not work. I tried to put the values of text node first and then the material numbers reading the field 0DIVISION, updating this right in the table hierarchy. But I don't get succes because with this way the tables lose their references, I guess.
Thank you All.
Hi,
Either you can load the data for attributes to flat file.
If data is not much you can load the data through manual mode. Just right click and insert charateristics node.
Pl note in the attribute you need to check the box so that it wiould be available for hierarchy reporting.
Once you will right click then you should see navigational object there,just select then you should see master data values under that .Just select that and rename the node.Post all above activities activate the hierarchy.
Let me know if you are having any questions.
Thanks and regards
Kiran
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You can create a characteristic node for that.
While creating hierarchy, you have an option to create characteristic node.
I hope that should solve your purpose.
Regards,
Gaurav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 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.