Code Monkey home page Code Monkey logo

abap_fm_json's People

Contributors

cesar-sap avatar froggs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

abap_fm_json's Issues

active error ZCL_JSON_HANDLER

I get the problem. After import abap_fm_json via abapGit, when import program active, I got a Syntax error like below:

Class ZCL_JSON_HANDLER, Method DESERIALIZE_ID
Row 41
Field "DATA" is unknow. It is neither in one of the specified tables
nor defined by a "DATA" statment. "DATA" statment.

Software component SAP_ABA 731 0002 SAPKA73102

please help. Thanks.

boolean type

Hello
thanks for your work

recently downgraded some code and found this library.
noticed slight differences with standard method
cl_sxml_string_writer=>create( type = if_sxml=>co_xt_json ).

according to the documnet
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abenabap_xslt_asxml_schema.htm
XSDBOOLEAN have to be converted to js boolean type

maybe my suggestion a little bit slower than original since this line was replaced

* Get ABAP data type
  lo_type = cl_abap_typedescr=>describe_by_data( im_data ).
  " DESCRIBE FIELD im_data TYPE l_type COMPONENTS l_comps.

and reading all active boolean data elements is not so fast

    " Get all boolean types
    SELECT rollname INTO TABLE <lt_xsdboolean>
    FROM dd04l
    WHERE domname = 'XSDBOOLEAN' AND as4local = 'A'.

the final method code attached to the issue
abap_2_json.txt

it was just my notion, probably for backward compatibility you should not do it

Client Selection

Do I need to always include "sap-client=xxx " in URL as parameter?

problem if system has old SXML package

Hi, in my system i dont have the most recent version of package SXML, i have synthax errors in method deserialize_id, do you know some replacement for classes sxml ?

Field CO_XT_JSON unknown error

I imported the nugg file. While trying to activate all the classes, I'm receiving this error.

Class ZCL_JSON_HANDLER,Method SERIALIZE_ID
The field "CO_XT_JSON" is unknown, but there is a field with the
similar name "CO_XT_XOP". "CO_XT_XOP".
Error in Class ZCX_JSON

I checked properties of interface IF_SXML. Indeed, there is no CO_XT_JSON there, only below three:
CO_XT_XML10
CO_XT_BINARY
CO_XT_XOP

Any suggestions please?

Installing with transport on NW7.31

Hello,
I'm trying to install the ABAP-JSON with the transport I downloaded from:
https://github.com/cesar-sap/abap_fm_json/tree/master/transport/751

I tried to import the transport with STMS transaction and I'm getting an error message on method "DESERIALIZE_ID" about line 41:
data(reader) = cl_sxml_string_reader=>create( json_xtext ).

The error is:
Class ZCL_JSON_HANDLER,Method DESERIALIZE_ID 41
Field "DATA" is unknown. It is neither in one of the specified tables
nor defined by a "DATA" statement. .

I'm also attaching a screenshots.

untitled
untitled2

untitled3

Any help will be great.
Thanks,
Miki Barzilay

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.