Ansicht
Dokumentation

RTP_US_API_OBTAIN_FMV_REP - Obtains the year-end statements for several retirement plans

RTP_US_API_OBTAIN_FMV_REP - Obtains the year-end statements for several retirement plans

PERFORM Short Reference   BAL_S_LOG - Application Log: Log header data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The database table Rtp_Us_Tot contains all the aggregated amounts of the retirement plans for a tax-year. If the batch job has been ran that calculates the fair market value of a retirement plan, this database table contains the fair market value as well. However, in all likelyhood the fair market value of a retirement plan will only be calculated once a year. This function is intended to obtain the actual fair market value of a retirement plan in a given year.

The fair market value of a retirement plan can be obtained in two ways:

  1. Directly by reading the fair market value from the database table Rtp_Us_Tot.
  2. Indirectly by:
    1. Reading the mutations made to the funds of the retirement plan from database table Rtp_Us_Hist.
    2. Removing all entries (combinations of plan number and bank area) that already have been read from the database table Rtp_Us_Tot.
    3. Summing the remaining mutation amounts, thereby removing "unwanted" amount like withholding amounts and fair market values amount (the last amounts should not be present in the table!).
    4. Reading the fair market value of the previous year from the database table Rtp_Us_Tot.
    5. Summing the aggregated amounts obtained in step 'c' to the fair market value of the previous year.

It may be clear that the second method is rather time consuming.

Example

Notes

Further information





Parameters

I_YEAR
T_FMV
T_RNG_BKKRS
T_RNG_PLNB

Exceptions

Function Group

RTP_US_API_REPORT

Vendor Master (General Section)   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 1816 Date: 20240605 Time: 212446     sap01-206 ( 38 ms )