zcl_mdp_json icon indicating copy to clipboard operation
zcl_mdp_json copied to clipboard

Classes are not working in SAP 7.30(with solution)

Open ghost opened this issue 8 years ago • 0 comments

Abap code in object_get_child_node and array_get_child_node methods uses new features that are not supported in SAP 7.30. This can be solved using "read table" function:

pastedimage

object_get_child_node:

DATA ls_object TYPE typ_object_children.
READ TABLE me->object_children INTO ls_object WITH key key = key.
node = ls_object-node .

array_get_child_node:

DATA ls_array TYPE typ_array_children.
READ TABLE me->array_children INTO ls_array INDEX index.
node = ls_array-node .

ghost avatar Aug 24 '16 14:08 ghost