SAP Function RTP_US_API_DETERMINE_FMV - Reads or calculates the fair market value of a retirement plan

Parameter Reference Type Length Default Optional Text
I_BKKRS RTP_US_PLAN-BKKRS C 4 Bank Area
I_PLAN_NUMBER RTP_US_PLAN-PLAN_NUMBER C 15 Plan number of a retirement plan
I_READ_DB CHAR01 C 1 X If set the database is (re)read
I_YEAR IRTP_US_PLAN_REPORT-CALENDAR_YEAR N 4 Calendar year

Parameter Reference Type Length Text
E_FLG_NOT_FOUND C C 0
E_FMV RTP_US_TOT-AMOUNT P 12 Total amount of specific type

Functionality
This function will first attempt to read the fair market value from theRTP_US_TOT table. If that fails, it will add the amounts in theRTP_US_HIST table for the given year and add that the aggregated amountto the fair market value of the previous year read from the RTP_US_TOTtable.
Note that withholding amounts, although they are seperately stored, arein fact part of the distribution amounts. Therefore, when the amountsfrom the history table are added, the withholding amounts should beskipped.