I have created a custom infotype with time constraint 2 which has the multiple records for pernr.( Similar to Infotype 0168).
When i am inserting the record since there is same key for the pernr its not inserting the data in the table pa9001. so i tried to insert by means of adding the SEQNR and inserting the data. But there is an error poping up saying "Sequence Number 001 not permitted" its not allowing me to enter the value.
Can you please help me.
I have used the USER EXIT for inserting the data.
Time constraint 2 permits continuity of data but no overlapping
I believe you have tried to insert record for a pernr for the overlapping BEGDA and ENDDA...SEQNR-> believe is system generated when all the other matching keys are there except SEQNR...but still as suggested you can try the HR_INFOTYPE_OPERATION update which allows insertion of record with the next SEQNR if a record exists
If you need to have overlapping records on BEGDA-ENDDA also,then please check the alternative with Time constraint 3 which permits the activity
Hope the suggestions proved useful