Skip to Content
0
Sep 19, 2008 at 08:13 AM

My subtotal text criteria(slis_subtot_text) is not getting populated...

30 Views

Hello Experts, 

After following many examples and making sure that my sort table is populated, 
my subtotal text is still not being displayed. Below is the code:

*&--------------------------------------------------------------------*
*&      Form  subtotal_text
*&---------------------------------------------------------------------*
*       text
*----------------------------------------------------------------------*
*      -->IM_OUTPUT_FIN     text
*      -->IM_SUBTOTAL_TEXT  text
*----------------------------------------------------------------------*
FORM subtotal_text USING im_output_fin TYPE any
                         im_subtotal_text TYPE slis_subtot_text.

  IF im_subtotal_text-criteria = 'TAB_COUNTER'.
    im_subtotal_text-display_text_for_subtotal = 'Subtotal'.
  ENDIF.
ENDFORM.                    "subtotal_text

The im_subtotal_text has no values whatsoever.