Ansicht
Dokumentation

HR_BPS_CALC_REIMB_AND_DEDUCT - Calculate benefit request points and amount

HR_BPS_CALC_REIMB_AND_DEDUCT - Calculate benefit request points and amount

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module calculates the reimbursement amount, deduction points as well as purchase points, deduction amount or excess points, excess amount.

When you create a new request or operate a request with status as "In process by employee" and "Rejected/Cancelled", three import parameters "REIMBURSEDAMOUNT", "DEDUCTEDPOINTS" and "PURCHASEDPOINTS" must be empty; otherwise these three parameters will be filled by values stored in this request.

Example

For example, there are following benefit requests for an employee:

  1. Gift | Radio | Reimburse:10,000KRW | Deduction 10 Points | Purchase 0 Points | In Process by employee
  2. Gift | Palm | Reimburse:50,000KRW | Deduction 50 Points | Purchase 25 Points | In Process by manager
  3. Gift | TV set | Reimburse:50,000KRW | Deduction 50 Points | Purchase 0 Points | In Process by clerk
  4. Gift | Camera | Reimburse:20,000KRW | Deduction 20 Points | Purchase 10 Points | Rejected
  5. Gift | Digital Camera | Reimburse:150,000KRW | Deduction 150 Points | Purchase 70 Points | Approved
  6. Gift | Flower | Reimburse:1,000KRW | Deduction 1 Points | Purchase 0 Points | Ready for payroll

When the record 1 or 4 is being modified, three import parameters "REIMBURSEDAMOUNT", "DEDUCTEDPOINTS" and "PURCHASEDPOINTS" must be empty; for the other record 2, 3, 5, 6, these three parameters will be the value in its record.

Notes

Further information





Parameters

BENEFITAREA
DEDUCTAMOUNT
DEDUCTAMTCURR
DEDUCTEDPOINTS
DEDUCTPOINTS
EMPLOYEENUMBER
ERROR_TABLE
EXCESSAMOUNT
EXCESSAMTCURR
EXCESSPOINTS
FIXDEDUCTPOINTS
KEYDATE
NAGTIVEBANLANCE
PURCHASEDPOINTS
PURCHASEPOINTS
REACTION
REIMBURSEAMOUNT
REIMBURSEAMTCURR
REIMBURSEDAMOUNT
REIMBURSEDAMTCUR
REQUESTAMOUNT
REQUESTAMTCURR
REQUESTOPTION
REQUESTTYPE
SUBRC

Exceptions

Function Group

HRBPS00REQUESTTYPEOPTION

BAL Application Log Documentation   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 2256 Date: 20240523 Time: 121023     sap01-206 ( 45 ms )