Dear Morten,
in report /RPM/CAP_PLAN_INT set a breakpoint at the following coding part:
IF gv_rc = 0.
PERFORM prepare_tables
...
and check table lt_rpm_fi_data. Are the values already duplicated?
Also set a breakpoint at the coding below and check the table lt_rpm_capplan:
PERFORM set_plan_table
USING lt_rpm_capgroup
lt_rpm_capview
CHANGING lt_rpm_capplan .
Best regards,
Judith