cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to move the JASON payload to dynamic internal table

HariPrasathk10
Discoverer
0 Kudos
294

Hi Team,

I have the jason payload, that i need to convert into internal table.Using Dynamic structure i converted the JASON payload.

" Generate dynamic structure to suit the data
      ljason_data /ui2/cl_json=>generatejson lv_jason_out ).
      ASSIGN ljason_data->TO <l_jason_data>.
 

 

HariPrasathk10_1-1721904061492.png

In above image ORDERINVOICELIST component one deep structure is there, in this deep structure only sale order details were stored.

If i opened ORDERINVOICELIST deep structure, in the component level getting sale order number in that each sale order having the deep structure contains header and line item details.

HariPrasathk10_2-1721904231204.png

 

HariPrasathk10_3-1721904328823.png

At last i need to store sale order header and line item details into one custom table. How can i achieve it.In the component level value are coming dynamically( Sale order Number).

Suggest me how move the data in to internal table or custom table.

 

#SAP_ABAP

#API

@SAP_SUPPORT  @SAP_ABAPER 

 

Regards

Hari Prasath

 

Accepted Solutions (0)

Answers (0)