Skip to Content
author's profile photo Former Member
Former Member

Create JSON-String in ABAP for sap.ui.table.TreeTable


i'am very despaired because of "Create JSON-String in ABAP for sap.ui.table.TreeTable".

The internet is full with examples where the JSON-string is shown as it self and i cant find the way to create this string. For a normal table i use CL_TREX_JSON_SERIALIZER and it worked well. But now i need to know how it is possible to create the JSON data for a TreeTable in ABAP.

Can anybody help?

Thanks beforehand.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 30, 2015 at 07:40 AM

    Ok. i dont know if its OK to reply of my own topic but let me say i have a method to create JSON on my backend for treetable now. for this i will create a how-to and let you know.

    what i can say is, that i use a copy of "CL_TREX_JSON_SERIALIZER" and modified it to handle JSON strings for tables and at this time for treetables. with this i dont have anything to do in javascript and all will be fine. i will also modify it in future for other JSON strings if needed.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.