Skip to Content
0
Former Member
Feb 21, 2011 at 06:06 AM

dynamic internal table problem

26 Views

Hi All,

my requirement is i should calculate the variance and should display. and also in the result display i should provide 17 buttons (represents fields in a table). when the user clicks any button it should include that field and should calculate variance again and should display the result.

iam able to create the dynamic internal table and able to display using the following method

cl_alv_table_create=>create_dynamic_table (this method is creating quan field having 17 with 3 decimals with P(16) 3 decimals)

but the problem is it is going to dump(generate subroutine directory full) some where around 14th button since there are 17 buttons

i didnt use the below method

lo_new_type = cl_abap_structdescr=>create( lt_tot_comp ).

*

  • 4. New Table type

lo_new_tab = cl_abap_tabledescr=>create(

p_line_type = lo_new_type

p_table_kind = cl_abap_tabledescr=>tablekind_std

p_unique = abap_false ).

above method is creating the quan field with P(9) 3 decimels but the field which i have to create has QUAN 17 with 3 decimals.

Can anyone help me regarding the above.