Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Header Group for Tree Component in FPM SAP

Former Member
0 Kudos


Hi,

I am new to FPM and developing a FPM object using Tree component to show the output table in Hierarchy. There are 10 columns in my table and they want a common header for first 4 columns and another common header for next 6 columns.

ex:

--------------------------------------------------------------------------------------------

         header1                       |        header 2

--------------------------------------------------------------------------------------------

Col1 | Col2 | Col3 | Col4       | Col 5 | Col 6 | Col 7 | Col 8 | Col 9 | Col10

--------------------------------------------------------------------------------------------------

Can any one please help me in this. I tried SP_GROUP in field catalog of feeder class but its not showing it in output. Is there any other way that I can do it.

1 REPLY 1

0 Kudos

Hi Begum,

There are few default attributes you need to fill in your data structure,

PARENT_KEY - Parent (in your ex : header1, header2)

ROW_KEY -  Children (col1, col2, col3, col4...)

EXPANDED

IS_LEAF -

TEXT

CHILDREN_LOADED

IMAGE_SRC

Include these fields with same name in your structure(structure of the table filling CT_DATA in GET_DATA method)  and fill the relevant data, output will be displayed.

Cheers,
Vemula.