cancel
Showing results for 
Search instead for 
Did you mean: 

List of all Elements (Documents) under a particular node in SOLDOC.

0 Kudos

Dear Team,

This is to inform you Our Client has migrated their Solution manager from 7.1 to 7.2

Most of the Custom applications designed and developed on 7.1 are obsolete in the Documentation area.

Now we are currently working on rebuilding custom programs built on 7.1 on to 7.2

Request you to provide a Class and method details which would give us list of all Elements (Documents) under a particular node in SOLDOC.

Thanks & Regards,

Santhosh

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member190969
Active Contributor
0 Kudos

Hi Santosh,

you can use factory class CL_SMUDE_API with interface IF_SMUDE_NODE_READ~READ_SUBTREE_NODES. See ABAP doc in source code of method definition:

  "! Read X levels of subtree elements for a element.
  "! The list of subtree elements is first read from DB and then filtered by
  "! object type, if it_obj_type_filter is supplied.
  "! To read all elements of a scope, use
  "! IF_SMUDE_NODE_SCOPING~READ_NODES_IN_SCOPE.
  "!
  "! @parameter is_starting_node | If not provided, root element = starting element. If provided element does not exist, no subtree nodes are returned.
  "! @parameter is_read_context | Context in which the elements are read.
  "! @parameter i_level | Number of subtree levels (0 = all).
  "! @parameter it_obj_type_filter | If not initial, only the sub tree elements of the object types provided are returned.
  "! @parameter et_subtree_nodes | Headers of subtree elements.