Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Subtotal average not working in production

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 !

Former Member
replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question