Code Monkey home page Code Monkey logo

Comments (14)

larshp avatar larshp commented on September 25, 2024

for the exception, try deleting and creating it again on 731

I dont think IF_T100_DYN_MSG is even 740sp08 compatible, https://blogs.sap.com/2015/11/12/abap-news-for-release-750-converting-messages-into-exceptions/

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

much progress ... but /ui5/cl_json_parser would be a challenge ...

from abaplint-sci-client.

larshp avatar larshp commented on September 25, 2024

there is some of the built-in XML handling that can also handle JSON, think it can be done

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

yeah ... I've actually been struggling though it just in recent days ... extremely unintuitive, unflexible, undebuggable - very complicated ... and I did't succeed. Switched to open source alternatives :) Anyway ... will resolve it somehow.

from abaplint-sci-client.

FreHu avatar FreHu commented on September 25, 2024

there is also /ui2/cl_json

from abaplint-sci-client.

larshp avatar larshp commented on September 25, 2024

@sbcgua yea, agree, its not super, and have not looked much into it, but if possible I'd like to avoid a dependency

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

@FreHu not in my system :(

for my task I ended up with https://github.com/koemaeda/abap-json. But will need to fine tune it yet. For this one ... I don't know yet. Either will check cl_fdt_json=>json_to_data or something custom based on that XML transformation. Leaving this part for the rest.

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

@larshp dependency: yeap, I agree.

from abaplint-sci-client.

larshp avatar larshp commented on September 25, 2024

another option

as far as I remember, the sent JSON is built via concatenate. So add a request parameter to request the resonse as XML, and translate the response to XML instead on server side, it might be easier? easy to generate on server, and easy to parse on client

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

hmmm. interesting option - I'll consider.

P.S. almost done with all the code, just that json stuff left... but have to go to eat something first :)

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

done

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

next is the server side: cleanups and dockerize ...

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

I guess can be closed

from abaplint-sci-client.

sbcgua avatar sbcgua commented on September 25, 2024

Hmm new github app doesn’t allow to close issues. Strange.

from abaplint-sci-client.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.