Currently I am working with a module pool program which needs to have a table control with expand/collapse(+/-) button in the first column, and the WBS elements in the second column for the project definition entered in the initial screen. Rest of the columns are from a custom table. It should look like the table control in transaction CJ40/CJ30/CJ20.
when user clicks collapse all the levels should get clubed into parent WBS element & accordingly the values should get collected in the respective columns.
Is there a sample program in SAP which deals with expand collapse buttons in table control. Any suggestions regarding this problem is appreciated.