cancel
Showing results for 
Search instead for 
Did you mean: 

Grouping / Sorting of Node Elements

Former Member
0 Kudos

Hi all,

I'm currently writing a report in which I have to display after grouping some elements in the node.

For example following are the fields in the node:

Material, Plant, material document, doc year, movement type, storage location

Output desired is:

Material1 Plant1

storage location, movement type, material document, doc year

storage location, movement type, material document, doc year

...

Material1 Plant2

storage location, movement type, material document, doc year

storage location, movement type, material document, doc year

...

Material 2 Plant 1

storage location, movement type, material document, doc year

storage location, movement type, material document, doc year

...

How do I group the elements in the node in this manner.

I would really appreciate if you could provide me with an example ( if possible)

Thanks and Regards,

Jo

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Karin,

Say for instance the node contains fields like this

Material document, doc year, Plant,movement type, Material,storage location

Now the data can come in any order. But i want to

display rest of the elements for material 1, plant1 combination and then for material 1,Plant2 combination and then for material 2 Plant etc. There can be any number of materials and plants in the node.

So i need to group the structure by material and group so that when i map in webdynpro i get such a display.

Material1, Plant1 (Group)

material document, doc year, storage location, movement type,

material document, doc year,storage location, movement type, ...

Material1, Plant2(Group)

material document, doc year, storage location, movement type,

material document, doc year,storage location, movement type, ...

HTH,

Jo

Former Member
0 Kudos

Hi Jo,

you would like to get something like a Treetable? One row gets material1, plant1, the following row(s) the doc, year and so on, followed again by materialX, plantX and so on? Did i get this right?

If yes, then, as far as i know, this is not possible with Web Dynpro, not visually, of course you can create a context which reflects this.

Hope that helps.

Regards

Stefan

Former Member
0 Kudos

Hi Jo,

I am afraid I do not get our problem.

1) What do you mean with Sorting and/or Grouping?

2) If you design your view and then map to the appropriate attribute of the order of the attributes within the context.

If you let us know some more details, that would be great!

Thanks, Karin