data lt_complex type gtt_complex.
data lo_ser type ref to cl_trex_json_serializer.
data lo_des type ref to cl_trex_json_deserializer.
data lv_json type string.
data lv_s type string.
data lt_s type standard table of string.
create object lo_ser
exporting
data = lt_complex.
lo_ser->serialize( ) .
lv_json = lo_ser->get_data( ).
split lv_json at ', ' into table lt_s.
loop at lt_s into lv_s.
write / lv_s.
endloop.
create object lo_des.
lo_des->deserialize(
exporting json = lv_json
importing abap = lt_complex
).
Subscribe to:
Post Comments (Atom)
SAP ABAP: Determine Timezone for Plant
DATA: lt_tzone TYPE STANDARD TABLE OF tznzone WITH DEFAULT KEY, l_tzone TYPE tznzone. " get time zone for plant ...
-
Sometimes the backend doesn't return the selected rows of an SALV. For my case get_metadata( ) was the solution: go_salv-> get_met...
-
GUIDs or UUIDs can be created with the class cl_system_uuid . try . data (lv_uuid) = cl_system_uuid => if_system_uuid_static...
-
AA PR-AUF(E) Prozessauftrag (eröffnet) AB PR-AUF(F) Prozessauftrag (freigegeben) AC FE...
No comments:
Post a Comment