cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

extending RFUMSV00 with custom subtotals

abo
Active Contributor
0 Kudos
347

In report RFUMSV00, we'd like to:

  1. change the way the subtotals are presented (according to some Italy-specific requirements)
  2. have the changed valued saved, if this is not a test run

With an implicit enhancement at the end of FORM print, I am able to append to the printout, like this:

And this is the demo code:

  statics: l_beenthere type xfeld.
  if l_beenthere is initial.
    l_beenthere = 'X'.
    write: 'Here be totals'.
  endif.

Problem is, barely one page above I can see an "update bset" with a "commit work", so I suppose it's a bit too late to modify the totals here, am I right?

Other than cloning the whole report into a custom program, which we strongly prefer NOT to do in this case, has anyone faced this same issue and found a satisfactory "standard-like" solution?

Thanks,

Andrea.

P.S.: statics because "print" is recursively called from the ALV so I must ensure it runs only once.

Accepted Solutions (0)

Answers (0)

Ask a Question