Current position:  Home > Default > Problem in displaying sub-totals using a structure displayed as hierarchy

Problem in displaying sub-totals using a structure displayed as hierarchy

Time:October 11
Advertisement
In a report, i'd like to display in rows a characteristic and a structure. All of that displayed as a 2 levels hierarchy.
Results on structure rows doesnt aggregate themselves on characteristic rows. I have no result on my first level of hierarchy?
Advertisement
Hi,
   Write as :
   loop at <internal_table> ....
      V_TBL2 = V_TBL2 + SBL1.
      V_PTBL2 = V_PTBL2 + PSBL1.
      if....
      ELSEIF ( PSCH EQ 'N' OR PSCH EQ 'O' OR PSCH EQ 'P' ).
       AT END OF SG.
          TBL2  = V_TBL2 .
          PTBL2 = V_PTBL2 .
          clear : V_TBL2 , V_PTBL2.
       ENDAT.
   ENDIF.
  ENDLOOP.
Regards,
Srini.