Hi,
SAP has used FM /RPM/FIN_PLAN_SAVE_DB for financial planning update. I have to write a custom FM similar to it.
In /RPM/FIN_PLAN_SAVE_DB, SAP used some lines of code to reset the integration entries to zero.
Reset all integration entries to zero*
LOOP AT lt_rpm_finplan INTO ls_rpm_finplan.
READ TABLE lt_rpm_finview WITH KEY
fin_view = ls_rpm_finplan-plan_type
TRANSPORTING NO FIELDS.
IF sy-subrc = 0.
IF ls_rpm_finplan-amount <> 0.
ls_rpm_finplan-amount = 0.
MODIFY lt_rpm_finplan FROM ls_rpm_finplan TRANSPORTING amount.
ENDIF.
ENDIF.
If i do not use these lines of code, what would be its impact?
Looking forward for your help.
Thanks.
Jyoti,
What is your exact requirement? Did you try the BaDI /RPM/EX_FIN_PLAN?
Cheers
Amit
Hi Amit,
This FM is used in the standard report /RPM/FIN_PLAN_INT.
I am customizing this FM and want to understand the exact impact of the lines of code i mentioned.
Regards,
Jyoti