Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Display Cost center (group) hierarchy in a ALV tree display

Does anyone know if there is FM or BAPI that can take the cost center group hierarchy (I used the <b>G_SET_TREE_IMPORT</b> to get the cost center hierarchy) and display in an ALV tree display? Need to customize a report painter report which displays a nice ALV tree list of cost center hierarchy at the left and posting details in each cost elements at the right when each node is doubled clicked.

I think I need to create two containers, one display the hierarchy tree, and one displays the posting. However, I cannot get the whole cost center hierarchy displayed with the parent-child node look. I have tried the logic in <b>BCALV_TREE_DEMO</b>. Does not quite fit the requirements.

Anyone has any advice or sample, please share with me.

Thank you,

Former Member
Not what you were looking for? View more on this topic or Ask a question