Ansicht
Dokumentation
HR_BPS_CALC_REIMB_AND_DEDUCT - Calculate benefit request points and amount
ABAP Short Reference Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
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:
- Gift | Radio | Reimburse:10,000KRW | Deduction 10 Points | Purchase 0 Points | In Process by employee
- Gift | Palm | Reimburse:50,000KRW | Deduction 50 Points | Purchase 25 Points | In Process by manager
- Gift | TV set | Reimburse:50,000KRW | Deduction 50 Points | Purchase 0 Points | In Process by clerk
- Gift | Camera | Reimburse:20,000KRW | Deduction 20 Points | Purchase 10 Points | Rejected
- Gift | Digital Camera | Reimburse:150,000KRW | Deduction 150 Points | Purchase 70 Points | Approved
- 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
BENEFITAREADEDUCTAMOUNT
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
HRBPS00REQUESTTYPEOPTIONBAL 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 )