Processing all tree items in MMBE: In transaction MMBE we use an InputScript that reads batches (ABAP list lines). Now, after an SAP upgrade, MMBE no longer produces an ABAP list but a tree control. I have changed the InputScript so that it works for the tree control, using

Enter control="TableTreeControl" item=" &[itemno] ;&Hierarchy"

event="22"

This works fine but one thing is missing, namely to determine the number of items in the tree control. The InputScript simply stops when an invalid item number is requested.

Please use GuiXT version 2015 Q2 1 or above. After the tree control request with an intem number higher than the number of tree items, the InputScript will process the next Screen command, using the same Screen id, i.e. it stays on the screen but continues processing:

Screen RMMMBESTN.0300

Enter control="TableTreeControl" item=" &[itemno] ;&Hierarchy"

event="22"

Screen RMMMBESTN.0300

// end of tree control reached

.....

Screen SAPLSLVC_FULLSCREEN.0700

// process tree item