‎2010 May 31 6:21 PM
Hi There ,
lets understand my problem related to updation of infotype .
I have a record maintained in my table within date range 01/04/2010 to 31/12/9999.
now i update my new tax rate from 1st June 2010 .
The requirement is i shall two records now :
First record from 01/04/2010 to 31st may 2010 shall be maintained .
hence we need to modify the existing record only changing the end date .
Second record will be a new record starting from 1st june , ending 31/12/9999.
Approach followed by me :
using HR_READ_INFOTYPE to read the data .
Then using HR_INFOTYPE_OPERATION
---> ACTION : "MOD" to update existing record by passing end date as 31st may 2010 .
Then using action : INS to create a new record .
but this approach is failing since i am itself not able to modify the existing record .
Please let me know the correct way of updating the record .
Regards,
Abhishek.
‎2010 May 31 7:31 PM
It depends on infotype. Every infotype has a time link.
Sometimes you can have a record for a day or more than one. You can have continuous records or not.
I think your infotype has class 1 and it's continuous in time to the end (99991231)
‎2010 May 31 7:31 PM
It depends on infotype. Every infotype has a time link.
Sometimes you can have a record for a day or more than one. You can have continuous records or not.
I think your infotype has class 1 and it's continuous in time to the end (99991231)