cesar-sap / abap_fm_json Goto Github PK
View Code? Open in Web Editor NEWJSON adapter for ABAP Function Modules.
License: Apache License 2.0
JSON adapter for ABAP Function Modules.
License: Apache License 2.0
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.
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
Do I need to always include "sap-client=xxx " in URL as parameter?
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 ?
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?
is it possible to move minus sign in to front of value.
"15.2-" >>> "-15.2"
Hi, I want to all /MRSS/NW_API_GET_ASSIGNMENTS, but get errors that the function is invalid.
What is the url syntax to call it?
https://www.sapdatasheet.org/abap/func//mrss/nw_api_get_assignments.html
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.
Any help will be great.
Thanks,
Miki Barzilay
I love your handler. As far as I can see there is no way to get a WADL (Web Service Application Language) file from the handler. It would be gorgeous is you can so something like: https://www.example.com/fmcall/z_my_fm?wadl=post_json and a WADL file for json post requests would come out of the handler. Or something like https://www.example.com/fmcall/z_my_fm?wadl=get and a get WADL would be the result.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.