05-03-2013 5:34 AM
Hi,
My Requirement is to find the total claimed amount by using standard function module....
total reimbursement amount( for example Rs.50000.00) maintained in IT0589,if the employee claimed 2 times for example he used Rs.10000.00 and Rs.20000.00 amounts then the those values are automatically stores into IT0267.Then I want to know the total amount claimed by employee i.e. Rs.30000.00 (sum of two times claimed amount). One standard Report HINCREMP giving the total claimed amount but i am unable to find the function module used in that report..........Please any one can suggest on this.
Thanks in advance...........
Regards
MRK
05-03-2013 7:29 AM
Hi Ranjith,
The data total claimed amount is not fetched with the function module. It is fetched by reading the PCL2 cluster.
If you want to fetch the claimed amount in your own coding you have to fetch from the 0267 infotype with the reimbursement types and wage types.
You can use the following function modules to get more details of claim requests
HRPBSINCLAIMS_CLS_READ_CTH
HRPBSINCLAIMS_CLS_READ
Regards,
Ramya R
05-03-2013 7:29 AM
Hi Ranjith,
The data total claimed amount is not fetched with the function module. It is fetched by reading the PCL2 cluster.
If you want to fetch the claimed amount in your own coding you have to fetch from the 0267 infotype with the reimbursement types and wage types.
You can use the following function modules to get more details of claim requests
HRPBSINCLAIMS_CLS_READ_CTH
HRPBSINCLAIMS_CLS_READ
Regards,
Ramya R
05-04-2013 5:02 AM
Hi Ramya,
Thanks for your reply....
I retrieved the claimed amount by reading it0267,but my functional consultant asking there may be chance to delete the records in 0267 infotype so don't read the infotype by coding and use some standard mechanism......
is there any standard mechanism to retrieve the claimed amount?
Thanks in advance
Regards
MRK
05-04-2013 7:24 AM
Hi Ranjith,
Then you have to read the cluster data using HRPBSINCLAIMS_CLS_READ function module by passing reference number.
Regards,
Ramya