Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

creating dynamic internal table - convert internal table

hi,

I create a internal table like:


FIELD-SYMBOLS: <dyntable> TYPE standard table.

  CALL METHOD cl_alv_table_create=>create_dynamic_table
    EXPORTING
      it_fieldcatalog = lt
    IMPORTING
      ep_table = t_data
    EXCEPTIONS
      generate_subpool_dir_full = 1
    OTHERS = 2.

  IF sy-subrc <> 0.
  ENDIF.

assign t_data->* to <dyntable>.

The result of the method is a standard table. Now I need a sorted table.

Is it possible to convert the internal table from a standard to a sorted table?

thanks

markus

Tags:
Not what you were looking for? View more on this topic or Ask a question