Hello everyone...
I am facing a problem with the dynamic internal table..
ref_table_desc ?=
cl_abap_typedescr=>describe_by_name( v_tablename ).
it_details[] = ref_table_desc->components[].
loop at it_details into wa_details.
wa_fieldcat-fieldname = wa_details-name.
wa_fieldcat-datatype = wa_details-type_kind.
wa_fieldcat-inttype = wa_details-type_kind.
wa_fieldcat-intlen = wa_details-length.
wa_fieldcat-decimals = wa_details-decimals.
append wa_fieldcat to it_fieldcat.
clear wa_fieldcat.
clear wa_details.
endloop.
call method cl_alv_table_create=>create_dynamic_table
exporting
it_fieldcatalog = it_fieldcat
importing
ep_table = dyn_table.
assign dyn_table->* to <dyn_table>.
create data dyn_line like line of <dyn_table>.
assign dyn_line->* to <dyn_wa>.
select * into table <dyn_table>
from (v_tablename)
where jobid eq v_jobid.
the select statment in the above code is going to dump ...the dump message is
With ABAP/4 Open SQL array select, the output table is too small
could any one please help me out in solving this problem
thanks and regards
chandu reddy sunkari