on 2012 Feb 21 1:48 PM
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.
Request clarification before answering.
Jyoti,
What is your exact requirement? Did you try the BaDI /RPM/EX_FIN_PLAN?
Cheers
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.