on 06-14-2017 9:06 AM
Hi Experts,
I have a requirement where in I have to expose Standard SAP reports to Gateway services.
So I have utilized INST_EXECUTE_REPORT function module and output of the above FM with 'RM06ELLB' as input is as follows:
If I display the same in Gateway, it displays as:
Is there any way that I can convert the above ZEILE fields into a formatted json or xml structure like this:
"zeile" : { "Material" : "100-120" , "Plant" : "1000" }
Regards,
Arpitha
See ABAP and JSON by horst.keller
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you can try like this:
LV_JSON = /UI2/CL_JSON=>SERIALIZE( DATA = <TABLE_NAME> COMPRESS = ABAP_TRUE ).
WRITE / LV_JSON.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.