Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Infotype Creation

Former Member
0 Kudos
358

Hi All,

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.

Thanks

Yogesh

3 REPLIES 3

Former Member
0 Kudos
169

use these 2

'HR_INFOTYPE_OPERATION'

'HR_MAINTAIN_MASTERDATA'

regards

Giridhar

Former Member
0 Kudos
169

Hello,

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

Regards

Byju

Former Member
0 Kudos
169

Hi,

If i use the time constraint 3 can i maintain all the values for it?

For e.g., if i have 3 records that can be maintained by means of time constraint 3

and if i change the record 3 will it get delimited and delete the previous entry from the database?

Thanks

Yogesh