I tried to delimit IT0008 by using the FM, HR_maintain_masterdata using the date specified on the selection screen and update the required amount as well, starting from this date.
I got an error msg in the bapireturn structure, saying that cost centre has not been assigned to the employee as of the data which was present in PA0008. I had passed the dates from PA0008 to the FM.
When I checked in PA0001, I found out that the cost centre XXXX hasb been assigned to the employee from 04/06/2007 to 12/31/9999.
In PA0008, the dates I passed to the FM are the current period dates, 06/04/2007 to 12/31/9999. The cost centre should be assigned for the dates specificed in PA0008 as these dates fall within the period mentioned in PA0001.
I dont know why the error is occuring. Please let me know if anyone has any idea.
Thanks a lot,