zcl_mdp_json
zcl_mdp_json copied to clipboard
Classes are not working in SAP 7.30(with solution)
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:
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 .