Resources

2646

api_table_to_json

About

API for converting an internal table to json format. No additional programming is needed server side for sending it to the client.

Example

  call method server->api_table_to_json
    exporting
      table_data   = it_kna1
    importing
      return_code  = lv_return_code.

Interface

Parameter Type Typing Method Associated Type Default Value Description
TABLE_DATA IMPORTING Type TABLE
RETURN_CODE EXPORTING Type STRING Optional