This document contains code to parse JSON data into an internal table structure. The JSON data contains invoice details like location, document number, IRN, signed QR code, etc. The JSON string is built by concatenating parts of the data and then parsed into an internal table using the JSON_TO_DATA function.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
61 views2 pages
Json Out Invoice
This document contains code to parse JSON data into an internal table structure. The JSON data contains invoice details like location, document number, IRN, signed QR code, etc. The JSON string is built by concatenating parts of the data and then parsed into an internal table using the JSON_TO_DATA function.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
REPORT ZJSON_OUT.
TYPES : BEGIN OF TY_START,
* status(20) TYPE C, * dataReport(20) TYPE C, locationGstin(20) TYPE C, locationName(20) TYPE C, documentNumber(50) TYPE C, documentDateloc(20) TYPE C, supplyType(30) TYPE C, billFromGstin(20) TYPE C, portCode(20) TYPE C, ackNumber(20) TYPE C, ackDate(20) TYPE C, irn(255) TYPE C, signedInvoice(1000) TYPE C, signedQRCode(1000) TYPE C, qrCode(1000) TYPE C, qrCodeData(1000) TYPE C, errors(20) TYPE C, * referenceId(20) TYPE C, * statusend(20) TYPE C, ** rgdt(20) TYPE C, ** ctb(20) TYPE C, ** sts(20) TYPE C, *** nba(20) TYPE C, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, *** TOTAL TYPE STRING, END OF TY_START.