04-15-2009 4:33 AM
Hi Experts,
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 !
04-15-2009 4:36 AM
Hi,
don't you have a standard layout for your report in production which does not do sub totals? So SAP picks this standard layout and ignores your settings.
Cheers
04-15-2009 4:36 AM
Hi,
don't you have a standard layout for your report in production which does not do sub totals? So SAP picks this standard layout and ignores your settings.
Cheers
04-15-2009 4:49 AM
04-15-2009 4:47 AM
Hi,
Do the following Change hope will solve out your problem,
x_fieldcat-do_sum = 'X'.
Best Regards.
Faisal