Create dynamic data type in structure

Hi Experts,

I am new to ABAP.

In my scenario data type is varying for the field. for that I need to create dynamic data type in structure, this structure I am using for internal table for OVS search input.

Please suggest the solution for this.

Advance thanks,




here I am getting feild name (<fs_seg_v>-fieldname) from internal table.

But I need to assign same field name structure to query parameter.

FIELD-SYMBOLS: <ls_query_params> TYPE lty_stru_input.

Please can you suggest how I can refer the field name structure?

I don'tunderstand what you want to do, could you please explain with an example?

0 View this answer in context