cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

/ui2/cl_json=>deserialize not permitted in Custom Field and Logic implementation(S4 Cloud)

Khushdeep
Product and Topic Expert
Product and Topic Expert
0 Likes
918

Hi,

/ui2/cl_json=>deserialize is not permitted in BAdI implementation in S4 cloud.

Please suggest any alternative solution to convert from JSON to ABAP.

Regards,

Khushdeep

View Entire Topic
alexey_arseniev
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Khushdeep,

from CE 2005 you can use the XCO Library which shall cover functionality for working with JSON. Here is the documentation.

Other libraries are not planned to be released for S/4 Cloud BADis.

For ABAP Cloud (Steampunk) /ui2/cl_json is already whitelisted.

BR, Alexey.

jonathanvonru
Associate
Associate
0 Likes
Hey Alexey - the link to the documentation seems to be outdated. Please reply in case this one here is not the right new one... https://help.sap.com/docs/SAP_S4HANA_CLOUD/0f69f8fb28ac4bf48d2b57b9637e81fa/702b5328be1a4bc4852ce29b...