Application Development and Automation 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: 
Read only

Custom infotype updation

Former Member
0 Likes
682

Hi Expects,

I am working on custom infotype creation. In my requirement I have used table control concept where user enters multiple records and updates the custom infotype.

For a single PERNR,SUBTYPE, BEGDA and ENDDA I want to update multiple records into the infotype using table control concept.

Ex: PERNR : 25

SUBTY: 2001

BEGDA: 01/01/2001

ENDDA: 12/31/2001

Here by using the function modules 'HR_INFOTYPE_OPERATION' or 'HR_MAINTAIN_MASTERDATA' I am trying to update the custom infotype where sequence number need to be increamented automatically for duplicate entries but only one record is getting updated instead of multiple records.

I have maintained the time constraint as '3'.

Please let me know the procedure to update multiple records at a time into custom infotype.

Regards,

Mahesh.

Hi Expects,

I am working on custom infotype creation. In my requirement I have used table control concept where user enters multiple records and updates the custom infotype.

For a single PERNR,SUBTYPE, BEGDA and ENDDA I want to update multiple records into the infotype using table control concept.

Ex: PERNR : 25

SUBTY: 2001

BEGDA: 01/01/2001

ENDDA: 12/31/2001

Here by using the function modules 'HR_INFOTYPE_OPERATION' or 'HR_MAINTAIN_MASTERDATA' I am trying to update the custom infotype where sequence number need to be increamented automatically for duplicate entries but only one record is getting updated instead of multiple records.

I have maintained the time constraint as '3'.

Please let me know the procedure to update multiple records at a time into custom infotype.

Regards,

Mahesh.

2 REPLIES 2
Read only

Former Member
0 Likes
606

Hi Mahesh.,

From what I understand, time constrant '3' is only to allow gaps and to have multiple records in the same time frame but you can not have duplicates records, atleast one key field should have a distinct value. I suggest you add a new key field to your custom infotype that will help you distinguish between records.

Thanks,

Muktar

Read only

0 Likes
606

Hi,

In the custom infotype table, if their are duplicate then the sequence number field value will be created automatically for time constainst '3' but using the function module it is not creating the sequence number but using the modify statement it is working fine.

Ex: Modify PA9002 from table GT_PA9002.

Please let me know the solution for updating multiple records into a custom infotype.

Regards,

Mahesh.