SAP Program RPUPBSR5 - Dynamic Call from Infotype 0008.

Purpose
This program updates the Infotype 8 dynamically.
Program Description
Read the infotype 1 & 8
Retrieve the Basic amount
Call the respective function modules to calculate NPVP and NPVP(SR).
Update the infotype 8
RESET N1

Prerequisites
Configure the table T588Z(Dynamic Actions) as follows:

  • Action Indicator = 'F'

  • Variable Function part = VALIDATE_FIELD(RPUPBSR5)
  • Features

    Activities
    Please enter the Basic Pay amount.
    If you have MVC or NPC , enter the respective amounts
    Press Save button. New NPVP and NPVP(SR) amount will be created andupdated into the Infotype 8.
    Note: Please make sure that your respective wage types alreadyexisted in the Infotype 8.

    Example
    Let us assume that we have a wage type MS40(Basic) with original amountas $1000, NPVP with amount as $40 and NPVP(SR) with amount as $20. Wewould like to calculate the new NPVP(SR) based on the new MS40 e.g.$1500. The formula for calculating NPVP(SR) is 2% of MS40, i.e. $1500 *2% = $30. This program will update the infotype 0008 dynamically withthe new NPVP(SR) as $30.