I may be making incorrect assumptions in what you are asking, but here goes...
Table F9000 contains the Tasks, you might call them menu items, the Task includes the program and version attached to the task. Table F9001 contains the Task Relationships, the parent task linked to a given child task. Unfortunately this relationship data is a single level, only the parent and the child are contained in a single record and the child could be the parent to dozens of more children tasks. Table F9005 contains the Task Variant Descriptions; the name and the Task View number of each of the Task Views that have been constructed in the system. And table F9006 contains the Variant Detail. When you go into a Task View in what was once called the "Fine Cut" mode and "disable" a task for a given role the system writes a record to F9006 containing the Task View, the Task Number, the Role to show that a Task within a particular View for a particular Role has been disabled. The complications are several. One when a Task is created it is "enabled" for all Roles in a Task View until it is "disabled". Two it was common practice to "disable" parent tasks but not necessarily all of the children of a given parent. For example, if your role is Accountant I might disable the "Payroll" tasks at a high level in the menu structure figuring that you cannot drill down through the structure since I stopped you near or at the beginning of Payroll. Right or wrong you will not find Variant Detail records in table F9006 for all of the lower level (children) for the "Payroll" Task that I disabled for your role. Three if I have disabled a Task for your Role and then decide that I had made a mistake and re-enabled the task for your Role the system changes an attribute value of the record in F9006 (I've forgotten the data item) to say that that task is active again for your role. Very complex.
I worked at JDE Corporate between 2000 and 2003 building the delivered task views (End User, Power User, etc) that came out with Xe and ERP8.
There may be tools that can extract the data out of these several tables and build the information you want, but I cannot direct you to any of them.