SAP ABAP - POST Data From SAP to Firebase Using Node js
ABAP Program REPORT ZSAPTOFIREBASE . DATA : IT_DATA TYPE TABLE OF SFLIGHT . DATA : LO_HTTP_CLIENT TYPE REF TO IF_HTTP_CLIENT , JSON_DATA TYPE STRING , JSON_POST TYPE XSTRING . START-OF-SELECTION . PERFORM F_POST_DATA . FORM F_POST_DATA . DATA : LV_STATUS TYPE CHAR50 . REFRESH IT_DATA . SELECT * FROM SFLIGHT INTO TABLE IT_DATA UP TO 2 ROWS . JSON_DATA = /UI2/CL_JSON => SERIALIZE ( DATA = IT_DATA COMPRESS = ABAP_TRUE PRETTY_NAME = /UI2/CL_JSON => PRETTY_MODE - CAMEL_CASE ). CALL METHOD CL_HTTP_CLIENT => CREATE_BY_...