ABAP Alv Google Upload Sheet
A source-verified project description is not available yet. Open the detail page or wait for a manual refresh.
Source facts need a manual refresh
The JSON ABAP Konverter
The JSON ABAP Konverter
REUSE status
Attention: This is sample code!
This repository contains sample code which should not be used in production. It only shows the capabilities of APACK - the ABAP package and dependency manager.
The JSON ABAP Konverter
The JSON ABAP Konverter (JAK) is an alternative way of handling JSON on an ABAP system running on the SAP Cloud Platform. Keep in mind that this is just a demo. In production, you better use the officially supported libraries...
Just hand your JSON raw data as string or encapsulated in an HTTP request to the JAK library and it will automatically transfer the JSON data to a compatible ABAP structure or internal table - and vice versa. No need to develop anything on your own - JAK will do the magic for you. Data structure matching is done based on the names of the table/structure rows and the JSON identifiers. The ABAP data field can contain more or less fields than the JSON which is used, JAK will automatically only copy the matching fields and silently ignore the rest.
Please make sure to fulfill the following requirements:
Use the abapGit plug-in to install the JSON ABAP Konverter by executing the following steps:
You already have a JSON with data or you get it via an HTTP reqest and would like to transfer it to a compatible ABAP data field? Nothing easier than that: Just get an instance of ZCLJAKDATAIN by calling the corresponding static method - either INITIALIZEWITHHTTPREQUEST or INITIALIZEWITHJSON. Your ABAP data field can then simply be filled by calling the method ZIFJAKDATAINFILL.
You have an ABAP data field ready to send out to the world as JSON - either directly the text or in an HTTP response? If you want to get it converted automatically, simply initialze ZCLJAKDATAOUT by calling the INITIALIZE method and pass your field to it. The methods ZIFJAKDATAOUTGETJSON and ZIFJAKDATAOUTPREPAREHTTPRESPONSE will do the job for you.
As mentioned before, after cloning a abapGit repository some objects might not be active. Use the mass activation feature in ADT to activate those artifacts.
Copyright (c) 2019-2026 SAP SE or an SAP affiliate company.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use any file of this project except in compliance with the License.
You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0.
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the LICENSE for the specific language governing permissions and limitations under the License.