Subtotal average not working in production
I have a very strange issue . I have given subtotal average for a filed by setting fieldcatalog to c .
Its working perfectly in dev but not working in production .
I have no clue about how to correct this .The below is my code.
x_fieldcat-scrtext_m = 'Rate / Kg'(030). x_fieldcat-fieldname = 'KGRATE'. x_fieldcat-tabname = 'T_OUTPUT'. x_fieldcat-col_pos = l_pos. x_fieldcat-no_zero = 'X'. x_fieldcat-outputlen = '20'. x_fieldcat-do_sum = 'C'. APPEND x_fieldcat TO it_fieldcat. CLEAR x_fieldcat. l_pos = l_pos + 1.
Kindly help in this regard !