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: 

code to sort the list of reports in area menu

Former Member
0 Kudos

Suppose there are 100 reports within a folder in an area menu in disorganized manner.

Can i write a code to sort it, also if next time a new transaction is added from SE43 it gets inserted into the folder in a sorted fashion ?

2 REPLIES 2

SimoneMilesi
Active Contributor
0 Kudos

What did you try?
Did you look at how SE43 works?

A quick look at the code would reveal you it's based on the following FMs

  • STREE_STRUCTURE_EXIST
  • BMENU_CREATE_TREE
  • BMENU_DELETE_TREE
  • BMENU_PRINT_MENU_TREE
  • BMENU_START_BROWSER

Now is up to you choose the best solution: check if it's possible to enhanche the standard SE43 or develop your custom version to order it.

VeselinaPeykova
Active Contributor

Is there absolutely no way to group these per topic/intended use etc.?

If I were to use a menu that has 100 items, which are not grouped by some meaningful criteria I would find it difficult to use even if the items are sorted alphabetically.