ABAP : Dynamic ITAB for Ranges
Example of ABAP Code Dynamic Internal Table - Ranges *---------------------------------------------------------------------* * Form f_ranges_str * By Oka Wirasatha *---------------------------------------------------------------------* form F_RANGES_STR using FV_FIELD FV_SIGN FV_OPTION FV_LOW FV_HIGH. type-pools: ABAP. data: GR_STRUCTDESCR type ref to CL_ABAP_STRUCTDESCR, GR_TABLEDESCR type ref to CL_ABAP_TABLEDESCR, GR_DATADESCR type ref to CL_ABAP_DATADESCR, GR_TYPEDESCR type ref to CL_ABAP_TYPEDESCR, GT_COMPONENTS type ABAP_COMPONENT_TAB, GW_COMPONENT type line of ABAP_COMPONENT_TAB, GR_WA type ref to DATA, GR_TAB type ref to DATA, LV_TEXT(20). field-symbols: <fs_wa> type any, <fs_val> type any, <fs_tab> type TABLE. * determine components of structure -> GT_COMPONENTS move 'SIGN&