Show TOC

Import Parameter: TreeopLocate this document in the navigation structure

Import Parameter: Treeop

Short text

Restriction: Tree operator

Significance

The tree operator can have the following values:

  • MDTREEOP_CHILDREN = 1
  • MDTREEOP_SIBLINGS = 2
  • MDTREEOP_PARENT = 4
  • MDTREEOP_SELF = 8
  • MDTREEOP_DESCENDANTS = 16
  • MDTREEOP_ANCESTORS = 32

The values can be combined using addition.

MDTREEOP_CHILDREN + MDTREEOP_SELF = 1 + 8 = 9

In this case, the member specified with the MemUnam import parameter is returned with its children.

Note the following special features of the LvlNumber, MemType and Treeop import parameters: These parameters relate to the BAPI6111GEN-CHAR2RESTR field and have the type
CHAR
with a length of 2 bytes.

This can be used to determine whether no restrictions were set to LEVEL or whether a restriction with LEVEL 0 is required. (This distinction could not be made if the corresponding NUMC types were used).

See also: