packageTree
Lists every object in an ABAP package and its sub-packages with type, owning package, and source URL. Walks breadth-first, so a result limit still gives a complete upper-level overview.
Instructions
List what is in a package, following its sub-packages: every object with its type, the package it sits in and the URL that serves its source where there is one. nodeContents answers one level and gives most objects a SAPGUI bridge URI that serves no content; this resolves the source locations and walks the tree breadth-first, so a limit leaves a complete picture of the upper levels and names the packages it did not open.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | How deep to go: 1 is the package alone, 2 adds its sub-packages. Default 3. | |
| maxObjects | No | Cap on the objects returned, default 500. A single real package can hold 900. | |
| objectTypes | No | Only these ADT types, e.g. ["CLAS/OC","PROG/P"]. | |
| packageName | Yes | Package to walk, e.g. ZAPP_BASE. | |
| readableOnly | No | Keep only objects whose text ADT serves (CLAS/OC, INTF/OI, PROG/P, PROG/I, FUGR/F, DDLS/DF, TABL/DT, TABL/DS, DCLS/DL, XSLT/VT). |